bindings

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: MIT, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ALCAABI = ALCAMetaData.ABI

ALCAABI is the input ABI used to generate the binding from. Deprecated: Use ALCAMetaData.ABI instead.

View Source
var ALCABurnerABI = ALCABurnerMetaData.ABI

ALCABurnerABI is the input ABI used to generate the binding from. Deprecated: Use ALCABurnerMetaData.ABI instead.

View Source
var ALCABurnerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyALCA\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyFactory\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"}],\"name\":\"getMetamorphicContractAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
}

ALCABurnerMetaData contains all meta data concerning the ALCABurner contract.

View Source
var ALCAMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"legacyToken_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InvalidAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidConversionAmount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyALCABurner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyALCAMinter\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyFactory\",\"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\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"convert\",\"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\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"externalBurn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"externalMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"finishEarlyStage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLegacyTokenAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"}],\"name\":\"getMetamorphicContractAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"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\":\"isEarlyStageMigration\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"migrate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"migrateTo\",\"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\":\"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\"}]",
}

ALCAMetaData contains all meta data concerning the ALCA contract.

View Source
var ALCAMinterABI = ALCAMinterMetaData.ABI

ALCAMinterABI is the input ABI used to generate the binding from. Deprecated: Use ALCAMinterMetaData.ABI instead.

View Source
var ALCAMinterMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyALCA\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyFactory\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"}],\"name\":\"getMetamorphicContractAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ALCAMinterMetaData contains all meta data concerning the ALCAMinter contract.

View Source
var ALCBABI = ALCBMetaData.ABI

ALCBABI is the input ABI used to generate the binding from. Deprecated: Use ALCBMetaData.ABI instead.

View Source
var ALCBMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"centralBridgeRouterAddress_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"accountType\",\"type\":\"uint8\"}],\"name\":\"AccountTypeNotSupported\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"supply\",\"type\":\"uint256\"}],\"name\":\"BurnAmountExceedsSupply\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CannotSetRouterToZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CannotTransferToZeroAddress\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"toAddress\",\"type\":\"address\"}],\"name\":\"ContractsDisallowedDeposits\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DepositAmountZero\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"DepositBurnFail\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EthTransferFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minimum\",\"type\":\"uint256\"}],\"name\":\"InsufficientEth\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"InsufficientFee\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"contractBalance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"poolBalance\",\"type\":\"uint256\"}],\"name\":\"InvalidBalance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"InvalidBurnAmount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"depositID\",\"type\":\"uint256\"}],\"name\":\"InvalidDepositId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minimum\",\"type\":\"uint256\"}],\"name\":\"MinimumBurnNotMet\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minimum\",\"type\":\"uint256\"}],\"name\":\"MinimumMintNotMet\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minimumValue\",\"type\":\"uint256\"}],\"name\":\"MinimumValueNotMet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MutexLocked\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyDistribution\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyFactory\",\"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\":\"uint256\",\"name\":\"depositID\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint8\",\"name\":\"accountType\",\"type\":\"uint8\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"depositor\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"DepositReceived\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minEth_\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"numEth\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minEth_\",\"type\":\"uint256\"}],\"name\":\"burnTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"numEth\",\"type\":\"uint256\"}],\"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\":\"uint8\",\"name\":\"accountType_\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"routerVersion_\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"data_\",\"type\":\"bytes\"}],\"name\":\"depositTokensOnBridges\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"numBTK_\",\"type\":\"uint256\"}],\"name\":\"destroyTokens\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"distribute\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCentralBridgeRouterAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"depositID\",\"type\":\"uint256\"}],\"name\":\"getDeposit\",\"outputs\":[{\"components\":[{\"internalType\":\"uint8\",\"name\":\"accountType\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"internalType\":\"structDeposit\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDepositID\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"poolBalance_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalSupply_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"numBTK_\",\"type\":\"uint256\"}],\"name\":\"getEthFromTokensBurn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"numEth\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"totalSupply_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"numBTK_\",\"type\":\"uint256\"}],\"name\":\"getEthToMintTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"numEth\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"numBTK_\",\"type\":\"uint256\"}],\"name\":\"getLatestEthFromTokensBurn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"numEth\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"numBTK_\",\"type\":\"uint256\"}],\"name\":\"getLatestEthToMintTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"numEth\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"numEth_\",\"type\":\"uint256\"}],\"name\":\"getLatestMintedTokensFromEth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMarketSpread\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"}],\"name\":\"getMetamorphicContractAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"poolBalance_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"numEth_\",\"type\":\"uint256\"}],\"name\":\"getMintedTokensFromEth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPoolBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalTokensDeposited\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getYield\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"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\":\"uint256\",\"name\":\"minBTK_\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"numBTK\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"accountType_\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"minBTK_\",\"type\":\"uint256\"}],\"name\":\"mintDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"minBTK_\",\"type\":\"uint256\"}],\"name\":\"mintTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"numBTK\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"accountType_\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"allowed_\",\"type\":\"bool\"}],\"name\":\"setAccountType\",\"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\":\"uint8\",\"name\":\"accountType_\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"virtualMintDeposit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ALCBMetaData contains all meta data concerning the ALCB contract.

View Source
var AliceNetFactoryABI = AliceNetFactoryMetaData.ABI

AliceNetFactoryABI is the input ABI used to generate the binding from. Deprecated: Use AliceNetFactoryMetaData.ABI instead.

View Source
var AliceNetFactoryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"legacyToken_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"CodeSizeZero\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"current\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"IncorrectProxyImplementation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"}],\"name\":\"SaltAlreadyInUse\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"Unauthorized\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"contractAddr\",\"type\":\"address\"}],\"name\":\"Deployed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"contractAddr\",\"type\":\"address\"}],\"name\":\"DeployedProxy\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"contractAddr\",\"type\":\"address\"}],\"name\":\"DeployedRaw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"contractAddr\",\"type\":\"address\"}],\"name\":\"DeployedStatic\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"contractAddr\",\"type\":\"address\"}],\"name\":\"DeployedTemplate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"proxyAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newlogicAddr\",\"type\":\"address\"}],\"name\":\"UpgradedProxy\",\"type\":\"event\"},{\"stateMutability\":\"nonpayable\",\"type\":\"fallback\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"salt_\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"newContractAddress_\",\"type\":\"address\"}],\"name\":\"addNewExternalContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value_\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"cdata_\",\"type\":\"bytes\"}],\"name\":\"callAny\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"contracts\",\"outputs\":[{\"internalType\":\"bytes32[]\",\"name\":\"contracts_\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"deployCode_\",\"type\":\"bytes\"}],\"name\":\"deployCreate\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"contractAddr\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"value_\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"salt_\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"deployCode_\",\"type\":\"bytes\"}],\"name\":\"deployCreate2\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"contractAddr\",\"type\":\"address\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"deployCode_\",\"type\":\"bytes\"},{\"internalType\":\"bytes32\",\"name\":\"salt_\",\"type\":\"bytes32\"}],\"name\":\"deployCreateAndRegister\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"contractAddr\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"salt_\",\"type\":\"bytes32\"}],\"name\":\"deployProxy\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"contractAddr\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getALCAAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getALCACreationCodeHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"}],\"name\":\"getMetamorphicContractAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNumContracts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"proxyAddress_\",\"type\":\"address\"}],\"name\":\"getProxyImplementation\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"contract_\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"initCallData_\",\"type\":\"bytes\"}],\"name\":\"initializeContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"salt_\",\"type\":\"bytes32\"}],\"name\":\"lookup\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"internalType\":\"structAliceNetFactoryBase.MultiCallArgs[]\",\"name\":\"cdata_\",\"type\":\"tuple[]\"}],\"name\":\"multiCall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner_\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner_\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"salt_\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"newImpl_\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"initCallData_\",\"type\":\"bytes\"}],\"name\":\"upgradeProxy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

AliceNetFactoryMetaData contains all meta data concerning the AliceNetFactory contract.

View Source
var DynamicsABI = DynamicsMetaData.ABI

DynamicsABI is the input ABI used to generate the binding from. Deprecated: Use DynamicsMetaData.ABI instead.

View Source
var DynamicsMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epoch\",\"type\":\"uint256\"}],\"name\":\"DynamicValueNotFound\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"ExistentNodeAtPosition\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"InexistentNodeAtPosition\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"sentHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"currentHash\",\"type\":\"bytes32\"}],\"name\":\"InvalidAliceNetNodeHash\",\"type\":\"error\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"major\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"minor\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"patch\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"executionEpoch\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"binaryHash\",\"type\":\"bytes32\"}],\"internalType\":\"structCanonicalVersion\",\"name\":\"newVersion\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint32\",\"name\":\"major\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"minor\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"patch\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"executionEpoch\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"binaryHash\",\"type\":\"bytes32\"}],\"internalType\":\"structCanonicalVersion\",\"name\":\"current\",\"type\":\"tuple\"}],\"name\":\"InvalidAliceNetNodeVersion\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidData\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"codeSize\",\"type\":\"uint256\"}],\"name\":\"InvalidExtCodeSize\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"head\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"tail\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"id\",\"type\":\"uint256\"}],\"name\":\"InvalidNodeId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"scheduledDate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minScheduledDate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxScheduledDate\",\"type\":\"uint256\"}],\"name\":\"InvalidScheduledDate\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyFactory\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlySnapshots\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"contractAddr\",\"type\":\"address\"}],\"name\":\"DeployedStorageContract\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"epoch\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"rawDynamicValues\",\"type\":\"bytes\"}],\"name\":\"DynamicValueChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"major\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"minor\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"patch\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"executionEpoch\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"binaryHash\",\"type\":\"bytes32\"}],\"indexed\":false,\"internalType\":\"structCanonicalVersion\",\"name\":\"version\",\"type\":\"tuple\"}],\"name\":\"NewAliceNetNodeVersionAvailable\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"major\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"minor\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"patch\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"executionEpoch\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"binaryHash\",\"type\":\"bytes32\"}],\"indexed\":false,\"internalType\":\"structCanonicalVersion\",\"name\":\"version\",\"type\":\"tuple\"}],\"name\":\"NewCanonicalAliceNetNodeVersion\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"relativeExecutionEpoch\",\"type\":\"uint32\"},{\"components\":[{\"internalType\":\"enumVersion\",\"name\":\"encoderVersion\",\"type\":\"uint8\"},{\"internalType\":\"uint24\",\"name\":\"proposalTimeout\",\"type\":\"uint24\"},{\"internalType\":\"uint32\",\"name\":\"preVoteTimeout\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"preCommitTimeout\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"maxBlockSize\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"dataStoreFee\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"valueStoreFee\",\"type\":\"uint64\"},{\"internalType\":\"uint128\",\"name\":\"minScaledTransactionFee\",\"type\":\"uint128\"}],\"internalType\":\"structDynamicValues\",\"name\":\"newValue\",\"type\":\"tuple\"}],\"name\":\"changeDynamicValues\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"decodeDynamicValues\",\"outputs\":[{\"components\":[{\"internalType\":\"enumVersion\",\"name\":\"encoderVersion\",\"type\":\"uint8\"},{\"internalType\":\"uint24\",\"name\":\"proposalTimeout\",\"type\":\"uint24\"},{\"internalType\":\"uint32\",\"name\":\"preVoteTimeout\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"preCommitTimeout\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"maxBlockSize\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"dataStoreFee\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"valueStoreFee\",\"type\":\"uint64\"},{\"internalType\":\"uint128\",\"name\":\"minScaledTransactionFee\",\"type\":\"uint128\"}],\"internalType\":\"structDynamicValues\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"deployStorage\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"contractAddr\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"enumVersion\",\"name\":\"encoderVersion\",\"type\":\"uint8\"},{\"internalType\":\"uint24\",\"name\":\"proposalTimeout\",\"type\":\"uint24\"},{\"internalType\":\"uint32\",\"name\":\"preVoteTimeout\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"preCommitTimeout\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"maxBlockSize\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"dataStoreFee\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"valueStoreFee\",\"type\":\"uint64\"},{\"internalType\":\"uint128\",\"name\":\"minScaledTransactionFee\",\"type\":\"uint128\"}],\"internalType\":\"structDynamicValues\",\"name\":\"value\",\"type\":\"tuple\"}],\"name\":\"encodeDynamicValues\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllDynamicValues\",\"outputs\":[{\"components\":[{\"internalType\":\"enumVersion\",\"name\":\"encoderVersion\",\"type\":\"uint8\"},{\"internalType\":\"uint24\",\"name\":\"proposalTimeout\",\"type\":\"uint24\"},{\"internalType\":\"uint32\",\"name\":\"preVoteTimeout\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"preCommitTimeout\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"maxBlockSize\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"dataStoreFee\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"valueStoreFee\",\"type\":\"uint64\"},{\"internalType\":\"uint128\",\"name\":\"minScaledTransactionFee\",\"type\":\"uint128\"}],\"internalType\":\"structDynamicValues[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getConfiguration\",\"outputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"minEpochsBetweenUpdates\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"maxEpochsBetweenUpdates\",\"type\":\"uint128\"}],\"internalType\":\"structConfiguration\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getEncodingVersion\",\"outputs\":[{\"internalType\":\"enumVersion\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFurthestDynamicValues\",\"outputs\":[{\"components\":[{\"internalType\":\"enumVersion\",\"name\":\"encoderVersion\",\"type\":\"uint8\"},{\"internalType\":\"uint24\",\"name\":\"proposalTimeout\",\"type\":\"uint24\"},{\"internalType\":\"uint32\",\"name\":\"preVoteTimeout\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"preCommitTimeout\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"maxBlockSize\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"dataStoreFee\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"valueStoreFee\",\"type\":\"uint64\"},{\"internalType\":\"uint128\",\"name\":\"minScaledTransactionFee\",\"type\":\"uint128\"}],\"internalType\":\"structDynamicValues\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLatestAliceNetVersion\",\"outputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"major\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"minor\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"patch\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"executionEpoch\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"binaryHash\",\"type\":\"bytes32\"}],\"internalType\":\"structCanonicalVersion\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLatestDynamicValues\",\"outputs\":[{\"components\":[{\"internalType\":\"enumVersion\",\"name\":\"encoderVersion\",\"type\":\"uint8\"},{\"internalType\":\"uint24\",\"name\":\"proposalTimeout\",\"type\":\"uint24\"},{\"internalType\":\"uint32\",\"name\":\"preVoteTimeout\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"preCommitTimeout\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"maxBlockSize\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"dataStoreFee\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"valueStoreFee\",\"type\":\"uint64\"},{\"internalType\":\"uint128\",\"name\":\"minScaledTransactionFee\",\"type\":\"uint128\"}],\"internalType\":\"structDynamicValues\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"}],\"name\":\"getMetamorphicContractAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epoch\",\"type\":\"uint256\"}],\"name\":\"getPreviousDynamicValues\",\"outputs\":[{\"components\":[{\"internalType\":\"enumVersion\",\"name\":\"encoderVersion\",\"type\":\"uint8\"},{\"internalType\":\"uint24\",\"name\":\"proposalTimeout\",\"type\":\"uint24\"},{\"internalType\":\"uint32\",\"name\":\"preVoteTimeout\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"preCommitTimeout\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"maxBlockSize\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"dataStoreFee\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"valueStoreFee\",\"type\":\"uint64\"},{\"internalType\":\"uint128\",\"name\":\"minScaledTransactionFee\",\"type\":\"uint128\"}],\"internalType\":\"structDynamicValues\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint24\",\"name\":\"initialProposalTimeout_\",\"type\":\"uint24\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint128\",\"name\":\"minEpochsBetweenUpdates\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"maxEpochsBetweenUpdates\",\"type\":\"uint128\"}],\"internalType\":\"structConfiguration\",\"name\":\"newConfig\",\"type\":\"tuple\"}],\"name\":\"setConfiguration\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"relativeUpdateEpoch\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"majorVersion\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"minorVersion\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"patch\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"binaryHash\",\"type\":\"bytes32\"}],\"name\":\"updateAliceNetNodeVersion\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"currentEpoch\",\"type\":\"uint32\"}],\"name\":\"updateHead\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

DynamicsMetaData contains all meta data concerning the Dynamics contract.

View Source
var ETHDKGABI = ETHDKGMetaData.ABI

ETHDKGABI is the input ABI used to generate the binding from. Deprecated: Use ETHDKGMetaData.ABI instead.

View Source
var ETHDKGMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ETHDKGSubContractNotSet\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"validatorsAccountsLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"validatorIndexesLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"validatorSharesLength\",\"type\":\"uint256\"}],\"name\":\"MigrationInputDataMismatch\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"}],\"name\":\"MigrationRequiresZeroNonce\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"currentValidatorsLength\",\"type\":\"uint256\"}],\"name\":\"MinimumValidatorsNotMet\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyETHDKGAccusations\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyETHDKGPhases\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyFactory\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlySnapshots\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyValidatorPool\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"OnlyValidatorsAllowed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"ParticipantNotFoundInLastRound\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VariableNotSettableWhileETHDKGRunning\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256[2]\",\"name\":\"publicKey\",\"type\":\"uint256[2]\"}],\"name\":\"AddressRegistered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"GPKJSubmissionComplete\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"KeyShareSubmissionComplete\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256[2]\",\"name\":\"keyShareG1\",\"type\":\"uint256[2]\"},{\"indexed\":false,\"internalType\":\"uint256[2]\",\"name\":\"keyShareG1CorrectnessProof\",\"type\":\"uint256[2]\"},{\"indexed\":false,\"internalType\":\"uint256[4]\",\"name\":\"keyShareG2\",\"type\":\"uint256[4]\"}],\"name\":\"KeyShareSubmitted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256[4]\",\"name\":\"mpk\",\"type\":\"uint256[4]\"}],\"name\":\"MPKSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"RegistrationComplete\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"startBlock\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"numberValidators\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"phaseLength\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"confirmationLength\",\"type\":\"uint256\"}],\"name\":\"RegistrationOpened\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"blockNumber\",\"type\":\"uint256\"}],\"name\":\"ShareDistributionComplete\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"encryptedShares\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"uint256[2][]\",\"name\":\"commitments\",\"type\":\"uint256[2][]\"}],\"name\":\"SharesDistributed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"epoch\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"share0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"share1\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"share2\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"share3\",\"type\":\"uint256\"}],\"name\":\"ValidatorMemberAdded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"validatorCount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"epoch\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"ethHeight\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"aliceNetHeight\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"groupKey0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"groupKey1\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"groupKey2\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"groupKey3\",\"type\":\"uint256\"}],\"name\":\"ValidatorSetCompleted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"dishonestAddresses\",\"type\":\"address[]\"}],\"name\":\"accuseParticipantDidNotDistributeShares\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"dishonestAddresses\",\"type\":\"address[]\"}],\"name\":\"accuseParticipantDidNotSubmitGPKJ\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"dishonestAddresses\",\"type\":\"address[]\"}],\"name\":\"accuseParticipantDidNotSubmitKeyShares\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"dishonestAddress\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"encryptedShares\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[2][]\",\"name\":\"commitments\",\"type\":\"uint256[2][]\"},{\"internalType\":\"uint256[2]\",\"name\":\"sharedKey\",\"type\":\"uint256[2]\"},{\"internalType\":\"uint256[2]\",\"name\":\"sharedKeyCorrectnessProof\",\"type\":\"uint256[2]\"}],\"name\":\"accuseParticipantDistributedBadShares\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"dishonestAddresses\",\"type\":\"address[]\"}],\"name\":\"accuseParticipantNotRegistered\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"validators\",\"type\":\"address[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"encryptedSharesHash\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256[2][][]\",\"name\":\"commitments\",\"type\":\"uint256[2][][]\"},{\"internalType\":\"address\",\"name\":\"dishonestAddress\",\"type\":\"address\"}],\"name\":\"accuseParticipantSubmittedBadGPKJ\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"complete\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"encryptedShares\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[2][]\",\"name\":\"commitments\",\"type\":\"uint256[2][]\"}],\"name\":\"distributeShares\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBadParticipants\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getConfirmationLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getETHDKGPhase\",\"outputs\":[{\"internalType\":\"enumPhase\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"participant\",\"type\":\"address\"}],\"name\":\"getLastRoundParticipantIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMasterPublicKey\",\"outputs\":[{\"internalType\":\"uint256[4]\",\"name\":\"\",\"type\":\"uint256[4]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMasterPublicKeyHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"}],\"name\":\"getMetamorphicContractAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMinValidators\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNumParticipants\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"participant\",\"type\":\"address\"}],\"name\":\"getParticipantInternalState\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256[2]\",\"name\":\"publicKey\",\"type\":\"uint256[2]\"},{\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"},{\"internalType\":\"enumPhase\",\"name\":\"phase\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"distributedSharesHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[2]\",\"name\":\"commitmentsFirstCoefficient\",\"type\":\"uint256[2]\"},{\"internalType\":\"uint256[2]\",\"name\":\"keyShares\",\"type\":\"uint256[2]\"},{\"internalType\":\"uint256[4]\",\"name\":\"gpkj\",\"type\":\"uint256[4]\"}],\"internalType\":\"structParticipant\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"participantAddresses\",\"type\":\"address[]\"}],\"name\":\"getParticipantsInternalState\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256[2]\",\"name\":\"publicKey\",\"type\":\"uint256[2]\"},{\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"index\",\"type\":\"uint64\"},{\"internalType\":\"enumPhase\",\"name\":\"phase\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"distributedSharesHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[2]\",\"name\":\"commitmentsFirstCoefficient\",\"type\":\"uint256[2]\"},{\"internalType\":\"uint256[2]\",\"name\":\"keyShares\",\"type\":\"uint256[2]\"},{\"internalType\":\"uint256[4]\",\"name\":\"gpkj\",\"type\":\"uint256[4]\"}],\"internalType\":\"structParticipant[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPhaseLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPhaseStartBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"phaseLength_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"confirmationLength_\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initializeETHDKG\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isETHDKGCompleted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isETHDKGHalted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isETHDKGRunning\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isMasterPublicKeySet\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"masterPublicKeyHash\",\"type\":\"bytes32\"}],\"name\":\"isValidMasterPublicKey\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"validatorsAccounts_\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"validatorIndexes_\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[4][]\",\"name\":\"validatorShares_\",\"type\":\"uint256[4][]\"},{\"internalType\":\"uint8\",\"name\":\"validatorCount_\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"epoch_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"sideChainHeight_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"ethHeight_\",\"type\":\"uint256\"},{\"internalType\":\"uint256[4]\",\"name\":\"masterPublicKey_\",\"type\":\"uint256[4]\"}],\"name\":\"migrateValidators\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[2]\",\"name\":\"publicKey\",\"type\":\"uint256[2]\"}],\"name\":\"register\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"confirmationLength_\",\"type\":\"uint16\"}],\"name\":\"setConfirmationLength\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"aliceNetHeight\",\"type\":\"uint256\"}],\"name\":\"setCustomAliceNetHeight\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"phaseLength_\",\"type\":\"uint16\"}],\"name\":\"setPhaseLength\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[4]\",\"name\":\"gpkj\",\"type\":\"uint256[4]\"}],\"name\":\"submitGPKJ\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[2]\",\"name\":\"keyShareG1\",\"type\":\"uint256[2]\"},{\"internalType\":\"uint256[2]\",\"name\":\"keyShareG1CorrectnessProof\",\"type\":\"uint256[2]\"},{\"internalType\":\"uint256[4]\",\"name\":\"keyShareG2\",\"type\":\"uint256[4]\"}],\"name\":\"submitKeyShare\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[4]\",\"name\":\"masterPublicKey_\",\"type\":\"uint256[4]\"}],\"name\":\"submitMasterPublicKey\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ETHDKGMetaData contains all meta data concerning the ETHDKG contract.

View Source
var FunctionMapping = map[[4]byte]string{}/* 306 elements not displayed */
View Source
var GovernanceABI = GovernanceMetaData.ABI

GovernanceABI is the input ABI used to generate the binding from. Deprecated: Use GovernanceMetaData.ABI instead.

View Source
var GovernanceMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"OnlyFactoryAllowed\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"epoch\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"height\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"validator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isSafeToProceedConsensus\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"signatureRaw\",\"type\":\"bytes\"}],\"name\":\"SnapshotTaken\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"epoch\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"key\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"value\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"who\",\"type\":\"address\"}],\"name\":\"ValueUpdated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epoch\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"key\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"value\",\"type\":\"bytes32\"}],\"name\":\"updateValue\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

GovernanceMetaData contains all meta data concerning the Governance contract.

View Source
var PublicStakingABI = PublicStakingMetaData.ABI

PublicStakingABI is the input ABI used to generate the binding from. Deprecated: Use PublicStakingMetaData.ABI instead.

View Source
var PublicStakingMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"magic\",\"type\":\"uint256\"}],\"name\":\"BadMagic\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserve\",\"type\":\"uint256\"}],\"name\":\"BalanceLessThanReserve\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"CallerNotTokenOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CannotCallContractMethodsOnZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CannotTransferToZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CircuitBreakerOpened\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"erc20Address\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Erc20TransferFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EthTransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FreeAfterTimeNotReached\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"InvalidTokenId\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LockDurationGreaterThanGovernanceLock\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LockDurationGreaterThanMintLock\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LockDurationWithdrawTimeNotReached\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MintAmountExceedsMaximumSupply\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MintAmountZero\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyALCA\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyFactory\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyGovernance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyStakingPositionDescriptor\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyValidatorPool\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"slush\",\"type\":\"uint256\"}],\"name\":\"SlushTooLarge\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"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\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payoutEth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"payoutALCA\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"burnTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payoutEth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"payoutALCA\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"circuitBreakerState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"collectAllProfits\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payoutEth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"payoutToken\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"collectAllProfitsTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payoutEth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"payoutToken\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"collectEth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payout\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"collectEthTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payout\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"collectToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payout\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"collectTokenTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payout\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"magic_\",\"type\":\"uint8\"}],\"name\":\"depositEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"magic_\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"depositToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"estimateAllProfits\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payoutEth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"payoutToken\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"estimateEthCollection\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payout\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"estimateExcessEth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"excess\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"estimateExcessToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"excess\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"estimateTokenCollection\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payout\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAccumulatorScaleFactor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getEthAccumulator\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"accumulator\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slush\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLatestMintedPositionID\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMaxGovernanceLock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMaxMintLock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"}],\"name\":\"getMetamorphicContractAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"getPosition\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"freeAfter\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"withdrawFreeAfter\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"accumulatorEth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"accumulatorToken\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTokenAccumulator\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"accumulator\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slush\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalReserveALCA\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalReserveEth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lockDuration_\",\"type\":\"uint256\"}],\"name\":\"lockOwnPosition\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lockDuration_\",\"type\":\"uint256\"}],\"name\":\"lockPosition\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lockDuration_\",\"type\":\"uint256\"}],\"name\":\"lockWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lockDuration_\",\"type\":\"uint256\"}],\"name\":\"mintTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"}],\"name\":\"skimExcessEth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"excess\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"}],\"name\":\"skimExcessToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"excess\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"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\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tripCB\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

PublicStakingMetaData contains all meta data concerning the PublicStaking contract.

View Source
var SnapshotsABI = SnapshotsMetaData.ABI

SnapshotsABI is the input ABI used to generate the binding from. Deprecated: Use SnapshotsMetaData.ABI instead.

View Source
var SnapshotsMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainID_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochLength_\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"blockHeight\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"epochLength\",\"type\":\"uint256\"}],\"name\":\"BlockHeightNotMultipleOfEpochLength\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"offset\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"srcLength\",\"type\":\"uint256\"}],\"name\":\"Bytes32OffsetOutOfBounds\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"offset\",\"type\":\"uint256\"}],\"name\":\"Bytes32OffsetParameterOverflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ChainIdZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ConsensusNotRunning\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dataOffset\",\"type\":\"uint256\"}],\"name\":\"DataOffsetOverflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DataOffsetOverflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EllipticCurvePairingFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EpochMustBeNonZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"HeightZero\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"bytesLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"requiredBytesLength\",\"type\":\"uint256\"}],\"name\":\"InsufficientBytes\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"name\":\"InvalidChainId\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"calculatedMasterKeyHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"expectedMasterKeyHash\",\"type\":\"bytes32\"}],\"name\":\"InvalidMasterPublicKey\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newBlockHeight\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"oldBlockHeight\",\"type\":\"uint256\"}],\"name\":\"InvalidRingBufferBlockHeight\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"offset\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"srcLength\",\"type\":\"uint256\"}],\"name\":\"LEUint16OffsetOutOfBounds\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"offset\",\"type\":\"uint256\"}],\"name\":\"LEUint16OffsetParameterOverflow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"offset\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"srcLength\",\"type\":\"uint256\"}],\"name\":\"LEUint256OffsetOutOfBounds\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"offset\",\"type\":\"uint256\"}],\"name\":\"LEUint256OffsetParameterOverflow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"groupSignatureLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"bClaimsLength\",\"type\":\"uint256\"}],\"name\":\"MigrationInputDataMismatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MigrationNotAllowedAtCurrentEpoch\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"currentBlocksInterval\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minimumBlocksInterval\",\"type\":\"uint256\"}],\"name\":\"MinimumBlocksIntervalNotPassed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dataOffset\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"srcLength\",\"type\":\"uint256\"}],\"name\":\"NotEnoughBytes\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"offset\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"srcLength\",\"type\":\"uint256\"}],\"name\":\"OffsetOutOfBounds\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"offset\",\"type\":\"uint256\"}],\"name\":\"OffsetParameterOverflow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyDynamics\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyETHDKG\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyFactory\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyValidatorPool\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"OnlyValidatorsAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SignatureVerificationFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"dataSectionSize\",\"type\":\"uint16\"}],\"name\":\"SizeThresholdExceeded\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epoch\",\"type\":\"uint256\"}],\"name\":\"SnapshotsNotInBuffer\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"givenBlockHeight\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expectedBlockHeight\",\"type\":\"uint256\"}],\"name\":\"UnexpectedBlockHeight\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"validatorIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startIndex\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"endIndex\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"groupSignatureHash\",\"type\":\"bytes32\"}],\"name\":\"ValidatorNotElected\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"epoch\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"height\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"validator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isSafeToProceedConsensus\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256[4]\",\"name\":\"masterPublicKey\",\"type\":\"uint256[4]\"},{\"indexed\":false,\"internalType\":\"uint256[2]\",\"name\":\"signature\",\"type\":\"uint256[2]\"},{\"components\":[{\"internalType\":\"uint32\",\"name\":\"chainId\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"height\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"txCount\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"prevBlock\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"txRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"stateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"headerRoot\",\"type\":\"bytes32\"}],\"indexed\":false,\"internalType\":\"structBClaimsParserLibrary.BClaims\",\"name\":\"bClaims\",\"type\":\"tuple\"}],\"name\":\"SnapshotTaken\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"groupSignature_\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"bClaims_\",\"type\":\"bytes\"}],\"name\":\"checkBClaimsSignature\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAliceNetHeightFromLatestSnapshot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epoch_\",\"type\":\"uint256\"}],\"name\":\"getAliceNetHeightFromSnapshot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBlockClaimsFromLatestSnapshot\",\"outputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"chainId\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"height\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"txCount\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"prevBlock\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"txRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"stateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"headerRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structBClaimsParserLibrary.BClaims\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epoch_\",\"type\":\"uint256\"}],\"name\":\"getBlockClaimsFromSnapshot\",\"outputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"chainId\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"height\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"txCount\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"prevBlock\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"txRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"stateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"headerRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structBClaimsParserLibrary.BClaims\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getChainId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getChainIdFromLatestSnapshot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epoch_\",\"type\":\"uint256\"}],\"name\":\"getChainIdFromSnapshot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getCommittedHeightFromLatestSnapshot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epoch_\",\"type\":\"uint256\"}],\"name\":\"getCommittedHeightFromSnapshot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getEpoch\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"height\",\"type\":\"uint256\"}],\"name\":\"getEpochFromHeight\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getEpochLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLatestSnapshot\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"committedAt\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint32\",\"name\":\"chainId\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"height\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"txCount\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"prevBlock\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"txRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"stateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"headerRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structBClaimsParserLibrary.BClaims\",\"name\":\"blockClaims\",\"type\":\"tuple\"}],\"internalType\":\"structSnapshot\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"}],\"name\":\"getMetamorphicContractAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMinimumIntervalBetweenSnapshots\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"epoch_\",\"type\":\"uint256\"}],\"name\":\"getSnapshot\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"committedAt\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint32\",\"name\":\"chainId\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"height\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"txCount\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"prevBlock\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"txRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"stateRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"headerRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structBClaimsParserLibrary.BClaims\",\"name\":\"blockClaims\",\"type\":\"tuple\"}],\"internalType\":\"structSnapshot\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getSnapshotDesperationDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getSnapshotDesperationFactor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"desperationDelay_\",\"type\":\"uint32\"},{\"internalType\":\"uint32\",\"name\":\"desperationFactor_\",\"type\":\"uint32\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"validator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"lastSnapshotCommittedAt\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"groupSignatureHash\",\"type\":\"bytes32\"}],\"name\":\"isValidatorElectedToPerformSnapshot\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"numValidators\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"myIdx\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"blocksSinceDesperation\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"randomSeed\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"desperationFactor\",\"type\":\"uint256\"}],\"name\":\"mayValidatorSnapshot\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"groupSignature_\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes[]\",\"name\":\"bClaims_\",\"type\":\"bytes[]\"}],\"name\":\"migrateSnapshots\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"minimumIntervalBetweenSnapshots_\",\"type\":\"uint32\"}],\"name\":\"setMinimumIntervalBetweenSnapshots\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"desperationDelay_\",\"type\":\"uint32\"}],\"name\":\"setSnapshotDesperationDelay\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"desperationFactor_\",\"type\":\"uint32\"}],\"name\":\"setSnapshotDesperationFactor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"groupSignature_\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"bClaims_\",\"type\":\"bytes\"}],\"name\":\"snapshot\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

SnapshotsMetaData contains all meta data concerning the Snapshots contract.

View Source
var ValidatorPoolABI = ValidatorPoolMetaData.ABI

ValidatorPoolABI is the input ABI used to generate the binding from. Deprecated: Use ValidatorPoolMetaData.ABI instead.

View Source
var ValidatorPoolMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"AddressAlreadyValidator\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"AddressNotAccusable\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"}],\"name\":\"AddressNotValidator\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"CallerNotValidator\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CannotCallContractMethodsOnZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CannotTransferToZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ConsensusRunning\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ETHDKGRoundRunning\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"erc20Address\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Erc20TransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EthBalanceChangedDuringOperation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EthTransferFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"stakeAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minimumRequiredAmount\",\"type\":\"uint256\"}],\"name\":\"InsufficientFundsInStakePosition\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"InvalidIndex\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"key\",\"type\":\"address\"}],\"name\":\"KeyNotInMap\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"availableValidators\",\"type\":\"uint256\"}],\"name\":\"LengthGreaterThanAvailableValidators\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MaxIntervalWithoutSnapshotsMustBeNonZero\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"current\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"minMaxValidatorsAllowed\",\"type\":\"uint256\"}],\"name\":\"MaxNumValidatorsIsTooLow\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"currentBlockNumber\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"targetBlockNumber\",\"type\":\"uint256\"}],\"name\":\"MinimumBlockIntervalNotMet\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"requiredSlots\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"availableSlots\",\"type\":\"uint256\"}],\"name\":\"NotEnoughValidatorSlotsAvailable\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyALCA\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyETHDKG\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyFactory\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyPublicStaking\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlySnapshots\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"OnlyStakingContractsAllowed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyValidatorStaking\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PayoutTooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ProfitsOnlyClaimableWhileConsensusRunning\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"validatorsLength\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"stakerTokenIDsLength\",\"type\":\"uint256\"}],\"name\":\"RegistrationParameterLengthMismatch\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"SenderNotInExitingQueue\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"positionId\",\"type\":\"uint256\"}],\"name\":\"SenderShouldOwnPosition\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TokenBalanceChangedDuringOperation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WaitingPeriodNotMet\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"MaintenanceScheduled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"validatorStakingTokenID\",\"type\":\"uint256\"}],\"name\":\"ValidatorJoined\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"publicStakingTokenID\",\"type\":\"uint256\"}],\"name\":\"ValidatorLeft\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"ValidatorMajorSlashed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"publicStakingTokenID\",\"type\":\"uint256\"}],\"name\":\"ValidatorMinorSlashed\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"CLAIM_PERIOD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"POSITION_LOCK_PERIOD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claimExitingNFTPosition\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collectProfits\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payoutEth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"payoutToken\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"completeETHDKG\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getDisputerReward\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"validator_\",\"type\":\"address\"}],\"name\":\"getLocation\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"validators_\",\"type\":\"address[]\"}],\"name\":\"getLocations\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMaxIntervalWithoutSnapshots\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"maxIntervalWithoutSnapshots\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMaxNumValidators\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"}],\"name\":\"getMetamorphicContractAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getStakeAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index_\",\"type\":\"uint256\"}],\"name\":\"getValidator\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index_\",\"type\":\"uint256\"}],\"name\":\"getValidatorData\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_tokenID\",\"type\":\"uint256\"}],\"internalType\":\"structValidatorData\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getValidatorsAddresses\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getValidatorsCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"stakeAmount_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxNumValidators_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"disputerReward_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maxIntervalWithoutSnapshots_\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initializeETHDKG\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account_\",\"type\":\"address\"}],\"name\":\"isAccusable\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isConsensusRunning\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account_\",\"type\":\"address\"}],\"name\":\"isInExitingQueue\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isMaintenanceScheduled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account_\",\"type\":\"address\"}],\"name\":\"isValidator\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"dishonestValidator_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"disputer_\",\"type\":\"address\"}],\"name\":\"majorSlash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"dishonestValidator_\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"disputer_\",\"type\":\"address\"}],\"name\":\"minorSlash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pauseConsensus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"aliceNetHeight_\",\"type\":\"uint256\"}],\"name\":\"pauseConsensusOnArbitraryHeight\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"validators_\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"stakerTokenIDs_\",\"type\":\"uint256[]\"}],\"name\":\"registerValidators\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"scheduleMaintenance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"disputerReward_\",\"type\":\"uint256\"}],\"name\":\"setDisputerReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"ip_\",\"type\":\"string\"}],\"name\":\"setLocation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxIntervalWithoutSnapshots\",\"type\":\"uint256\"}],\"name\":\"setMaxIntervalWithoutSnapshots\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"maxNumValidators_\",\"type\":\"uint256\"}],\"name\":\"setMaxNumValidators\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"stakeAmount_\",\"type\":\"uint256\"}],\"name\":\"setStakeAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"}],\"name\":\"skimExcessEth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"excess\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"}],\"name\":\"skimExcessToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"excess\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account_\",\"type\":\"address\"}],\"name\":\"tryGetTokenID\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unregisterAllValidators\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"validators_\",\"type\":\"address[]\"}],\"name\":\"unregisterValidators\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

ValidatorPoolMetaData contains all meta data concerning the ValidatorPool contract.

View Source
var ValidatorStakingABI = ValidatorStakingMetaData.ABI

ValidatorStakingABI is the input ABI used to generate the binding from. Deprecated: Use ValidatorStakingMetaData.ABI instead.

View Source
var ValidatorStakingMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"magic\",\"type\":\"uint256\"}],\"name\":\"BadMagic\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserve\",\"type\":\"uint256\"}],\"name\":\"BalanceLessThanReserve\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller\",\"type\":\"address\"}],\"name\":\"CallerNotTokenOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CannotCallContractMethodsOnZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CannotTransferToZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CircuitBreakerOpened\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"erc20Address\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Erc20TransferFailed\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EthTransferFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FreeAfterTimeNotReached\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"InvalidTokenId\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LockDurationGreaterThanGovernanceLock\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LockDurationGreaterThanMintLock\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LockDurationWithdrawTimeNotReached\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MintAmountExceedsMaximumSupply\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MintAmountZero\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyALCA\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyFactory\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyGovernance\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyStakingPositionDescriptor\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"expected\",\"type\":\"address\"}],\"name\":\"OnlyValidatorPool\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"slush\",\"type\":\"uint256\"}],\"name\":\"SlushTooLarge\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"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\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payoutEth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"payoutALCA\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"burnTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payoutEth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"payoutALCA\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"circuitBreakerState\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"collectAllProfits\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payoutEth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"payoutToken\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"collectAllProfitsTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payoutEth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"payoutToken\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"collectEth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payout\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"collectEthTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payout\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"collectToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payout\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"collectTokenTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payout\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"magic_\",\"type\":\"uint8\"}],\"name\":\"depositEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"magic_\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"depositToken\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"estimateAllProfits\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payoutEth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"payoutToken\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"estimateEthCollection\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payout\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"estimateExcessEth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"excess\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"estimateExcessToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"excess\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"estimateTokenCollection\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"payout\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAccumulatorScaleFactor\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getEthAccumulator\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"accumulator\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slush\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getLatestMintedPositionID\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMaxGovernanceLock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getMaxMintLock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_salt\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"}],\"name\":\"getMetamorphicContractAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"getPosition\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"freeAfter\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"withdrawFreeAfter\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"accumulatorEth\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"accumulatorToken\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTokenAccumulator\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"accumulator\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"slush\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalReserveALCA\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalReserveEth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lockDuration_\",\"type\":\"uint256\"}],\"name\":\"lockOwnPosition\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"caller_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lockDuration_\",\"type\":\"uint256\"}],\"name\":\"lockPosition\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lockDuration_\",\"type\":\"uint256\"}],\"name\":\"lockWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount_\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lockDuration_\",\"type\":\"uint256\"}],\"name\":\"mintTo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"}],\"name\":\"skimExcessEth\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"excess\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to_\",\"type\":\"address\"}],\"name\":\"skimExcessToken\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"excess\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenID_\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"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\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tripCB\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ValidatorStakingMetaData contains all meta data concerning the ValidatorStaking contract.

Functions

This section is empty.

Types

type ALCA added in v0.0.8

type ALCA struct {
	ALCACaller     // Read-only binding to the contract
	ALCATransactor // Write-only binding to the contract
	ALCAFilterer   // Log filterer for contract events
}

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

func NewALCA added in v0.0.8

func NewALCA(address common.Address, backend bind.ContractBackend) (*ALCA, error)

NewALCA creates a new instance of ALCA, bound to a specific deployed contract.

type ALCAApproval added in v0.0.8

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

ALCAApproval represents a Approval event raised by the ALCA contract.

type ALCAApprovalIterator added in v0.0.8

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

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

func (*ALCAApprovalIterator) Close added in v0.0.8

func (it *ALCAApprovalIterator) Close() error

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

func (*ALCAApprovalIterator) Error added in v0.0.8

func (it *ALCAApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ALCAApprovalIterator) Next added in v0.0.8

func (it *ALCAApprovalIterator) 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 ALCABurner added in v0.0.8

type ALCABurner struct {
	ALCABurnerCaller     // Read-only binding to the contract
	ALCABurnerTransactor // Write-only binding to the contract
	ALCABurnerFilterer   // Log filterer for contract events
}

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

func NewALCABurner added in v0.0.8

func NewALCABurner(address common.Address, backend bind.ContractBackend) (*ALCABurner, error)

NewALCABurner creates a new instance of ALCABurner, bound to a specific deployed contract.

type ALCABurnerCaller added in v0.0.8

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

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

func NewALCABurnerCaller added in v0.0.8

func NewALCABurnerCaller(address common.Address, caller bind.ContractCaller) (*ALCABurnerCaller, error)

NewALCABurnerCaller creates a new read-only instance of ALCABurner, bound to a specific deployed contract.

func (*ALCABurnerCaller) GetMetamorphicContractAddress added in v0.0.8

func (_ALCABurner *ALCABurnerCaller) GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

type ALCABurnerCallerRaw added in v0.0.8

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

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

func (*ALCABurnerCallerRaw) Call added in v0.0.8

func (_ALCABurner *ALCABurnerCallerRaw) 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 ALCABurnerCallerSession added in v0.0.8

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

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

func (*ALCABurnerCallerSession) GetMetamorphicContractAddress added in v0.0.8

func (_ALCABurner *ALCABurnerCallerSession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

type ALCABurnerFilterer added in v0.0.8

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

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

func NewALCABurnerFilterer added in v0.0.8

func NewALCABurnerFilterer(address common.Address, filterer bind.ContractFilterer) (*ALCABurnerFilterer, error)

NewALCABurnerFilterer creates a new log filterer instance of ALCABurner, bound to a specific deployed contract.

type ALCABurnerRaw added in v0.0.8

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

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

func (*ALCABurnerRaw) Call added in v0.0.8

func (_ALCABurner *ALCABurnerRaw) 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 (*ALCABurnerRaw) Transact added in v0.0.8

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

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

func (*ALCABurnerRaw) Transfer added in v0.0.8

func (_ALCABurner *ALCABurnerRaw) 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 ALCABurnerSession added in v0.0.8

type ALCABurnerSession struct {
	Contract     *ALCABurner       // 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
}

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

func (*ALCABurnerSession) Burn added in v0.0.8

func (_ALCABurner *ALCABurnerSession) Burn(from_ common.Address, amount_ *big.Int) (*types.Transaction, error)

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

Solidity: function burn(address from_, uint256 amount_) returns()

func (*ALCABurnerSession) GetMetamorphicContractAddress added in v0.0.8

func (_ALCABurner *ALCABurnerSession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

type ALCABurnerTransactor added in v0.0.8

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

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

func NewALCABurnerTransactor added in v0.0.8

func NewALCABurnerTransactor(address common.Address, transactor bind.ContractTransactor) (*ALCABurnerTransactor, error)

NewALCABurnerTransactor creates a new write-only instance of ALCABurner, bound to a specific deployed contract.

func (*ALCABurnerTransactor) Burn added in v0.0.8

func (_ALCABurner *ALCABurnerTransactor) Burn(opts *bind.TransactOpts, from_ common.Address, amount_ *big.Int) (*types.Transaction, error)

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

Solidity: function burn(address from_, uint256 amount_) returns()

type ALCABurnerTransactorRaw added in v0.0.8

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

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

func (*ALCABurnerTransactorRaw) Transact added in v0.0.8

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

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

func (*ALCABurnerTransactorRaw) Transfer added in v0.0.8

func (_ALCABurner *ALCABurnerTransactorRaw) 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 ALCABurnerTransactorSession added in v0.0.8

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

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

func (*ALCABurnerTransactorSession) Burn added in v0.0.8

func (_ALCABurner *ALCABurnerTransactorSession) Burn(from_ common.Address, amount_ *big.Int) (*types.Transaction, error)

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

Solidity: function burn(address from_, uint256 amount_) returns()

type ALCACaller added in v0.0.8

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

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

func NewALCACaller added in v0.0.8

func NewALCACaller(address common.Address, caller bind.ContractCaller) (*ALCACaller, error)

NewALCACaller creates a new read-only instance of ALCA, bound to a specific deployed contract.

func (*ALCACaller) Allowance added in v0.0.8

func (_ALCA *ALCACaller) 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 (*ALCACaller) BalanceOf added in v0.0.8

func (_ALCA *ALCACaller) 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 (*ALCACaller) Convert added in v0.0.8

func (_ALCA *ALCACaller) Convert(opts *bind.CallOpts, amount *big.Int) (*big.Int, error)

Convert is a free data retrieval call binding the contract method 0xa3908e1b.

Solidity: function convert(uint256 amount) view returns(uint256)

func (*ALCACaller) Decimals added in v0.0.8

func (_ALCA *ALCACaller) 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 (*ALCACaller) GetLegacyTokenAddress added in v0.0.8

func (_ALCA *ALCACaller) GetLegacyTokenAddress(opts *bind.CallOpts) (common.Address, error)

GetLegacyTokenAddress is a free data retrieval call binding the contract method 0x035c7099.

Solidity: function getLegacyTokenAddress() view returns(address)

func (*ALCACaller) GetMetamorphicContractAddress added in v0.0.8

func (_ALCA *ALCACaller) GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*ALCACaller) IsEarlyStageMigration added in v0.0.10

func (_ALCA *ALCACaller) IsEarlyStageMigration(opts *bind.CallOpts) (bool, error)

IsEarlyStageMigration is a free data retrieval call binding the contract method 0xa1811ef5.

Solidity: function isEarlyStageMigration() view returns(bool)

func (*ALCACaller) Name added in v0.0.8

func (_ALCA *ALCACaller) 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 (*ALCACaller) Symbol added in v0.0.8

func (_ALCA *ALCACaller) 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 (*ALCACaller) TotalSupply added in v0.0.8

func (_ALCA *ALCACaller) 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 ALCACallerRaw added in v0.0.8

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

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

func (*ALCACallerRaw) Call added in v0.0.8

func (_ALCA *ALCACallerRaw) 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 ALCACallerSession added in v0.0.8

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

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

func (*ALCACallerSession) Allowance added in v0.0.8

func (_ALCA *ALCACallerSession) 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 (*ALCACallerSession) BalanceOf added in v0.0.8

func (_ALCA *ALCACallerSession) 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 (*ALCACallerSession) Convert added in v0.0.8

func (_ALCA *ALCACallerSession) Convert(amount *big.Int) (*big.Int, error)

Convert is a free data retrieval call binding the contract method 0xa3908e1b.

Solidity: function convert(uint256 amount) view returns(uint256)

func (*ALCACallerSession) Decimals added in v0.0.8

func (_ALCA *ALCACallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*ALCACallerSession) GetLegacyTokenAddress added in v0.0.8

func (_ALCA *ALCACallerSession) GetLegacyTokenAddress() (common.Address, error)

GetLegacyTokenAddress is a free data retrieval call binding the contract method 0x035c7099.

Solidity: function getLegacyTokenAddress() view returns(address)

func (*ALCACallerSession) GetMetamorphicContractAddress added in v0.0.8

func (_ALCA *ALCACallerSession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*ALCACallerSession) IsEarlyStageMigration added in v0.0.10

func (_ALCA *ALCACallerSession) IsEarlyStageMigration() (bool, error)

IsEarlyStageMigration is a free data retrieval call binding the contract method 0xa1811ef5.

Solidity: function isEarlyStageMigration() view returns(bool)

func (*ALCACallerSession) Name added in v0.0.8

func (_ALCA *ALCACallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ALCACallerSession) Symbol added in v0.0.8

func (_ALCA *ALCACallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ALCACallerSession) TotalSupply added in v0.0.8

func (_ALCA *ALCACallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ALCAFilterer added in v0.0.8

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

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

func NewALCAFilterer added in v0.0.8

func NewALCAFilterer(address common.Address, filterer bind.ContractFilterer) (*ALCAFilterer, error)

NewALCAFilterer creates a new log filterer instance of ALCA, bound to a specific deployed contract.

func (*ALCAFilterer) FilterApproval added in v0.0.8

func (_ALCA *ALCAFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ALCAApprovalIterator, 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 (*ALCAFilterer) FilterTransfer added in v0.0.8

func (_ALCA *ALCAFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ALCATransferIterator, 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 (*ALCAFilterer) ParseApproval added in v0.0.8

func (_ALCA *ALCAFilterer) ParseApproval(log types.Log) (*ALCAApproval, error)

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

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

func (*ALCAFilterer) ParseTransfer added in v0.0.8

func (_ALCA *ALCAFilterer) ParseTransfer(log types.Log) (*ALCATransfer, error)

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

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

func (*ALCAFilterer) WatchApproval added in v0.0.8

func (_ALCA *ALCAFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ALCAApproval, 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 (*ALCAFilterer) WatchTransfer added in v0.0.8

func (_ALCA *ALCAFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ALCATransfer, 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 ALCAMinter added in v0.0.8

type ALCAMinter struct {
	ALCAMinterCaller     // Read-only binding to the contract
	ALCAMinterTransactor // Write-only binding to the contract
	ALCAMinterFilterer   // Log filterer for contract events
}

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

func NewALCAMinter added in v0.0.8

func NewALCAMinter(address common.Address, backend bind.ContractBackend) (*ALCAMinter, error)

NewALCAMinter creates a new instance of ALCAMinter, bound to a specific deployed contract.

type ALCAMinterCaller added in v0.0.8

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

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

func NewALCAMinterCaller added in v0.0.8

func NewALCAMinterCaller(address common.Address, caller bind.ContractCaller) (*ALCAMinterCaller, error)

NewALCAMinterCaller creates a new read-only instance of ALCAMinter, bound to a specific deployed contract.

func (*ALCAMinterCaller) GetMetamorphicContractAddress added in v0.0.8

func (_ALCAMinter *ALCAMinterCaller) GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

type ALCAMinterCallerRaw added in v0.0.8

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

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

func (*ALCAMinterCallerRaw) Call added in v0.0.8

func (_ALCAMinter *ALCAMinterCallerRaw) 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 ALCAMinterCallerSession added in v0.0.8

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

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

func (*ALCAMinterCallerSession) GetMetamorphicContractAddress added in v0.0.8

func (_ALCAMinter *ALCAMinterCallerSession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

type ALCAMinterFilterer added in v0.0.8

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

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

func NewALCAMinterFilterer added in v0.0.8

func NewALCAMinterFilterer(address common.Address, filterer bind.ContractFilterer) (*ALCAMinterFilterer, error)

NewALCAMinterFilterer creates a new log filterer instance of ALCAMinter, bound to a specific deployed contract.

type ALCAMinterRaw added in v0.0.8

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

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

func (*ALCAMinterRaw) Call added in v0.0.8

func (_ALCAMinter *ALCAMinterRaw) 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 (*ALCAMinterRaw) Transact added in v0.0.8

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

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

func (*ALCAMinterRaw) Transfer added in v0.0.8

func (_ALCAMinter *ALCAMinterRaw) 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 ALCAMinterSession added in v0.0.8

type ALCAMinterSession struct {
	Contract     *ALCAMinter       // 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
}

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

func (*ALCAMinterSession) GetMetamorphicContractAddress added in v0.0.8

func (_ALCAMinter *ALCAMinterSession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*ALCAMinterSession) Mint added in v0.0.8

func (_ALCAMinter *ALCAMinterSession) Mint(to_ common.Address, amount_ *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address to_, uint256 amount_) returns()

type ALCAMinterTransactor added in v0.0.8

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

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

func NewALCAMinterTransactor added in v0.0.8

func NewALCAMinterTransactor(address common.Address, transactor bind.ContractTransactor) (*ALCAMinterTransactor, error)

NewALCAMinterTransactor creates a new write-only instance of ALCAMinter, bound to a specific deployed contract.

func (*ALCAMinterTransactor) Mint added in v0.0.8

func (_ALCAMinter *ALCAMinterTransactor) Mint(opts *bind.TransactOpts, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address to_, uint256 amount_) returns()

type ALCAMinterTransactorRaw added in v0.0.8

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

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

func (*ALCAMinterTransactorRaw) Transact added in v0.0.8

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

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

func (*ALCAMinterTransactorRaw) Transfer added in v0.0.8

func (_ALCAMinter *ALCAMinterTransactorRaw) 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 ALCAMinterTransactorSession added in v0.0.8

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

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

func (*ALCAMinterTransactorSession) Mint added in v0.0.8

func (_ALCAMinter *ALCAMinterTransactorSession) Mint(to_ common.Address, amount_ *big.Int) (*types.Transaction, error)

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

Solidity: function mint(address to_, uint256 amount_) returns()

type ALCARaw added in v0.0.8

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

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

func (*ALCARaw) Call added in v0.0.8

func (_ALCA *ALCARaw) 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 (*ALCARaw) Transact added in v0.0.8

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

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

func (*ALCARaw) Transfer added in v0.0.8

func (_ALCA *ALCARaw) 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 ALCASession added in v0.0.8

type ALCASession struct {
	Contract     *ALCA             // 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
}

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

func (*ALCASession) Allowance added in v0.0.8

func (_ALCA *ALCASession) 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 (*ALCASession) Approve added in v0.0.8

func (_ALCA *ALCASession) 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 (*ALCASession) BalanceOf added in v0.0.8

func (_ALCA *ALCASession) 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 (*ALCASession) Convert added in v0.0.8

func (_ALCA *ALCASession) Convert(amount *big.Int) (*big.Int, error)

Convert is a free data retrieval call binding the contract method 0xa3908e1b.

Solidity: function convert(uint256 amount) view returns(uint256)

func (*ALCASession) Decimals added in v0.0.8

func (_ALCA *ALCASession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*ALCASession) DecreaseAllowance added in v0.0.8

func (_ALCA *ALCASession) 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 (*ALCASession) ExternalBurn added in v0.0.8

func (_ALCA *ALCASession) ExternalBurn(from common.Address, amount *big.Int) (*types.Transaction, error)

ExternalBurn is a paid mutator transaction binding the contract method 0x6f6ebec8.

Solidity: function externalBurn(address from, uint256 amount) returns()

func (*ALCASession) ExternalMint added in v0.0.8

func (_ALCA *ALCASession) ExternalMint(to common.Address, amount *big.Int) (*types.Transaction, error)

ExternalMint is a paid mutator transaction binding the contract method 0x99f98898.

Solidity: function externalMint(address to, uint256 amount) returns()

func (*ALCASession) FinishEarlyStage added in v0.0.8

func (_ALCA *ALCASession) FinishEarlyStage() (*types.Transaction, error)

FinishEarlyStage is a paid mutator transaction binding the contract method 0xae424781.

Solidity: function finishEarlyStage() returns()

func (*ALCASession) GetLegacyTokenAddress added in v0.0.8

func (_ALCA *ALCASession) GetLegacyTokenAddress() (common.Address, error)

GetLegacyTokenAddress is a free data retrieval call binding the contract method 0x035c7099.

Solidity: function getLegacyTokenAddress() view returns(address)

func (*ALCASession) GetMetamorphicContractAddress added in v0.0.8

func (_ALCA *ALCASession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*ALCASession) IncreaseAllowance added in v0.0.8

func (_ALCA *ALCASession) 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 (*ALCASession) IsEarlyStageMigration added in v0.0.10

func (_ALCA *ALCASession) IsEarlyStageMigration() (bool, error)

IsEarlyStageMigration is a free data retrieval call binding the contract method 0xa1811ef5.

Solidity: function isEarlyStageMigration() view returns(bool)

func (*ALCASession) Migrate added in v0.0.8

func (_ALCA *ALCASession) Migrate(amount *big.Int) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x454b0608.

Solidity: function migrate(uint256 amount) returns(uint256)

func (*ALCASession) MigrateTo added in v0.0.8

func (_ALCA *ALCASession) MigrateTo(to common.Address, amount *big.Int) (*types.Transaction, error)

MigrateTo is a paid mutator transaction binding the contract method 0x0d213d31.

Solidity: function migrateTo(address to, uint256 amount) returns(uint256)

func (*ALCASession) Name added in v0.0.8

func (_ALCA *ALCASession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ALCASession) Symbol added in v0.0.8

func (_ALCA *ALCASession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ALCASession) TotalSupply added in v0.0.8

func (_ALCA *ALCASession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ALCASession) Transfer added in v0.0.8

func (_ALCA *ALCASession) 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 (*ALCASession) TransferFrom added in v0.0.8

func (_ALCA *ALCASession) 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 ALCATransactor added in v0.0.8

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

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

func NewALCATransactor added in v0.0.8

func NewALCATransactor(address common.Address, transactor bind.ContractTransactor) (*ALCATransactor, error)

NewALCATransactor creates a new write-only instance of ALCA, bound to a specific deployed contract.

func (*ALCATransactor) Approve added in v0.0.8

func (_ALCA *ALCATransactor) 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 (*ALCATransactor) DecreaseAllowance added in v0.0.8

func (_ALCA *ALCATransactor) 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 (*ALCATransactor) ExternalBurn added in v0.0.8

func (_ALCA *ALCATransactor) ExternalBurn(opts *bind.TransactOpts, from common.Address, amount *big.Int) (*types.Transaction, error)

ExternalBurn is a paid mutator transaction binding the contract method 0x6f6ebec8.

Solidity: function externalBurn(address from, uint256 amount) returns()

func (*ALCATransactor) ExternalMint added in v0.0.8

func (_ALCA *ALCATransactor) ExternalMint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

ExternalMint is a paid mutator transaction binding the contract method 0x99f98898.

Solidity: function externalMint(address to, uint256 amount) returns()

func (*ALCATransactor) FinishEarlyStage added in v0.0.8

func (_ALCA *ALCATransactor) FinishEarlyStage(opts *bind.TransactOpts) (*types.Transaction, error)

FinishEarlyStage is a paid mutator transaction binding the contract method 0xae424781.

Solidity: function finishEarlyStage() returns()

func (*ALCATransactor) IncreaseAllowance added in v0.0.8

func (_ALCA *ALCATransactor) 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 (*ALCATransactor) Migrate added in v0.0.8

func (_ALCA *ALCATransactor) Migrate(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x454b0608.

Solidity: function migrate(uint256 amount) returns(uint256)

func (*ALCATransactor) MigrateTo added in v0.0.8

func (_ALCA *ALCATransactor) MigrateTo(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

MigrateTo is a paid mutator transaction binding the contract method 0x0d213d31.

Solidity: function migrateTo(address to, uint256 amount) returns(uint256)

func (*ALCATransactor) Transfer added in v0.0.8

func (_ALCA *ALCATransactor) 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 (*ALCATransactor) TransferFrom added in v0.0.8

func (_ALCA *ALCATransactor) 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 ALCATransactorRaw added in v0.0.8

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

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

func (*ALCATransactorRaw) Transact added in v0.0.8

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

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

func (*ALCATransactorRaw) Transfer added in v0.0.8

func (_ALCA *ALCATransactorRaw) 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 ALCATransactorSession added in v0.0.8

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

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

func (*ALCATransactorSession) Approve added in v0.0.8

func (_ALCA *ALCATransactorSession) 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 (*ALCATransactorSession) DecreaseAllowance added in v0.0.8

func (_ALCA *ALCATransactorSession) 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 (*ALCATransactorSession) ExternalBurn added in v0.0.8

func (_ALCA *ALCATransactorSession) ExternalBurn(from common.Address, amount *big.Int) (*types.Transaction, error)

ExternalBurn is a paid mutator transaction binding the contract method 0x6f6ebec8.

Solidity: function externalBurn(address from, uint256 amount) returns()

func (*ALCATransactorSession) ExternalMint added in v0.0.8

func (_ALCA *ALCATransactorSession) ExternalMint(to common.Address, amount *big.Int) (*types.Transaction, error)

ExternalMint is a paid mutator transaction binding the contract method 0x99f98898.

Solidity: function externalMint(address to, uint256 amount) returns()

func (*ALCATransactorSession) FinishEarlyStage added in v0.0.8

func (_ALCA *ALCATransactorSession) FinishEarlyStage() (*types.Transaction, error)

FinishEarlyStage is a paid mutator transaction binding the contract method 0xae424781.

Solidity: function finishEarlyStage() returns()

func (*ALCATransactorSession) IncreaseAllowance added in v0.0.8

func (_ALCA *ALCATransactorSession) 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 (*ALCATransactorSession) Migrate added in v0.0.8

func (_ALCA *ALCATransactorSession) Migrate(amount *big.Int) (*types.Transaction, error)

Migrate is a paid mutator transaction binding the contract method 0x454b0608.

Solidity: function migrate(uint256 amount) returns(uint256)

func (*ALCATransactorSession) MigrateTo added in v0.0.8

func (_ALCA *ALCATransactorSession) MigrateTo(to common.Address, amount *big.Int) (*types.Transaction, error)

MigrateTo is a paid mutator transaction binding the contract method 0x0d213d31.

Solidity: function migrateTo(address to, uint256 amount) returns(uint256)

func (*ALCATransactorSession) Transfer added in v0.0.8

func (_ALCA *ALCATransactorSession) 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 (*ALCATransactorSession) TransferFrom added in v0.0.8

func (_ALCA *ALCATransactorSession) 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 ALCATransfer added in v0.0.8

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

ALCATransfer represents a Transfer event raised by the ALCA contract.

type ALCATransferIterator added in v0.0.8

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

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

func (*ALCATransferIterator) Close added in v0.0.8

func (it *ALCATransferIterator) Close() error

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

func (*ALCATransferIterator) Error added in v0.0.8

func (it *ALCATransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ALCATransferIterator) Next added in v0.0.8

func (it *ALCATransferIterator) 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 ALCB added in v0.0.8

type ALCB struct {
	ALCBCaller     // Read-only binding to the contract
	ALCBTransactor // Write-only binding to the contract
	ALCBFilterer   // Log filterer for contract events
}

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

func NewALCB added in v0.0.8

func NewALCB(address common.Address, backend bind.ContractBackend) (*ALCB, error)

NewALCB creates a new instance of ALCB, bound to a specific deployed contract.

type ALCBApproval added in v0.0.8

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

ALCBApproval represents a Approval event raised by the ALCB contract.

type ALCBApprovalIterator added in v0.0.8

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

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

func (*ALCBApprovalIterator) Close added in v0.0.8

func (it *ALCBApprovalIterator) Close() error

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

func (*ALCBApprovalIterator) Error added in v0.0.8

func (it *ALCBApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ALCBApprovalIterator) Next added in v0.0.8

func (it *ALCBApprovalIterator) 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 ALCBCaller added in v0.0.8

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

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

func NewALCBCaller added in v0.0.8

func NewALCBCaller(address common.Address, caller bind.ContractCaller) (*ALCBCaller, error)

NewALCBCaller creates a new read-only instance of ALCB, bound to a specific deployed contract.

func (*ALCBCaller) Allowance added in v0.0.8

func (_ALCB *ALCBCaller) 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 (*ALCBCaller) BalanceOf added in v0.0.8

func (_ALCB *ALCBCaller) 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 (*ALCBCaller) Decimals added in v0.0.8

func (_ALCB *ALCBCaller) 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 (*ALCBCaller) GetCentralBridgeRouterAddress added in v0.0.8

func (_ALCB *ALCBCaller) GetCentralBridgeRouterAddress(opts *bind.CallOpts) (common.Address, error)

GetCentralBridgeRouterAddress is a free data retrieval call binding the contract method 0xff32fefc.

Solidity: function getCentralBridgeRouterAddress() view returns(address)

func (*ALCBCaller) GetDeposit added in v0.0.8

func (_ALCB *ALCBCaller) GetDeposit(opts *bind.CallOpts, depositID *big.Int) (Deposit, error)

GetDeposit is a free data retrieval call binding the contract method 0x9f9fb968.

Solidity: function getDeposit(uint256 depositID) view returns((uint8,address,uint256))

func (*ALCBCaller) GetDepositID added in v0.0.8

func (_ALCB *ALCBCaller) GetDepositID(opts *bind.CallOpts) (*big.Int, error)

GetDepositID is a free data retrieval call binding the contract method 0x94f70c8a.

Solidity: function getDepositID() view returns(uint256)

func (*ALCBCaller) GetEthFromTokensBurn added in v0.0.8

func (_ALCB *ALCBCaller) GetEthFromTokensBurn(opts *bind.CallOpts, poolBalance_ *big.Int, totalSupply_ *big.Int, numBTK_ *big.Int) (*big.Int, error)

GetEthFromTokensBurn is a free data retrieval call binding the contract method 0xc67cb8d1.

Solidity: function getEthFromTokensBurn(uint256 poolBalance_, uint256 totalSupply_, uint256 numBTK_) pure returns(uint256 numEth)

func (*ALCBCaller) GetEthToMintTokens added in v0.0.8

func (_ALCB *ALCBCaller) GetEthToMintTokens(opts *bind.CallOpts, totalSupply_ *big.Int, numBTK_ *big.Int) (*big.Int, error)

GetEthToMintTokens is a free data retrieval call binding the contract method 0x688727c5.

Solidity: function getEthToMintTokens(uint256 totalSupply_, uint256 numBTK_) pure returns(uint256 numEth)

func (*ALCBCaller) GetLatestEthFromTokensBurn added in v0.0.8

func (_ALCB *ALCBCaller) GetLatestEthFromTokensBurn(opts *bind.CallOpts, numBTK_ *big.Int) (*big.Int, error)

GetLatestEthFromTokensBurn is a free data retrieval call binding the contract method 0xe51b55e3.

Solidity: function getLatestEthFromTokensBurn(uint256 numBTK_) view returns(uint256 numEth)

func (*ALCBCaller) GetLatestEthToMintTokens added in v0.0.8

func (_ALCB *ALCBCaller) GetLatestEthToMintTokens(opts *bind.CallOpts, numBTK_ *big.Int) (*big.Int, error)

GetLatestEthToMintTokens is a free data retrieval call binding the contract method 0xf14a28f9.

Solidity: function getLatestEthToMintTokens(uint256 numBTK_) view returns(uint256 numEth)

func (*ALCBCaller) GetLatestMintedTokensFromEth added in v0.0.8

func (_ALCB *ALCBCaller) GetLatestMintedTokensFromEth(opts *bind.CallOpts, numEth_ *big.Int) (*big.Int, error)

GetLatestMintedTokensFromEth is a free data retrieval call binding the contract method 0x46711773.

Solidity: function getLatestMintedTokensFromEth(uint256 numEth_) view returns(uint256)

func (*ALCBCaller) GetMarketSpread added in v0.0.8

func (_ALCB *ALCBCaller) GetMarketSpread(opts *bind.CallOpts) (*big.Int, error)

GetMarketSpread is a free data retrieval call binding the contract method 0x086cfefd.

Solidity: function getMarketSpread() pure returns(uint256)

func (*ALCBCaller) GetMetamorphicContractAddress added in v0.0.8

func (_ALCB *ALCBCaller) GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*ALCBCaller) GetMintedTokensFromEth added in v0.0.8

func (_ALCB *ALCBCaller) GetMintedTokensFromEth(opts *bind.CallOpts, poolBalance_ *big.Int, numEth_ *big.Int) (*big.Int, error)

GetMintedTokensFromEth is a free data retrieval call binding the contract method 0x679f742d.

Solidity: function getMintedTokensFromEth(uint256 poolBalance_, uint256 numEth_) pure returns(uint256)

func (*ALCBCaller) GetPoolBalance added in v0.0.8

func (_ALCB *ALCBCaller) GetPoolBalance(opts *bind.CallOpts) (*big.Int, error)

GetPoolBalance is a free data retrieval call binding the contract method 0xabd70aa2.

Solidity: function getPoolBalance() view returns(uint256)

func (*ALCBCaller) GetTotalTokensDeposited added in v0.0.8

func (_ALCB *ALCBCaller) GetTotalTokensDeposited(opts *bind.CallOpts) (*big.Int, error)

GetTotalTokensDeposited is a free data retrieval call binding the contract method 0x8d407823.

Solidity: function getTotalTokensDeposited() view returns(uint256)

func (*ALCBCaller) GetYield added in v0.0.8

func (_ALCB *ALCBCaller) GetYield(opts *bind.CallOpts) (*big.Int, error)

GetYield is a free data retrieval call binding the contract method 0x7c262871.

Solidity: function getYield() view returns(uint256)

func (*ALCBCaller) Name added in v0.0.8

func (_ALCB *ALCBCaller) 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 (*ALCBCaller) Symbol added in v0.0.8

func (_ALCB *ALCBCaller) 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 (*ALCBCaller) TotalSupply added in v0.0.8

func (_ALCB *ALCBCaller) 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 ALCBCallerRaw added in v0.0.8

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

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

func (*ALCBCallerRaw) Call added in v0.0.8

func (_ALCB *ALCBCallerRaw) 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 ALCBCallerSession added in v0.0.8

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

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

func (*ALCBCallerSession) Allowance added in v0.0.8

func (_ALCB *ALCBCallerSession) 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 (*ALCBCallerSession) BalanceOf added in v0.0.8

func (_ALCB *ALCBCallerSession) 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 (*ALCBCallerSession) Decimals added in v0.0.8

func (_ALCB *ALCBCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*ALCBCallerSession) GetCentralBridgeRouterAddress added in v0.0.8

func (_ALCB *ALCBCallerSession) GetCentralBridgeRouterAddress() (common.Address, error)

GetCentralBridgeRouterAddress is a free data retrieval call binding the contract method 0xff32fefc.

Solidity: function getCentralBridgeRouterAddress() view returns(address)

func (*ALCBCallerSession) GetDeposit added in v0.0.8

func (_ALCB *ALCBCallerSession) GetDeposit(depositID *big.Int) (Deposit, error)

GetDeposit is a free data retrieval call binding the contract method 0x9f9fb968.

Solidity: function getDeposit(uint256 depositID) view returns((uint8,address,uint256))

func (*ALCBCallerSession) GetDepositID added in v0.0.8

func (_ALCB *ALCBCallerSession) GetDepositID() (*big.Int, error)

GetDepositID is a free data retrieval call binding the contract method 0x94f70c8a.

Solidity: function getDepositID() view returns(uint256)

func (*ALCBCallerSession) GetEthFromTokensBurn added in v0.0.8

func (_ALCB *ALCBCallerSession) GetEthFromTokensBurn(poolBalance_ *big.Int, totalSupply_ *big.Int, numBTK_ *big.Int) (*big.Int, error)

GetEthFromTokensBurn is a free data retrieval call binding the contract method 0xc67cb8d1.

Solidity: function getEthFromTokensBurn(uint256 poolBalance_, uint256 totalSupply_, uint256 numBTK_) pure returns(uint256 numEth)

func (*ALCBCallerSession) GetEthToMintTokens added in v0.0.8

func (_ALCB *ALCBCallerSession) GetEthToMintTokens(totalSupply_ *big.Int, numBTK_ *big.Int) (*big.Int, error)

GetEthToMintTokens is a free data retrieval call binding the contract method 0x688727c5.

Solidity: function getEthToMintTokens(uint256 totalSupply_, uint256 numBTK_) pure returns(uint256 numEth)

func (*ALCBCallerSession) GetLatestEthFromTokensBurn added in v0.0.8

func (_ALCB *ALCBCallerSession) GetLatestEthFromTokensBurn(numBTK_ *big.Int) (*big.Int, error)

GetLatestEthFromTokensBurn is a free data retrieval call binding the contract method 0xe51b55e3.

Solidity: function getLatestEthFromTokensBurn(uint256 numBTK_) view returns(uint256 numEth)

func (*ALCBCallerSession) GetLatestEthToMintTokens added in v0.0.8

func (_ALCB *ALCBCallerSession) GetLatestEthToMintTokens(numBTK_ *big.Int) (*big.Int, error)

GetLatestEthToMintTokens is a free data retrieval call binding the contract method 0xf14a28f9.

Solidity: function getLatestEthToMintTokens(uint256 numBTK_) view returns(uint256 numEth)

func (*ALCBCallerSession) GetLatestMintedTokensFromEth added in v0.0.8

func (_ALCB *ALCBCallerSession) GetLatestMintedTokensFromEth(numEth_ *big.Int) (*big.Int, error)

GetLatestMintedTokensFromEth is a free data retrieval call binding the contract method 0x46711773.

Solidity: function getLatestMintedTokensFromEth(uint256 numEth_) view returns(uint256)

func (*ALCBCallerSession) GetMarketSpread added in v0.0.8

func (_ALCB *ALCBCallerSession) GetMarketSpread() (*big.Int, error)

GetMarketSpread is a free data retrieval call binding the contract method 0x086cfefd.

Solidity: function getMarketSpread() pure returns(uint256)

func (*ALCBCallerSession) GetMetamorphicContractAddress added in v0.0.8

func (_ALCB *ALCBCallerSession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*ALCBCallerSession) GetMintedTokensFromEth added in v0.0.8

func (_ALCB *ALCBCallerSession) GetMintedTokensFromEth(poolBalance_ *big.Int, numEth_ *big.Int) (*big.Int, error)

GetMintedTokensFromEth is a free data retrieval call binding the contract method 0x679f742d.

Solidity: function getMintedTokensFromEth(uint256 poolBalance_, uint256 numEth_) pure returns(uint256)

func (*ALCBCallerSession) GetPoolBalance added in v0.0.8

func (_ALCB *ALCBCallerSession) GetPoolBalance() (*big.Int, error)

GetPoolBalance is a free data retrieval call binding the contract method 0xabd70aa2.

Solidity: function getPoolBalance() view returns(uint256)

func (*ALCBCallerSession) GetTotalTokensDeposited added in v0.0.8

func (_ALCB *ALCBCallerSession) GetTotalTokensDeposited() (*big.Int, error)

GetTotalTokensDeposited is a free data retrieval call binding the contract method 0x8d407823.

Solidity: function getTotalTokensDeposited() view returns(uint256)

func (*ALCBCallerSession) GetYield added in v0.0.8

func (_ALCB *ALCBCallerSession) GetYield() (*big.Int, error)

GetYield is a free data retrieval call binding the contract method 0x7c262871.

Solidity: function getYield() view returns(uint256)

func (*ALCBCallerSession) Name added in v0.0.8

func (_ALCB *ALCBCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ALCBCallerSession) Symbol added in v0.0.8

func (_ALCB *ALCBCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ALCBCallerSession) TotalSupply added in v0.0.8

func (_ALCB *ALCBCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ALCBDepositReceived added in v0.0.8

type ALCBDepositReceived struct {
	DepositID   *big.Int
	AccountType uint8
	Depositor   common.Address
	Amount      *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

ALCBDepositReceived represents a DepositReceived event raised by the ALCB contract.

type ALCBDepositReceivedIterator added in v0.0.8

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

ALCBDepositReceivedIterator is returned from FilterDepositReceived and is used to iterate over the raw logs and unpacked data for DepositReceived events raised by the ALCB contract.

func (*ALCBDepositReceivedIterator) Close added in v0.0.8

func (it *ALCBDepositReceivedIterator) Close() error

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

func (*ALCBDepositReceivedIterator) Error added in v0.0.8

func (it *ALCBDepositReceivedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ALCBDepositReceivedIterator) Next added in v0.0.8

func (it *ALCBDepositReceivedIterator) 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 ALCBFilterer added in v0.0.8

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

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

func NewALCBFilterer added in v0.0.8

func NewALCBFilterer(address common.Address, filterer bind.ContractFilterer) (*ALCBFilterer, error)

NewALCBFilterer creates a new log filterer instance of ALCB, bound to a specific deployed contract.

func (*ALCBFilterer) FilterApproval added in v0.0.8

func (_ALCB *ALCBFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ALCBApprovalIterator, 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 (*ALCBFilterer) FilterDepositReceived added in v0.0.8

func (_ALCB *ALCBFilterer) FilterDepositReceived(opts *bind.FilterOpts, depositID []*big.Int, accountType []uint8, depositor []common.Address) (*ALCBDepositReceivedIterator, error)

FilterDepositReceived is a free log retrieval operation binding the contract event 0x9d291e7244fa9bf5a85ec47d5a52012ccc92231b41c94308155ad2702eef9d4d.

Solidity: event DepositReceived(uint256 indexed depositID, uint8 indexed accountType, address indexed depositor, uint256 amount)

func (*ALCBFilterer) FilterTransfer added in v0.0.8

func (_ALCB *ALCBFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ALCBTransferIterator, 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 (*ALCBFilterer) ParseApproval added in v0.0.8

func (_ALCB *ALCBFilterer) ParseApproval(log types.Log) (*ALCBApproval, error)

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

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

func (*ALCBFilterer) ParseDepositReceived added in v0.0.8

func (_ALCB *ALCBFilterer) ParseDepositReceived(log types.Log) (*ALCBDepositReceived, error)

ParseDepositReceived is a log parse operation binding the contract event 0x9d291e7244fa9bf5a85ec47d5a52012ccc92231b41c94308155ad2702eef9d4d.

Solidity: event DepositReceived(uint256 indexed depositID, uint8 indexed accountType, address indexed depositor, uint256 amount)

func (*ALCBFilterer) ParseTransfer added in v0.0.8

func (_ALCB *ALCBFilterer) ParseTransfer(log types.Log) (*ALCBTransfer, error)

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

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

func (*ALCBFilterer) WatchApproval added in v0.0.8

func (_ALCB *ALCBFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ALCBApproval, 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 (*ALCBFilterer) WatchDepositReceived added in v0.0.8

func (_ALCB *ALCBFilterer) WatchDepositReceived(opts *bind.WatchOpts, sink chan<- *ALCBDepositReceived, depositID []*big.Int, accountType []uint8, depositor []common.Address) (event.Subscription, error)

WatchDepositReceived is a free log subscription operation binding the contract event 0x9d291e7244fa9bf5a85ec47d5a52012ccc92231b41c94308155ad2702eef9d4d.

Solidity: event DepositReceived(uint256 indexed depositID, uint8 indexed accountType, address indexed depositor, uint256 amount)

func (*ALCBFilterer) WatchTransfer added in v0.0.8

func (_ALCB *ALCBFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ALCBTransfer, 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 ALCBRaw added in v0.0.8

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

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

func (*ALCBRaw) Call added in v0.0.8

func (_ALCB *ALCBRaw) 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 (*ALCBRaw) Transact added in v0.0.8

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

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

func (*ALCBRaw) Transfer added in v0.0.8

func (_ALCB *ALCBRaw) 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 ALCBSession added in v0.0.8

type ALCBSession struct {
	Contract     *ALCB             // 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
}

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

func (*ALCBSession) Allowance added in v0.0.8

func (_ALCB *ALCBSession) 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 (*ALCBSession) Approve added in v0.0.8

func (_ALCB *ALCBSession) 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 (*ALCBSession) BalanceOf added in v0.0.8

func (_ALCB *ALCBSession) 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 (*ALCBSession) Burn added in v0.0.8

func (_ALCB *ALCBSession) Burn(amount_ *big.Int, minEth_ *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount_, uint256 minEth_) returns(uint256 numEth)

func (*ALCBSession) BurnTo added in v0.0.8

func (_ALCB *ALCBSession) BurnTo(to_ common.Address, amount_ *big.Int, minEth_ *big.Int) (*types.Transaction, error)

BurnTo is a paid mutator transaction binding the contract method 0x9b057203.

Solidity: function burnTo(address to_, uint256 amount_, uint256 minEth_) returns(uint256 numEth)

func (*ALCBSession) Decimals added in v0.0.8

func (_ALCB *ALCBSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*ALCBSession) DecreaseAllowance added in v0.0.8

func (_ALCB *ALCBSession) 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 (*ALCBSession) Deposit added in v0.0.8

func (_ALCB *ALCBSession) Deposit(accountType_ uint8, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)

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

Solidity: function deposit(uint8 accountType_, address to_, uint256 amount_) returns(uint256)

func (*ALCBSession) DepositTokensOnBridges added in v0.0.8

func (_ALCB *ALCBSession) DepositTokensOnBridges(routerVersion_ uint8, data_ []byte) (*types.Transaction, error)

DepositTokensOnBridges is a paid mutator transaction binding the contract method 0xc4602af3.

Solidity: function depositTokensOnBridges(uint8 routerVersion_, bytes data_) payable returns()

func (*ALCBSession) DestroyTokens added in v0.0.8

func (_ALCB *ALCBSession) DestroyTokens(numBTK_ *big.Int) (*types.Transaction, error)

DestroyTokens is a paid mutator transaction binding the contract method 0x67fbd289.

Solidity: function destroyTokens(uint256 numBTK_) returns(bool)

func (*ALCBSession) Distribute added in v0.0.8

func (_ALCB *ALCBSession) Distribute() (*types.Transaction, error)

Distribute is a paid mutator transaction binding the contract method 0xe4fc6b6d.

Solidity: function distribute() returns(bool)

func (*ALCBSession) GetCentralBridgeRouterAddress added in v0.0.8

func (_ALCB *ALCBSession) GetCentralBridgeRouterAddress() (common.Address, error)

GetCentralBridgeRouterAddress is a free data retrieval call binding the contract method 0xff32fefc.

Solidity: function getCentralBridgeRouterAddress() view returns(address)

func (*ALCBSession) GetDeposit added in v0.0.8

func (_ALCB *ALCBSession) GetDeposit(depositID *big.Int) (Deposit, error)

GetDeposit is a free data retrieval call binding the contract method 0x9f9fb968.

Solidity: function getDeposit(uint256 depositID) view returns((uint8,address,uint256))

func (*ALCBSession) GetDepositID added in v0.0.8

func (_ALCB *ALCBSession) GetDepositID() (*big.Int, error)

GetDepositID is a free data retrieval call binding the contract method 0x94f70c8a.

Solidity: function getDepositID() view returns(uint256)

func (*ALCBSession) GetEthFromTokensBurn added in v0.0.8

func (_ALCB *ALCBSession) GetEthFromTokensBurn(poolBalance_ *big.Int, totalSupply_ *big.Int, numBTK_ *big.Int) (*big.Int, error)

GetEthFromTokensBurn is a free data retrieval call binding the contract method 0xc67cb8d1.

Solidity: function getEthFromTokensBurn(uint256 poolBalance_, uint256 totalSupply_, uint256 numBTK_) pure returns(uint256 numEth)

func (*ALCBSession) GetEthToMintTokens added in v0.0.8

func (_ALCB *ALCBSession) GetEthToMintTokens(totalSupply_ *big.Int, numBTK_ *big.Int) (*big.Int, error)

GetEthToMintTokens is a free data retrieval call binding the contract method 0x688727c5.

Solidity: function getEthToMintTokens(uint256 totalSupply_, uint256 numBTK_) pure returns(uint256 numEth)

func (*ALCBSession) GetLatestEthFromTokensBurn added in v0.0.8

func (_ALCB *ALCBSession) GetLatestEthFromTokensBurn(numBTK_ *big.Int) (*big.Int, error)

GetLatestEthFromTokensBurn is a free data retrieval call binding the contract method 0xe51b55e3.

Solidity: function getLatestEthFromTokensBurn(uint256 numBTK_) view returns(uint256 numEth)

func (*ALCBSession) GetLatestEthToMintTokens added in v0.0.8

func (_ALCB *ALCBSession) GetLatestEthToMintTokens(numBTK_ *big.Int) (*big.Int, error)

GetLatestEthToMintTokens is a free data retrieval call binding the contract method 0xf14a28f9.

Solidity: function getLatestEthToMintTokens(uint256 numBTK_) view returns(uint256 numEth)

func (*ALCBSession) GetLatestMintedTokensFromEth added in v0.0.8

func (_ALCB *ALCBSession) GetLatestMintedTokensFromEth(numEth_ *big.Int) (*big.Int, error)

GetLatestMintedTokensFromEth is a free data retrieval call binding the contract method 0x46711773.

Solidity: function getLatestMintedTokensFromEth(uint256 numEth_) view returns(uint256)

func (*ALCBSession) GetMarketSpread added in v0.0.8

func (_ALCB *ALCBSession) GetMarketSpread() (*big.Int, error)

GetMarketSpread is a free data retrieval call binding the contract method 0x086cfefd.

Solidity: function getMarketSpread() pure returns(uint256)

func (*ALCBSession) GetMetamorphicContractAddress added in v0.0.8

func (_ALCB *ALCBSession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*ALCBSession) GetMintedTokensFromEth added in v0.0.8

func (_ALCB *ALCBSession) GetMintedTokensFromEth(poolBalance_ *big.Int, numEth_ *big.Int) (*big.Int, error)

GetMintedTokensFromEth is a free data retrieval call binding the contract method 0x679f742d.

Solidity: function getMintedTokensFromEth(uint256 poolBalance_, uint256 numEth_) pure returns(uint256)

func (*ALCBSession) GetPoolBalance added in v0.0.8

func (_ALCB *ALCBSession) GetPoolBalance() (*big.Int, error)

GetPoolBalance is a free data retrieval call binding the contract method 0xabd70aa2.

Solidity: function getPoolBalance() view returns(uint256)

func (*ALCBSession) GetTotalTokensDeposited added in v0.0.8

func (_ALCB *ALCBSession) GetTotalTokensDeposited() (*big.Int, error)

GetTotalTokensDeposited is a free data retrieval call binding the contract method 0x8d407823.

Solidity: function getTotalTokensDeposited() view returns(uint256)

func (*ALCBSession) GetYield added in v0.0.8

func (_ALCB *ALCBSession) GetYield() (*big.Int, error)

GetYield is a free data retrieval call binding the contract method 0x7c262871.

Solidity: function getYield() view returns(uint256)

func (*ALCBSession) IncreaseAllowance added in v0.0.8

func (_ALCB *ALCBSession) 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 (*ALCBSession) Mint added in v0.0.8

func (_ALCB *ALCBSession) Mint(minBTK_ *big.Int) (*types.Transaction, error)

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

Solidity: function mint(uint256 minBTK_) payable returns(uint256 numBTK)

func (*ALCBSession) MintDeposit added in v0.0.8

func (_ALCB *ALCBSession) MintDeposit(accountType_ uint8, to_ common.Address, minBTK_ *big.Int) (*types.Transaction, error)

MintDeposit is a paid mutator transaction binding the contract method 0x4f232628.

Solidity: function mintDeposit(uint8 accountType_, address to_, uint256 minBTK_) payable returns(uint256)

func (*ALCBSession) MintTo added in v0.0.8

func (_ALCB *ALCBSession) MintTo(to_ common.Address, minBTK_ *big.Int) (*types.Transaction, error)

MintTo is a paid mutator transaction binding the contract method 0x449a52f8.

Solidity: function mintTo(address to_, uint256 minBTK_) payable returns(uint256 numBTK)

func (*ALCBSession) Name added in v0.0.8

func (_ALCB *ALCBSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ALCBSession) SetAccountType added in v0.0.8

func (_ALCB *ALCBSession) SetAccountType(accountType_ uint8, allowed_ bool) (*types.Transaction, error)

SetAccountType is a paid mutator transaction binding the contract method 0x14c8d876.

Solidity: function setAccountType(uint8 accountType_, bool allowed_) returns()

func (*ALCBSession) Symbol added in v0.0.8

func (_ALCB *ALCBSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ALCBSession) TotalSupply added in v0.0.8

func (_ALCB *ALCBSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ALCBSession) Transfer added in v0.0.8

func (_ALCB *ALCBSession) 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 (*ALCBSession) TransferFrom added in v0.0.8

func (_ALCB *ALCBSession) 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 (*ALCBSession) VirtualMintDeposit added in v0.0.8

func (_ALCB *ALCBSession) VirtualMintDeposit(accountType_ uint8, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)

VirtualMintDeposit is a paid mutator transaction binding the contract method 0x92178278.

Solidity: function virtualMintDeposit(uint8 accountType_, address to_, uint256 amount_) returns(uint256)

type ALCBTransactor added in v0.0.8

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

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

func NewALCBTransactor added in v0.0.8

func NewALCBTransactor(address common.Address, transactor bind.ContractTransactor) (*ALCBTransactor, error)

NewALCBTransactor creates a new write-only instance of ALCB, bound to a specific deployed contract.

func (*ALCBTransactor) Approve added in v0.0.8

func (_ALCB *ALCBTransactor) 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 (*ALCBTransactor) Burn added in v0.0.8

func (_ALCB *ALCBTransactor) Burn(opts *bind.TransactOpts, amount_ *big.Int, minEth_ *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount_, uint256 minEth_) returns(uint256 numEth)

func (*ALCBTransactor) BurnTo added in v0.0.8

func (_ALCB *ALCBTransactor) BurnTo(opts *bind.TransactOpts, to_ common.Address, amount_ *big.Int, minEth_ *big.Int) (*types.Transaction, error)

BurnTo is a paid mutator transaction binding the contract method 0x9b057203.

Solidity: function burnTo(address to_, uint256 amount_, uint256 minEth_) returns(uint256 numEth)

func (*ALCBTransactor) DecreaseAllowance added in v0.0.8

func (_ALCB *ALCBTransactor) 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 (*ALCBTransactor) Deposit added in v0.0.8

func (_ALCB *ALCBTransactor) Deposit(opts *bind.TransactOpts, accountType_ uint8, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)

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

Solidity: function deposit(uint8 accountType_, address to_, uint256 amount_) returns(uint256)

func (*ALCBTransactor) DepositTokensOnBridges added in v0.0.8

func (_ALCB *ALCBTransactor) DepositTokensOnBridges(opts *bind.TransactOpts, routerVersion_ uint8, data_ []byte) (*types.Transaction, error)

DepositTokensOnBridges is a paid mutator transaction binding the contract method 0xc4602af3.

Solidity: function depositTokensOnBridges(uint8 routerVersion_, bytes data_) payable returns()

func (*ALCBTransactor) DestroyTokens added in v0.0.8

func (_ALCB *ALCBTransactor) DestroyTokens(opts *bind.TransactOpts, numBTK_ *big.Int) (*types.Transaction, error)

DestroyTokens is a paid mutator transaction binding the contract method 0x67fbd289.

Solidity: function destroyTokens(uint256 numBTK_) returns(bool)

func (*ALCBTransactor) Distribute added in v0.0.8

func (_ALCB *ALCBTransactor) Distribute(opts *bind.TransactOpts) (*types.Transaction, error)

Distribute is a paid mutator transaction binding the contract method 0xe4fc6b6d.

Solidity: function distribute() returns(bool)

func (*ALCBTransactor) IncreaseAllowance added in v0.0.8

func (_ALCB *ALCBTransactor) 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 (*ALCBTransactor) Mint added in v0.0.8

func (_ALCB *ALCBTransactor) Mint(opts *bind.TransactOpts, minBTK_ *big.Int) (*types.Transaction, error)

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

Solidity: function mint(uint256 minBTK_) payable returns(uint256 numBTK)

func (*ALCBTransactor) MintDeposit added in v0.0.8

func (_ALCB *ALCBTransactor) MintDeposit(opts *bind.TransactOpts, accountType_ uint8, to_ common.Address, minBTK_ *big.Int) (*types.Transaction, error)

MintDeposit is a paid mutator transaction binding the contract method 0x4f232628.

Solidity: function mintDeposit(uint8 accountType_, address to_, uint256 minBTK_) payable returns(uint256)

func (*ALCBTransactor) MintTo added in v0.0.8

func (_ALCB *ALCBTransactor) MintTo(opts *bind.TransactOpts, to_ common.Address, minBTK_ *big.Int) (*types.Transaction, error)

MintTo is a paid mutator transaction binding the contract method 0x449a52f8.

Solidity: function mintTo(address to_, uint256 minBTK_) payable returns(uint256 numBTK)

func (*ALCBTransactor) SetAccountType added in v0.0.8

func (_ALCB *ALCBTransactor) SetAccountType(opts *bind.TransactOpts, accountType_ uint8, allowed_ bool) (*types.Transaction, error)

SetAccountType is a paid mutator transaction binding the contract method 0x14c8d876.

Solidity: function setAccountType(uint8 accountType_, bool allowed_) returns()

func (*ALCBTransactor) Transfer added in v0.0.8

func (_ALCB *ALCBTransactor) 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 (*ALCBTransactor) TransferFrom added in v0.0.8

func (_ALCB *ALCBTransactor) 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 (*ALCBTransactor) VirtualMintDeposit added in v0.0.8

func (_ALCB *ALCBTransactor) VirtualMintDeposit(opts *bind.TransactOpts, accountType_ uint8, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)

VirtualMintDeposit is a paid mutator transaction binding the contract method 0x92178278.

Solidity: function virtualMintDeposit(uint8 accountType_, address to_, uint256 amount_) returns(uint256)

type ALCBTransactorRaw added in v0.0.8

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

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

func (*ALCBTransactorRaw) Transact added in v0.0.8

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

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

func (*ALCBTransactorRaw) Transfer added in v0.0.8

func (_ALCB *ALCBTransactorRaw) 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 ALCBTransactorSession added in v0.0.8

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

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

func (*ALCBTransactorSession) Approve added in v0.0.8

func (_ALCB *ALCBTransactorSession) 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 (*ALCBTransactorSession) Burn added in v0.0.8

func (_ALCB *ALCBTransactorSession) Burn(amount_ *big.Int, minEth_ *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 amount_, uint256 minEth_) returns(uint256 numEth)

func (*ALCBTransactorSession) BurnTo added in v0.0.8

func (_ALCB *ALCBTransactorSession) BurnTo(to_ common.Address, amount_ *big.Int, minEth_ *big.Int) (*types.Transaction, error)

BurnTo is a paid mutator transaction binding the contract method 0x9b057203.

Solidity: function burnTo(address to_, uint256 amount_, uint256 minEth_) returns(uint256 numEth)

func (*ALCBTransactorSession) DecreaseAllowance added in v0.0.8

func (_ALCB *ALCBTransactorSession) 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 (*ALCBTransactorSession) Deposit added in v0.0.8

func (_ALCB *ALCBTransactorSession) Deposit(accountType_ uint8, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)

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

Solidity: function deposit(uint8 accountType_, address to_, uint256 amount_) returns(uint256)

func (*ALCBTransactorSession) DepositTokensOnBridges added in v0.0.8

func (_ALCB *ALCBTransactorSession) DepositTokensOnBridges(routerVersion_ uint8, data_ []byte) (*types.Transaction, error)

DepositTokensOnBridges is a paid mutator transaction binding the contract method 0xc4602af3.

Solidity: function depositTokensOnBridges(uint8 routerVersion_, bytes data_) payable returns()

func (*ALCBTransactorSession) DestroyTokens added in v0.0.8

func (_ALCB *ALCBTransactorSession) DestroyTokens(numBTK_ *big.Int) (*types.Transaction, error)

DestroyTokens is a paid mutator transaction binding the contract method 0x67fbd289.

Solidity: function destroyTokens(uint256 numBTK_) returns(bool)

func (*ALCBTransactorSession) Distribute added in v0.0.8

func (_ALCB *ALCBTransactorSession) Distribute() (*types.Transaction, error)

Distribute is a paid mutator transaction binding the contract method 0xe4fc6b6d.

Solidity: function distribute() returns(bool)

func (*ALCBTransactorSession) IncreaseAllowance added in v0.0.8

func (_ALCB *ALCBTransactorSession) 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 (*ALCBTransactorSession) Mint added in v0.0.8

func (_ALCB *ALCBTransactorSession) Mint(minBTK_ *big.Int) (*types.Transaction, error)

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

Solidity: function mint(uint256 minBTK_) payable returns(uint256 numBTK)

func (*ALCBTransactorSession) MintDeposit added in v0.0.8

func (_ALCB *ALCBTransactorSession) MintDeposit(accountType_ uint8, to_ common.Address, minBTK_ *big.Int) (*types.Transaction, error)

MintDeposit is a paid mutator transaction binding the contract method 0x4f232628.

Solidity: function mintDeposit(uint8 accountType_, address to_, uint256 minBTK_) payable returns(uint256)

func (*ALCBTransactorSession) MintTo added in v0.0.8

func (_ALCB *ALCBTransactorSession) MintTo(to_ common.Address, minBTK_ *big.Int) (*types.Transaction, error)

MintTo is a paid mutator transaction binding the contract method 0x449a52f8.

Solidity: function mintTo(address to_, uint256 minBTK_) payable returns(uint256 numBTK)

func (*ALCBTransactorSession) SetAccountType added in v0.0.8

func (_ALCB *ALCBTransactorSession) SetAccountType(accountType_ uint8, allowed_ bool) (*types.Transaction, error)

SetAccountType is a paid mutator transaction binding the contract method 0x14c8d876.

Solidity: function setAccountType(uint8 accountType_, bool allowed_) returns()

func (*ALCBTransactorSession) Transfer added in v0.0.8

func (_ALCB *ALCBTransactorSession) 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 (*ALCBTransactorSession) TransferFrom added in v0.0.8

func (_ALCB *ALCBTransactorSession) 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 (*ALCBTransactorSession) VirtualMintDeposit added in v0.0.8

func (_ALCB *ALCBTransactorSession) VirtualMintDeposit(accountType_ uint8, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)

VirtualMintDeposit is a paid mutator transaction binding the contract method 0x92178278.

Solidity: function virtualMintDeposit(uint8 accountType_, address to_, uint256 amount_) returns(uint256)

type ALCBTransfer added in v0.0.8

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

ALCBTransfer represents a Transfer event raised by the ALCB contract.

type ALCBTransferIterator added in v0.0.8

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

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

func (*ALCBTransferIterator) Close added in v0.0.8

func (it *ALCBTransferIterator) Close() error

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

func (*ALCBTransferIterator) Error added in v0.0.8

func (it *ALCBTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ALCBTransferIterator) Next added in v0.0.8

func (it *ALCBTransferIterator) 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 AliceNetFactory

type AliceNetFactory struct {
	AliceNetFactoryCaller     // Read-only binding to the contract
	AliceNetFactoryTransactor // Write-only binding to the contract
	AliceNetFactoryFilterer   // Log filterer for contract events
}

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

func NewAliceNetFactory

func NewAliceNetFactory(address common.Address, backend bind.ContractBackend) (*AliceNetFactory, error)

NewAliceNetFactory creates a new instance of AliceNetFactory, bound to a specific deployed contract.

type AliceNetFactoryBaseMultiCallArgs added in v0.0.5

type AliceNetFactoryBaseMultiCallArgs struct {
	Target common.Address
	Value  *big.Int
	Data   []byte
}

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

type AliceNetFactoryCaller

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

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

func NewAliceNetFactoryCaller

func NewAliceNetFactoryCaller(address common.Address, caller bind.ContractCaller) (*AliceNetFactoryCaller, error)

NewAliceNetFactoryCaller creates a new read-only instance of AliceNetFactory, bound to a specific deployed contract.

func (*AliceNetFactoryCaller) Contracts

func (_AliceNetFactory *AliceNetFactoryCaller) Contracts(opts *bind.CallOpts) ([][32]byte, error)

Contracts is a free data retrieval call binding the contract method 0x6c0f79b6.

Solidity: function contracts() view returns(bytes32[] contracts_)

func (*AliceNetFactoryCaller) GetALCAAddress added in v0.0.8

func (_AliceNetFactory *AliceNetFactoryCaller) GetALCAAddress(opts *bind.CallOpts) (common.Address, error)

GetALCAAddress is a free data retrieval call binding the contract method 0xb8a8732c.

Solidity: function getALCAAddress() view returns(address)

func (*AliceNetFactoryCaller) GetALCACreationCodeHash added in v0.0.8

func (_AliceNetFactory *AliceNetFactoryCaller) GetALCACreationCodeHash(opts *bind.CallOpts) ([32]byte, error)

GetALCACreationCodeHash is a free data retrieval call binding the contract method 0xa9c6e2cc.

Solidity: function getALCACreationCodeHash() view returns(bytes32)

func (*AliceNetFactoryCaller) GetImplementation

func (_AliceNetFactory *AliceNetFactoryCaller) GetImplementation(opts *bind.CallOpts) (common.Address, error)

GetImplementation is a free data retrieval call binding the contract method 0xaaf10f42.

Solidity: function getImplementation() view returns(address)

func (*AliceNetFactoryCaller) GetMetamorphicContractAddress

func (_AliceNetFactory *AliceNetFactoryCaller) GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*AliceNetFactoryCaller) GetNumContracts

func (_AliceNetFactory *AliceNetFactoryCaller) GetNumContracts(opts *bind.CallOpts) (*big.Int, error)

GetNumContracts is a free data retrieval call binding the contract method 0xcfe10b30.

Solidity: function getNumContracts() view returns(uint256)

func (*AliceNetFactoryCaller) GetProxyImplementation added in v0.0.8

func (_AliceNetFactory *AliceNetFactoryCaller) GetProxyImplementation(opts *bind.CallOpts, proxyAddress_ common.Address) (common.Address, error)

GetProxyImplementation is a free data retrieval call binding the contract method 0x204e1c7a.

Solidity: function getProxyImplementation(address proxyAddress_) view returns(address)

func (*AliceNetFactoryCaller) Lookup

func (_AliceNetFactory *AliceNetFactoryCaller) Lookup(opts *bind.CallOpts, salt_ [32]byte) (common.Address, error)

Lookup is a free data retrieval call binding the contract method 0xf39ec1f7.

Solidity: function lookup(bytes32 salt_) view returns(address)

func (*AliceNetFactoryCaller) Owner

func (_AliceNetFactory *AliceNetFactoryCaller) 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 owner_)

type AliceNetFactoryCallerRaw

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

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

func (*AliceNetFactoryCallerRaw) Call

func (_AliceNetFactory *AliceNetFactoryCallerRaw) 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 AliceNetFactoryCallerSession

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

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

func (*AliceNetFactoryCallerSession) Contracts

func (_AliceNetFactory *AliceNetFactoryCallerSession) Contracts() ([][32]byte, error)

Contracts is a free data retrieval call binding the contract method 0x6c0f79b6.

Solidity: function contracts() view returns(bytes32[] contracts_)

func (*AliceNetFactoryCallerSession) GetALCAAddress added in v0.0.8

func (_AliceNetFactory *AliceNetFactoryCallerSession) GetALCAAddress() (common.Address, error)

GetALCAAddress is a free data retrieval call binding the contract method 0xb8a8732c.

Solidity: function getALCAAddress() view returns(address)

func (*AliceNetFactoryCallerSession) GetALCACreationCodeHash added in v0.0.8

func (_AliceNetFactory *AliceNetFactoryCallerSession) GetALCACreationCodeHash() ([32]byte, error)

GetALCACreationCodeHash is a free data retrieval call binding the contract method 0xa9c6e2cc.

Solidity: function getALCACreationCodeHash() view returns(bytes32)

func (*AliceNetFactoryCallerSession) GetImplementation

func (_AliceNetFactory *AliceNetFactoryCallerSession) GetImplementation() (common.Address, error)

GetImplementation is a free data retrieval call binding the contract method 0xaaf10f42.

Solidity: function getImplementation() view returns(address)

func (*AliceNetFactoryCallerSession) GetMetamorphicContractAddress

func (_AliceNetFactory *AliceNetFactoryCallerSession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*AliceNetFactoryCallerSession) GetNumContracts

func (_AliceNetFactory *AliceNetFactoryCallerSession) GetNumContracts() (*big.Int, error)

GetNumContracts is a free data retrieval call binding the contract method 0xcfe10b30.

Solidity: function getNumContracts() view returns(uint256)

func (*AliceNetFactoryCallerSession) GetProxyImplementation added in v0.0.8

func (_AliceNetFactory *AliceNetFactoryCallerSession) GetProxyImplementation(proxyAddress_ common.Address) (common.Address, error)

GetProxyImplementation is a free data retrieval call binding the contract method 0x204e1c7a.

Solidity: function getProxyImplementation(address proxyAddress_) view returns(address)

func (*AliceNetFactoryCallerSession) Lookup

func (_AliceNetFactory *AliceNetFactoryCallerSession) Lookup(salt_ [32]byte) (common.Address, error)

Lookup is a free data retrieval call binding the contract method 0xf39ec1f7.

Solidity: function lookup(bytes32 salt_) view returns(address)

func (*AliceNetFactoryCallerSession) Owner

func (_AliceNetFactory *AliceNetFactoryCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address owner_)

type AliceNetFactoryDeployed

type AliceNetFactoryDeployed struct {
	Salt         [32]byte
	ContractAddr common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

AliceNetFactoryDeployed represents a Deployed event raised by the AliceNetFactory contract.

type AliceNetFactoryDeployedIterator

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

AliceNetFactoryDeployedIterator is returned from FilterDeployed and is used to iterate over the raw logs and unpacked data for Deployed events raised by the AliceNetFactory contract.

func (*AliceNetFactoryDeployedIterator) Close

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

func (*AliceNetFactoryDeployedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AliceNetFactoryDeployedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AliceNetFactoryDeployedProxy

type AliceNetFactoryDeployedProxy struct {
	ContractAddr common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

AliceNetFactoryDeployedProxy represents a DeployedProxy event raised by the AliceNetFactory contract.

type AliceNetFactoryDeployedProxyIterator

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

AliceNetFactoryDeployedProxyIterator is returned from FilterDeployedProxy and is used to iterate over the raw logs and unpacked data for DeployedProxy events raised by the AliceNetFactory contract.

func (*AliceNetFactoryDeployedProxyIterator) Close

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

func (*AliceNetFactoryDeployedProxyIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AliceNetFactoryDeployedProxyIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AliceNetFactoryDeployedRaw

type AliceNetFactoryDeployedRaw struct {
	ContractAddr common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

AliceNetFactoryDeployedRaw represents a DeployedRaw event raised by the AliceNetFactory contract.

type AliceNetFactoryDeployedRawIterator

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

AliceNetFactoryDeployedRawIterator is returned from FilterDeployedRaw and is used to iterate over the raw logs and unpacked data for DeployedRaw events raised by the AliceNetFactory contract.

func (*AliceNetFactoryDeployedRawIterator) Close

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

func (*AliceNetFactoryDeployedRawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AliceNetFactoryDeployedRawIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AliceNetFactoryDeployedStatic

type AliceNetFactoryDeployedStatic struct {
	ContractAddr common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

AliceNetFactoryDeployedStatic represents a DeployedStatic event raised by the AliceNetFactory contract.

type AliceNetFactoryDeployedStaticIterator

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

AliceNetFactoryDeployedStaticIterator is returned from FilterDeployedStatic and is used to iterate over the raw logs and unpacked data for DeployedStatic events raised by the AliceNetFactory contract.

func (*AliceNetFactoryDeployedStaticIterator) Close

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

func (*AliceNetFactoryDeployedStaticIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AliceNetFactoryDeployedStaticIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AliceNetFactoryDeployedTemplate

type AliceNetFactoryDeployedTemplate struct {
	ContractAddr common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

AliceNetFactoryDeployedTemplate represents a DeployedTemplate event raised by the AliceNetFactory contract.

type AliceNetFactoryDeployedTemplateIterator

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

AliceNetFactoryDeployedTemplateIterator is returned from FilterDeployedTemplate and is used to iterate over the raw logs and unpacked data for DeployedTemplate events raised by the AliceNetFactory contract.

func (*AliceNetFactoryDeployedTemplateIterator) Close

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

func (*AliceNetFactoryDeployedTemplateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*AliceNetFactoryDeployedTemplateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type AliceNetFactoryFilterer

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

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

func NewAliceNetFactoryFilterer

func NewAliceNetFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*AliceNetFactoryFilterer, error)

NewAliceNetFactoryFilterer creates a new log filterer instance of AliceNetFactory, bound to a specific deployed contract.

func (*AliceNetFactoryFilterer) FilterDeployed

func (_AliceNetFactory *AliceNetFactoryFilterer) FilterDeployed(opts *bind.FilterOpts) (*AliceNetFactoryDeployedIterator, error)

FilterDeployed is a free log retrieval operation binding the contract event 0xe491e278e37782abe0872fe7c7b549cd7b0713d0c5c1e84a81899a5fdf32087b.

Solidity: event Deployed(bytes32 salt, address contractAddr)

func (*AliceNetFactoryFilterer) FilterDeployedProxy

func (_AliceNetFactory *AliceNetFactoryFilterer) FilterDeployedProxy(opts *bind.FilterOpts) (*AliceNetFactoryDeployedProxyIterator, error)

FilterDeployedProxy is a free log retrieval operation binding the contract event 0x06690e5b52be10a3d5820ec875c3dd3327f3077954a09f104201e40e5f7082c6.

Solidity: event DeployedProxy(address contractAddr)

func (*AliceNetFactoryFilterer) FilterDeployedRaw

func (_AliceNetFactory *AliceNetFactoryFilterer) FilterDeployedRaw(opts *bind.FilterOpts) (*AliceNetFactoryDeployedRawIterator, error)

FilterDeployedRaw is a free log retrieval operation binding the contract event 0xd3acf0da590cfcd8f020afd7f40b7e6e4c8bd2fc9eb7aec9836837b667685b3a.

Solidity: event DeployedRaw(address contractAddr)

func (*AliceNetFactoryFilterer) FilterDeployedStatic

func (_AliceNetFactory *AliceNetFactoryFilterer) FilterDeployedStatic(opts *bind.FilterOpts) (*AliceNetFactoryDeployedStaticIterator, error)

FilterDeployedStatic is a free log retrieval operation binding the contract event 0xe8b9cb7d60827a7d55e211f1382dd0f129adb541af9fe45a09ab4a18b76e7c65.

Solidity: event DeployedStatic(address contractAddr)

func (*AliceNetFactoryFilterer) FilterDeployedTemplate

func (_AliceNetFactory *AliceNetFactoryFilterer) FilterDeployedTemplate(opts *bind.FilterOpts) (*AliceNetFactoryDeployedTemplateIterator, error)

FilterDeployedTemplate is a free log retrieval operation binding the contract event 0x6cd94ea1c5d9f99038bb4629d8a759399654d3861b73bf3a2b0cf484dae72138.

Solidity: event DeployedTemplate(address contractAddr)

func (*AliceNetFactoryFilterer) FilterUpgradedProxy added in v0.0.8

func (_AliceNetFactory *AliceNetFactoryFilterer) FilterUpgradedProxy(opts *bind.FilterOpts) (*AliceNetFactoryUpgradedProxyIterator, error)

FilterUpgradedProxy is a free log retrieval operation binding the contract event 0x430fbfc2698f4e110d994ecf59c30881703dc7b8cd50bc5f12e4e48d21e144a3.

Solidity: event UpgradedProxy(bytes32 salt, address proxyAddr, address newlogicAddr)

func (*AliceNetFactoryFilterer) ParseDeployed

func (_AliceNetFactory *AliceNetFactoryFilterer) ParseDeployed(log types.Log) (*AliceNetFactoryDeployed, error)

ParseDeployed is a log parse operation binding the contract event 0xe491e278e37782abe0872fe7c7b549cd7b0713d0c5c1e84a81899a5fdf32087b.

Solidity: event Deployed(bytes32 salt, address contractAddr)

func (*AliceNetFactoryFilterer) ParseDeployedProxy

func (_AliceNetFactory *AliceNetFactoryFilterer) ParseDeployedProxy(log types.Log) (*AliceNetFactoryDeployedProxy, error)

ParseDeployedProxy is a log parse operation binding the contract event 0x06690e5b52be10a3d5820ec875c3dd3327f3077954a09f104201e40e5f7082c6.

Solidity: event DeployedProxy(address contractAddr)

func (*AliceNetFactoryFilterer) ParseDeployedRaw

func (_AliceNetFactory *AliceNetFactoryFilterer) ParseDeployedRaw(log types.Log) (*AliceNetFactoryDeployedRaw, error)

ParseDeployedRaw is a log parse operation binding the contract event 0xd3acf0da590cfcd8f020afd7f40b7e6e4c8bd2fc9eb7aec9836837b667685b3a.

Solidity: event DeployedRaw(address contractAddr)

func (*AliceNetFactoryFilterer) ParseDeployedStatic

func (_AliceNetFactory *AliceNetFactoryFilterer) ParseDeployedStatic(log types.Log) (*AliceNetFactoryDeployedStatic, error)

ParseDeployedStatic is a log parse operation binding the contract event 0xe8b9cb7d60827a7d55e211f1382dd0f129adb541af9fe45a09ab4a18b76e7c65.

Solidity: event DeployedStatic(address contractAddr)

func (*AliceNetFactoryFilterer) ParseDeployedTemplate

func (_AliceNetFactory *AliceNetFactoryFilterer) ParseDeployedTemplate(log types.Log) (*AliceNetFactoryDeployedTemplate, error)

ParseDeployedTemplate is a log parse operation binding the contract event 0x6cd94ea1c5d9f99038bb4629d8a759399654d3861b73bf3a2b0cf484dae72138.

Solidity: event DeployedTemplate(address contractAddr)

func (*AliceNetFactoryFilterer) ParseUpgradedProxy added in v0.0.8

func (_AliceNetFactory *AliceNetFactoryFilterer) ParseUpgradedProxy(log types.Log) (*AliceNetFactoryUpgradedProxy, error)

ParseUpgradedProxy is a log parse operation binding the contract event 0x430fbfc2698f4e110d994ecf59c30881703dc7b8cd50bc5f12e4e48d21e144a3.

Solidity: event UpgradedProxy(bytes32 salt, address proxyAddr, address newlogicAddr)

func (*AliceNetFactoryFilterer) WatchDeployed

func (_AliceNetFactory *AliceNetFactoryFilterer) WatchDeployed(opts *bind.WatchOpts, sink chan<- *AliceNetFactoryDeployed) (event.Subscription, error)

WatchDeployed is a free log subscription operation binding the contract event 0xe491e278e37782abe0872fe7c7b549cd7b0713d0c5c1e84a81899a5fdf32087b.

Solidity: event Deployed(bytes32 salt, address contractAddr)

func (*AliceNetFactoryFilterer) WatchDeployedProxy

func (_AliceNetFactory *AliceNetFactoryFilterer) WatchDeployedProxy(opts *bind.WatchOpts, sink chan<- *AliceNetFactoryDeployedProxy) (event.Subscription, error)

WatchDeployedProxy is a free log subscription operation binding the contract event 0x06690e5b52be10a3d5820ec875c3dd3327f3077954a09f104201e40e5f7082c6.

Solidity: event DeployedProxy(address contractAddr)

func (*AliceNetFactoryFilterer) WatchDeployedRaw

func (_AliceNetFactory *AliceNetFactoryFilterer) WatchDeployedRaw(opts *bind.WatchOpts, sink chan<- *AliceNetFactoryDeployedRaw) (event.Subscription, error)

WatchDeployedRaw is a free log subscription operation binding the contract event 0xd3acf0da590cfcd8f020afd7f40b7e6e4c8bd2fc9eb7aec9836837b667685b3a.

Solidity: event DeployedRaw(address contractAddr)

func (*AliceNetFactoryFilterer) WatchDeployedStatic

func (_AliceNetFactory *AliceNetFactoryFilterer) WatchDeployedStatic(opts *bind.WatchOpts, sink chan<- *AliceNetFactoryDeployedStatic) (event.Subscription, error)

WatchDeployedStatic is a free log subscription operation binding the contract event 0xe8b9cb7d60827a7d55e211f1382dd0f129adb541af9fe45a09ab4a18b76e7c65.

Solidity: event DeployedStatic(address contractAddr)

func (*AliceNetFactoryFilterer) WatchDeployedTemplate

func (_AliceNetFactory *AliceNetFactoryFilterer) WatchDeployedTemplate(opts *bind.WatchOpts, sink chan<- *AliceNetFactoryDeployedTemplate) (event.Subscription, error)

WatchDeployedTemplate is a free log subscription operation binding the contract event 0x6cd94ea1c5d9f99038bb4629d8a759399654d3861b73bf3a2b0cf484dae72138.

Solidity: event DeployedTemplate(address contractAddr)

func (*AliceNetFactoryFilterer) WatchUpgradedProxy added in v0.0.8

func (_AliceNetFactory *AliceNetFactoryFilterer) WatchUpgradedProxy(opts *bind.WatchOpts, sink chan<- *AliceNetFactoryUpgradedProxy) (event.Subscription, error)

WatchUpgradedProxy is a free log subscription operation binding the contract event 0x430fbfc2698f4e110d994ecf59c30881703dc7b8cd50bc5f12e4e48d21e144a3.

Solidity: event UpgradedProxy(bytes32 salt, address proxyAddr, address newlogicAddr)

type AliceNetFactoryRaw

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

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

func (*AliceNetFactoryRaw) Call

func (_AliceNetFactory *AliceNetFactoryRaw) 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 (*AliceNetFactoryRaw) Transact

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

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

func (*AliceNetFactoryRaw) Transfer

func (_AliceNetFactory *AliceNetFactoryRaw) 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 AliceNetFactorySession

type AliceNetFactorySession struct {
	Contract     *AliceNetFactory  // 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
}

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

func (*AliceNetFactorySession) AddNewExternalContract added in v0.0.7

func (_AliceNetFactory *AliceNetFactorySession) AddNewExternalContract(salt_ [32]byte, newContractAddress_ common.Address) (*types.Transaction, error)

AddNewExternalContract is a paid mutator transaction binding the contract method 0x6973694c.

Solidity: function addNewExternalContract(bytes32 salt_, address newContractAddress_) returns()

func (*AliceNetFactorySession) CallAny

func (_AliceNetFactory *AliceNetFactorySession) CallAny(target_ common.Address, value_ *big.Int, cdata_ []byte) (*types.Transaction, error)

CallAny is a paid mutator transaction binding the contract method 0x12e6bf6a.

Solidity: function callAny(address target_, uint256 value_, bytes cdata_) payable returns(bytes)

func (*AliceNetFactorySession) Contracts

func (_AliceNetFactory *AliceNetFactorySession) Contracts() ([][32]byte, error)

Contracts is a free data retrieval call binding the contract method 0x6c0f79b6.

Solidity: function contracts() view returns(bytes32[] contracts_)

func (*AliceNetFactorySession) DeployCreate

func (_AliceNetFactory *AliceNetFactorySession) DeployCreate(deployCode_ []byte) (*types.Transaction, error)

DeployCreate is a paid mutator transaction binding the contract method 0x27fe1822.

Solidity: function deployCreate(bytes deployCode_) returns(address contractAddr)

func (*AliceNetFactorySession) DeployCreate2

func (_AliceNetFactory *AliceNetFactorySession) DeployCreate2(value_ *big.Int, salt_ [32]byte, deployCode_ []byte) (*types.Transaction, error)

DeployCreate2 is a paid mutator transaction binding the contract method 0x56f2a761.

Solidity: function deployCreate2(uint256 value_, bytes32 salt_, bytes deployCode_) payable returns(address contractAddr)

func (*AliceNetFactorySession) DeployCreateAndRegister added in v0.0.8

func (_AliceNetFactory *AliceNetFactorySession) DeployCreateAndRegister(deployCode_ []byte, salt_ [32]byte) (*types.Transaction, error)

DeployCreateAndRegister is a paid mutator transaction binding the contract method 0xc56ca9ed.

Solidity: function deployCreateAndRegister(bytes deployCode_, bytes32 salt_) returns(address contractAddr)

func (*AliceNetFactorySession) DeployProxy

func (_AliceNetFactory *AliceNetFactorySession) DeployProxy(salt_ [32]byte) (*types.Transaction, error)

DeployProxy is a paid mutator transaction binding the contract method 0x39cab472.

Solidity: function deployProxy(bytes32 salt_) returns(address contractAddr)

func (*AliceNetFactorySession) Fallback

func (_AliceNetFactory *AliceNetFactorySession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() returns()

func (*AliceNetFactorySession) GetALCAAddress added in v0.0.8

func (_AliceNetFactory *AliceNetFactorySession) GetALCAAddress() (common.Address, error)

GetALCAAddress is a free data retrieval call binding the contract method 0xb8a8732c.

Solidity: function getALCAAddress() view returns(address)

func (*AliceNetFactorySession) GetALCACreationCodeHash added in v0.0.8

func (_AliceNetFactory *AliceNetFactorySession) GetALCACreationCodeHash() ([32]byte, error)

GetALCACreationCodeHash is a free data retrieval call binding the contract method 0xa9c6e2cc.

Solidity: function getALCACreationCodeHash() view returns(bytes32)

func (*AliceNetFactorySession) GetImplementation

func (_AliceNetFactory *AliceNetFactorySession) GetImplementation() (common.Address, error)

GetImplementation is a free data retrieval call binding the contract method 0xaaf10f42.

Solidity: function getImplementation() view returns(address)

func (*AliceNetFactorySession) GetMetamorphicContractAddress

func (_AliceNetFactory *AliceNetFactorySession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*AliceNetFactorySession) GetNumContracts

func (_AliceNetFactory *AliceNetFactorySession) GetNumContracts() (*big.Int, error)

GetNumContracts is a free data retrieval call binding the contract method 0xcfe10b30.

Solidity: function getNumContracts() view returns(uint256)

func (*AliceNetFactorySession) GetProxyImplementation added in v0.0.8

func (_AliceNetFactory *AliceNetFactorySession) GetProxyImplementation(proxyAddress_ common.Address) (common.Address, error)

GetProxyImplementation is a free data retrieval call binding the contract method 0x204e1c7a.

Solidity: function getProxyImplementation(address proxyAddress_) view returns(address)

func (*AliceNetFactorySession) InitializeContract

func (_AliceNetFactory *AliceNetFactorySession) InitializeContract(contract_ common.Address, initCallData_ []byte) (*types.Transaction, error)

InitializeContract is a paid mutator transaction binding the contract method 0xe1d7a8e4.

Solidity: function initializeContract(address contract_, bytes initCallData_) returns()

func (*AliceNetFactorySession) Lookup

func (_AliceNetFactory *AliceNetFactorySession) Lookup(salt_ [32]byte) (common.Address, error)

Lookup is a free data retrieval call binding the contract method 0xf39ec1f7.

Solidity: function lookup(bytes32 salt_) view returns(address)

func (*AliceNetFactorySession) MultiCall

func (_AliceNetFactory *AliceNetFactorySession) MultiCall(cdata_ []AliceNetFactoryBaseMultiCallArgs) (*types.Transaction, error)

MultiCall is a paid mutator transaction binding the contract method 0x248b1701.

Solidity: function multiCall((address,uint256,bytes)[] cdata_) returns(bytes[])

func (*AliceNetFactorySession) Owner

func (_AliceNetFactory *AliceNetFactorySession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address owner_)

func (*AliceNetFactorySession) SetOwner

func (_AliceNetFactory *AliceNetFactorySession) SetOwner(newOwner_ common.Address) (*types.Transaction, error)

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

Solidity: function setOwner(address newOwner_) returns()

func (*AliceNetFactorySession) UpgradeProxy

func (_AliceNetFactory *AliceNetFactorySession) UpgradeProxy(salt_ [32]byte, newImpl_ common.Address, initCallData_ []byte) (*types.Transaction, error)

UpgradeProxy is a paid mutator transaction binding the contract method 0x043c9414.

Solidity: function upgradeProxy(bytes32 salt_, address newImpl_, bytes initCallData_) returns()

type AliceNetFactoryTransactor

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

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

func NewAliceNetFactoryTransactor

func NewAliceNetFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*AliceNetFactoryTransactor, error)

NewAliceNetFactoryTransactor creates a new write-only instance of AliceNetFactory, bound to a specific deployed contract.

func (*AliceNetFactoryTransactor) AddNewExternalContract added in v0.0.7

func (_AliceNetFactory *AliceNetFactoryTransactor) AddNewExternalContract(opts *bind.TransactOpts, salt_ [32]byte, newContractAddress_ common.Address) (*types.Transaction, error)

AddNewExternalContract is a paid mutator transaction binding the contract method 0x6973694c.

Solidity: function addNewExternalContract(bytes32 salt_, address newContractAddress_) returns()

func (*AliceNetFactoryTransactor) CallAny

func (_AliceNetFactory *AliceNetFactoryTransactor) CallAny(opts *bind.TransactOpts, target_ common.Address, value_ *big.Int, cdata_ []byte) (*types.Transaction, error)

CallAny is a paid mutator transaction binding the contract method 0x12e6bf6a.

Solidity: function callAny(address target_, uint256 value_, bytes cdata_) payable returns(bytes)

func (*AliceNetFactoryTransactor) DeployCreate

func (_AliceNetFactory *AliceNetFactoryTransactor) DeployCreate(opts *bind.TransactOpts, deployCode_ []byte) (*types.Transaction, error)

DeployCreate is a paid mutator transaction binding the contract method 0x27fe1822.

Solidity: function deployCreate(bytes deployCode_) returns(address contractAddr)

func (*AliceNetFactoryTransactor) DeployCreate2

func (_AliceNetFactory *AliceNetFactoryTransactor) DeployCreate2(opts *bind.TransactOpts, value_ *big.Int, salt_ [32]byte, deployCode_ []byte) (*types.Transaction, error)

DeployCreate2 is a paid mutator transaction binding the contract method 0x56f2a761.

Solidity: function deployCreate2(uint256 value_, bytes32 salt_, bytes deployCode_) payable returns(address contractAddr)

func (*AliceNetFactoryTransactor) DeployCreateAndRegister added in v0.0.8

func (_AliceNetFactory *AliceNetFactoryTransactor) DeployCreateAndRegister(opts *bind.TransactOpts, deployCode_ []byte, salt_ [32]byte) (*types.Transaction, error)

DeployCreateAndRegister is a paid mutator transaction binding the contract method 0xc56ca9ed.

Solidity: function deployCreateAndRegister(bytes deployCode_, bytes32 salt_) returns(address contractAddr)

func (*AliceNetFactoryTransactor) DeployProxy

func (_AliceNetFactory *AliceNetFactoryTransactor) DeployProxy(opts *bind.TransactOpts, salt_ [32]byte) (*types.Transaction, error)

DeployProxy is a paid mutator transaction binding the contract method 0x39cab472.

Solidity: function deployProxy(bytes32 salt_) returns(address contractAddr)

func (*AliceNetFactoryTransactor) Fallback

func (_AliceNetFactory *AliceNetFactoryTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() returns()

func (*AliceNetFactoryTransactor) InitializeContract

func (_AliceNetFactory *AliceNetFactoryTransactor) InitializeContract(opts *bind.TransactOpts, contract_ common.Address, initCallData_ []byte) (*types.Transaction, error)

InitializeContract is a paid mutator transaction binding the contract method 0xe1d7a8e4.

Solidity: function initializeContract(address contract_, bytes initCallData_) returns()

func (*AliceNetFactoryTransactor) MultiCall

func (_AliceNetFactory *AliceNetFactoryTransactor) MultiCall(opts *bind.TransactOpts, cdata_ []AliceNetFactoryBaseMultiCallArgs) (*types.Transaction, error)

MultiCall is a paid mutator transaction binding the contract method 0x248b1701.

Solidity: function multiCall((address,uint256,bytes)[] cdata_) returns(bytes[])

func (*AliceNetFactoryTransactor) SetOwner

func (_AliceNetFactory *AliceNetFactoryTransactor) SetOwner(opts *bind.TransactOpts, newOwner_ common.Address) (*types.Transaction, error)

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

Solidity: function setOwner(address newOwner_) returns()

func (*AliceNetFactoryTransactor) UpgradeProxy

func (_AliceNetFactory *AliceNetFactoryTransactor) UpgradeProxy(opts *bind.TransactOpts, salt_ [32]byte, newImpl_ common.Address, initCallData_ []byte) (*types.Transaction, error)

UpgradeProxy is a paid mutator transaction binding the contract method 0x043c9414.

Solidity: function upgradeProxy(bytes32 salt_, address newImpl_, bytes initCallData_) returns()

type AliceNetFactoryTransactorRaw

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

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

func (*AliceNetFactoryTransactorRaw) Transact

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

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

func (*AliceNetFactoryTransactorRaw) Transfer

func (_AliceNetFactory *AliceNetFactoryTransactorRaw) 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 AliceNetFactoryTransactorSession

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

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

func (*AliceNetFactoryTransactorSession) AddNewExternalContract added in v0.0.7

func (_AliceNetFactory *AliceNetFactoryTransactorSession) AddNewExternalContract(salt_ [32]byte, newContractAddress_ common.Address) (*types.Transaction, error)

AddNewExternalContract is a paid mutator transaction binding the contract method 0x6973694c.

Solidity: function addNewExternalContract(bytes32 salt_, address newContractAddress_) returns()

func (*AliceNetFactoryTransactorSession) CallAny

func (_AliceNetFactory *AliceNetFactoryTransactorSession) CallAny(target_ common.Address, value_ *big.Int, cdata_ []byte) (*types.Transaction, error)

CallAny is a paid mutator transaction binding the contract method 0x12e6bf6a.

Solidity: function callAny(address target_, uint256 value_, bytes cdata_) payable returns(bytes)

func (*AliceNetFactoryTransactorSession) DeployCreate

func (_AliceNetFactory *AliceNetFactoryTransactorSession) DeployCreate(deployCode_ []byte) (*types.Transaction, error)

DeployCreate is a paid mutator transaction binding the contract method 0x27fe1822.

Solidity: function deployCreate(bytes deployCode_) returns(address contractAddr)

func (*AliceNetFactoryTransactorSession) DeployCreate2

func (_AliceNetFactory *AliceNetFactoryTransactorSession) DeployCreate2(value_ *big.Int, salt_ [32]byte, deployCode_ []byte) (*types.Transaction, error)

DeployCreate2 is a paid mutator transaction binding the contract method 0x56f2a761.

Solidity: function deployCreate2(uint256 value_, bytes32 salt_, bytes deployCode_) payable returns(address contractAddr)

func (*AliceNetFactoryTransactorSession) DeployCreateAndRegister added in v0.0.8

func (_AliceNetFactory *AliceNetFactoryTransactorSession) DeployCreateAndRegister(deployCode_ []byte, salt_ [32]byte) (*types.Transaction, error)

DeployCreateAndRegister is a paid mutator transaction binding the contract method 0xc56ca9ed.

Solidity: function deployCreateAndRegister(bytes deployCode_, bytes32 salt_) returns(address contractAddr)

func (*AliceNetFactoryTransactorSession) DeployProxy

func (_AliceNetFactory *AliceNetFactoryTransactorSession) DeployProxy(salt_ [32]byte) (*types.Transaction, error)

DeployProxy is a paid mutator transaction binding the contract method 0x39cab472.

Solidity: function deployProxy(bytes32 salt_) returns(address contractAddr)

func (*AliceNetFactoryTransactorSession) Fallback

func (_AliceNetFactory *AliceNetFactoryTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() returns()

func (*AliceNetFactoryTransactorSession) InitializeContract

func (_AliceNetFactory *AliceNetFactoryTransactorSession) InitializeContract(contract_ common.Address, initCallData_ []byte) (*types.Transaction, error)

InitializeContract is a paid mutator transaction binding the contract method 0xe1d7a8e4.

Solidity: function initializeContract(address contract_, bytes initCallData_) returns()

func (*AliceNetFactoryTransactorSession) MultiCall

MultiCall is a paid mutator transaction binding the contract method 0x248b1701.

Solidity: function multiCall((address,uint256,bytes)[] cdata_) returns(bytes[])

func (*AliceNetFactoryTransactorSession) SetOwner

func (_AliceNetFactory *AliceNetFactoryTransactorSession) SetOwner(newOwner_ common.Address) (*types.Transaction, error)

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

Solidity: function setOwner(address newOwner_) returns()

func (*AliceNetFactoryTransactorSession) UpgradeProxy

func (_AliceNetFactory *AliceNetFactoryTransactorSession) UpgradeProxy(salt_ [32]byte, newImpl_ common.Address, initCallData_ []byte) (*types.Transaction, error)

UpgradeProxy is a paid mutator transaction binding the contract method 0x043c9414.

Solidity: function upgradeProxy(bytes32 salt_, address newImpl_, bytes initCallData_) returns()

type AliceNetFactoryUpgradedProxy added in v0.0.8

type AliceNetFactoryUpgradedProxy struct {
	Salt         [32]byte
	ProxyAddr    common.Address
	NewlogicAddr common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

AliceNetFactoryUpgradedProxy represents a UpgradedProxy event raised by the AliceNetFactory contract.

type AliceNetFactoryUpgradedProxyIterator added in v0.0.8

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

AliceNetFactoryUpgradedProxyIterator is returned from FilterUpgradedProxy and is used to iterate over the raw logs and unpacked data for UpgradedProxy events raised by the AliceNetFactory contract.

func (*AliceNetFactoryUpgradedProxyIterator) Close added in v0.0.8

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

func (*AliceNetFactoryUpgradedProxyIterator) Error added in v0.0.8

Error returns any retrieval or parsing error occurred during filtering.

func (*AliceNetFactoryUpgradedProxyIterator) Next added in v0.0.8

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 BClaimsParserLibraryBClaims

type BClaimsParserLibraryBClaims struct {
	ChainId    uint32
	Height     uint32
	TxCount    uint32
	PrevBlock  [32]byte
	TxRoot     [32]byte
	StateRoot  [32]byte
	HeaderRoot [32]byte
}

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

type CanonicalVersion added in v0.0.5

type CanonicalVersion struct {
	Major          uint32
	Minor          uint32
	Patch          uint32
	ExecutionEpoch uint32
	BinaryHash     [32]byte
}

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

type Configuration added in v0.0.5

type Configuration struct {
	MinEpochsBetweenUpdates *big.Int
	MaxEpochsBetweenUpdates *big.Int
}

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

type Deposit added in v0.0.5

type Deposit struct {
	AccountType uint8
	Account     common.Address
	Value       *big.Int
}

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

type DynamicValues added in v0.0.5

type DynamicValues struct {
	EncoderVersion          uint8
	ProposalTimeout         *big.Int
	PreVoteTimeout          uint32
	PreCommitTimeout        uint32
	MaxBlockSize            uint32
	DataStoreFee            uint64
	ValueStoreFee           uint64
	MinScaledTransactionFee *big.Int
}

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

type Dynamics added in v0.0.5

type Dynamics struct {
	DynamicsCaller     // Read-only binding to the contract
	DynamicsTransactor // Write-only binding to the contract
	DynamicsFilterer   // Log filterer for contract events
}

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

func NewDynamics added in v0.0.5

func NewDynamics(address common.Address, backend bind.ContractBackend) (*Dynamics, error)

NewDynamics creates a new instance of Dynamics, bound to a specific deployed contract.

type DynamicsCaller added in v0.0.5

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

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

func NewDynamicsCaller added in v0.0.5

func NewDynamicsCaller(address common.Address, caller bind.ContractCaller) (*DynamicsCaller, error)

NewDynamicsCaller creates a new read-only instance of Dynamics, bound to a specific deployed contract.

func (*DynamicsCaller) DecodeDynamicValues added in v0.0.5

func (_Dynamics *DynamicsCaller) DecodeDynamicValues(opts *bind.CallOpts, addr common.Address) (DynamicValues, error)

DecodeDynamicValues is a free data retrieval call binding the contract method 0x5234bca0.

Solidity: function decodeDynamicValues(address addr) view returns((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128))

func (*DynamicsCaller) EncodeDynamicValues added in v0.0.5

func (_Dynamics *DynamicsCaller) EncodeDynamicValues(opts *bind.CallOpts, value DynamicValues) ([]byte, error)

EncodeDynamicValues is a free data retrieval call binding the contract method 0x972e374c.

Solidity: function encodeDynamicValues((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128) value) pure returns(bytes)

func (*DynamicsCaller) GetAllDynamicValues added in v0.0.9

func (_Dynamics *DynamicsCaller) GetAllDynamicValues(opts *bind.CallOpts) ([]DynamicValues, error)

GetAllDynamicValues is a free data retrieval call binding the contract method 0xdcfda479.

Solidity: function getAllDynamicValues() view returns((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128)[])

func (*DynamicsCaller) GetConfiguration added in v0.0.5

func (_Dynamics *DynamicsCaller) GetConfiguration(opts *bind.CallOpts) (Configuration, error)

GetConfiguration is a free data retrieval call binding the contract method 0x6bd50cef.

Solidity: function getConfiguration() view returns((uint128,uint128))

func (*DynamicsCaller) GetEncodingVersion added in v0.0.5

func (_Dynamics *DynamicsCaller) GetEncodingVersion(opts *bind.CallOpts) (uint8, error)

GetEncodingVersion is a free data retrieval call binding the contract method 0x49f13f68.

Solidity: function getEncodingVersion() pure returns(uint8)

func (*DynamicsCaller) GetFurthestDynamicValues added in v0.0.9

func (_Dynamics *DynamicsCaller) GetFurthestDynamicValues(opts *bind.CallOpts) (DynamicValues, error)

GetFurthestDynamicValues is a free data retrieval call binding the contract method 0xe0a54089.

Solidity: function getFurthestDynamicValues() view returns((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128))

func (*DynamicsCaller) GetLatestAliceNetVersion added in v0.0.5

func (_Dynamics *DynamicsCaller) GetLatestAliceNetVersion(opts *bind.CallOpts) (CanonicalVersion, error)

GetLatestAliceNetVersion is a free data retrieval call binding the contract method 0xd85200cc.

Solidity: function getLatestAliceNetVersion() view returns((uint32,uint32,uint32,uint32,bytes32))

func (*DynamicsCaller) GetLatestDynamicValues added in v0.0.5

func (_Dynamics *DynamicsCaller) GetLatestDynamicValues(opts *bind.CallOpts) (DynamicValues, error)

GetLatestDynamicValues is a free data retrieval call binding the contract method 0xf53efe02.

Solidity: function getLatestDynamicValues() view returns((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128))

func (*DynamicsCaller) GetMetamorphicContractAddress added in v0.0.5

func (_Dynamics *DynamicsCaller) GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*DynamicsCaller) GetPreviousDynamicValues added in v0.0.5

func (_Dynamics *DynamicsCaller) GetPreviousDynamicValues(opts *bind.CallOpts, epoch *big.Int) (DynamicValues, error)

GetPreviousDynamicValues is a free data retrieval call binding the contract method 0x72015859.

Solidity: function getPreviousDynamicValues(uint256 epoch) view returns((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128))

type DynamicsCallerRaw added in v0.0.5

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

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

func (*DynamicsCallerRaw) Call added in v0.0.5

func (_Dynamics *DynamicsCallerRaw) 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 DynamicsCallerSession added in v0.0.5

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

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

func (*DynamicsCallerSession) DecodeDynamicValues added in v0.0.5

func (_Dynamics *DynamicsCallerSession) DecodeDynamicValues(addr common.Address) (DynamicValues, error)

DecodeDynamicValues is a free data retrieval call binding the contract method 0x5234bca0.

Solidity: function decodeDynamicValues(address addr) view returns((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128))

func (*DynamicsCallerSession) EncodeDynamicValues added in v0.0.5

func (_Dynamics *DynamicsCallerSession) EncodeDynamicValues(value DynamicValues) ([]byte, error)

EncodeDynamicValues is a free data retrieval call binding the contract method 0x972e374c.

Solidity: function encodeDynamicValues((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128) value) pure returns(bytes)

func (*DynamicsCallerSession) GetAllDynamicValues added in v0.0.9

func (_Dynamics *DynamicsCallerSession) GetAllDynamicValues() ([]DynamicValues, error)

GetAllDynamicValues is a free data retrieval call binding the contract method 0xdcfda479.

Solidity: function getAllDynamicValues() view returns((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128)[])

func (*DynamicsCallerSession) GetConfiguration added in v0.0.5

func (_Dynamics *DynamicsCallerSession) GetConfiguration() (Configuration, error)

GetConfiguration is a free data retrieval call binding the contract method 0x6bd50cef.

Solidity: function getConfiguration() view returns((uint128,uint128))

func (*DynamicsCallerSession) GetEncodingVersion added in v0.0.5

func (_Dynamics *DynamicsCallerSession) GetEncodingVersion() (uint8, error)

GetEncodingVersion is a free data retrieval call binding the contract method 0x49f13f68.

Solidity: function getEncodingVersion() pure returns(uint8)

func (*DynamicsCallerSession) GetFurthestDynamicValues added in v0.0.9

func (_Dynamics *DynamicsCallerSession) GetFurthestDynamicValues() (DynamicValues, error)

GetFurthestDynamicValues is a free data retrieval call binding the contract method 0xe0a54089.

Solidity: function getFurthestDynamicValues() view returns((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128))

func (*DynamicsCallerSession) GetLatestAliceNetVersion added in v0.0.5

func (_Dynamics *DynamicsCallerSession) GetLatestAliceNetVersion() (CanonicalVersion, error)

GetLatestAliceNetVersion is a free data retrieval call binding the contract method 0xd85200cc.

Solidity: function getLatestAliceNetVersion() view returns((uint32,uint32,uint32,uint32,bytes32))

func (*DynamicsCallerSession) GetLatestDynamicValues added in v0.0.5

func (_Dynamics *DynamicsCallerSession) GetLatestDynamicValues() (DynamicValues, error)

GetLatestDynamicValues is a free data retrieval call binding the contract method 0xf53efe02.

Solidity: function getLatestDynamicValues() view returns((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128))

func (*DynamicsCallerSession) GetMetamorphicContractAddress added in v0.0.5

func (_Dynamics *DynamicsCallerSession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*DynamicsCallerSession) GetPreviousDynamicValues added in v0.0.5

func (_Dynamics *DynamicsCallerSession) GetPreviousDynamicValues(epoch *big.Int) (DynamicValues, error)

GetPreviousDynamicValues is a free data retrieval call binding the contract method 0x72015859.

Solidity: function getPreviousDynamicValues(uint256 epoch) view returns((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128))

type DynamicsDeployedStorageContract added in v0.0.5

type DynamicsDeployedStorageContract struct {
	ContractAddr common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

DynamicsDeployedStorageContract represents a DeployedStorageContract event raised by the Dynamics contract.

type DynamicsDeployedStorageContractIterator added in v0.0.5

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

DynamicsDeployedStorageContractIterator is returned from FilterDeployedStorageContract and is used to iterate over the raw logs and unpacked data for DeployedStorageContract events raised by the Dynamics contract.

func (*DynamicsDeployedStorageContractIterator) Close added in v0.0.5

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

func (*DynamicsDeployedStorageContractIterator) Error added in v0.0.5

Error returns any retrieval or parsing error occurred during filtering.

func (*DynamicsDeployedStorageContractIterator) Next added in v0.0.5

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 DynamicsDynamicValueChanged added in v0.0.5

type DynamicsDynamicValueChanged struct {
	Epoch            *big.Int
	RawDynamicValues []byte
	Raw              types.Log // Blockchain specific contextual infos
}

DynamicsDynamicValueChanged represents a DynamicValueChanged event raised by the Dynamics contract.

type DynamicsDynamicValueChangedIterator added in v0.0.5

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

DynamicsDynamicValueChangedIterator is returned from FilterDynamicValueChanged and is used to iterate over the raw logs and unpacked data for DynamicValueChanged events raised by the Dynamics contract.

func (*DynamicsDynamicValueChangedIterator) Close added in v0.0.5

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

func (*DynamicsDynamicValueChangedIterator) Error added in v0.0.5

Error returns any retrieval or parsing error occurred during filtering.

func (*DynamicsDynamicValueChangedIterator) Next added in v0.0.5

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 DynamicsFilterer added in v0.0.5

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

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

func NewDynamicsFilterer added in v0.0.5

func NewDynamicsFilterer(address common.Address, filterer bind.ContractFilterer) (*DynamicsFilterer, error)

NewDynamicsFilterer creates a new log filterer instance of Dynamics, bound to a specific deployed contract.

func (*DynamicsFilterer) FilterDeployedStorageContract added in v0.0.5

func (_Dynamics *DynamicsFilterer) FilterDeployedStorageContract(opts *bind.FilterOpts) (*DynamicsDeployedStorageContractIterator, error)

FilterDeployedStorageContract is a free log retrieval operation binding the contract event 0xc958f5befa7c4f4b38447cf2e058acacc3a6ea235df7bfea1e658fce46ed6e18.

Solidity: event DeployedStorageContract(address contractAddr)

func (*DynamicsFilterer) FilterDynamicValueChanged added in v0.0.5

func (_Dynamics *DynamicsFilterer) FilterDynamicValueChanged(opts *bind.FilterOpts) (*DynamicsDynamicValueChangedIterator, error)

FilterDynamicValueChanged is a free log retrieval operation binding the contract event 0x75892f5f7bbecdec9b5e7d1b8dd98acb161abe69a3922b3abfbefaefb0490326.

Solidity: event DynamicValueChanged(uint256 epoch, bytes rawDynamicValues)

func (*DynamicsFilterer) FilterInitialized added in v0.0.5

func (_Dynamics *DynamicsFilterer) FilterInitialized(opts *bind.FilterOpts) (*DynamicsInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*DynamicsFilterer) FilterNewAliceNetNodeVersionAvailable added in v0.0.5

func (_Dynamics *DynamicsFilterer) FilterNewAliceNetNodeVersionAvailable(opts *bind.FilterOpts) (*DynamicsNewAliceNetNodeVersionAvailableIterator, error)

FilterNewAliceNetNodeVersionAvailable is a free log retrieval operation binding the contract event 0xd05fe7fc00936621efe67e776e805ddf5a4e50d53b63179d2c05523244ec95ff.

Solidity: event NewAliceNetNodeVersionAvailable((uint32,uint32,uint32,uint32,bytes32) version)

func (*DynamicsFilterer) FilterNewCanonicalAliceNetNodeVersion added in v0.0.5

func (_Dynamics *DynamicsFilterer) FilterNewCanonicalAliceNetNodeVersion(opts *bind.FilterOpts) (*DynamicsNewCanonicalAliceNetNodeVersionIterator, error)

FilterNewCanonicalAliceNetNodeVersion is a free log retrieval operation binding the contract event 0xa4625685ba31ef67968ffdac1e4e9723a1409a79ea97fa78b30fc214f1646299.

Solidity: event NewCanonicalAliceNetNodeVersion((uint32,uint32,uint32,uint32,bytes32) version)

func (*DynamicsFilterer) ParseDeployedStorageContract added in v0.0.5

func (_Dynamics *DynamicsFilterer) ParseDeployedStorageContract(log types.Log) (*DynamicsDeployedStorageContract, error)

ParseDeployedStorageContract is a log parse operation binding the contract event 0xc958f5befa7c4f4b38447cf2e058acacc3a6ea235df7bfea1e658fce46ed6e18.

Solidity: event DeployedStorageContract(address contractAddr)

func (*DynamicsFilterer) ParseDynamicValueChanged added in v0.0.5

func (_Dynamics *DynamicsFilterer) ParseDynamicValueChanged(log types.Log) (*DynamicsDynamicValueChanged, error)

ParseDynamicValueChanged is a log parse operation binding the contract event 0x75892f5f7bbecdec9b5e7d1b8dd98acb161abe69a3922b3abfbefaefb0490326.

Solidity: event DynamicValueChanged(uint256 epoch, bytes rawDynamicValues)

func (*DynamicsFilterer) ParseInitialized added in v0.0.5

func (_Dynamics *DynamicsFilterer) ParseInitialized(log types.Log) (*DynamicsInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*DynamicsFilterer) ParseNewAliceNetNodeVersionAvailable added in v0.0.5

func (_Dynamics *DynamicsFilterer) ParseNewAliceNetNodeVersionAvailable(log types.Log) (*DynamicsNewAliceNetNodeVersionAvailable, error)

ParseNewAliceNetNodeVersionAvailable is a log parse operation binding the contract event 0xd05fe7fc00936621efe67e776e805ddf5a4e50d53b63179d2c05523244ec95ff.

Solidity: event NewAliceNetNodeVersionAvailable((uint32,uint32,uint32,uint32,bytes32) version)

func (*DynamicsFilterer) ParseNewCanonicalAliceNetNodeVersion added in v0.0.5

func (_Dynamics *DynamicsFilterer) ParseNewCanonicalAliceNetNodeVersion(log types.Log) (*DynamicsNewCanonicalAliceNetNodeVersion, error)

ParseNewCanonicalAliceNetNodeVersion is a log parse operation binding the contract event 0xa4625685ba31ef67968ffdac1e4e9723a1409a79ea97fa78b30fc214f1646299.

Solidity: event NewCanonicalAliceNetNodeVersion((uint32,uint32,uint32,uint32,bytes32) version)

func (*DynamicsFilterer) WatchDeployedStorageContract added in v0.0.5

func (_Dynamics *DynamicsFilterer) WatchDeployedStorageContract(opts *bind.WatchOpts, sink chan<- *DynamicsDeployedStorageContract) (event.Subscription, error)

WatchDeployedStorageContract is a free log subscription operation binding the contract event 0xc958f5befa7c4f4b38447cf2e058acacc3a6ea235df7bfea1e658fce46ed6e18.

Solidity: event DeployedStorageContract(address contractAddr)

func (*DynamicsFilterer) WatchDynamicValueChanged added in v0.0.5

func (_Dynamics *DynamicsFilterer) WatchDynamicValueChanged(opts *bind.WatchOpts, sink chan<- *DynamicsDynamicValueChanged) (event.Subscription, error)

WatchDynamicValueChanged is a free log subscription operation binding the contract event 0x75892f5f7bbecdec9b5e7d1b8dd98acb161abe69a3922b3abfbefaefb0490326.

Solidity: event DynamicValueChanged(uint256 epoch, bytes rawDynamicValues)

func (*DynamicsFilterer) WatchInitialized added in v0.0.5

func (_Dynamics *DynamicsFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *DynamicsInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*DynamicsFilterer) WatchNewAliceNetNodeVersionAvailable added in v0.0.5

func (_Dynamics *DynamicsFilterer) WatchNewAliceNetNodeVersionAvailable(opts *bind.WatchOpts, sink chan<- *DynamicsNewAliceNetNodeVersionAvailable) (event.Subscription, error)

WatchNewAliceNetNodeVersionAvailable is a free log subscription operation binding the contract event 0xd05fe7fc00936621efe67e776e805ddf5a4e50d53b63179d2c05523244ec95ff.

Solidity: event NewAliceNetNodeVersionAvailable((uint32,uint32,uint32,uint32,bytes32) version)

func (*DynamicsFilterer) WatchNewCanonicalAliceNetNodeVersion added in v0.0.5

func (_Dynamics *DynamicsFilterer) WatchNewCanonicalAliceNetNodeVersion(opts *bind.WatchOpts, sink chan<- *DynamicsNewCanonicalAliceNetNodeVersion) (event.Subscription, error)

WatchNewCanonicalAliceNetNodeVersion is a free log subscription operation binding the contract event 0xa4625685ba31ef67968ffdac1e4e9723a1409a79ea97fa78b30fc214f1646299.

Solidity: event NewCanonicalAliceNetNodeVersion((uint32,uint32,uint32,uint32,bytes32) version)

type DynamicsInitialized added in v0.0.5

type DynamicsInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

DynamicsInitialized represents a Initialized event raised by the Dynamics contract.

type DynamicsInitializedIterator added in v0.0.5

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

DynamicsInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Dynamics contract.

func (*DynamicsInitializedIterator) Close added in v0.0.5

func (it *DynamicsInitializedIterator) Close() error

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

func (*DynamicsInitializedIterator) Error added in v0.0.5

func (it *DynamicsInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DynamicsInitializedIterator) Next added in v0.0.5

func (it *DynamicsInitializedIterator) 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 DynamicsNewAliceNetNodeVersionAvailable added in v0.0.5

type DynamicsNewAliceNetNodeVersionAvailable struct {
	Version CanonicalVersion
	Raw     types.Log // Blockchain specific contextual infos
}

DynamicsNewAliceNetNodeVersionAvailable represents a NewAliceNetNodeVersionAvailable event raised by the Dynamics contract.

type DynamicsNewAliceNetNodeVersionAvailableIterator added in v0.0.5

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

DynamicsNewAliceNetNodeVersionAvailableIterator is returned from FilterNewAliceNetNodeVersionAvailable and is used to iterate over the raw logs and unpacked data for NewAliceNetNodeVersionAvailable events raised by the Dynamics contract.

func (*DynamicsNewAliceNetNodeVersionAvailableIterator) Close added in v0.0.5

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

func (*DynamicsNewAliceNetNodeVersionAvailableIterator) Error added in v0.0.5

Error returns any retrieval or parsing error occurred during filtering.

func (*DynamicsNewAliceNetNodeVersionAvailableIterator) Next added in v0.0.5

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 DynamicsNewCanonicalAliceNetNodeVersion added in v0.0.5

type DynamicsNewCanonicalAliceNetNodeVersion struct {
	Version CanonicalVersion
	Raw     types.Log // Blockchain specific contextual infos
}

DynamicsNewCanonicalAliceNetNodeVersion represents a NewCanonicalAliceNetNodeVersion event raised by the Dynamics contract.

type DynamicsNewCanonicalAliceNetNodeVersionIterator added in v0.0.5

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

DynamicsNewCanonicalAliceNetNodeVersionIterator is returned from FilterNewCanonicalAliceNetNodeVersion and is used to iterate over the raw logs and unpacked data for NewCanonicalAliceNetNodeVersion events raised by the Dynamics contract.

func (*DynamicsNewCanonicalAliceNetNodeVersionIterator) Close added in v0.0.5

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

func (*DynamicsNewCanonicalAliceNetNodeVersionIterator) Error added in v0.0.5

Error returns any retrieval or parsing error occurred during filtering.

func (*DynamicsNewCanonicalAliceNetNodeVersionIterator) Next added in v0.0.5

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 DynamicsRaw added in v0.0.5

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

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

func (*DynamicsRaw) Call added in v0.0.5

func (_Dynamics *DynamicsRaw) 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 (*DynamicsRaw) Transact added in v0.0.5

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

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

func (*DynamicsRaw) Transfer added in v0.0.5

func (_Dynamics *DynamicsRaw) 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 DynamicsSession added in v0.0.5

type DynamicsSession struct {
	Contract     *Dynamics         // 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
}

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

func (*DynamicsSession) ChangeDynamicValues added in v0.0.5

func (_Dynamics *DynamicsSession) ChangeDynamicValues(relativeExecutionEpoch uint32, newValue DynamicValues) (*types.Transaction, error)

ChangeDynamicValues is a paid mutator transaction binding the contract method 0xe84f2fd0.

Solidity: function changeDynamicValues(uint32 relativeExecutionEpoch, (uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128) newValue) returns()

func (*DynamicsSession) DecodeDynamicValues added in v0.0.5

func (_Dynamics *DynamicsSession) DecodeDynamicValues(addr common.Address) (DynamicValues, error)

DecodeDynamicValues is a free data retrieval call binding the contract method 0x5234bca0.

Solidity: function decodeDynamicValues(address addr) view returns((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128))

func (*DynamicsSession) DeployStorage added in v0.0.5

func (_Dynamics *DynamicsSession) DeployStorage(data []byte) (*types.Transaction, error)

DeployStorage is a paid mutator transaction binding the contract method 0xa130fd2e.

Solidity: function deployStorage(bytes data) returns(address contractAddr)

func (*DynamicsSession) EncodeDynamicValues added in v0.0.5

func (_Dynamics *DynamicsSession) EncodeDynamicValues(value DynamicValues) ([]byte, error)

EncodeDynamicValues is a free data retrieval call binding the contract method 0x972e374c.

Solidity: function encodeDynamicValues((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128) value) pure returns(bytes)

func (*DynamicsSession) GetAllDynamicValues added in v0.0.9

func (_Dynamics *DynamicsSession) GetAllDynamicValues() ([]DynamicValues, error)

GetAllDynamicValues is a free data retrieval call binding the contract method 0xdcfda479.

Solidity: function getAllDynamicValues() view returns((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128)[])

func (*DynamicsSession) GetConfiguration added in v0.0.5

func (_Dynamics *DynamicsSession) GetConfiguration() (Configuration, error)

GetConfiguration is a free data retrieval call binding the contract method 0x6bd50cef.

Solidity: function getConfiguration() view returns((uint128,uint128))

func (*DynamicsSession) GetEncodingVersion added in v0.0.5

func (_Dynamics *DynamicsSession) GetEncodingVersion() (uint8, error)

GetEncodingVersion is a free data retrieval call binding the contract method 0x49f13f68.

Solidity: function getEncodingVersion() pure returns(uint8)

func (*DynamicsSession) GetFurthestDynamicValues added in v0.0.9

func (_Dynamics *DynamicsSession) GetFurthestDynamicValues() (DynamicValues, error)

GetFurthestDynamicValues is a free data retrieval call binding the contract method 0xe0a54089.

Solidity: function getFurthestDynamicValues() view returns((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128))

func (*DynamicsSession) GetLatestAliceNetVersion added in v0.0.5

func (_Dynamics *DynamicsSession) GetLatestAliceNetVersion() (CanonicalVersion, error)

GetLatestAliceNetVersion is a free data retrieval call binding the contract method 0xd85200cc.

Solidity: function getLatestAliceNetVersion() view returns((uint32,uint32,uint32,uint32,bytes32))

func (*DynamicsSession) GetLatestDynamicValues added in v0.0.5

func (_Dynamics *DynamicsSession) GetLatestDynamicValues() (DynamicValues, error)

GetLatestDynamicValues is a free data retrieval call binding the contract method 0xf53efe02.

Solidity: function getLatestDynamicValues() view returns((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128))

func (*DynamicsSession) GetMetamorphicContractAddress added in v0.0.5

func (_Dynamics *DynamicsSession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*DynamicsSession) GetPreviousDynamicValues added in v0.0.5

func (_Dynamics *DynamicsSession) GetPreviousDynamicValues(epoch *big.Int) (DynamicValues, error)

GetPreviousDynamicValues is a free data retrieval call binding the contract method 0x72015859.

Solidity: function getPreviousDynamicValues(uint256 epoch) view returns((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128))

func (*DynamicsSession) Initialize added in v0.0.5

func (_Dynamics *DynamicsSession) Initialize(initialProposalTimeout_ *big.Int) (*types.Transaction, error)

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

Solidity: function initialize(uint24 initialProposalTimeout_) returns()

func (*DynamicsSession) SetConfiguration added in v0.0.5

func (_Dynamics *DynamicsSession) SetConfiguration(newConfig Configuration) (*types.Transaction, error)

SetConfiguration is a paid mutator transaction binding the contract method 0x402292df.

Solidity: function setConfiguration((uint128,uint128) newConfig) returns()

func (*DynamicsSession) UpdateAliceNetNodeVersion added in v0.0.5

func (_Dynamics *DynamicsSession) UpdateAliceNetNodeVersion(relativeUpdateEpoch uint32, majorVersion uint32, minorVersion uint32, patch uint32, binaryHash [32]byte) (*types.Transaction, error)

UpdateAliceNetNodeVersion is a paid mutator transaction binding the contract method 0xab8a8411.

Solidity: function updateAliceNetNodeVersion(uint32 relativeUpdateEpoch, uint32 majorVersion, uint32 minorVersion, uint32 patch, bytes32 binaryHash) returns()

func (*DynamicsSession) UpdateHead added in v0.0.5

func (_Dynamics *DynamicsSession) UpdateHead(currentEpoch uint32) (*types.Transaction, error)

UpdateHead is a paid mutator transaction binding the contract method 0x3b4ef26a.

Solidity: function updateHead(uint32 currentEpoch) returns()

type DynamicsTransactor added in v0.0.5

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

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

func NewDynamicsTransactor added in v0.0.5

func NewDynamicsTransactor(address common.Address, transactor bind.ContractTransactor) (*DynamicsTransactor, error)

NewDynamicsTransactor creates a new write-only instance of Dynamics, bound to a specific deployed contract.

func (*DynamicsTransactor) ChangeDynamicValues added in v0.0.5

func (_Dynamics *DynamicsTransactor) ChangeDynamicValues(opts *bind.TransactOpts, relativeExecutionEpoch uint32, newValue DynamicValues) (*types.Transaction, error)

ChangeDynamicValues is a paid mutator transaction binding the contract method 0xe84f2fd0.

Solidity: function changeDynamicValues(uint32 relativeExecutionEpoch, (uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128) newValue) returns()

func (*DynamicsTransactor) DeployStorage added in v0.0.5

func (_Dynamics *DynamicsTransactor) DeployStorage(opts *bind.TransactOpts, data []byte) (*types.Transaction, error)

DeployStorage is a paid mutator transaction binding the contract method 0xa130fd2e.

Solidity: function deployStorage(bytes data) returns(address contractAddr)

func (*DynamicsTransactor) Initialize added in v0.0.5

func (_Dynamics *DynamicsTransactor) Initialize(opts *bind.TransactOpts, initialProposalTimeout_ *big.Int) (*types.Transaction, error)

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

Solidity: function initialize(uint24 initialProposalTimeout_) returns()

func (*DynamicsTransactor) SetConfiguration added in v0.0.5

func (_Dynamics *DynamicsTransactor) SetConfiguration(opts *bind.TransactOpts, newConfig Configuration) (*types.Transaction, error)

SetConfiguration is a paid mutator transaction binding the contract method 0x402292df.

Solidity: function setConfiguration((uint128,uint128) newConfig) returns()

func (*DynamicsTransactor) UpdateAliceNetNodeVersion added in v0.0.5

func (_Dynamics *DynamicsTransactor) UpdateAliceNetNodeVersion(opts *bind.TransactOpts, relativeUpdateEpoch uint32, majorVersion uint32, minorVersion uint32, patch uint32, binaryHash [32]byte) (*types.Transaction, error)

UpdateAliceNetNodeVersion is a paid mutator transaction binding the contract method 0xab8a8411.

Solidity: function updateAliceNetNodeVersion(uint32 relativeUpdateEpoch, uint32 majorVersion, uint32 minorVersion, uint32 patch, bytes32 binaryHash) returns()

func (*DynamicsTransactor) UpdateHead added in v0.0.5

func (_Dynamics *DynamicsTransactor) UpdateHead(opts *bind.TransactOpts, currentEpoch uint32) (*types.Transaction, error)

UpdateHead is a paid mutator transaction binding the contract method 0x3b4ef26a.

Solidity: function updateHead(uint32 currentEpoch) returns()

type DynamicsTransactorRaw added in v0.0.5

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

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

func (*DynamicsTransactorRaw) Transact added in v0.0.5

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

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

func (*DynamicsTransactorRaw) Transfer added in v0.0.5

func (_Dynamics *DynamicsTransactorRaw) 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 DynamicsTransactorSession added in v0.0.5

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

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

func (*DynamicsTransactorSession) ChangeDynamicValues added in v0.0.5

func (_Dynamics *DynamicsTransactorSession) ChangeDynamicValues(relativeExecutionEpoch uint32, newValue DynamicValues) (*types.Transaction, error)

ChangeDynamicValues is a paid mutator transaction binding the contract method 0xe84f2fd0.

Solidity: function changeDynamicValues(uint32 relativeExecutionEpoch, (uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128) newValue) returns()

func (*DynamicsTransactorSession) DeployStorage added in v0.0.5

func (_Dynamics *DynamicsTransactorSession) DeployStorage(data []byte) (*types.Transaction, error)

DeployStorage is a paid mutator transaction binding the contract method 0xa130fd2e.

Solidity: function deployStorage(bytes data) returns(address contractAddr)

func (*DynamicsTransactorSession) Initialize added in v0.0.5

func (_Dynamics *DynamicsTransactorSession) Initialize(initialProposalTimeout_ *big.Int) (*types.Transaction, error)

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

Solidity: function initialize(uint24 initialProposalTimeout_) returns()

func (*DynamicsTransactorSession) SetConfiguration added in v0.0.5

func (_Dynamics *DynamicsTransactorSession) SetConfiguration(newConfig Configuration) (*types.Transaction, error)

SetConfiguration is a paid mutator transaction binding the contract method 0x402292df.

Solidity: function setConfiguration((uint128,uint128) newConfig) returns()

func (*DynamicsTransactorSession) UpdateAliceNetNodeVersion added in v0.0.5

func (_Dynamics *DynamicsTransactorSession) UpdateAliceNetNodeVersion(relativeUpdateEpoch uint32, majorVersion uint32, minorVersion uint32, patch uint32, binaryHash [32]byte) (*types.Transaction, error)

UpdateAliceNetNodeVersion is a paid mutator transaction binding the contract method 0xab8a8411.

Solidity: function updateAliceNetNodeVersion(uint32 relativeUpdateEpoch, uint32 majorVersion, uint32 minorVersion, uint32 patch, bytes32 binaryHash) returns()

func (*DynamicsTransactorSession) UpdateHead added in v0.0.5

func (_Dynamics *DynamicsTransactorSession) UpdateHead(currentEpoch uint32) (*types.Transaction, error)

UpdateHead is a paid mutator transaction binding the contract method 0x3b4ef26a.

Solidity: function updateHead(uint32 currentEpoch) returns()

type ETHDKG

type ETHDKG struct {
	ETHDKGCaller     // Read-only binding to the contract
	ETHDKGTransactor // Write-only binding to the contract
	ETHDKGFilterer   // Log filterer for contract events
}

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

func NewETHDKG

func NewETHDKG(address common.Address, backend bind.ContractBackend) (*ETHDKG, error)

NewETHDKG creates a new instance of ETHDKG, bound to a specific deployed contract.

type ETHDKGAddressRegistered

type ETHDKGAddressRegistered struct {
	Account   common.Address
	Index     *big.Int
	Nonce     *big.Int
	PublicKey [2]*big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

ETHDKGAddressRegistered represents a AddressRegistered event raised by the ETHDKG contract.

type ETHDKGAddressRegisteredIterator

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

ETHDKGAddressRegisteredIterator is returned from FilterAddressRegistered and is used to iterate over the raw logs and unpacked data for AddressRegistered events raised by the ETHDKG contract.

func (*ETHDKGAddressRegisteredIterator) Close

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

func (*ETHDKGAddressRegisteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ETHDKGAddressRegisteredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ETHDKGCaller

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

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

func NewETHDKGCaller

func NewETHDKGCaller(address common.Address, caller bind.ContractCaller) (*ETHDKGCaller, error)

NewETHDKGCaller creates a new read-only instance of ETHDKG, bound to a specific deployed contract.

func (*ETHDKGCaller) GetBadParticipants

func (_ETHDKG *ETHDKGCaller) GetBadParticipants(opts *bind.CallOpts) (*big.Int, error)

GetBadParticipants is a free data retrieval call binding the contract method 0x32d4d570.

Solidity: function getBadParticipants() view returns(uint256)

func (*ETHDKGCaller) GetConfirmationLength

func (_ETHDKG *ETHDKGCaller) GetConfirmationLength(opts *bind.CallOpts) (*big.Int, error)

GetConfirmationLength is a free data retrieval call binding the contract method 0x8c848d32.

Solidity: function getConfirmationLength() view returns(uint256)

func (*ETHDKGCaller) GetETHDKGPhase

func (_ETHDKG *ETHDKGCaller) GetETHDKGPhase(opts *bind.CallOpts) (uint8, error)

GetETHDKGPhase is a free data retrieval call binding the contract method 0x2958e81c.

Solidity: function getETHDKGPhase() view returns(uint8)

func (*ETHDKGCaller) GetLastRoundParticipantIndex added in v0.0.5

func (_ETHDKG *ETHDKGCaller) GetLastRoundParticipantIndex(opts *bind.CallOpts, participant common.Address) (*big.Int, error)

GetLastRoundParticipantIndex is a free data retrieval call binding the contract method 0x775694e1.

Solidity: function getLastRoundParticipantIndex(address participant) view returns(uint256)

func (*ETHDKGCaller) GetMasterPublicKey

func (_ETHDKG *ETHDKGCaller) GetMasterPublicKey(opts *bind.CallOpts) ([4]*big.Int, error)

GetMasterPublicKey is a free data retrieval call binding the contract method 0xe146372a.

Solidity: function getMasterPublicKey() view returns(uint256[4])

func (*ETHDKGCaller) GetMasterPublicKeyHash

func (_ETHDKG *ETHDKGCaller) GetMasterPublicKeyHash(opts *bind.CallOpts) ([32]byte, error)

GetMasterPublicKeyHash is a free data retrieval call binding the contract method 0x1c67d576.

Solidity: function getMasterPublicKeyHash() view returns(bytes32)

func (*ETHDKGCaller) GetMetamorphicContractAddress

func (_ETHDKG *ETHDKGCaller) GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*ETHDKGCaller) GetMinValidators

func (_ETHDKG *ETHDKGCaller) GetMinValidators(opts *bind.CallOpts) (*big.Int, error)

GetMinValidators is a free data retrieval call binding the contract method 0xecbadb36.

Solidity: function getMinValidators() pure returns(uint256)

func (*ETHDKGCaller) GetNonce

func (_ETHDKG *ETHDKGCaller) GetNonce(opts *bind.CallOpts) (*big.Int, error)

GetNonce is a free data retrieval call binding the contract method 0xd087d288.

Solidity: function getNonce() view returns(uint256)

func (*ETHDKGCaller) GetNumParticipants

func (_ETHDKG *ETHDKGCaller) GetNumParticipants(opts *bind.CallOpts) (*big.Int, error)

GetNumParticipants is a free data retrieval call binding the contract method 0xfd478ca9.

Solidity: function getNumParticipants() view returns(uint256)

func (*ETHDKGCaller) GetParticipantInternalState

func (_ETHDKG *ETHDKGCaller) GetParticipantInternalState(opts *bind.CallOpts, participant common.Address) (Participant, error)

GetParticipantInternalState is a free data retrieval call binding the contract method 0xbf7786b6.

Solidity: function getParticipantInternalState(address participant) view returns((uint256[2],uint64,uint64,uint8,bytes32,uint256[2],uint256[2],uint256[4]))

func (*ETHDKGCaller) GetParticipantsInternalState

func (_ETHDKG *ETHDKGCaller) GetParticipantsInternalState(opts *bind.CallOpts, participantAddresses []common.Address) ([]Participant, error)

GetParticipantsInternalState is a free data retrieval call binding the contract method 0xc016baee.

Solidity: function getParticipantsInternalState(address[] participantAddresses) view returns((uint256[2],uint64,uint64,uint8,bytes32,uint256[2],uint256[2],uint256[4])[])

func (*ETHDKGCaller) GetPhaseLength

func (_ETHDKG *ETHDKGCaller) GetPhaseLength(opts *bind.CallOpts) (*big.Int, error)

GetPhaseLength is a free data retrieval call binding the contract method 0x106da57d.

Solidity: function getPhaseLength() view returns(uint256)

func (*ETHDKGCaller) GetPhaseStartBlock

func (_ETHDKG *ETHDKGCaller) GetPhaseStartBlock(opts *bind.CallOpts) (*big.Int, error)

GetPhaseStartBlock is a free data retrieval call binding the contract method 0xa2bc9c78.

Solidity: function getPhaseStartBlock() view returns(uint256)

func (*ETHDKGCaller) IsETHDKGCompleted

func (_ETHDKG *ETHDKGCaller) IsETHDKGCompleted(opts *bind.CallOpts) (bool, error)

IsETHDKGCompleted is a free data retrieval call binding the contract method 0x2b7c6724.

Solidity: function isETHDKGCompleted() view returns(bool)

func (*ETHDKGCaller) IsETHDKGHalted

func (_ETHDKG *ETHDKGCaller) IsETHDKGHalted(opts *bind.CallOpts) (bool, error)

IsETHDKGHalted is a free data retrieval call binding the contract method 0x43ced534.

Solidity: function isETHDKGHalted() view returns(bool)

func (*ETHDKGCaller) IsETHDKGRunning

func (_ETHDKG *ETHDKGCaller) IsETHDKGRunning(opts *bind.CallOpts) (bool, error)

IsETHDKGRunning is a free data retrieval call binding the contract method 0x747b217c.

Solidity: function isETHDKGRunning() view returns(bool)

func (*ETHDKGCaller) IsMasterPublicKeySet

func (_ETHDKG *ETHDKGCaller) IsMasterPublicKeySet(opts *bind.CallOpts) (bool, error)

IsMasterPublicKeySet is a free data retrieval call binding the contract method 0x08efcf16.

Solidity: function isMasterPublicKeySet() view returns(bool)

func (*ETHDKGCaller) IsValidMasterPublicKey added in v0.0.8

func (_ETHDKG *ETHDKGCaller) IsValidMasterPublicKey(opts *bind.CallOpts, masterPublicKeyHash [32]byte) (bool, error)

IsValidMasterPublicKey is a free data retrieval call binding the contract method 0x9bb16742.

Solidity: function isValidMasterPublicKey(bytes32 masterPublicKeyHash) view returns(bool)

type ETHDKGCallerRaw

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

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

func (*ETHDKGCallerRaw) Call

func (_ETHDKG *ETHDKGCallerRaw) 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 ETHDKGCallerSession

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

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

func (*ETHDKGCallerSession) GetBadParticipants

func (_ETHDKG *ETHDKGCallerSession) GetBadParticipants() (*big.Int, error)

GetBadParticipants is a free data retrieval call binding the contract method 0x32d4d570.

Solidity: function getBadParticipants() view returns(uint256)

func (*ETHDKGCallerSession) GetConfirmationLength

func (_ETHDKG *ETHDKGCallerSession) GetConfirmationLength() (*big.Int, error)

GetConfirmationLength is a free data retrieval call binding the contract method 0x8c848d32.

Solidity: function getConfirmationLength() view returns(uint256)

func (*ETHDKGCallerSession) GetETHDKGPhase

func (_ETHDKG *ETHDKGCallerSession) GetETHDKGPhase() (uint8, error)

GetETHDKGPhase is a free data retrieval call binding the contract method 0x2958e81c.

Solidity: function getETHDKGPhase() view returns(uint8)

func (*ETHDKGCallerSession) GetLastRoundParticipantIndex added in v0.0.5

func (_ETHDKG *ETHDKGCallerSession) GetLastRoundParticipantIndex(participant common.Address) (*big.Int, error)

GetLastRoundParticipantIndex is a free data retrieval call binding the contract method 0x775694e1.

Solidity: function getLastRoundParticipantIndex(address participant) view returns(uint256)

func (*ETHDKGCallerSession) GetMasterPublicKey

func (_ETHDKG *ETHDKGCallerSession) GetMasterPublicKey() ([4]*big.Int, error)

GetMasterPublicKey is a free data retrieval call binding the contract method 0xe146372a.

Solidity: function getMasterPublicKey() view returns(uint256[4])

func (*ETHDKGCallerSession) GetMasterPublicKeyHash

func (_ETHDKG *ETHDKGCallerSession) GetMasterPublicKeyHash() ([32]byte, error)

GetMasterPublicKeyHash is a free data retrieval call binding the contract method 0x1c67d576.

Solidity: function getMasterPublicKeyHash() view returns(bytes32)

func (*ETHDKGCallerSession) GetMetamorphicContractAddress

func (_ETHDKG *ETHDKGCallerSession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*ETHDKGCallerSession) GetMinValidators

func (_ETHDKG *ETHDKGCallerSession) GetMinValidators() (*big.Int, error)

GetMinValidators is a free data retrieval call binding the contract method 0xecbadb36.

Solidity: function getMinValidators() pure returns(uint256)

func (*ETHDKGCallerSession) GetNonce

func (_ETHDKG *ETHDKGCallerSession) GetNonce() (*big.Int, error)

GetNonce is a free data retrieval call binding the contract method 0xd087d288.

Solidity: function getNonce() view returns(uint256)

func (*ETHDKGCallerSession) GetNumParticipants

func (_ETHDKG *ETHDKGCallerSession) GetNumParticipants() (*big.Int, error)

GetNumParticipants is a free data retrieval call binding the contract method 0xfd478ca9.

Solidity: function getNumParticipants() view returns(uint256)

func (*ETHDKGCallerSession) GetParticipantInternalState

func (_ETHDKG *ETHDKGCallerSession) GetParticipantInternalState(participant common.Address) (Participant, error)

GetParticipantInternalState is a free data retrieval call binding the contract method 0xbf7786b6.

Solidity: function getParticipantInternalState(address participant) view returns((uint256[2],uint64,uint64,uint8,bytes32,uint256[2],uint256[2],uint256[4]))

func (*ETHDKGCallerSession) GetParticipantsInternalState

func (_ETHDKG *ETHDKGCallerSession) GetParticipantsInternalState(participantAddresses []common.Address) ([]Participant, error)

GetParticipantsInternalState is a free data retrieval call binding the contract method 0xc016baee.

Solidity: function getParticipantsInternalState(address[] participantAddresses) view returns((uint256[2],uint64,uint64,uint8,bytes32,uint256[2],uint256[2],uint256[4])[])

func (*ETHDKGCallerSession) GetPhaseLength

func (_ETHDKG *ETHDKGCallerSession) GetPhaseLength() (*big.Int, error)

GetPhaseLength is a free data retrieval call binding the contract method 0x106da57d.

Solidity: function getPhaseLength() view returns(uint256)

func (*ETHDKGCallerSession) GetPhaseStartBlock

func (_ETHDKG *ETHDKGCallerSession) GetPhaseStartBlock() (*big.Int, error)

GetPhaseStartBlock is a free data retrieval call binding the contract method 0xa2bc9c78.

Solidity: function getPhaseStartBlock() view returns(uint256)

func (*ETHDKGCallerSession) IsETHDKGCompleted

func (_ETHDKG *ETHDKGCallerSession) IsETHDKGCompleted() (bool, error)

IsETHDKGCompleted is a free data retrieval call binding the contract method 0x2b7c6724.

Solidity: function isETHDKGCompleted() view returns(bool)

func (*ETHDKGCallerSession) IsETHDKGHalted

func (_ETHDKG *ETHDKGCallerSession) IsETHDKGHalted() (bool, error)

IsETHDKGHalted is a free data retrieval call binding the contract method 0x43ced534.

Solidity: function isETHDKGHalted() view returns(bool)

func (*ETHDKGCallerSession) IsETHDKGRunning

func (_ETHDKG *ETHDKGCallerSession) IsETHDKGRunning() (bool, error)

IsETHDKGRunning is a free data retrieval call binding the contract method 0x747b217c.

Solidity: function isETHDKGRunning() view returns(bool)

func (*ETHDKGCallerSession) IsMasterPublicKeySet

func (_ETHDKG *ETHDKGCallerSession) IsMasterPublicKeySet() (bool, error)

IsMasterPublicKeySet is a free data retrieval call binding the contract method 0x08efcf16.

Solidity: function isMasterPublicKeySet() view returns(bool)

func (*ETHDKGCallerSession) IsValidMasterPublicKey added in v0.0.8

func (_ETHDKG *ETHDKGCallerSession) IsValidMasterPublicKey(masterPublicKeyHash [32]byte) (bool, error)

IsValidMasterPublicKey is a free data retrieval call binding the contract method 0x9bb16742.

Solidity: function isValidMasterPublicKey(bytes32 masterPublicKeyHash) view returns(bool)

type ETHDKGFilterer

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

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

func NewETHDKGFilterer

func NewETHDKGFilterer(address common.Address, filterer bind.ContractFilterer) (*ETHDKGFilterer, error)

NewETHDKGFilterer creates a new log filterer instance of ETHDKG, bound to a specific deployed contract.

func (*ETHDKGFilterer) FilterAddressRegistered

func (_ETHDKG *ETHDKGFilterer) FilterAddressRegistered(opts *bind.FilterOpts) (*ETHDKGAddressRegisteredIterator, error)

FilterAddressRegistered is a free log retrieval operation binding the contract event 0x7f1304057ec61140fbf2f5f236790f34fcafe123d3eb0d298d92317c97da500d.

Solidity: event AddressRegistered(address account, uint256 index, uint256 nonce, uint256[2] publicKey)

func (*ETHDKGFilterer) FilterGPKJSubmissionComplete

func (_ETHDKG *ETHDKGFilterer) FilterGPKJSubmissionComplete(opts *bind.FilterOpts) (*ETHDKGGPKJSubmissionCompleteIterator, error)

FilterGPKJSubmissionComplete is a free log retrieval operation binding the contract event 0x87bfe600b78cad9f7cf68c99eb582c1748f636b3269842b37d5873b0e069f628.

Solidity: event GPKJSubmissionComplete(uint256 blockNumber)

func (*ETHDKGFilterer) FilterInitialized added in v0.0.2

func (_ETHDKG *ETHDKGFilterer) FilterInitialized(opts *bind.FilterOpts) (*ETHDKGInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ETHDKGFilterer) FilterKeyShareSubmissionComplete

func (_ETHDKG *ETHDKGFilterer) FilterKeyShareSubmissionComplete(opts *bind.FilterOpts) (*ETHDKGKeyShareSubmissionCompleteIterator, error)

FilterKeyShareSubmissionComplete is a free log retrieval operation binding the contract event 0x522cec98f6caa194456c44afa9e8cef9ac63eecb0be60e20d180ce19cfb0ef59.

Solidity: event KeyShareSubmissionComplete(uint256 blockNumber)

func (*ETHDKGFilterer) FilterKeyShareSubmitted

func (_ETHDKG *ETHDKGFilterer) FilterKeyShareSubmitted(opts *bind.FilterOpts) (*ETHDKGKeyShareSubmittedIterator, error)

FilterKeyShareSubmitted is a free log retrieval operation binding the contract event 0x6162e2d11398e4063e4c8565dafc4fb6755bbead93747ea836a5ef73a594aaf7.

Solidity: event KeyShareSubmitted(address account, uint256 index, uint256 nonce, uint256[2] keyShareG1, uint256[2] keyShareG1CorrectnessProof, uint256[4] keyShareG2)

func (*ETHDKGFilterer) FilterMPKSet

func (_ETHDKG *ETHDKGFilterer) FilterMPKSet(opts *bind.FilterOpts) (*ETHDKGMPKSetIterator, error)

FilterMPKSet is a free log retrieval operation binding the contract event 0x71b1ebd27be320895a22125d6458e3363aefa6944a312ede4bf275867e6d5a71.

Solidity: event MPKSet(uint256 blockNumber, uint256 nonce, uint256[4] mpk)

func (*ETHDKGFilterer) FilterRegistrationComplete

func (_ETHDKG *ETHDKGFilterer) FilterRegistrationComplete(opts *bind.FilterOpts) (*ETHDKGRegistrationCompleteIterator, error)

FilterRegistrationComplete is a free log retrieval operation binding the contract event 0x833013b96b786b4eca83baac286920e5e53956c21ff3894f1d9f02e97d6ed764.

Solidity: event RegistrationComplete(uint256 blockNumber)

func (*ETHDKGFilterer) FilterRegistrationOpened

func (_ETHDKG *ETHDKGFilterer) FilterRegistrationOpened(opts *bind.FilterOpts) (*ETHDKGRegistrationOpenedIterator, error)

FilterRegistrationOpened is a free log retrieval operation binding the contract event 0xbda431b9b63510f1398bf33d700e013315bcba905507078a1780f13ea5b354b9.

Solidity: event RegistrationOpened(uint256 startBlock, uint256 numberValidators, uint256 nonce, uint256 phaseLength, uint256 confirmationLength)

func (*ETHDKGFilterer) FilterShareDistributionComplete

func (_ETHDKG *ETHDKGFilterer) FilterShareDistributionComplete(opts *bind.FilterOpts) (*ETHDKGShareDistributionCompleteIterator, error)

FilterShareDistributionComplete is a free log retrieval operation binding the contract event 0xbfe94ffef5ddde4d25ac7b652f3f67686ea63f9badbfe1f25451e26fc262d11c.

Solidity: event ShareDistributionComplete(uint256 blockNumber)

func (*ETHDKGFilterer) FilterSharesDistributed

func (_ETHDKG *ETHDKGFilterer) FilterSharesDistributed(opts *bind.FilterOpts) (*ETHDKGSharesDistributedIterator, error)

FilterSharesDistributed is a free log retrieval operation binding the contract event 0xf0c8b0ef2867c2b4639b404a0296b6bbf0bf97e20856af42144a5a6035c0d0d2.

Solidity: event SharesDistributed(address account, uint256 index, uint256 nonce, uint256[] encryptedShares, uint256[2][] commitments)

func (*ETHDKGFilterer) FilterValidatorMemberAdded

func (_ETHDKG *ETHDKGFilterer) FilterValidatorMemberAdded(opts *bind.FilterOpts) (*ETHDKGValidatorMemberAddedIterator, error)

FilterValidatorMemberAdded is a free log retrieval operation binding the contract event 0x09b90b08bbc3dbe22e9d2a0bc9c2c7614c7511cd0ad72177727a1e762115bf06.

Solidity: event ValidatorMemberAdded(address account, uint256 index, uint256 nonce, uint256 epoch, uint256 share0, uint256 share1, uint256 share2, uint256 share3)

func (*ETHDKGFilterer) FilterValidatorSetCompleted

func (_ETHDKG *ETHDKGFilterer) FilterValidatorSetCompleted(opts *bind.FilterOpts) (*ETHDKGValidatorSetCompletedIterator, error)

FilterValidatorSetCompleted is a free log retrieval operation binding the contract event 0xd7237b781669fa700ecf77be6cd8fa0f4b98b1a24ac584a9b6b44c509216718a.

Solidity: event ValidatorSetCompleted(uint256 validatorCount, uint256 nonce, uint256 epoch, uint256 ethHeight, uint256 aliceNetHeight, uint256 groupKey0, uint256 groupKey1, uint256 groupKey2, uint256 groupKey3)

func (*ETHDKGFilterer) ParseAddressRegistered

func (_ETHDKG *ETHDKGFilterer) ParseAddressRegistered(log types.Log) (*ETHDKGAddressRegistered, error)

ParseAddressRegistered is a log parse operation binding the contract event 0x7f1304057ec61140fbf2f5f236790f34fcafe123d3eb0d298d92317c97da500d.

Solidity: event AddressRegistered(address account, uint256 index, uint256 nonce, uint256[2] publicKey)

func (*ETHDKGFilterer) ParseGPKJSubmissionComplete

func (_ETHDKG *ETHDKGFilterer) ParseGPKJSubmissionComplete(log types.Log) (*ETHDKGGPKJSubmissionComplete, error)

ParseGPKJSubmissionComplete is a log parse operation binding the contract event 0x87bfe600b78cad9f7cf68c99eb582c1748f636b3269842b37d5873b0e069f628.

Solidity: event GPKJSubmissionComplete(uint256 blockNumber)

func (*ETHDKGFilterer) ParseInitialized added in v0.0.2

func (_ETHDKG *ETHDKGFilterer) ParseInitialized(log types.Log) (*ETHDKGInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ETHDKGFilterer) ParseKeyShareSubmissionComplete

func (_ETHDKG *ETHDKGFilterer) ParseKeyShareSubmissionComplete(log types.Log) (*ETHDKGKeyShareSubmissionComplete, error)

ParseKeyShareSubmissionComplete is a log parse operation binding the contract event 0x522cec98f6caa194456c44afa9e8cef9ac63eecb0be60e20d180ce19cfb0ef59.

Solidity: event KeyShareSubmissionComplete(uint256 blockNumber)

func (*ETHDKGFilterer) ParseKeyShareSubmitted

func (_ETHDKG *ETHDKGFilterer) ParseKeyShareSubmitted(log types.Log) (*ETHDKGKeyShareSubmitted, error)

ParseKeyShareSubmitted is a log parse operation binding the contract event 0x6162e2d11398e4063e4c8565dafc4fb6755bbead93747ea836a5ef73a594aaf7.

Solidity: event KeyShareSubmitted(address account, uint256 index, uint256 nonce, uint256[2] keyShareG1, uint256[2] keyShareG1CorrectnessProof, uint256[4] keyShareG2)

func (*ETHDKGFilterer) ParseMPKSet

func (_ETHDKG *ETHDKGFilterer) ParseMPKSet(log types.Log) (*ETHDKGMPKSet, error)

ParseMPKSet is a log parse operation binding the contract event 0x71b1ebd27be320895a22125d6458e3363aefa6944a312ede4bf275867e6d5a71.

Solidity: event MPKSet(uint256 blockNumber, uint256 nonce, uint256[4] mpk)

func (*ETHDKGFilterer) ParseRegistrationComplete

func (_ETHDKG *ETHDKGFilterer) ParseRegistrationComplete(log types.Log) (*ETHDKGRegistrationComplete, error)

ParseRegistrationComplete is a log parse operation binding the contract event 0x833013b96b786b4eca83baac286920e5e53956c21ff3894f1d9f02e97d6ed764.

Solidity: event RegistrationComplete(uint256 blockNumber)

func (*ETHDKGFilterer) ParseRegistrationOpened

func (_ETHDKG *ETHDKGFilterer) ParseRegistrationOpened(log types.Log) (*ETHDKGRegistrationOpened, error)

ParseRegistrationOpened is a log parse operation binding the contract event 0xbda431b9b63510f1398bf33d700e013315bcba905507078a1780f13ea5b354b9.

Solidity: event RegistrationOpened(uint256 startBlock, uint256 numberValidators, uint256 nonce, uint256 phaseLength, uint256 confirmationLength)

func (*ETHDKGFilterer) ParseShareDistributionComplete

func (_ETHDKG *ETHDKGFilterer) ParseShareDistributionComplete(log types.Log) (*ETHDKGShareDistributionComplete, error)

ParseShareDistributionComplete is a log parse operation binding the contract event 0xbfe94ffef5ddde4d25ac7b652f3f67686ea63f9badbfe1f25451e26fc262d11c.

Solidity: event ShareDistributionComplete(uint256 blockNumber)

func (*ETHDKGFilterer) ParseSharesDistributed

func (_ETHDKG *ETHDKGFilterer) ParseSharesDistributed(log types.Log) (*ETHDKGSharesDistributed, error)

ParseSharesDistributed is a log parse operation binding the contract event 0xf0c8b0ef2867c2b4639b404a0296b6bbf0bf97e20856af42144a5a6035c0d0d2.

Solidity: event SharesDistributed(address account, uint256 index, uint256 nonce, uint256[] encryptedShares, uint256[2][] commitments)

func (*ETHDKGFilterer) ParseValidatorMemberAdded

func (_ETHDKG *ETHDKGFilterer) ParseValidatorMemberAdded(log types.Log) (*ETHDKGValidatorMemberAdded, error)

ParseValidatorMemberAdded is a log parse operation binding the contract event 0x09b90b08bbc3dbe22e9d2a0bc9c2c7614c7511cd0ad72177727a1e762115bf06.

Solidity: event ValidatorMemberAdded(address account, uint256 index, uint256 nonce, uint256 epoch, uint256 share0, uint256 share1, uint256 share2, uint256 share3)

func (*ETHDKGFilterer) ParseValidatorSetCompleted

func (_ETHDKG *ETHDKGFilterer) ParseValidatorSetCompleted(log types.Log) (*ETHDKGValidatorSetCompleted, error)

ParseValidatorSetCompleted is a log parse operation binding the contract event 0xd7237b781669fa700ecf77be6cd8fa0f4b98b1a24ac584a9b6b44c509216718a.

Solidity: event ValidatorSetCompleted(uint256 validatorCount, uint256 nonce, uint256 epoch, uint256 ethHeight, uint256 aliceNetHeight, uint256 groupKey0, uint256 groupKey1, uint256 groupKey2, uint256 groupKey3)

func (*ETHDKGFilterer) WatchAddressRegistered

func (_ETHDKG *ETHDKGFilterer) WatchAddressRegistered(opts *bind.WatchOpts, sink chan<- *ETHDKGAddressRegistered) (event.Subscription, error)

WatchAddressRegistered is a free log subscription operation binding the contract event 0x7f1304057ec61140fbf2f5f236790f34fcafe123d3eb0d298d92317c97da500d.

Solidity: event AddressRegistered(address account, uint256 index, uint256 nonce, uint256[2] publicKey)

func (*ETHDKGFilterer) WatchGPKJSubmissionComplete

func (_ETHDKG *ETHDKGFilterer) WatchGPKJSubmissionComplete(opts *bind.WatchOpts, sink chan<- *ETHDKGGPKJSubmissionComplete) (event.Subscription, error)

WatchGPKJSubmissionComplete is a free log subscription operation binding the contract event 0x87bfe600b78cad9f7cf68c99eb582c1748f636b3269842b37d5873b0e069f628.

Solidity: event GPKJSubmissionComplete(uint256 blockNumber)

func (*ETHDKGFilterer) WatchInitialized added in v0.0.2

func (_ETHDKG *ETHDKGFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ETHDKGInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ETHDKGFilterer) WatchKeyShareSubmissionComplete

func (_ETHDKG *ETHDKGFilterer) WatchKeyShareSubmissionComplete(opts *bind.WatchOpts, sink chan<- *ETHDKGKeyShareSubmissionComplete) (event.Subscription, error)

WatchKeyShareSubmissionComplete is a free log subscription operation binding the contract event 0x522cec98f6caa194456c44afa9e8cef9ac63eecb0be60e20d180ce19cfb0ef59.

Solidity: event KeyShareSubmissionComplete(uint256 blockNumber)

func (*ETHDKGFilterer) WatchKeyShareSubmitted

func (_ETHDKG *ETHDKGFilterer) WatchKeyShareSubmitted(opts *bind.WatchOpts, sink chan<- *ETHDKGKeyShareSubmitted) (event.Subscription, error)

WatchKeyShareSubmitted is a free log subscription operation binding the contract event 0x6162e2d11398e4063e4c8565dafc4fb6755bbead93747ea836a5ef73a594aaf7.

Solidity: event KeyShareSubmitted(address account, uint256 index, uint256 nonce, uint256[2] keyShareG1, uint256[2] keyShareG1CorrectnessProof, uint256[4] keyShareG2)

func (*ETHDKGFilterer) WatchMPKSet

func (_ETHDKG *ETHDKGFilterer) WatchMPKSet(opts *bind.WatchOpts, sink chan<- *ETHDKGMPKSet) (event.Subscription, error)

WatchMPKSet is a free log subscription operation binding the contract event 0x71b1ebd27be320895a22125d6458e3363aefa6944a312ede4bf275867e6d5a71.

Solidity: event MPKSet(uint256 blockNumber, uint256 nonce, uint256[4] mpk)

func (*ETHDKGFilterer) WatchRegistrationComplete

func (_ETHDKG *ETHDKGFilterer) WatchRegistrationComplete(opts *bind.WatchOpts, sink chan<- *ETHDKGRegistrationComplete) (event.Subscription, error)

WatchRegistrationComplete is a free log subscription operation binding the contract event 0x833013b96b786b4eca83baac286920e5e53956c21ff3894f1d9f02e97d6ed764.

Solidity: event RegistrationComplete(uint256 blockNumber)

func (*ETHDKGFilterer) WatchRegistrationOpened

func (_ETHDKG *ETHDKGFilterer) WatchRegistrationOpened(opts *bind.WatchOpts, sink chan<- *ETHDKGRegistrationOpened) (event.Subscription, error)

WatchRegistrationOpened is a free log subscription operation binding the contract event 0xbda431b9b63510f1398bf33d700e013315bcba905507078a1780f13ea5b354b9.

Solidity: event RegistrationOpened(uint256 startBlock, uint256 numberValidators, uint256 nonce, uint256 phaseLength, uint256 confirmationLength)

func (*ETHDKGFilterer) WatchShareDistributionComplete

func (_ETHDKG *ETHDKGFilterer) WatchShareDistributionComplete(opts *bind.WatchOpts, sink chan<- *ETHDKGShareDistributionComplete) (event.Subscription, error)

WatchShareDistributionComplete is a free log subscription operation binding the contract event 0xbfe94ffef5ddde4d25ac7b652f3f67686ea63f9badbfe1f25451e26fc262d11c.

Solidity: event ShareDistributionComplete(uint256 blockNumber)

func (*ETHDKGFilterer) WatchSharesDistributed

func (_ETHDKG *ETHDKGFilterer) WatchSharesDistributed(opts *bind.WatchOpts, sink chan<- *ETHDKGSharesDistributed) (event.Subscription, error)

WatchSharesDistributed is a free log subscription operation binding the contract event 0xf0c8b0ef2867c2b4639b404a0296b6bbf0bf97e20856af42144a5a6035c0d0d2.

Solidity: event SharesDistributed(address account, uint256 index, uint256 nonce, uint256[] encryptedShares, uint256[2][] commitments)

func (*ETHDKGFilterer) WatchValidatorMemberAdded

func (_ETHDKG *ETHDKGFilterer) WatchValidatorMemberAdded(opts *bind.WatchOpts, sink chan<- *ETHDKGValidatorMemberAdded) (event.Subscription, error)

WatchValidatorMemberAdded is a free log subscription operation binding the contract event 0x09b90b08bbc3dbe22e9d2a0bc9c2c7614c7511cd0ad72177727a1e762115bf06.

Solidity: event ValidatorMemberAdded(address account, uint256 index, uint256 nonce, uint256 epoch, uint256 share0, uint256 share1, uint256 share2, uint256 share3)

func (*ETHDKGFilterer) WatchValidatorSetCompleted

func (_ETHDKG *ETHDKGFilterer) WatchValidatorSetCompleted(opts *bind.WatchOpts, sink chan<- *ETHDKGValidatorSetCompleted) (event.Subscription, error)

WatchValidatorSetCompleted is a free log subscription operation binding the contract event 0xd7237b781669fa700ecf77be6cd8fa0f4b98b1a24ac584a9b6b44c509216718a.

Solidity: event ValidatorSetCompleted(uint256 validatorCount, uint256 nonce, uint256 epoch, uint256 ethHeight, uint256 aliceNetHeight, uint256 groupKey0, uint256 groupKey1, uint256 groupKey2, uint256 groupKey3)

type ETHDKGGPKJSubmissionComplete

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

ETHDKGGPKJSubmissionComplete represents a GPKJSubmissionComplete event raised by the ETHDKG contract.

type ETHDKGGPKJSubmissionCompleteIterator

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

ETHDKGGPKJSubmissionCompleteIterator is returned from FilterGPKJSubmissionComplete and is used to iterate over the raw logs and unpacked data for GPKJSubmissionComplete events raised by the ETHDKG contract.

func (*ETHDKGGPKJSubmissionCompleteIterator) Close

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

func (*ETHDKGGPKJSubmissionCompleteIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ETHDKGGPKJSubmissionCompleteIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ETHDKGInitialized added in v0.0.2

type ETHDKGInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

ETHDKGInitialized represents a Initialized event raised by the ETHDKG contract.

type ETHDKGInitializedIterator added in v0.0.2

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

ETHDKGInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the ETHDKG contract.

func (*ETHDKGInitializedIterator) Close added in v0.0.2

func (it *ETHDKGInitializedIterator) Close() error

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

func (*ETHDKGInitializedIterator) Error added in v0.0.2

func (it *ETHDKGInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ETHDKGInitializedIterator) Next added in v0.0.2

func (it *ETHDKGInitializedIterator) 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 ETHDKGKeyShareSubmissionComplete

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

ETHDKGKeyShareSubmissionComplete represents a KeyShareSubmissionComplete event raised by the ETHDKG contract.

type ETHDKGKeyShareSubmissionCompleteIterator

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

ETHDKGKeyShareSubmissionCompleteIterator is returned from FilterKeyShareSubmissionComplete and is used to iterate over the raw logs and unpacked data for KeyShareSubmissionComplete events raised by the ETHDKG contract.

func (*ETHDKGKeyShareSubmissionCompleteIterator) Close

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

func (*ETHDKGKeyShareSubmissionCompleteIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ETHDKGKeyShareSubmissionCompleteIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ETHDKGKeyShareSubmitted

type ETHDKGKeyShareSubmitted struct {
	Account                    common.Address
	Index                      *big.Int
	Nonce                      *big.Int
	KeyShareG1                 [2]*big.Int
	KeyShareG1CorrectnessProof [2]*big.Int
	KeyShareG2                 [4]*big.Int
	Raw                        types.Log // Blockchain specific contextual infos
}

ETHDKGKeyShareSubmitted represents a KeyShareSubmitted event raised by the ETHDKG contract.

type ETHDKGKeyShareSubmittedIterator

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

ETHDKGKeyShareSubmittedIterator is returned from FilterKeyShareSubmitted and is used to iterate over the raw logs and unpacked data for KeyShareSubmitted events raised by the ETHDKG contract.

func (*ETHDKGKeyShareSubmittedIterator) Close

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

func (*ETHDKGKeyShareSubmittedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ETHDKGKeyShareSubmittedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ETHDKGMPKSet

type ETHDKGMPKSet struct {
	BlockNumber *big.Int
	Nonce       *big.Int
	Mpk         [4]*big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

ETHDKGMPKSet represents a MPKSet event raised by the ETHDKG contract.

type ETHDKGMPKSetIterator

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

ETHDKGMPKSetIterator is returned from FilterMPKSet and is used to iterate over the raw logs and unpacked data for MPKSet events raised by the ETHDKG contract.

func (*ETHDKGMPKSetIterator) Close

func (it *ETHDKGMPKSetIterator) Close() error

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

func (*ETHDKGMPKSetIterator) Error

func (it *ETHDKGMPKSetIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ETHDKGMPKSetIterator) Next

func (it *ETHDKGMPKSetIterator) 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 ETHDKGRaw

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

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

func (*ETHDKGRaw) Call

func (_ETHDKG *ETHDKGRaw) 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 (*ETHDKGRaw) Transact

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

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

func (*ETHDKGRaw) Transfer

func (_ETHDKG *ETHDKGRaw) 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 ETHDKGRegistrationComplete

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

ETHDKGRegistrationComplete represents a RegistrationComplete event raised by the ETHDKG contract.

type ETHDKGRegistrationCompleteIterator

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

ETHDKGRegistrationCompleteIterator is returned from FilterRegistrationComplete and is used to iterate over the raw logs and unpacked data for RegistrationComplete events raised by the ETHDKG contract.

func (*ETHDKGRegistrationCompleteIterator) Close

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

func (*ETHDKGRegistrationCompleteIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ETHDKGRegistrationCompleteIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ETHDKGRegistrationOpened

type ETHDKGRegistrationOpened struct {
	StartBlock         *big.Int
	NumberValidators   *big.Int
	Nonce              *big.Int
	PhaseLength        *big.Int
	ConfirmationLength *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

ETHDKGRegistrationOpened represents a RegistrationOpened event raised by the ETHDKG contract.

type ETHDKGRegistrationOpenedIterator

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

ETHDKGRegistrationOpenedIterator is returned from FilterRegistrationOpened and is used to iterate over the raw logs and unpacked data for RegistrationOpened events raised by the ETHDKG contract.

func (*ETHDKGRegistrationOpenedIterator) Close

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

func (*ETHDKGRegistrationOpenedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ETHDKGRegistrationOpenedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ETHDKGSession

type ETHDKGSession struct {
	Contract     *ETHDKG           // 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
}

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

func (*ETHDKGSession) AccuseParticipantDidNotDistributeShares

func (_ETHDKG *ETHDKGSession) AccuseParticipantDidNotDistributeShares(dishonestAddresses []common.Address) (*types.Transaction, error)

AccuseParticipantDidNotDistributeShares is a paid mutator transaction binding the contract method 0xdae681bc.

Solidity: function accuseParticipantDidNotDistributeShares(address[] dishonestAddresses) returns()

func (*ETHDKGSession) AccuseParticipantDidNotSubmitGPKJ

func (_ETHDKG *ETHDKGSession) AccuseParticipantDidNotSubmitGPKJ(dishonestAddresses []common.Address) (*types.Transaction, error)

AccuseParticipantDidNotSubmitGPKJ is a paid mutator transaction binding the contract method 0x7df24ee9.

Solidity: function accuseParticipantDidNotSubmitGPKJ(address[] dishonestAddresses) returns()

func (*ETHDKGSession) AccuseParticipantDidNotSubmitKeyShares

func (_ETHDKG *ETHDKGSession) AccuseParticipantDidNotSubmitKeyShares(dishonestAddresses []common.Address) (*types.Transaction, error)

AccuseParticipantDidNotSubmitKeyShares is a paid mutator transaction binding the contract method 0x043a6f12.

Solidity: function accuseParticipantDidNotSubmitKeyShares(address[] dishonestAddresses) returns()

func (*ETHDKGSession) AccuseParticipantDistributedBadShares

func (_ETHDKG *ETHDKGSession) AccuseParticipantDistributedBadShares(dishonestAddress common.Address, encryptedShares []*big.Int, commitments [][2]*big.Int, sharedKey [2]*big.Int, sharedKeyCorrectnessProof [2]*big.Int) (*types.Transaction, error)

AccuseParticipantDistributedBadShares is a paid mutator transaction binding the contract method 0xedbe7bf7.

Solidity: function accuseParticipantDistributedBadShares(address dishonestAddress, uint256[] encryptedShares, uint256[2][] commitments, uint256[2] sharedKey, uint256[2] sharedKeyCorrectnessProof) returns()

func (*ETHDKGSession) AccuseParticipantNotRegistered

func (_ETHDKG *ETHDKGSession) AccuseParticipantNotRegistered(dishonestAddresses []common.Address) (*types.Transaction, error)

AccuseParticipantNotRegistered is a paid mutator transaction binding the contract method 0xf72c45b6.

Solidity: function accuseParticipantNotRegistered(address[] dishonestAddresses) returns()

func (*ETHDKGSession) AccuseParticipantSubmittedBadGPKJ

func (_ETHDKG *ETHDKGSession) AccuseParticipantSubmittedBadGPKJ(validators []common.Address, encryptedSharesHash [][32]byte, commitments [][][2]*big.Int, dishonestAddress common.Address) (*types.Transaction, error)

AccuseParticipantSubmittedBadGPKJ is a paid mutator transaction binding the contract method 0x80001264.

Solidity: function accuseParticipantSubmittedBadGPKJ(address[] validators, bytes32[] encryptedSharesHash, uint256[2][][] commitments, address dishonestAddress) returns()

func (*ETHDKGSession) Complete

func (_ETHDKG *ETHDKGSession) Complete() (*types.Transaction, error)

Complete is a paid mutator transaction binding the contract method 0x522e1177.

Solidity: function complete() returns()

func (*ETHDKGSession) DistributeShares

func (_ETHDKG *ETHDKGSession) DistributeShares(encryptedShares []*big.Int, commitments [][2]*big.Int) (*types.Transaction, error)

DistributeShares is a paid mutator transaction binding the contract method 0x80b97e01.

Solidity: function distributeShares(uint256[] encryptedShares, uint256[2][] commitments) returns()

func (*ETHDKGSession) GetBadParticipants

func (_ETHDKG *ETHDKGSession) GetBadParticipants() (*big.Int, error)

GetBadParticipants is a free data retrieval call binding the contract method 0x32d4d570.

Solidity: function getBadParticipants() view returns(uint256)

func (*ETHDKGSession) GetConfirmationLength

func (_ETHDKG *ETHDKGSession) GetConfirmationLength() (*big.Int, error)

GetConfirmationLength is a free data retrieval call binding the contract method 0x8c848d32.

Solidity: function getConfirmationLength() view returns(uint256)

func (*ETHDKGSession) GetETHDKGPhase

func (_ETHDKG *ETHDKGSession) GetETHDKGPhase() (uint8, error)

GetETHDKGPhase is a free data retrieval call binding the contract method 0x2958e81c.

Solidity: function getETHDKGPhase() view returns(uint8)

func (*ETHDKGSession) GetLastRoundParticipantIndex added in v0.0.5

func (_ETHDKG *ETHDKGSession) GetLastRoundParticipantIndex(participant common.Address) (*big.Int, error)

GetLastRoundParticipantIndex is a free data retrieval call binding the contract method 0x775694e1.

Solidity: function getLastRoundParticipantIndex(address participant) view returns(uint256)

func (*ETHDKGSession) GetMasterPublicKey

func (_ETHDKG *ETHDKGSession) GetMasterPublicKey() ([4]*big.Int, error)

GetMasterPublicKey is a free data retrieval call binding the contract method 0xe146372a.

Solidity: function getMasterPublicKey() view returns(uint256[4])

func (*ETHDKGSession) GetMasterPublicKeyHash

func (_ETHDKG *ETHDKGSession) GetMasterPublicKeyHash() ([32]byte, error)

GetMasterPublicKeyHash is a free data retrieval call binding the contract method 0x1c67d576.

Solidity: function getMasterPublicKeyHash() view returns(bytes32)

func (*ETHDKGSession) GetMetamorphicContractAddress

func (_ETHDKG *ETHDKGSession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*ETHDKGSession) GetMinValidators

func (_ETHDKG *ETHDKGSession) GetMinValidators() (*big.Int, error)

GetMinValidators is a free data retrieval call binding the contract method 0xecbadb36.

Solidity: function getMinValidators() pure returns(uint256)

func (*ETHDKGSession) GetNonce

func (_ETHDKG *ETHDKGSession) GetNonce() (*big.Int, error)

GetNonce is a free data retrieval call binding the contract method 0xd087d288.

Solidity: function getNonce() view returns(uint256)

func (*ETHDKGSession) GetNumParticipants

func (_ETHDKG *ETHDKGSession) GetNumParticipants() (*big.Int, error)

GetNumParticipants is a free data retrieval call binding the contract method 0xfd478ca9.

Solidity: function getNumParticipants() view returns(uint256)

func (*ETHDKGSession) GetParticipantInternalState

func (_ETHDKG *ETHDKGSession) GetParticipantInternalState(participant common.Address) (Participant, error)

GetParticipantInternalState is a free data retrieval call binding the contract method 0xbf7786b6.

Solidity: function getParticipantInternalState(address participant) view returns((uint256[2],uint64,uint64,uint8,bytes32,uint256[2],uint256[2],uint256[4]))

func (*ETHDKGSession) GetParticipantsInternalState

func (_ETHDKG *ETHDKGSession) GetParticipantsInternalState(participantAddresses []common.Address) ([]Participant, error)

GetParticipantsInternalState is a free data retrieval call binding the contract method 0xc016baee.

Solidity: function getParticipantsInternalState(address[] participantAddresses) view returns((uint256[2],uint64,uint64,uint8,bytes32,uint256[2],uint256[2],uint256[4])[])

func (*ETHDKGSession) GetPhaseLength

func (_ETHDKG *ETHDKGSession) GetPhaseLength() (*big.Int, error)

GetPhaseLength is a free data retrieval call binding the contract method 0x106da57d.

Solidity: function getPhaseLength() view returns(uint256)

func (*ETHDKGSession) GetPhaseStartBlock

func (_ETHDKG *ETHDKGSession) GetPhaseStartBlock() (*big.Int, error)

GetPhaseStartBlock is a free data retrieval call binding the contract method 0xa2bc9c78.

Solidity: function getPhaseStartBlock() view returns(uint256)

func (*ETHDKGSession) Initialize

func (_ETHDKG *ETHDKGSession) Initialize(phaseLength_ *big.Int, confirmationLength_ *big.Int) (*types.Transaction, error)

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

Solidity: function initialize(uint256 phaseLength_, uint256 confirmationLength_) returns()

func (*ETHDKGSession) InitializeETHDKG

func (_ETHDKG *ETHDKGSession) InitializeETHDKG() (*types.Transaction, error)

InitializeETHDKG is a paid mutator transaction binding the contract method 0x57b51c9c.

Solidity: function initializeETHDKG() returns()

func (*ETHDKGSession) IsETHDKGCompleted

func (_ETHDKG *ETHDKGSession) IsETHDKGCompleted() (bool, error)

IsETHDKGCompleted is a free data retrieval call binding the contract method 0x2b7c6724.

Solidity: function isETHDKGCompleted() view returns(bool)

func (*ETHDKGSession) IsETHDKGHalted

func (_ETHDKG *ETHDKGSession) IsETHDKGHalted() (bool, error)

IsETHDKGHalted is a free data retrieval call binding the contract method 0x43ced534.

Solidity: function isETHDKGHalted() view returns(bool)

func (*ETHDKGSession) IsETHDKGRunning

func (_ETHDKG *ETHDKGSession) IsETHDKGRunning() (bool, error)

IsETHDKGRunning is a free data retrieval call binding the contract method 0x747b217c.

Solidity: function isETHDKGRunning() view returns(bool)

func (*ETHDKGSession) IsMasterPublicKeySet

func (_ETHDKG *ETHDKGSession) IsMasterPublicKeySet() (bool, error)

IsMasterPublicKeySet is a free data retrieval call binding the contract method 0x08efcf16.

Solidity: function isMasterPublicKeySet() view returns(bool)

func (*ETHDKGSession) IsValidMasterPublicKey added in v0.0.8

func (_ETHDKG *ETHDKGSession) IsValidMasterPublicKey(masterPublicKeyHash [32]byte) (bool, error)

IsValidMasterPublicKey is a free data retrieval call binding the contract method 0x9bb16742.

Solidity: function isValidMasterPublicKey(bytes32 masterPublicKeyHash) view returns(bool)

func (*ETHDKGSession) MigrateValidators

func (_ETHDKG *ETHDKGSession) MigrateValidators(validatorsAccounts_ []common.Address, validatorIndexes_ []*big.Int, validatorShares_ [][4]*big.Int, validatorCount_ uint8, epoch_ *big.Int, sideChainHeight_ *big.Int, ethHeight_ *big.Int, masterPublicKey_ [4]*big.Int) (*types.Transaction, error)

MigrateValidators is a paid mutator transaction binding the contract method 0x4890465a.

Solidity: function migrateValidators(address[] validatorsAccounts_, uint256[] validatorIndexes_, uint256[4][] validatorShares_, uint8 validatorCount_, uint256 epoch_, uint256 sideChainHeight_, uint256 ethHeight_, uint256[4] masterPublicKey_) returns()

func (*ETHDKGSession) Register

func (_ETHDKG *ETHDKGSession) Register(publicKey [2]*big.Int) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0x3442af5c.

Solidity: function register(uint256[2] publicKey) returns()

func (*ETHDKGSession) SetConfirmationLength

func (_ETHDKG *ETHDKGSession) SetConfirmationLength(confirmationLength_ uint16) (*types.Transaction, error)

SetConfirmationLength is a paid mutator transaction binding the contract method 0xff3e5e45.

Solidity: function setConfirmationLength(uint16 confirmationLength_) returns()

func (*ETHDKGSession) SetCustomAliceNetHeight

func (_ETHDKG *ETHDKGSession) SetCustomAliceNetHeight(aliceNetHeight *big.Int) (*types.Transaction, error)

SetCustomAliceNetHeight is a paid mutator transaction binding the contract method 0xdf8d157b.

Solidity: function setCustomAliceNetHeight(uint256 aliceNetHeight) returns()

func (*ETHDKGSession) SetPhaseLength

func (_ETHDKG *ETHDKGSession) SetPhaseLength(phaseLength_ uint16) (*types.Transaction, error)

SetPhaseLength is a paid mutator transaction binding the contract method 0x8a3c24cc.

Solidity: function setPhaseLength(uint16 phaseLength_) returns()

func (*ETHDKGSession) SubmitGPKJ

func (_ETHDKG *ETHDKGSession) SubmitGPKJ(gpkj [4]*big.Int) (*types.Transaction, error)

SubmitGPKJ is a paid mutator transaction binding the contract method 0x101f49c1.

Solidity: function submitGPKJ(uint256[4] gpkj) returns()

func (*ETHDKGSession) SubmitKeyShare

func (_ETHDKG *ETHDKGSession) SubmitKeyShare(keyShareG1 [2]*big.Int, keyShareG1CorrectnessProof [2]*big.Int, keyShareG2 [4]*big.Int) (*types.Transaction, error)

SubmitKeyShare is a paid mutator transaction binding the contract method 0x62a6523e.

Solidity: function submitKeyShare(uint256[2] keyShareG1, uint256[2] keyShareG1CorrectnessProof, uint256[4] keyShareG2) returns()

func (*ETHDKGSession) SubmitMasterPublicKey

func (_ETHDKG *ETHDKGSession) SubmitMasterPublicKey(masterPublicKey_ [4]*big.Int) (*types.Transaction, error)

SubmitMasterPublicKey is a paid mutator transaction binding the contract method 0xe8323224.

Solidity: function submitMasterPublicKey(uint256[4] masterPublicKey_) returns()

type ETHDKGShareDistributionComplete

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

ETHDKGShareDistributionComplete represents a ShareDistributionComplete event raised by the ETHDKG contract.

type ETHDKGShareDistributionCompleteIterator

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

ETHDKGShareDistributionCompleteIterator is returned from FilterShareDistributionComplete and is used to iterate over the raw logs and unpacked data for ShareDistributionComplete events raised by the ETHDKG contract.

func (*ETHDKGShareDistributionCompleteIterator) Close

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

func (*ETHDKGShareDistributionCompleteIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ETHDKGShareDistributionCompleteIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ETHDKGSharesDistributed

type ETHDKGSharesDistributed struct {
	Account         common.Address
	Index           *big.Int
	Nonce           *big.Int
	EncryptedShares []*big.Int
	Commitments     [][2]*big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

ETHDKGSharesDistributed represents a SharesDistributed event raised by the ETHDKG contract.

type ETHDKGSharesDistributedIterator

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

ETHDKGSharesDistributedIterator is returned from FilterSharesDistributed and is used to iterate over the raw logs and unpacked data for SharesDistributed events raised by the ETHDKG contract.

func (*ETHDKGSharesDistributedIterator) Close

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

func (*ETHDKGSharesDistributedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ETHDKGSharesDistributedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ETHDKGTransactor

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

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

func NewETHDKGTransactor

func NewETHDKGTransactor(address common.Address, transactor bind.ContractTransactor) (*ETHDKGTransactor, error)

NewETHDKGTransactor creates a new write-only instance of ETHDKG, bound to a specific deployed contract.

func (*ETHDKGTransactor) AccuseParticipantDidNotDistributeShares

func (_ETHDKG *ETHDKGTransactor) AccuseParticipantDidNotDistributeShares(opts *bind.TransactOpts, dishonestAddresses []common.Address) (*types.Transaction, error)

AccuseParticipantDidNotDistributeShares is a paid mutator transaction binding the contract method 0xdae681bc.

Solidity: function accuseParticipantDidNotDistributeShares(address[] dishonestAddresses) returns()

func (*ETHDKGTransactor) AccuseParticipantDidNotSubmitGPKJ

func (_ETHDKG *ETHDKGTransactor) AccuseParticipantDidNotSubmitGPKJ(opts *bind.TransactOpts, dishonestAddresses []common.Address) (*types.Transaction, error)

AccuseParticipantDidNotSubmitGPKJ is a paid mutator transaction binding the contract method 0x7df24ee9.

Solidity: function accuseParticipantDidNotSubmitGPKJ(address[] dishonestAddresses) returns()

func (*ETHDKGTransactor) AccuseParticipantDidNotSubmitKeyShares

func (_ETHDKG *ETHDKGTransactor) AccuseParticipantDidNotSubmitKeyShares(opts *bind.TransactOpts, dishonestAddresses []common.Address) (*types.Transaction, error)

AccuseParticipantDidNotSubmitKeyShares is a paid mutator transaction binding the contract method 0x043a6f12.

Solidity: function accuseParticipantDidNotSubmitKeyShares(address[] dishonestAddresses) returns()

func (*ETHDKGTransactor) AccuseParticipantDistributedBadShares

func (_ETHDKG *ETHDKGTransactor) AccuseParticipantDistributedBadShares(opts *bind.TransactOpts, dishonestAddress common.Address, encryptedShares []*big.Int, commitments [][2]*big.Int, sharedKey [2]*big.Int, sharedKeyCorrectnessProof [2]*big.Int) (*types.Transaction, error)

AccuseParticipantDistributedBadShares is a paid mutator transaction binding the contract method 0xedbe7bf7.

Solidity: function accuseParticipantDistributedBadShares(address dishonestAddress, uint256[] encryptedShares, uint256[2][] commitments, uint256[2] sharedKey, uint256[2] sharedKeyCorrectnessProof) returns()

func (*ETHDKGTransactor) AccuseParticipantNotRegistered

func (_ETHDKG *ETHDKGTransactor) AccuseParticipantNotRegistered(opts *bind.TransactOpts, dishonestAddresses []common.Address) (*types.Transaction, error)

AccuseParticipantNotRegistered is a paid mutator transaction binding the contract method 0xf72c45b6.

Solidity: function accuseParticipantNotRegistered(address[] dishonestAddresses) returns()

func (*ETHDKGTransactor) AccuseParticipantSubmittedBadGPKJ

func (_ETHDKG *ETHDKGTransactor) AccuseParticipantSubmittedBadGPKJ(opts *bind.TransactOpts, validators []common.Address, encryptedSharesHash [][32]byte, commitments [][][2]*big.Int, dishonestAddress common.Address) (*types.Transaction, error)

AccuseParticipantSubmittedBadGPKJ is a paid mutator transaction binding the contract method 0x80001264.

Solidity: function accuseParticipantSubmittedBadGPKJ(address[] validators, bytes32[] encryptedSharesHash, uint256[2][][] commitments, address dishonestAddress) returns()

func (*ETHDKGTransactor) Complete

func (_ETHDKG *ETHDKGTransactor) Complete(opts *bind.TransactOpts) (*types.Transaction, error)

Complete is a paid mutator transaction binding the contract method 0x522e1177.

Solidity: function complete() returns()

func (*ETHDKGTransactor) DistributeShares

func (_ETHDKG *ETHDKGTransactor) DistributeShares(opts *bind.TransactOpts, encryptedShares []*big.Int, commitments [][2]*big.Int) (*types.Transaction, error)

DistributeShares is a paid mutator transaction binding the contract method 0x80b97e01.

Solidity: function distributeShares(uint256[] encryptedShares, uint256[2][] commitments) returns()

func (*ETHDKGTransactor) Initialize

func (_ETHDKG *ETHDKGTransactor) Initialize(opts *bind.TransactOpts, phaseLength_ *big.Int, confirmationLength_ *big.Int) (*types.Transaction, error)

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

Solidity: function initialize(uint256 phaseLength_, uint256 confirmationLength_) returns()

func (*ETHDKGTransactor) InitializeETHDKG

func (_ETHDKG *ETHDKGTransactor) InitializeETHDKG(opts *bind.TransactOpts) (*types.Transaction, error)

InitializeETHDKG is a paid mutator transaction binding the contract method 0x57b51c9c.

Solidity: function initializeETHDKG() returns()

func (*ETHDKGTransactor) MigrateValidators

func (_ETHDKG *ETHDKGTransactor) MigrateValidators(opts *bind.TransactOpts, validatorsAccounts_ []common.Address, validatorIndexes_ []*big.Int, validatorShares_ [][4]*big.Int, validatorCount_ uint8, epoch_ *big.Int, sideChainHeight_ *big.Int, ethHeight_ *big.Int, masterPublicKey_ [4]*big.Int) (*types.Transaction, error)

MigrateValidators is a paid mutator transaction binding the contract method 0x4890465a.

Solidity: function migrateValidators(address[] validatorsAccounts_, uint256[] validatorIndexes_, uint256[4][] validatorShares_, uint8 validatorCount_, uint256 epoch_, uint256 sideChainHeight_, uint256 ethHeight_, uint256[4] masterPublicKey_) returns()

func (*ETHDKGTransactor) Register

func (_ETHDKG *ETHDKGTransactor) Register(opts *bind.TransactOpts, publicKey [2]*big.Int) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0x3442af5c.

Solidity: function register(uint256[2] publicKey) returns()

func (*ETHDKGTransactor) SetConfirmationLength

func (_ETHDKG *ETHDKGTransactor) SetConfirmationLength(opts *bind.TransactOpts, confirmationLength_ uint16) (*types.Transaction, error)

SetConfirmationLength is a paid mutator transaction binding the contract method 0xff3e5e45.

Solidity: function setConfirmationLength(uint16 confirmationLength_) returns()

func (*ETHDKGTransactor) SetCustomAliceNetHeight

func (_ETHDKG *ETHDKGTransactor) SetCustomAliceNetHeight(opts *bind.TransactOpts, aliceNetHeight *big.Int) (*types.Transaction, error)

SetCustomAliceNetHeight is a paid mutator transaction binding the contract method 0xdf8d157b.

Solidity: function setCustomAliceNetHeight(uint256 aliceNetHeight) returns()

func (*ETHDKGTransactor) SetPhaseLength

func (_ETHDKG *ETHDKGTransactor) SetPhaseLength(opts *bind.TransactOpts, phaseLength_ uint16) (*types.Transaction, error)

SetPhaseLength is a paid mutator transaction binding the contract method 0x8a3c24cc.

Solidity: function setPhaseLength(uint16 phaseLength_) returns()

func (*ETHDKGTransactor) SubmitGPKJ

func (_ETHDKG *ETHDKGTransactor) SubmitGPKJ(opts *bind.TransactOpts, gpkj [4]*big.Int) (*types.Transaction, error)

SubmitGPKJ is a paid mutator transaction binding the contract method 0x101f49c1.

Solidity: function submitGPKJ(uint256[4] gpkj) returns()

func (*ETHDKGTransactor) SubmitKeyShare

func (_ETHDKG *ETHDKGTransactor) SubmitKeyShare(opts *bind.TransactOpts, keyShareG1 [2]*big.Int, keyShareG1CorrectnessProof [2]*big.Int, keyShareG2 [4]*big.Int) (*types.Transaction, error)

SubmitKeyShare is a paid mutator transaction binding the contract method 0x62a6523e.

Solidity: function submitKeyShare(uint256[2] keyShareG1, uint256[2] keyShareG1CorrectnessProof, uint256[4] keyShareG2) returns()

func (*ETHDKGTransactor) SubmitMasterPublicKey

func (_ETHDKG *ETHDKGTransactor) SubmitMasterPublicKey(opts *bind.TransactOpts, masterPublicKey_ [4]*big.Int) (*types.Transaction, error)

SubmitMasterPublicKey is a paid mutator transaction binding the contract method 0xe8323224.

Solidity: function submitMasterPublicKey(uint256[4] masterPublicKey_) returns()

type ETHDKGTransactorRaw

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

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

func (*ETHDKGTransactorRaw) Transact

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

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

func (*ETHDKGTransactorRaw) Transfer

func (_ETHDKG *ETHDKGTransactorRaw) 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 ETHDKGTransactorSession

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

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

func (*ETHDKGTransactorSession) AccuseParticipantDidNotDistributeShares

func (_ETHDKG *ETHDKGTransactorSession) AccuseParticipantDidNotDistributeShares(dishonestAddresses []common.Address) (*types.Transaction, error)

AccuseParticipantDidNotDistributeShares is a paid mutator transaction binding the contract method 0xdae681bc.

Solidity: function accuseParticipantDidNotDistributeShares(address[] dishonestAddresses) returns()

func (*ETHDKGTransactorSession) AccuseParticipantDidNotSubmitGPKJ

func (_ETHDKG *ETHDKGTransactorSession) AccuseParticipantDidNotSubmitGPKJ(dishonestAddresses []common.Address) (*types.Transaction, error)

AccuseParticipantDidNotSubmitGPKJ is a paid mutator transaction binding the contract method 0x7df24ee9.

Solidity: function accuseParticipantDidNotSubmitGPKJ(address[] dishonestAddresses) returns()

func (*ETHDKGTransactorSession) AccuseParticipantDidNotSubmitKeyShares

func (_ETHDKG *ETHDKGTransactorSession) AccuseParticipantDidNotSubmitKeyShares(dishonestAddresses []common.Address) (*types.Transaction, error)

AccuseParticipantDidNotSubmitKeyShares is a paid mutator transaction binding the contract method 0x043a6f12.

Solidity: function accuseParticipantDidNotSubmitKeyShares(address[] dishonestAddresses) returns()

func (*ETHDKGTransactorSession) AccuseParticipantDistributedBadShares

func (_ETHDKG *ETHDKGTransactorSession) AccuseParticipantDistributedBadShares(dishonestAddress common.Address, encryptedShares []*big.Int, commitments [][2]*big.Int, sharedKey [2]*big.Int, sharedKeyCorrectnessProof [2]*big.Int) (*types.Transaction, error)

AccuseParticipantDistributedBadShares is a paid mutator transaction binding the contract method 0xedbe7bf7.

Solidity: function accuseParticipantDistributedBadShares(address dishonestAddress, uint256[] encryptedShares, uint256[2][] commitments, uint256[2] sharedKey, uint256[2] sharedKeyCorrectnessProof) returns()

func (*ETHDKGTransactorSession) AccuseParticipantNotRegistered

func (_ETHDKG *ETHDKGTransactorSession) AccuseParticipantNotRegistered(dishonestAddresses []common.Address) (*types.Transaction, error)

AccuseParticipantNotRegistered is a paid mutator transaction binding the contract method 0xf72c45b6.

Solidity: function accuseParticipantNotRegistered(address[] dishonestAddresses) returns()

func (*ETHDKGTransactorSession) AccuseParticipantSubmittedBadGPKJ

func (_ETHDKG *ETHDKGTransactorSession) AccuseParticipantSubmittedBadGPKJ(validators []common.Address, encryptedSharesHash [][32]byte, commitments [][][2]*big.Int, dishonestAddress common.Address) (*types.Transaction, error)

AccuseParticipantSubmittedBadGPKJ is a paid mutator transaction binding the contract method 0x80001264.

Solidity: function accuseParticipantSubmittedBadGPKJ(address[] validators, bytes32[] encryptedSharesHash, uint256[2][][] commitments, address dishonestAddress) returns()

func (*ETHDKGTransactorSession) Complete

func (_ETHDKG *ETHDKGTransactorSession) Complete() (*types.Transaction, error)

Complete is a paid mutator transaction binding the contract method 0x522e1177.

Solidity: function complete() returns()

func (*ETHDKGTransactorSession) DistributeShares

func (_ETHDKG *ETHDKGTransactorSession) DistributeShares(encryptedShares []*big.Int, commitments [][2]*big.Int) (*types.Transaction, error)

DistributeShares is a paid mutator transaction binding the contract method 0x80b97e01.

Solidity: function distributeShares(uint256[] encryptedShares, uint256[2][] commitments) returns()

func (*ETHDKGTransactorSession) Initialize

func (_ETHDKG *ETHDKGTransactorSession) Initialize(phaseLength_ *big.Int, confirmationLength_ *big.Int) (*types.Transaction, error)

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

Solidity: function initialize(uint256 phaseLength_, uint256 confirmationLength_) returns()

func (*ETHDKGTransactorSession) InitializeETHDKG

func (_ETHDKG *ETHDKGTransactorSession) InitializeETHDKG() (*types.Transaction, error)

InitializeETHDKG is a paid mutator transaction binding the contract method 0x57b51c9c.

Solidity: function initializeETHDKG() returns()

func (*ETHDKGTransactorSession) MigrateValidators

func (_ETHDKG *ETHDKGTransactorSession) MigrateValidators(validatorsAccounts_ []common.Address, validatorIndexes_ []*big.Int, validatorShares_ [][4]*big.Int, validatorCount_ uint8, epoch_ *big.Int, sideChainHeight_ *big.Int, ethHeight_ *big.Int, masterPublicKey_ [4]*big.Int) (*types.Transaction, error)

MigrateValidators is a paid mutator transaction binding the contract method 0x4890465a.

Solidity: function migrateValidators(address[] validatorsAccounts_, uint256[] validatorIndexes_, uint256[4][] validatorShares_, uint8 validatorCount_, uint256 epoch_, uint256 sideChainHeight_, uint256 ethHeight_, uint256[4] masterPublicKey_) returns()

func (*ETHDKGTransactorSession) Register

func (_ETHDKG *ETHDKGTransactorSession) Register(publicKey [2]*big.Int) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0x3442af5c.

Solidity: function register(uint256[2] publicKey) returns()

func (*ETHDKGTransactorSession) SetConfirmationLength

func (_ETHDKG *ETHDKGTransactorSession) SetConfirmationLength(confirmationLength_ uint16) (*types.Transaction, error)

SetConfirmationLength is a paid mutator transaction binding the contract method 0xff3e5e45.

Solidity: function setConfirmationLength(uint16 confirmationLength_) returns()

func (*ETHDKGTransactorSession) SetCustomAliceNetHeight

func (_ETHDKG *ETHDKGTransactorSession) SetCustomAliceNetHeight(aliceNetHeight *big.Int) (*types.Transaction, error)

SetCustomAliceNetHeight is a paid mutator transaction binding the contract method 0xdf8d157b.

Solidity: function setCustomAliceNetHeight(uint256 aliceNetHeight) returns()

func (*ETHDKGTransactorSession) SetPhaseLength

func (_ETHDKG *ETHDKGTransactorSession) SetPhaseLength(phaseLength_ uint16) (*types.Transaction, error)

SetPhaseLength is a paid mutator transaction binding the contract method 0x8a3c24cc.

Solidity: function setPhaseLength(uint16 phaseLength_) returns()

func (*ETHDKGTransactorSession) SubmitGPKJ

func (_ETHDKG *ETHDKGTransactorSession) SubmitGPKJ(gpkj [4]*big.Int) (*types.Transaction, error)

SubmitGPKJ is a paid mutator transaction binding the contract method 0x101f49c1.

Solidity: function submitGPKJ(uint256[4] gpkj) returns()

func (*ETHDKGTransactorSession) SubmitKeyShare

func (_ETHDKG *ETHDKGTransactorSession) SubmitKeyShare(keyShareG1 [2]*big.Int, keyShareG1CorrectnessProof [2]*big.Int, keyShareG2 [4]*big.Int) (*types.Transaction, error)

SubmitKeyShare is a paid mutator transaction binding the contract method 0x62a6523e.

Solidity: function submitKeyShare(uint256[2] keyShareG1, uint256[2] keyShareG1CorrectnessProof, uint256[4] keyShareG2) returns()

func (*ETHDKGTransactorSession) SubmitMasterPublicKey

func (_ETHDKG *ETHDKGTransactorSession) SubmitMasterPublicKey(masterPublicKey_ [4]*big.Int) (*types.Transaction, error)

SubmitMasterPublicKey is a paid mutator transaction binding the contract method 0xe8323224.

Solidity: function submitMasterPublicKey(uint256[4] masterPublicKey_) returns()

type ETHDKGValidatorMemberAdded

type ETHDKGValidatorMemberAdded struct {
	Account common.Address
	Index   *big.Int
	Nonce   *big.Int
	Epoch   *big.Int
	Share0  *big.Int
	Share1  *big.Int
	Share2  *big.Int
	Share3  *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ETHDKGValidatorMemberAdded represents a ValidatorMemberAdded event raised by the ETHDKG contract.

type ETHDKGValidatorMemberAddedIterator

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

ETHDKGValidatorMemberAddedIterator is returned from FilterValidatorMemberAdded and is used to iterate over the raw logs and unpacked data for ValidatorMemberAdded events raised by the ETHDKG contract.

func (*ETHDKGValidatorMemberAddedIterator) Close

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

func (*ETHDKGValidatorMemberAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ETHDKGValidatorMemberAddedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ETHDKGValidatorSetCompleted

type ETHDKGValidatorSetCompleted struct {
	ValidatorCount *big.Int
	Nonce          *big.Int
	Epoch          *big.Int
	EthHeight      *big.Int
	AliceNetHeight *big.Int
	GroupKey0      *big.Int
	GroupKey1      *big.Int
	GroupKey2      *big.Int
	GroupKey3      *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

ETHDKGValidatorSetCompleted represents a ValidatorSetCompleted event raised by the ETHDKG contract.

type ETHDKGValidatorSetCompletedIterator

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

ETHDKGValidatorSetCompletedIterator is returned from FilterValidatorSetCompleted and is used to iterate over the raw logs and unpacked data for ValidatorSetCompleted events raised by the ETHDKG contract.

func (*ETHDKGValidatorSetCompletedIterator) Close

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

func (*ETHDKGValidatorSetCompletedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ETHDKGValidatorSetCompletedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type Governance

type Governance struct {
	GovernanceCaller     // Read-only binding to the contract
	GovernanceTransactor // Write-only binding to the contract
	GovernanceFilterer   // Log filterer for contract events
}

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

func NewGovernance

func NewGovernance(address common.Address, backend bind.ContractBackend) (*Governance, error)

NewGovernance creates a new instance of Governance, bound to a specific deployed contract.

type GovernanceCaller

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

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

func NewGovernanceCaller

func NewGovernanceCaller(address common.Address, caller bind.ContractCaller) (*GovernanceCaller, error)

NewGovernanceCaller creates a new read-only instance of Governance, bound to a specific deployed contract.

type GovernanceCallerRaw

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

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

func (*GovernanceCallerRaw) Call

func (_Governance *GovernanceCallerRaw) 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 GovernanceCallerSession

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

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

type GovernanceFilterer

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

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

func NewGovernanceFilterer

func NewGovernanceFilterer(address common.Address, filterer bind.ContractFilterer) (*GovernanceFilterer, error)

NewGovernanceFilterer creates a new log filterer instance of Governance, bound to a specific deployed contract.

func (*GovernanceFilterer) FilterSnapshotTaken added in v0.0.5

func (_Governance *GovernanceFilterer) FilterSnapshotTaken(opts *bind.FilterOpts, epoch []*big.Int, validator []common.Address) (*GovernanceSnapshotTakenIterator, error)

FilterSnapshotTaken is a free log retrieval operation binding the contract event 0x24b0dff7469a7007db81d741ef90d7966936fb78bc19d667f4575ecbf56ab350.

Solidity: event SnapshotTaken(uint256 chainId, uint256 indexed epoch, uint256 height, address indexed validator, bool isSafeToProceedConsensus, bytes signatureRaw)

func (*GovernanceFilterer) FilterValueUpdated

func (_Governance *GovernanceFilterer) FilterValueUpdated(opts *bind.FilterOpts, epoch []*big.Int, key []*big.Int, value [][32]byte) (*GovernanceValueUpdatedIterator, error)

FilterValueUpdated is a free log retrieval operation binding the contract event 0x36dcd0e03525dedd9d5c21a263ef5f35d030298b5c48f1a713006aefc064ad05.

Solidity: event ValueUpdated(uint256 indexed epoch, uint256 indexed key, bytes32 indexed value, address who)

func (*GovernanceFilterer) ParseSnapshotTaken added in v0.0.5

func (_Governance *GovernanceFilterer) ParseSnapshotTaken(log types.Log) (*GovernanceSnapshotTaken, error)

ParseSnapshotTaken is a log parse operation binding the contract event 0x24b0dff7469a7007db81d741ef90d7966936fb78bc19d667f4575ecbf56ab350.

Solidity: event SnapshotTaken(uint256 chainId, uint256 indexed epoch, uint256 height, address indexed validator, bool isSafeToProceedConsensus, bytes signatureRaw)

func (*GovernanceFilterer) ParseValueUpdated

func (_Governance *GovernanceFilterer) ParseValueUpdated(log types.Log) (*GovernanceValueUpdated, error)

ParseValueUpdated is a log parse operation binding the contract event 0x36dcd0e03525dedd9d5c21a263ef5f35d030298b5c48f1a713006aefc064ad05.

Solidity: event ValueUpdated(uint256 indexed epoch, uint256 indexed key, bytes32 indexed value, address who)

func (*GovernanceFilterer) WatchSnapshotTaken added in v0.0.5

func (_Governance *GovernanceFilterer) WatchSnapshotTaken(opts *bind.WatchOpts, sink chan<- *GovernanceSnapshotTaken, epoch []*big.Int, validator []common.Address) (event.Subscription, error)

WatchSnapshotTaken is a free log subscription operation binding the contract event 0x24b0dff7469a7007db81d741ef90d7966936fb78bc19d667f4575ecbf56ab350.

Solidity: event SnapshotTaken(uint256 chainId, uint256 indexed epoch, uint256 height, address indexed validator, bool isSafeToProceedConsensus, bytes signatureRaw)

func (*GovernanceFilterer) WatchValueUpdated

func (_Governance *GovernanceFilterer) WatchValueUpdated(opts *bind.WatchOpts, sink chan<- *GovernanceValueUpdated, epoch []*big.Int, key []*big.Int, value [][32]byte) (event.Subscription, error)

WatchValueUpdated is a free log subscription operation binding the contract event 0x36dcd0e03525dedd9d5c21a263ef5f35d030298b5c48f1a713006aefc064ad05.

Solidity: event ValueUpdated(uint256 indexed epoch, uint256 indexed key, bytes32 indexed value, address who)

type GovernanceRaw

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

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

func (*GovernanceRaw) Call

func (_Governance *GovernanceRaw) 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 (*GovernanceRaw) Transact

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

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

func (*GovernanceRaw) Transfer

func (_Governance *GovernanceRaw) 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 GovernanceSession

type GovernanceSession struct {
	Contract     *Governance       // 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
}

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

func (*GovernanceSession) UpdateValue

func (_Governance *GovernanceSession) UpdateValue(epoch *big.Int, key *big.Int, value [32]byte) (*types.Transaction, error)

UpdateValue is a paid mutator transaction binding the contract method 0x46512486.

Solidity: function updateValue(uint256 epoch, uint256 key, bytes32 value) returns()

type GovernanceSnapshotTaken added in v0.0.5

type GovernanceSnapshotTaken struct {
	ChainId                  *big.Int
	Epoch                    *big.Int
	Height                   *big.Int
	Validator                common.Address
	IsSafeToProceedConsensus bool
	SignatureRaw             []byte
	Raw                      types.Log // Blockchain specific contextual infos
}

GovernanceSnapshotTaken represents a SnapshotTaken event raised by the Governance contract.

type GovernanceSnapshotTakenIterator added in v0.0.5

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

GovernanceSnapshotTakenIterator is returned from FilterSnapshotTaken and is used to iterate over the raw logs and unpacked data for SnapshotTaken events raised by the Governance contract.

func (*GovernanceSnapshotTakenIterator) Close added in v0.0.5

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

func (*GovernanceSnapshotTakenIterator) Error added in v0.0.5

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceSnapshotTakenIterator) Next added in v0.0.5

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 GovernanceTransactor

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

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

func NewGovernanceTransactor

func NewGovernanceTransactor(address common.Address, transactor bind.ContractTransactor) (*GovernanceTransactor, error)

NewGovernanceTransactor creates a new write-only instance of Governance, bound to a specific deployed contract.

func (*GovernanceTransactor) UpdateValue

func (_Governance *GovernanceTransactor) UpdateValue(opts *bind.TransactOpts, epoch *big.Int, key *big.Int, value [32]byte) (*types.Transaction, error)

UpdateValue is a paid mutator transaction binding the contract method 0x46512486.

Solidity: function updateValue(uint256 epoch, uint256 key, bytes32 value) returns()

type GovernanceTransactorRaw

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

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

func (*GovernanceTransactorRaw) Transact

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

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

func (*GovernanceTransactorRaw) Transfer

func (_Governance *GovernanceTransactorRaw) 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 GovernanceTransactorSession

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

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

func (*GovernanceTransactorSession) UpdateValue

func (_Governance *GovernanceTransactorSession) UpdateValue(epoch *big.Int, key *big.Int, value [32]byte) (*types.Transaction, error)

UpdateValue is a paid mutator transaction binding the contract method 0x46512486.

Solidity: function updateValue(uint256 epoch, uint256 key, bytes32 value) returns()

type GovernanceValueUpdated

type GovernanceValueUpdated struct {
	Epoch *big.Int
	Key   *big.Int
	Value [32]byte
	Who   common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

GovernanceValueUpdated represents a ValueUpdated event raised by the Governance contract.

type GovernanceValueUpdatedIterator

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

GovernanceValueUpdatedIterator is returned from FilterValueUpdated and is used to iterate over the raw logs and unpacked data for ValueUpdated events raised by the Governance contract.

func (*GovernanceValueUpdatedIterator) Close

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

func (*GovernanceValueUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernanceValueUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IALCA added in v0.0.8

type IALCA interface {
	IALCACaller
	IALCATransactor
	IALCAFilterer
}

type IALCABurner added in v0.0.8

type IALCABurnerCaller added in v0.0.8

type IALCABurnerCaller interface {
	// GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.
	//
	// Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)
	GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)
}

IALCABurnerCaller ...

type IALCABurnerFilterer added in v0.0.8

type IALCABurnerFilterer interface {
}

IALCABurnerFilterer ...

type IALCABurnerTransactor added in v0.0.8

type IALCABurnerTransactor interface {
	// Burn is a paid mutator transaction binding the contract method 0x9dc29fac.
	//
	// Solidity: function burn(address from_, uint256 amount_) returns()
	Burn(opts *bind.TransactOpts, from_ common.Address, amount_ *big.Int) (*types.Transaction, error)
}

IALCABurnerTransactor ...

type IALCACaller added in v0.0.8

type IALCACaller interface {
	// Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
	//
	// Solidity: function allowance(address owner, address spender) view returns(uint256)
	Allowance(opts *bind.CallOpts, owner common.Address, spender 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)
	BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
	// Convert is a free data retrieval call binding the contract method 0xa3908e1b.
	//
	// Solidity: function convert(uint256 amount) view returns(uint256)
	Convert(opts *bind.CallOpts, amount *big.Int) (*big.Int, error)
	// Decimals is a free data retrieval call binding the contract method 0x313ce567.
	//
	// Solidity: function decimals() view returns(uint8)
	Decimals(opts *bind.CallOpts) (uint8, error)
	// GetLegacyTokenAddress is a free data retrieval call binding the contract method 0x035c7099.
	//
	// Solidity: function getLegacyTokenAddress() view returns(address)
	GetLegacyTokenAddress(opts *bind.CallOpts) (common.Address, error)
	// GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.
	//
	// Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)
	GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)
	// IsEarlyStageMigration is a free data retrieval call binding the contract method 0xa1811ef5.
	//
	// Solidity: function isEarlyStageMigration() view returns(bool)
	IsEarlyStageMigration(opts *bind.CallOpts) (bool, error)
	// Name is a free data retrieval call binding the contract method 0x06fdde03.
	//
	// Solidity: function name() view returns(string)
	Name(opts *bind.CallOpts) (string, error)
	// Symbol is a free data retrieval call binding the contract method 0x95d89b41.
	//
	// Solidity: function symbol() view returns(string)
	Symbol(opts *bind.CallOpts) (string, error)
	// TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
	//
	// Solidity: function totalSupply() view returns(uint256)
	TotalSupply(opts *bind.CallOpts) (*big.Int, error)
}

IALCACaller ...

type IALCAFilterer added in v0.0.8

type IALCAFilterer interface {
	// FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
	//
	// Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
	FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ALCAApprovalIterator, error)
	// WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
	//
	// Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
	WatchApproval(opts *bind.WatchOpts, sink chan<- *ALCAApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
	// ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
	//
	// Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
	ParseApproval(log types.Log) (*ALCAApproval, error)
	// FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
	//
	// Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
	FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ALCATransferIterator, error)
	// WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
	//
	// Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
	WatchTransfer(opts *bind.WatchOpts, sink chan<- *ALCATransfer, from []common.Address, to []common.Address) (event.Subscription, error)
	// ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
	//
	// Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
	ParseTransfer(log types.Log) (*ALCATransfer, error)
}

IALCAFilterer ...

type IALCAMinter added in v0.0.8

type IALCAMinterCaller added in v0.0.8

type IALCAMinterCaller interface {
	// GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.
	//
	// Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)
	GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)
}

IALCAMinterCaller ...

type IALCAMinterFilterer added in v0.0.8

type IALCAMinterFilterer interface {
}

IALCAMinterFilterer ...

type IALCAMinterTransactor added in v0.0.8

type IALCAMinterTransactor interface {
	// Mint is a paid mutator transaction binding the contract method 0x40c10f19.
	//
	// Solidity: function mint(address to_, uint256 amount_) returns()
	Mint(opts *bind.TransactOpts, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)
}

IALCAMinterTransactor ...

type IALCATransactor added in v0.0.8

type IALCATransactor interface {
	// Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
	//
	// Solidity: function approve(address spender, uint256 amount) returns(bool)
	Approve(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 subtractedValue) returns(bool)
	DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
	// ExternalBurn is a paid mutator transaction binding the contract method 0x6f6ebec8.
	//
	// Solidity: function externalBurn(address from, uint256 amount) returns()
	ExternalBurn(opts *bind.TransactOpts, from common.Address, amount *big.Int) (*types.Transaction, error)
	// ExternalMint is a paid mutator transaction binding the contract method 0x99f98898.
	//
	// Solidity: function externalMint(address to, uint256 amount) returns()
	ExternalMint(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
	// FinishEarlyStage is a paid mutator transaction binding the contract method 0xae424781.
	//
	// Solidity: function finishEarlyStage() returns()
	FinishEarlyStage(opts *bind.TransactOpts) (*types.Transaction, error)
	// IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
	//
	// Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
	IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
	// Migrate is a paid mutator transaction binding the contract method 0x454b0608.
	//
	// Solidity: function migrate(uint256 amount) returns(uint256)
	Migrate(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
	// MigrateTo is a paid mutator transaction binding the contract method 0x0d213d31.
	//
	// Solidity: function migrateTo(address to, uint256 amount) returns(uint256)
	MigrateTo(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)
	Transfer(opts *bind.TransactOpts, 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)
	TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
}

IALCATransactor ...

type IALCB added in v0.0.8

type IALCB interface {
	IALCBCaller
	IALCBTransactor
	IALCBFilterer
}

type IALCBCaller added in v0.0.8

type IALCBCaller interface {
	// Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
	//
	// Solidity: function allowance(address owner, address spender) view returns(uint256)
	Allowance(opts *bind.CallOpts, owner common.Address, spender 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)
	BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
	// Decimals is a free data retrieval call binding the contract method 0x313ce567.
	//
	// Solidity: function decimals() view returns(uint8)
	Decimals(opts *bind.CallOpts) (uint8, error)
	// GetCentralBridgeRouterAddress is a free data retrieval call binding the contract method 0xff32fefc.
	//
	// Solidity: function getCentralBridgeRouterAddress() view returns(address)
	GetCentralBridgeRouterAddress(opts *bind.CallOpts) (common.Address, error)
	// GetDeposit is a free data retrieval call binding the contract method 0x9f9fb968.
	//
	// Solidity: function getDeposit(uint256 depositID) view returns((uint8,address,uint256))
	GetDeposit(opts *bind.CallOpts, depositID *big.Int) (Deposit, error)
	// GetDepositID is a free data retrieval call binding the contract method 0x94f70c8a.
	//
	// Solidity: function getDepositID() view returns(uint256)
	GetDepositID(opts *bind.CallOpts) (*big.Int, error)
	// GetEthFromTokensBurn is a free data retrieval call binding the contract method 0xc67cb8d1.
	//
	// Solidity: function getEthFromTokensBurn(uint256 poolBalance_, uint256 totalSupply_, uint256 numBTK_) pure returns(uint256 numEth)
	GetEthFromTokensBurn(opts *bind.CallOpts, poolBalance_ *big.Int, totalSupply_ *big.Int, numBTK_ *big.Int) (*big.Int, error)
	// GetEthToMintTokens is a free data retrieval call binding the contract method 0x688727c5.
	//
	// Solidity: function getEthToMintTokens(uint256 totalSupply_, uint256 numBTK_) pure returns(uint256 numEth)
	GetEthToMintTokens(opts *bind.CallOpts, totalSupply_ *big.Int, numBTK_ *big.Int) (*big.Int, error)
	// GetLatestEthFromTokensBurn is a free data retrieval call binding the contract method 0xe51b55e3.
	//
	// Solidity: function getLatestEthFromTokensBurn(uint256 numBTK_) view returns(uint256 numEth)
	GetLatestEthFromTokensBurn(opts *bind.CallOpts, numBTK_ *big.Int) (*big.Int, error)
	// GetLatestEthToMintTokens is a free data retrieval call binding the contract method 0xf14a28f9.
	//
	// Solidity: function getLatestEthToMintTokens(uint256 numBTK_) view returns(uint256 numEth)
	GetLatestEthToMintTokens(opts *bind.CallOpts, numBTK_ *big.Int) (*big.Int, error)
	// GetLatestMintedTokensFromEth is a free data retrieval call binding the contract method 0x46711773.
	//
	// Solidity: function getLatestMintedTokensFromEth(uint256 numEth_) view returns(uint256)
	GetLatestMintedTokensFromEth(opts *bind.CallOpts, numEth_ *big.Int) (*big.Int, error)
	// GetMarketSpread is a free data retrieval call binding the contract method 0x086cfefd.
	//
	// Solidity: function getMarketSpread() pure returns(uint256)
	GetMarketSpread(opts *bind.CallOpts) (*big.Int, error)
	// GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.
	//
	// Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)
	GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)
	// GetMintedTokensFromEth is a free data retrieval call binding the contract method 0x679f742d.
	//
	// Solidity: function getMintedTokensFromEth(uint256 poolBalance_, uint256 numEth_) pure returns(uint256)
	GetMintedTokensFromEth(opts *bind.CallOpts, poolBalance_ *big.Int, numEth_ *big.Int) (*big.Int, error)
	// GetPoolBalance is a free data retrieval call binding the contract method 0xabd70aa2.
	//
	// Solidity: function getPoolBalance() view returns(uint256)
	GetPoolBalance(opts *bind.CallOpts) (*big.Int, error)
	// GetTotalTokensDeposited is a free data retrieval call binding the contract method 0x8d407823.
	//
	// Solidity: function getTotalTokensDeposited() view returns(uint256)
	GetTotalTokensDeposited(opts *bind.CallOpts) (*big.Int, error)
	// GetYield is a free data retrieval call binding the contract method 0x7c262871.
	//
	// Solidity: function getYield() view returns(uint256)
	GetYield(opts *bind.CallOpts) (*big.Int, error)
	// Name is a free data retrieval call binding the contract method 0x06fdde03.
	//
	// Solidity: function name() view returns(string)
	Name(opts *bind.CallOpts) (string, error)
	// Symbol is a free data retrieval call binding the contract method 0x95d89b41.
	//
	// Solidity: function symbol() view returns(string)
	Symbol(opts *bind.CallOpts) (string, error)
	// TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
	//
	// Solidity: function totalSupply() view returns(uint256)
	TotalSupply(opts *bind.CallOpts) (*big.Int, error)
}

IALCBCaller ...

type IALCBFilterer added in v0.0.8

type IALCBFilterer interface {
	// FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
	//
	// Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
	FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ALCBApprovalIterator, error)
	// WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
	//
	// Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
	WatchApproval(opts *bind.WatchOpts, sink chan<- *ALCBApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
	// ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
	//
	// Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
	ParseApproval(log types.Log) (*ALCBApproval, error)
	// FilterDepositReceived is a free log retrieval operation binding the contract event 0x9d291e7244fa9bf5a85ec47d5a52012ccc92231b41c94308155ad2702eef9d4d.
	//
	// Solidity: event DepositReceived(uint256 indexed depositID, uint8 indexed accountType, address indexed depositor, uint256 amount)
	FilterDepositReceived(opts *bind.FilterOpts, depositID []*big.Int, accountType []uint8, depositor []common.Address) (*ALCBDepositReceivedIterator, error)
	// WatchDepositReceived is a free log subscription operation binding the contract event 0x9d291e7244fa9bf5a85ec47d5a52012ccc92231b41c94308155ad2702eef9d4d.
	//
	// Solidity: event DepositReceived(uint256 indexed depositID, uint8 indexed accountType, address indexed depositor, uint256 amount)
	WatchDepositReceived(opts *bind.WatchOpts, sink chan<- *ALCBDepositReceived, depositID []*big.Int, accountType []uint8, depositor []common.Address) (event.Subscription, error)
	// ParseDepositReceived is a log parse operation binding the contract event 0x9d291e7244fa9bf5a85ec47d5a52012ccc92231b41c94308155ad2702eef9d4d.
	//
	// Solidity: event DepositReceived(uint256 indexed depositID, uint8 indexed accountType, address indexed depositor, uint256 amount)
	ParseDepositReceived(log types.Log) (*ALCBDepositReceived, error)
	// FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
	//
	// Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
	FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ALCBTransferIterator, error)
	// WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
	//
	// Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
	WatchTransfer(opts *bind.WatchOpts, sink chan<- *ALCBTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
	// ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
	//
	// Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
	ParseTransfer(log types.Log) (*ALCBTransfer, error)
}

IALCBFilterer ...

type IALCBTransactor added in v0.0.8

type IALCBTransactor interface {
	// Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
	//
	// Solidity: function approve(address spender, uint256 amount) returns(bool)
	Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
	// Burn is a paid mutator transaction binding the contract method 0xb390c0ab.
	//
	// Solidity: function burn(uint256 amount_, uint256 minEth_) returns(uint256 numEth)
	Burn(opts *bind.TransactOpts, amount_ *big.Int, minEth_ *big.Int) (*types.Transaction, error)
	// BurnTo is a paid mutator transaction binding the contract method 0x9b057203.
	//
	// Solidity: function burnTo(address to_, uint256 amount_, uint256 minEth_) returns(uint256 numEth)
	BurnTo(opts *bind.TransactOpts, to_ common.Address, amount_ *big.Int, minEth_ *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)
	DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
	// Deposit is a paid mutator transaction binding the contract method 0x00838172.
	//
	// Solidity: function deposit(uint8 accountType_, address to_, uint256 amount_) returns(uint256)
	Deposit(opts *bind.TransactOpts, accountType_ uint8, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)
	// DepositTokensOnBridges is a paid mutator transaction binding the contract method 0xc4602af3.
	//
	// Solidity: function depositTokensOnBridges(uint8 routerVersion_, bytes data_) payable returns()
	DepositTokensOnBridges(opts *bind.TransactOpts, routerVersion_ uint8, data_ []byte) (*types.Transaction, error)
	// DestroyTokens is a paid mutator transaction binding the contract method 0x67fbd289.
	//
	// Solidity: function destroyTokens(uint256 numBTK_) returns(bool)
	DestroyTokens(opts *bind.TransactOpts, numBTK_ *big.Int) (*types.Transaction, error)
	// Distribute is a paid mutator transaction binding the contract method 0xe4fc6b6d.
	//
	// Solidity: function distribute() returns(bool)
	Distribute(opts *bind.TransactOpts) (*types.Transaction, error)
	// IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
	//
	// Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
	IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
	// Mint is a paid mutator transaction binding the contract method 0xa0712d68.
	//
	// Solidity: function mint(uint256 minBTK_) payable returns(uint256 numBTK)
	Mint(opts *bind.TransactOpts, minBTK_ *big.Int) (*types.Transaction, error)
	// MintDeposit is a paid mutator transaction binding the contract method 0x4f232628.
	//
	// Solidity: function mintDeposit(uint8 accountType_, address to_, uint256 minBTK_) payable returns(uint256)
	MintDeposit(opts *bind.TransactOpts, accountType_ uint8, to_ common.Address, minBTK_ *big.Int) (*types.Transaction, error)
	// MintTo is a paid mutator transaction binding the contract method 0x449a52f8.
	//
	// Solidity: function mintTo(address to_, uint256 minBTK_) payable returns(uint256 numBTK)
	MintTo(opts *bind.TransactOpts, to_ common.Address, minBTK_ *big.Int) (*types.Transaction, error)
	// SetAccountType is a paid mutator transaction binding the contract method 0x14c8d876.
	//
	// Solidity: function setAccountType(uint8 accountType_, bool allowed_) returns()
	SetAccountType(opts *bind.TransactOpts, accountType_ uint8, allowed_ bool) (*types.Transaction, error)
	// Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
	//
	// Solidity: function transfer(address to, uint256 amount) returns(bool)
	Transfer(opts *bind.TransactOpts, 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)
	TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
	// VirtualMintDeposit is a paid mutator transaction binding the contract method 0x92178278.
	//
	// Solidity: function virtualMintDeposit(uint8 accountType_, address to_, uint256 amount_) returns(uint256)
	VirtualMintDeposit(opts *bind.TransactOpts, accountType_ uint8, to_ common.Address, amount_ *big.Int) (*types.Transaction, error)
}

IALCBTransactor ...

type IAliceNetFactoryCaller

type IAliceNetFactoryCaller interface {
	// Contracts is a free data retrieval call binding the contract method 0x6c0f79b6.
	//
	// Solidity: function contracts() view returns(bytes32[] contracts_)
	Contracts(opts *bind.CallOpts) ([][32]byte, error)
	// GetALCAAddress is a free data retrieval call binding the contract method 0xb8a8732c.
	//
	// Solidity: function getALCAAddress() view returns(address)
	GetALCAAddress(opts *bind.CallOpts) (common.Address, error)
	// GetALCACreationCodeHash is a free data retrieval call binding the contract method 0xa9c6e2cc.
	//
	// Solidity: function getALCACreationCodeHash() view returns(bytes32)
	GetALCACreationCodeHash(opts *bind.CallOpts) ([32]byte, error)
	// GetImplementation is a free data retrieval call binding the contract method 0xaaf10f42.
	//
	// Solidity: function getImplementation() view returns(address)
	GetImplementation(opts *bind.CallOpts) (common.Address, error)
	// GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.
	//
	// Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)
	GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)
	// GetNumContracts is a free data retrieval call binding the contract method 0xcfe10b30.
	//
	// Solidity: function getNumContracts() view returns(uint256)
	GetNumContracts(opts *bind.CallOpts) (*big.Int, error)
	// GetProxyImplementation is a free data retrieval call binding the contract method 0x204e1c7a.
	//
	// Solidity: function getProxyImplementation(address proxyAddress_) view returns(address)
	GetProxyImplementation(opts *bind.CallOpts, proxyAddress_ common.Address) (common.Address, error)
	// Lookup is a free data retrieval call binding the contract method 0xf39ec1f7.
	//
	// Solidity: function lookup(bytes32 salt_) view returns(address)
	Lookup(opts *bind.CallOpts, salt_ [32]byte) (common.Address, error)
	// Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
	//
	// Solidity: function owner() view returns(address owner_)
	Owner(opts *bind.CallOpts) (common.Address, error)
}

IAliceNetFactoryCaller ...

type IAliceNetFactoryFilterer

type IAliceNetFactoryFilterer interface {
	// FilterDeployed is a free log retrieval operation binding the contract event 0xe491e278e37782abe0872fe7c7b549cd7b0713d0c5c1e84a81899a5fdf32087b.
	//
	// Solidity: event Deployed(bytes32 salt, address contractAddr)
	FilterDeployed(opts *bind.FilterOpts) (*AliceNetFactoryDeployedIterator, error)
	// WatchDeployed is a free log subscription operation binding the contract event 0xe491e278e37782abe0872fe7c7b549cd7b0713d0c5c1e84a81899a5fdf32087b.
	//
	// Solidity: event Deployed(bytes32 salt, address contractAddr)
	WatchDeployed(opts *bind.WatchOpts, sink chan<- *AliceNetFactoryDeployed) (event.Subscription, error)
	// ParseDeployed is a log parse operation binding the contract event 0xe491e278e37782abe0872fe7c7b549cd7b0713d0c5c1e84a81899a5fdf32087b.
	//
	// Solidity: event Deployed(bytes32 salt, address contractAddr)
	ParseDeployed(log types.Log) (*AliceNetFactoryDeployed, error)
	// FilterDeployedProxy is a free log retrieval operation binding the contract event 0x06690e5b52be10a3d5820ec875c3dd3327f3077954a09f104201e40e5f7082c6.
	//
	// Solidity: event DeployedProxy(address contractAddr)
	FilterDeployedProxy(opts *bind.FilterOpts) (*AliceNetFactoryDeployedProxyIterator, error)
	// WatchDeployedProxy is a free log subscription operation binding the contract event 0x06690e5b52be10a3d5820ec875c3dd3327f3077954a09f104201e40e5f7082c6.
	//
	// Solidity: event DeployedProxy(address contractAddr)
	WatchDeployedProxy(opts *bind.WatchOpts, sink chan<- *AliceNetFactoryDeployedProxy) (event.Subscription, error)
	// ParseDeployedProxy is a log parse operation binding the contract event 0x06690e5b52be10a3d5820ec875c3dd3327f3077954a09f104201e40e5f7082c6.
	//
	// Solidity: event DeployedProxy(address contractAddr)
	ParseDeployedProxy(log types.Log) (*AliceNetFactoryDeployedProxy, error)
	// FilterDeployedRaw is a free log retrieval operation binding the contract event 0xd3acf0da590cfcd8f020afd7f40b7e6e4c8bd2fc9eb7aec9836837b667685b3a.
	//
	// Solidity: event DeployedRaw(address contractAddr)
	FilterDeployedRaw(opts *bind.FilterOpts) (*AliceNetFactoryDeployedRawIterator, error)
	// WatchDeployedRaw is a free log subscription operation binding the contract event 0xd3acf0da590cfcd8f020afd7f40b7e6e4c8bd2fc9eb7aec9836837b667685b3a.
	//
	// Solidity: event DeployedRaw(address contractAddr)
	WatchDeployedRaw(opts *bind.WatchOpts, sink chan<- *AliceNetFactoryDeployedRaw) (event.Subscription, error)
	// ParseDeployedRaw is a log parse operation binding the contract event 0xd3acf0da590cfcd8f020afd7f40b7e6e4c8bd2fc9eb7aec9836837b667685b3a.
	//
	// Solidity: event DeployedRaw(address contractAddr)
	ParseDeployedRaw(log types.Log) (*AliceNetFactoryDeployedRaw, error)
	// FilterDeployedStatic is a free log retrieval operation binding the contract event 0xe8b9cb7d60827a7d55e211f1382dd0f129adb541af9fe45a09ab4a18b76e7c65.
	//
	// Solidity: event DeployedStatic(address contractAddr)
	FilterDeployedStatic(opts *bind.FilterOpts) (*AliceNetFactoryDeployedStaticIterator, error)
	// WatchDeployedStatic is a free log subscription operation binding the contract event 0xe8b9cb7d60827a7d55e211f1382dd0f129adb541af9fe45a09ab4a18b76e7c65.
	//
	// Solidity: event DeployedStatic(address contractAddr)
	WatchDeployedStatic(opts *bind.WatchOpts, sink chan<- *AliceNetFactoryDeployedStatic) (event.Subscription, error)
	// ParseDeployedStatic is a log parse operation binding the contract event 0xe8b9cb7d60827a7d55e211f1382dd0f129adb541af9fe45a09ab4a18b76e7c65.
	//
	// Solidity: event DeployedStatic(address contractAddr)
	ParseDeployedStatic(log types.Log) (*AliceNetFactoryDeployedStatic, error)
	// FilterDeployedTemplate is a free log retrieval operation binding the contract event 0x6cd94ea1c5d9f99038bb4629d8a759399654d3861b73bf3a2b0cf484dae72138.
	//
	// Solidity: event DeployedTemplate(address contractAddr)
	FilterDeployedTemplate(opts *bind.FilterOpts) (*AliceNetFactoryDeployedTemplateIterator, error)
	// WatchDeployedTemplate is a free log subscription operation binding the contract event 0x6cd94ea1c5d9f99038bb4629d8a759399654d3861b73bf3a2b0cf484dae72138.
	//
	// Solidity: event DeployedTemplate(address contractAddr)
	WatchDeployedTemplate(opts *bind.WatchOpts, sink chan<- *AliceNetFactoryDeployedTemplate) (event.Subscription, error)
	// ParseDeployedTemplate is a log parse operation binding the contract event 0x6cd94ea1c5d9f99038bb4629d8a759399654d3861b73bf3a2b0cf484dae72138.
	//
	// Solidity: event DeployedTemplate(address contractAddr)
	ParseDeployedTemplate(log types.Log) (*AliceNetFactoryDeployedTemplate, error)
	// FilterUpgradedProxy is a free log retrieval operation binding the contract event 0x430fbfc2698f4e110d994ecf59c30881703dc7b8cd50bc5f12e4e48d21e144a3.
	//
	// Solidity: event UpgradedProxy(bytes32 salt, address proxyAddr, address newlogicAddr)
	FilterUpgradedProxy(opts *bind.FilterOpts) (*AliceNetFactoryUpgradedProxyIterator, error)
	// WatchUpgradedProxy is a free log subscription operation binding the contract event 0x430fbfc2698f4e110d994ecf59c30881703dc7b8cd50bc5f12e4e48d21e144a3.
	//
	// Solidity: event UpgradedProxy(bytes32 salt, address proxyAddr, address newlogicAddr)
	WatchUpgradedProxy(opts *bind.WatchOpts, sink chan<- *AliceNetFactoryUpgradedProxy) (event.Subscription, error)
	// ParseUpgradedProxy is a log parse operation binding the contract event 0x430fbfc2698f4e110d994ecf59c30881703dc7b8cd50bc5f12e4e48d21e144a3.
	//
	// Solidity: event UpgradedProxy(bytes32 salt, address proxyAddr, address newlogicAddr)
	ParseUpgradedProxy(log types.Log) (*AliceNetFactoryUpgradedProxy, error)
}

IAliceNetFactoryFilterer ...

type IAliceNetFactoryTransactor

type IAliceNetFactoryTransactor interface {
	// AddNewExternalContract is a paid mutator transaction binding the contract method 0x6973694c.
	//
	// Solidity: function addNewExternalContract(bytes32 salt_, address newContractAddress_) returns()
	AddNewExternalContract(opts *bind.TransactOpts, salt_ [32]byte, newContractAddress_ common.Address) (*types.Transaction, error)
	// CallAny is a paid mutator transaction binding the contract method 0x12e6bf6a.
	//
	// Solidity: function callAny(address target_, uint256 value_, bytes cdata_) payable returns(bytes)
	CallAny(opts *bind.TransactOpts, target_ common.Address, value_ *big.Int, cdata_ []byte) (*types.Transaction, error)
	// DeployCreate is a paid mutator transaction binding the contract method 0x27fe1822.
	//
	// Solidity: function deployCreate(bytes deployCode_) returns(address contractAddr)
	DeployCreate(opts *bind.TransactOpts, deployCode_ []byte) (*types.Transaction, error)
	// DeployCreate2 is a paid mutator transaction binding the contract method 0x56f2a761.
	//
	// Solidity: function deployCreate2(uint256 value_, bytes32 salt_, bytes deployCode_) payable returns(address contractAddr)
	DeployCreate2(opts *bind.TransactOpts, value_ *big.Int, salt_ [32]byte, deployCode_ []byte) (*types.Transaction, error)
	// DeployCreateAndRegister is a paid mutator transaction binding the contract method 0xc56ca9ed.
	//
	// Solidity: function deployCreateAndRegister(bytes deployCode_, bytes32 salt_) returns(address contractAddr)
	DeployCreateAndRegister(opts *bind.TransactOpts, deployCode_ []byte, salt_ [32]byte) (*types.Transaction, error)
	// DeployProxy is a paid mutator transaction binding the contract method 0x39cab472.
	//
	// Solidity: function deployProxy(bytes32 salt_) returns(address contractAddr)
	DeployProxy(opts *bind.TransactOpts, salt_ [32]byte) (*types.Transaction, error)
	// InitializeContract is a paid mutator transaction binding the contract method 0xe1d7a8e4.
	//
	// Solidity: function initializeContract(address contract_, bytes initCallData_) returns()
	InitializeContract(opts *bind.TransactOpts, contract_ common.Address, initCallData_ []byte) (*types.Transaction, error)
	// MultiCall is a paid mutator transaction binding the contract method 0x248b1701.
	//
	// Solidity: function multiCall((address,uint256,bytes)[] cdata_) returns(bytes[])
	MultiCall(opts *bind.TransactOpts, cdata_ []AliceNetFactoryBaseMultiCallArgs) (*types.Transaction, error)
	// SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
	//
	// Solidity: function setOwner(address newOwner_) returns()
	SetOwner(opts *bind.TransactOpts, newOwner_ common.Address) (*types.Transaction, error)
	// UpgradeProxy is a paid mutator transaction binding the contract method 0x043c9414.
	//
	// Solidity: function upgradeProxy(bytes32 salt_, address newImpl_, bytes initCallData_) returns()
	UpgradeProxy(opts *bind.TransactOpts, salt_ [32]byte, newImpl_ common.Address, initCallData_ []byte) (*types.Transaction, error)
	// Fallback is a paid mutator transaction binding the contract fallback function.
	//
	// Solidity: fallback() returns()
	Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
}

IAliceNetFactoryTransactor ...

type IDynamics added in v0.0.5

type IDynamicsCaller added in v0.0.5

type IDynamicsCaller interface {
	// DecodeDynamicValues is a free data retrieval call binding the contract method 0x5234bca0.
	//
	// Solidity: function decodeDynamicValues(address addr) view returns((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128))
	DecodeDynamicValues(opts *bind.CallOpts, addr common.Address) (DynamicValues, error)
	// EncodeDynamicValues is a free data retrieval call binding the contract method 0x972e374c.
	//
	// Solidity: function encodeDynamicValues((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128) value) pure returns(bytes)
	EncodeDynamicValues(opts *bind.CallOpts, value DynamicValues) ([]byte, error)
	// GetAllDynamicValues is a free data retrieval call binding the contract method 0xdcfda479.
	//
	// Solidity: function getAllDynamicValues() view returns((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128)[])
	GetAllDynamicValues(opts *bind.CallOpts) ([]DynamicValues, error)
	// GetConfiguration is a free data retrieval call binding the contract method 0x6bd50cef.
	//
	// Solidity: function getConfiguration() view returns((uint128,uint128))
	GetConfiguration(opts *bind.CallOpts) (Configuration, error)
	// GetEncodingVersion is a free data retrieval call binding the contract method 0x49f13f68.
	//
	// Solidity: function getEncodingVersion() pure returns(uint8)
	GetEncodingVersion(opts *bind.CallOpts) (uint8, error)
	// GetFurthestDynamicValues is a free data retrieval call binding the contract method 0xe0a54089.
	//
	// Solidity: function getFurthestDynamicValues() view returns((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128))
	GetFurthestDynamicValues(opts *bind.CallOpts) (DynamicValues, error)
	// GetLatestAliceNetVersion is a free data retrieval call binding the contract method 0xd85200cc.
	//
	// Solidity: function getLatestAliceNetVersion() view returns((uint32,uint32,uint32,uint32,bytes32))
	GetLatestAliceNetVersion(opts *bind.CallOpts) (CanonicalVersion, error)
	// GetLatestDynamicValues is a free data retrieval call binding the contract method 0xf53efe02.
	//
	// Solidity: function getLatestDynamicValues() view returns((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128))
	GetLatestDynamicValues(opts *bind.CallOpts) (DynamicValues, error)
	// GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.
	//
	// Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)
	GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)
	// GetPreviousDynamicValues is a free data retrieval call binding the contract method 0x72015859.
	//
	// Solidity: function getPreviousDynamicValues(uint256 epoch) view returns((uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128))
	GetPreviousDynamicValues(opts *bind.CallOpts, epoch *big.Int) (DynamicValues, error)
}

IDynamicsCaller ...

type IDynamicsFilterer added in v0.0.5

type IDynamicsFilterer interface {
	// FilterDeployedStorageContract is a free log retrieval operation binding the contract event 0xc958f5befa7c4f4b38447cf2e058acacc3a6ea235df7bfea1e658fce46ed6e18.
	//
	// Solidity: event DeployedStorageContract(address contractAddr)
	FilterDeployedStorageContract(opts *bind.FilterOpts) (*DynamicsDeployedStorageContractIterator, error)
	// WatchDeployedStorageContract is a free log subscription operation binding the contract event 0xc958f5befa7c4f4b38447cf2e058acacc3a6ea235df7bfea1e658fce46ed6e18.
	//
	// Solidity: event DeployedStorageContract(address contractAddr)
	WatchDeployedStorageContract(opts *bind.WatchOpts, sink chan<- *DynamicsDeployedStorageContract) (event.Subscription, error)
	// ParseDeployedStorageContract is a log parse operation binding the contract event 0xc958f5befa7c4f4b38447cf2e058acacc3a6ea235df7bfea1e658fce46ed6e18.
	//
	// Solidity: event DeployedStorageContract(address contractAddr)
	ParseDeployedStorageContract(log types.Log) (*DynamicsDeployedStorageContract, error)
	// FilterDynamicValueChanged is a free log retrieval operation binding the contract event 0x75892f5f7bbecdec9b5e7d1b8dd98acb161abe69a3922b3abfbefaefb0490326.
	//
	// Solidity: event DynamicValueChanged(uint256 epoch, bytes rawDynamicValues)
	FilterDynamicValueChanged(opts *bind.FilterOpts) (*DynamicsDynamicValueChangedIterator, error)
	// WatchDynamicValueChanged is a free log subscription operation binding the contract event 0x75892f5f7bbecdec9b5e7d1b8dd98acb161abe69a3922b3abfbefaefb0490326.
	//
	// Solidity: event DynamicValueChanged(uint256 epoch, bytes rawDynamicValues)
	WatchDynamicValueChanged(opts *bind.WatchOpts, sink chan<- *DynamicsDynamicValueChanged) (event.Subscription, error)
	// ParseDynamicValueChanged is a log parse operation binding the contract event 0x75892f5f7bbecdec9b5e7d1b8dd98acb161abe69a3922b3abfbefaefb0490326.
	//
	// Solidity: event DynamicValueChanged(uint256 epoch, bytes rawDynamicValues)
	ParseDynamicValueChanged(log types.Log) (*DynamicsDynamicValueChanged, error)
	// FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
	//
	// Solidity: event Initialized(uint8 version)
	FilterInitialized(opts *bind.FilterOpts) (*DynamicsInitializedIterator, error)
	// WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
	//
	// Solidity: event Initialized(uint8 version)
	WatchInitialized(opts *bind.WatchOpts, sink chan<- *DynamicsInitialized) (event.Subscription, error)
	// ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
	//
	// Solidity: event Initialized(uint8 version)
	ParseInitialized(log types.Log) (*DynamicsInitialized, error)
	// FilterNewAliceNetNodeVersionAvailable is a free log retrieval operation binding the contract event 0xd05fe7fc00936621efe67e776e805ddf5a4e50d53b63179d2c05523244ec95ff.
	//
	// Solidity: event NewAliceNetNodeVersionAvailable((uint32,uint32,uint32,uint32,bytes32) version)
	FilterNewAliceNetNodeVersionAvailable(opts *bind.FilterOpts) (*DynamicsNewAliceNetNodeVersionAvailableIterator, error)
	// WatchNewAliceNetNodeVersionAvailable is a free log subscription operation binding the contract event 0xd05fe7fc00936621efe67e776e805ddf5a4e50d53b63179d2c05523244ec95ff.
	//
	// Solidity: event NewAliceNetNodeVersionAvailable((uint32,uint32,uint32,uint32,bytes32) version)
	WatchNewAliceNetNodeVersionAvailable(opts *bind.WatchOpts, sink chan<- *DynamicsNewAliceNetNodeVersionAvailable) (event.Subscription, error)
	// ParseNewAliceNetNodeVersionAvailable is a log parse operation binding the contract event 0xd05fe7fc00936621efe67e776e805ddf5a4e50d53b63179d2c05523244ec95ff.
	//
	// Solidity: event NewAliceNetNodeVersionAvailable((uint32,uint32,uint32,uint32,bytes32) version)
	ParseNewAliceNetNodeVersionAvailable(log types.Log) (*DynamicsNewAliceNetNodeVersionAvailable, error)
	// FilterNewCanonicalAliceNetNodeVersion is a free log retrieval operation binding the contract event 0xa4625685ba31ef67968ffdac1e4e9723a1409a79ea97fa78b30fc214f1646299.
	//
	// Solidity: event NewCanonicalAliceNetNodeVersion((uint32,uint32,uint32,uint32,bytes32) version)
	FilterNewCanonicalAliceNetNodeVersion(opts *bind.FilterOpts) (*DynamicsNewCanonicalAliceNetNodeVersionIterator, error)
	// WatchNewCanonicalAliceNetNodeVersion is a free log subscription operation binding the contract event 0xa4625685ba31ef67968ffdac1e4e9723a1409a79ea97fa78b30fc214f1646299.
	//
	// Solidity: event NewCanonicalAliceNetNodeVersion((uint32,uint32,uint32,uint32,bytes32) version)
	WatchNewCanonicalAliceNetNodeVersion(opts *bind.WatchOpts, sink chan<- *DynamicsNewCanonicalAliceNetNodeVersion) (event.Subscription, error)
	// ParseNewCanonicalAliceNetNodeVersion is a log parse operation binding the contract event 0xa4625685ba31ef67968ffdac1e4e9723a1409a79ea97fa78b30fc214f1646299.
	//
	// Solidity: event NewCanonicalAliceNetNodeVersion((uint32,uint32,uint32,uint32,bytes32) version)
	ParseNewCanonicalAliceNetNodeVersion(log types.Log) (*DynamicsNewCanonicalAliceNetNodeVersion, error)
}

IDynamicsFilterer ...

type IDynamicsTransactor added in v0.0.5

type IDynamicsTransactor interface {
	// ChangeDynamicValues is a paid mutator transaction binding the contract method 0xe84f2fd0.
	//
	// Solidity: function changeDynamicValues(uint32 relativeExecutionEpoch, (uint8,uint24,uint32,uint32,uint32,uint64,uint64,uint128) newValue) returns()
	ChangeDynamicValues(opts *bind.TransactOpts, relativeExecutionEpoch uint32, newValue DynamicValues) (*types.Transaction, error)
	// DeployStorage is a paid mutator transaction binding the contract method 0xa130fd2e.
	//
	// Solidity: function deployStorage(bytes data) returns(address contractAddr)
	DeployStorage(opts *bind.TransactOpts, data []byte) (*types.Transaction, error)
	// Initialize is a paid mutator transaction binding the contract method 0xb0e6a8a5.
	//
	// Solidity: function initialize(uint24 initialProposalTimeout_) returns()
	Initialize(opts *bind.TransactOpts, initialProposalTimeout_ *big.Int) (*types.Transaction, error)
	// SetConfiguration is a paid mutator transaction binding the contract method 0x402292df.
	//
	// Solidity: function setConfiguration((uint128,uint128) newConfig) returns()
	SetConfiguration(opts *bind.TransactOpts, newConfig Configuration) (*types.Transaction, error)
	// UpdateAliceNetNodeVersion is a paid mutator transaction binding the contract method 0xab8a8411.
	//
	// Solidity: function updateAliceNetNodeVersion(uint32 relativeUpdateEpoch, uint32 majorVersion, uint32 minorVersion, uint32 patch, bytes32 binaryHash) returns()
	UpdateAliceNetNodeVersion(opts *bind.TransactOpts, relativeUpdateEpoch uint32, majorVersion uint32, minorVersion uint32, patch uint32, binaryHash [32]byte) (*types.Transaction, error)
	// UpdateHead is a paid mutator transaction binding the contract method 0x3b4ef26a.
	//
	// Solidity: function updateHead(uint32 currentEpoch) returns()
	UpdateHead(opts *bind.TransactOpts, currentEpoch uint32) (*types.Transaction, error)
}

IDynamicsTransactor ...

type IETHDKG

type IETHDKG interface {
	IETHDKGCaller
	IETHDKGTransactor
	IETHDKGFilterer
}

type IETHDKGCaller

type IETHDKGCaller interface {
	// GetBadParticipants is a free data retrieval call binding the contract method 0x32d4d570.
	//
	// Solidity: function getBadParticipants() view returns(uint256)
	GetBadParticipants(opts *bind.CallOpts) (*big.Int, error)
	// GetConfirmationLength is a free data retrieval call binding the contract method 0x8c848d32.
	//
	// Solidity: function getConfirmationLength() view returns(uint256)
	GetConfirmationLength(opts *bind.CallOpts) (*big.Int, error)
	// GetETHDKGPhase is a free data retrieval call binding the contract method 0x2958e81c.
	//
	// Solidity: function getETHDKGPhase() view returns(uint8)
	GetETHDKGPhase(opts *bind.CallOpts) (uint8, error)
	// GetLastRoundParticipantIndex is a free data retrieval call binding the contract method 0x775694e1.
	//
	// Solidity: function getLastRoundParticipantIndex(address participant) view returns(uint256)
	GetLastRoundParticipantIndex(opts *bind.CallOpts, participant common.Address) (*big.Int, error)
	// GetMasterPublicKey is a free data retrieval call binding the contract method 0xe146372a.
	//
	// Solidity: function getMasterPublicKey() view returns(uint256[4])
	GetMasterPublicKey(opts *bind.CallOpts) ([4]*big.Int, error)
	// GetMasterPublicKeyHash is a free data retrieval call binding the contract method 0x1c67d576.
	//
	// Solidity: function getMasterPublicKeyHash() view returns(bytes32)
	GetMasterPublicKeyHash(opts *bind.CallOpts) ([32]byte, error)
	// GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.
	//
	// Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)
	GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)
	// GetMinValidators is a free data retrieval call binding the contract method 0xecbadb36.
	//
	// Solidity: function getMinValidators() pure returns(uint256)
	GetMinValidators(opts *bind.CallOpts) (*big.Int, error)
	// GetNonce is a free data retrieval call binding the contract method 0xd087d288.
	//
	// Solidity: function getNonce() view returns(uint256)
	GetNonce(opts *bind.CallOpts) (*big.Int, error)
	// GetNumParticipants is a free data retrieval call binding the contract method 0xfd478ca9.
	//
	// Solidity: function getNumParticipants() view returns(uint256)
	GetNumParticipants(opts *bind.CallOpts) (*big.Int, error)
	// GetParticipantInternalState is a free data retrieval call binding the contract method 0xbf7786b6.
	//
	// Solidity: function getParticipantInternalState(address participant) view returns((uint256[2],uint64,uint64,uint8,bytes32,uint256[2],uint256[2],uint256[4]))
	GetParticipantInternalState(opts *bind.CallOpts, participant common.Address) (Participant, error)
	// GetParticipantsInternalState is a free data retrieval call binding the contract method 0xc016baee.
	//
	// Solidity: function getParticipantsInternalState(address[] participantAddresses) view returns((uint256[2],uint64,uint64,uint8,bytes32,uint256[2],uint256[2],uint256[4])[])
	GetParticipantsInternalState(opts *bind.CallOpts, participantAddresses []common.Address) ([]Participant, error)
	// GetPhaseLength is a free data retrieval call binding the contract method 0x106da57d.
	//
	// Solidity: function getPhaseLength() view returns(uint256)
	GetPhaseLength(opts *bind.CallOpts) (*big.Int, error)
	// GetPhaseStartBlock is a free data retrieval call binding the contract method 0xa2bc9c78.
	//
	// Solidity: function getPhaseStartBlock() view returns(uint256)
	GetPhaseStartBlock(opts *bind.CallOpts) (*big.Int, error)
	// IsETHDKGCompleted is a free data retrieval call binding the contract method 0x2b7c6724.
	//
	// Solidity: function isETHDKGCompleted() view returns(bool)
	IsETHDKGCompleted(opts *bind.CallOpts) (bool, error)
	// IsETHDKGHalted is a free data retrieval call binding the contract method 0x43ced534.
	//
	// Solidity: function isETHDKGHalted() view returns(bool)
	IsETHDKGHalted(opts *bind.CallOpts) (bool, error)
	// IsETHDKGRunning is a free data retrieval call binding the contract method 0x747b217c.
	//
	// Solidity: function isETHDKGRunning() view returns(bool)
	IsETHDKGRunning(opts *bind.CallOpts) (bool, error)
	// IsMasterPublicKeySet is a free data retrieval call binding the contract method 0x08efcf16.
	//
	// Solidity: function isMasterPublicKeySet() view returns(bool)
	IsMasterPublicKeySet(opts *bind.CallOpts) (bool, error)
	// IsValidMasterPublicKey is a free data retrieval call binding the contract method 0x9bb16742.
	//
	// Solidity: function isValidMasterPublicKey(bytes32 masterPublicKeyHash) view returns(bool)
	IsValidMasterPublicKey(opts *bind.CallOpts, masterPublicKeyHash [32]byte) (bool, error)
}

IETHDKGCaller ...

type IETHDKGFilterer

type IETHDKGFilterer interface {
	// FilterAddressRegistered is a free log retrieval operation binding the contract event 0x7f1304057ec61140fbf2f5f236790f34fcafe123d3eb0d298d92317c97da500d.
	//
	// Solidity: event AddressRegistered(address account, uint256 index, uint256 nonce, uint256[2] publicKey)
	FilterAddressRegistered(opts *bind.FilterOpts) (*ETHDKGAddressRegisteredIterator, error)
	// WatchAddressRegistered is a free log subscription operation binding the contract event 0x7f1304057ec61140fbf2f5f236790f34fcafe123d3eb0d298d92317c97da500d.
	//
	// Solidity: event AddressRegistered(address account, uint256 index, uint256 nonce, uint256[2] publicKey)
	WatchAddressRegistered(opts *bind.WatchOpts, sink chan<- *ETHDKGAddressRegistered) (event.Subscription, error)
	// ParseAddressRegistered is a log parse operation binding the contract event 0x7f1304057ec61140fbf2f5f236790f34fcafe123d3eb0d298d92317c97da500d.
	//
	// Solidity: event AddressRegistered(address account, uint256 index, uint256 nonce, uint256[2] publicKey)
	ParseAddressRegistered(log types.Log) (*ETHDKGAddressRegistered, error)
	// FilterGPKJSubmissionComplete is a free log retrieval operation binding the contract event 0x87bfe600b78cad9f7cf68c99eb582c1748f636b3269842b37d5873b0e069f628.
	//
	// Solidity: event GPKJSubmissionComplete(uint256 blockNumber)
	FilterGPKJSubmissionComplete(opts *bind.FilterOpts) (*ETHDKGGPKJSubmissionCompleteIterator, error)
	// WatchGPKJSubmissionComplete is a free log subscription operation binding the contract event 0x87bfe600b78cad9f7cf68c99eb582c1748f636b3269842b37d5873b0e069f628.
	//
	// Solidity: event GPKJSubmissionComplete(uint256 blockNumber)
	WatchGPKJSubmissionComplete(opts *bind.WatchOpts, sink chan<- *ETHDKGGPKJSubmissionComplete) (event.Subscription, error)
	// ParseGPKJSubmissionComplete is a log parse operation binding the contract event 0x87bfe600b78cad9f7cf68c99eb582c1748f636b3269842b37d5873b0e069f628.
	//
	// Solidity: event GPKJSubmissionComplete(uint256 blockNumber)
	ParseGPKJSubmissionComplete(log types.Log) (*ETHDKGGPKJSubmissionComplete, error)
	// FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
	//
	// Solidity: event Initialized(uint8 version)
	FilterInitialized(opts *bind.FilterOpts) (*ETHDKGInitializedIterator, error)
	// WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
	//
	// Solidity: event Initialized(uint8 version)
	WatchInitialized(opts *bind.WatchOpts, sink chan<- *ETHDKGInitialized) (event.Subscription, error)
	// ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
	//
	// Solidity: event Initialized(uint8 version)
	ParseInitialized(log types.Log) (*ETHDKGInitialized, error)
	// FilterKeyShareSubmissionComplete is a free log retrieval operation binding the contract event 0x522cec98f6caa194456c44afa9e8cef9ac63eecb0be60e20d180ce19cfb0ef59.
	//
	// Solidity: event KeyShareSubmissionComplete(uint256 blockNumber)
	FilterKeyShareSubmissionComplete(opts *bind.FilterOpts) (*ETHDKGKeyShareSubmissionCompleteIterator, error)
	// WatchKeyShareSubmissionComplete is a free log subscription operation binding the contract event 0x522cec98f6caa194456c44afa9e8cef9ac63eecb0be60e20d180ce19cfb0ef59.
	//
	// Solidity: event KeyShareSubmissionComplete(uint256 blockNumber)
	WatchKeyShareSubmissionComplete(opts *bind.WatchOpts, sink chan<- *ETHDKGKeyShareSubmissionComplete) (event.Subscription, error)
	// ParseKeyShareSubmissionComplete is a log parse operation binding the contract event 0x522cec98f6caa194456c44afa9e8cef9ac63eecb0be60e20d180ce19cfb0ef59.
	//
	// Solidity: event KeyShareSubmissionComplete(uint256 blockNumber)
	ParseKeyShareSubmissionComplete(log types.Log) (*ETHDKGKeyShareSubmissionComplete, error)
	// FilterKeyShareSubmitted is a free log retrieval operation binding the contract event 0x6162e2d11398e4063e4c8565dafc4fb6755bbead93747ea836a5ef73a594aaf7.
	//
	// Solidity: event KeyShareSubmitted(address account, uint256 index, uint256 nonce, uint256[2] keyShareG1, uint256[2] keyShareG1CorrectnessProof, uint256[4] keyShareG2)
	FilterKeyShareSubmitted(opts *bind.FilterOpts) (*ETHDKGKeyShareSubmittedIterator, error)
	// WatchKeyShareSubmitted is a free log subscription operation binding the contract event 0x6162e2d11398e4063e4c8565dafc4fb6755bbead93747ea836a5ef73a594aaf7.
	//
	// Solidity: event KeyShareSubmitted(address account, uint256 index, uint256 nonce, uint256[2] keyShareG1, uint256[2] keyShareG1CorrectnessProof, uint256[4] keyShareG2)
	WatchKeyShareSubmitted(opts *bind.WatchOpts, sink chan<- *ETHDKGKeyShareSubmitted) (event.Subscription, error)
	// ParseKeyShareSubmitted is a log parse operation binding the contract event 0x6162e2d11398e4063e4c8565dafc4fb6755bbead93747ea836a5ef73a594aaf7.
	//
	// Solidity: event KeyShareSubmitted(address account, uint256 index, uint256 nonce, uint256[2] keyShareG1, uint256[2] keyShareG1CorrectnessProof, uint256[4] keyShareG2)
	ParseKeyShareSubmitted(log types.Log) (*ETHDKGKeyShareSubmitted, error)
	// FilterMPKSet is a free log retrieval operation binding the contract event 0x71b1ebd27be320895a22125d6458e3363aefa6944a312ede4bf275867e6d5a71.
	//
	// Solidity: event MPKSet(uint256 blockNumber, uint256 nonce, uint256[4] mpk)
	FilterMPKSet(opts *bind.FilterOpts) (*ETHDKGMPKSetIterator, error)
	// WatchMPKSet is a free log subscription operation binding the contract event 0x71b1ebd27be320895a22125d6458e3363aefa6944a312ede4bf275867e6d5a71.
	//
	// Solidity: event MPKSet(uint256 blockNumber, uint256 nonce, uint256[4] mpk)
	WatchMPKSet(opts *bind.WatchOpts, sink chan<- *ETHDKGMPKSet) (event.Subscription, error)
	// ParseMPKSet is a log parse operation binding the contract event 0x71b1ebd27be320895a22125d6458e3363aefa6944a312ede4bf275867e6d5a71.
	//
	// Solidity: event MPKSet(uint256 blockNumber, uint256 nonce, uint256[4] mpk)
	ParseMPKSet(log types.Log) (*ETHDKGMPKSet, error)
	// FilterRegistrationComplete is a free log retrieval operation binding the contract event 0x833013b96b786b4eca83baac286920e5e53956c21ff3894f1d9f02e97d6ed764.
	//
	// Solidity: event RegistrationComplete(uint256 blockNumber)
	FilterRegistrationComplete(opts *bind.FilterOpts) (*ETHDKGRegistrationCompleteIterator, error)
	// WatchRegistrationComplete is a free log subscription operation binding the contract event 0x833013b96b786b4eca83baac286920e5e53956c21ff3894f1d9f02e97d6ed764.
	//
	// Solidity: event RegistrationComplete(uint256 blockNumber)
	WatchRegistrationComplete(opts *bind.WatchOpts, sink chan<- *ETHDKGRegistrationComplete) (event.Subscription, error)
	// ParseRegistrationComplete is a log parse operation binding the contract event 0x833013b96b786b4eca83baac286920e5e53956c21ff3894f1d9f02e97d6ed764.
	//
	// Solidity: event RegistrationComplete(uint256 blockNumber)
	ParseRegistrationComplete(log types.Log) (*ETHDKGRegistrationComplete, error)
	// FilterRegistrationOpened is a free log retrieval operation binding the contract event 0xbda431b9b63510f1398bf33d700e013315bcba905507078a1780f13ea5b354b9.
	//
	// Solidity: event RegistrationOpened(uint256 startBlock, uint256 numberValidators, uint256 nonce, uint256 phaseLength, uint256 confirmationLength)
	FilterRegistrationOpened(opts *bind.FilterOpts) (*ETHDKGRegistrationOpenedIterator, error)
	// WatchRegistrationOpened is a free log subscription operation binding the contract event 0xbda431b9b63510f1398bf33d700e013315bcba905507078a1780f13ea5b354b9.
	//
	// Solidity: event RegistrationOpened(uint256 startBlock, uint256 numberValidators, uint256 nonce, uint256 phaseLength, uint256 confirmationLength)
	WatchRegistrationOpened(opts *bind.WatchOpts, sink chan<- *ETHDKGRegistrationOpened) (event.Subscription, error)
	// ParseRegistrationOpened is a log parse operation binding the contract event 0xbda431b9b63510f1398bf33d700e013315bcba905507078a1780f13ea5b354b9.
	//
	// Solidity: event RegistrationOpened(uint256 startBlock, uint256 numberValidators, uint256 nonce, uint256 phaseLength, uint256 confirmationLength)
	ParseRegistrationOpened(log types.Log) (*ETHDKGRegistrationOpened, error)
	// FilterShareDistributionComplete is a free log retrieval operation binding the contract event 0xbfe94ffef5ddde4d25ac7b652f3f67686ea63f9badbfe1f25451e26fc262d11c.
	//
	// Solidity: event ShareDistributionComplete(uint256 blockNumber)
	FilterShareDistributionComplete(opts *bind.FilterOpts) (*ETHDKGShareDistributionCompleteIterator, error)
	// WatchShareDistributionComplete is a free log subscription operation binding the contract event 0xbfe94ffef5ddde4d25ac7b652f3f67686ea63f9badbfe1f25451e26fc262d11c.
	//
	// Solidity: event ShareDistributionComplete(uint256 blockNumber)
	WatchShareDistributionComplete(opts *bind.WatchOpts, sink chan<- *ETHDKGShareDistributionComplete) (event.Subscription, error)
	// ParseShareDistributionComplete is a log parse operation binding the contract event 0xbfe94ffef5ddde4d25ac7b652f3f67686ea63f9badbfe1f25451e26fc262d11c.
	//
	// Solidity: event ShareDistributionComplete(uint256 blockNumber)
	ParseShareDistributionComplete(log types.Log) (*ETHDKGShareDistributionComplete, error)
	// FilterSharesDistributed is a free log retrieval operation binding the contract event 0xf0c8b0ef2867c2b4639b404a0296b6bbf0bf97e20856af42144a5a6035c0d0d2.
	//
	// Solidity: event SharesDistributed(address account, uint256 index, uint256 nonce, uint256[] encryptedShares, uint256[2][] commitments)
	FilterSharesDistributed(opts *bind.FilterOpts) (*ETHDKGSharesDistributedIterator, error)
	// WatchSharesDistributed is a free log subscription operation binding the contract event 0xf0c8b0ef2867c2b4639b404a0296b6bbf0bf97e20856af42144a5a6035c0d0d2.
	//
	// Solidity: event SharesDistributed(address account, uint256 index, uint256 nonce, uint256[] encryptedShares, uint256[2][] commitments)
	WatchSharesDistributed(opts *bind.WatchOpts, sink chan<- *ETHDKGSharesDistributed) (event.Subscription, error)
	// ParseSharesDistributed is a log parse operation binding the contract event 0xf0c8b0ef2867c2b4639b404a0296b6bbf0bf97e20856af42144a5a6035c0d0d2.
	//
	// Solidity: event SharesDistributed(address account, uint256 index, uint256 nonce, uint256[] encryptedShares, uint256[2][] commitments)
	ParseSharesDistributed(log types.Log) (*ETHDKGSharesDistributed, error)
	// FilterValidatorMemberAdded is a free log retrieval operation binding the contract event 0x09b90b08bbc3dbe22e9d2a0bc9c2c7614c7511cd0ad72177727a1e762115bf06.
	//
	// Solidity: event ValidatorMemberAdded(address account, uint256 index, uint256 nonce, uint256 epoch, uint256 share0, uint256 share1, uint256 share2, uint256 share3)
	FilterValidatorMemberAdded(opts *bind.FilterOpts) (*ETHDKGValidatorMemberAddedIterator, error)
	// WatchValidatorMemberAdded is a free log subscription operation binding the contract event 0x09b90b08bbc3dbe22e9d2a0bc9c2c7614c7511cd0ad72177727a1e762115bf06.
	//
	// Solidity: event ValidatorMemberAdded(address account, uint256 index, uint256 nonce, uint256 epoch, uint256 share0, uint256 share1, uint256 share2, uint256 share3)
	WatchValidatorMemberAdded(opts *bind.WatchOpts, sink chan<- *ETHDKGValidatorMemberAdded) (event.Subscription, error)
	// ParseValidatorMemberAdded is a log parse operation binding the contract event 0x09b90b08bbc3dbe22e9d2a0bc9c2c7614c7511cd0ad72177727a1e762115bf06.
	//
	// Solidity: event ValidatorMemberAdded(address account, uint256 index, uint256 nonce, uint256 epoch, uint256 share0, uint256 share1, uint256 share2, uint256 share3)
	ParseValidatorMemberAdded(log types.Log) (*ETHDKGValidatorMemberAdded, error)
	// FilterValidatorSetCompleted is a free log retrieval operation binding the contract event 0xd7237b781669fa700ecf77be6cd8fa0f4b98b1a24ac584a9b6b44c509216718a.
	//
	// Solidity: event ValidatorSetCompleted(uint256 validatorCount, uint256 nonce, uint256 epoch, uint256 ethHeight, uint256 aliceNetHeight, uint256 groupKey0, uint256 groupKey1, uint256 groupKey2, uint256 groupKey3)
	FilterValidatorSetCompleted(opts *bind.FilterOpts) (*ETHDKGValidatorSetCompletedIterator, error)
	// WatchValidatorSetCompleted is a free log subscription operation binding the contract event 0xd7237b781669fa700ecf77be6cd8fa0f4b98b1a24ac584a9b6b44c509216718a.
	//
	// Solidity: event ValidatorSetCompleted(uint256 validatorCount, uint256 nonce, uint256 epoch, uint256 ethHeight, uint256 aliceNetHeight, uint256 groupKey0, uint256 groupKey1, uint256 groupKey2, uint256 groupKey3)
	WatchValidatorSetCompleted(opts *bind.WatchOpts, sink chan<- *ETHDKGValidatorSetCompleted) (event.Subscription, error)
	// ParseValidatorSetCompleted is a log parse operation binding the contract event 0xd7237b781669fa700ecf77be6cd8fa0f4b98b1a24ac584a9b6b44c509216718a.
	//
	// Solidity: event ValidatorSetCompleted(uint256 validatorCount, uint256 nonce, uint256 epoch, uint256 ethHeight, uint256 aliceNetHeight, uint256 groupKey0, uint256 groupKey1, uint256 groupKey2, uint256 groupKey3)
	ParseValidatorSetCompleted(log types.Log) (*ETHDKGValidatorSetCompleted, error)
}

IETHDKGFilterer ...

type IETHDKGTransactor

type IETHDKGTransactor interface {
	// AccuseParticipantDidNotDistributeShares is a paid mutator transaction binding the contract method 0xdae681bc.
	//
	// Solidity: function accuseParticipantDidNotDistributeShares(address[] dishonestAddresses) returns()
	AccuseParticipantDidNotDistributeShares(opts *bind.TransactOpts, dishonestAddresses []common.Address) (*types.Transaction, error)
	// AccuseParticipantDidNotSubmitGPKJ is a paid mutator transaction binding the contract method 0x7df24ee9.
	//
	// Solidity: function accuseParticipantDidNotSubmitGPKJ(address[] dishonestAddresses) returns()
	AccuseParticipantDidNotSubmitGPKJ(opts *bind.TransactOpts, dishonestAddresses []common.Address) (*types.Transaction, error)
	// AccuseParticipantDidNotSubmitKeyShares is a paid mutator transaction binding the contract method 0x043a6f12.
	//
	// Solidity: function accuseParticipantDidNotSubmitKeyShares(address[] dishonestAddresses) returns()
	AccuseParticipantDidNotSubmitKeyShares(opts *bind.TransactOpts, dishonestAddresses []common.Address) (*types.Transaction, error)
	// AccuseParticipantDistributedBadShares is a paid mutator transaction binding the contract method 0xedbe7bf7.
	//
	// Solidity: function accuseParticipantDistributedBadShares(address dishonestAddress, uint256[] encryptedShares, uint256[2][] commitments, uint256[2] sharedKey, uint256[2] sharedKeyCorrectnessProof) returns()
	AccuseParticipantDistributedBadShares(opts *bind.TransactOpts, dishonestAddress common.Address, encryptedShares []*big.Int, commitments [][2]*big.Int, sharedKey [2]*big.Int, sharedKeyCorrectnessProof [2]*big.Int) (*types.Transaction, error)
	// AccuseParticipantNotRegistered is a paid mutator transaction binding the contract method 0xf72c45b6.
	//
	// Solidity: function accuseParticipantNotRegistered(address[] dishonestAddresses) returns()
	AccuseParticipantNotRegistered(opts *bind.TransactOpts, dishonestAddresses []common.Address) (*types.Transaction, error)
	// AccuseParticipantSubmittedBadGPKJ is a paid mutator transaction binding the contract method 0x80001264.
	//
	// Solidity: function accuseParticipantSubmittedBadGPKJ(address[] validators, bytes32[] encryptedSharesHash, uint256[2][][] commitments, address dishonestAddress) returns()
	AccuseParticipantSubmittedBadGPKJ(opts *bind.TransactOpts, validators []common.Address, encryptedSharesHash [][32]byte, commitments [][][2]*big.Int, dishonestAddress common.Address) (*types.Transaction, error)
	// Complete is a paid mutator transaction binding the contract method 0x522e1177.
	//
	// Solidity: function complete() returns()
	Complete(opts *bind.TransactOpts) (*types.Transaction, error)
	// DistributeShares is a paid mutator transaction binding the contract method 0x80b97e01.
	//
	// Solidity: function distributeShares(uint256[] encryptedShares, uint256[2][] commitments) returns()
	DistributeShares(opts *bind.TransactOpts, encryptedShares []*big.Int, commitments [][2]*big.Int) (*types.Transaction, error)
	// Initialize is a paid mutator transaction binding the contract method 0xe4a30116.
	//
	// Solidity: function initialize(uint256 phaseLength_, uint256 confirmationLength_) returns()
	Initialize(opts *bind.TransactOpts, phaseLength_ *big.Int, confirmationLength_ *big.Int) (*types.Transaction, error)
	// InitializeETHDKG is a paid mutator transaction binding the contract method 0x57b51c9c.
	//
	// Solidity: function initializeETHDKG() returns()
	InitializeETHDKG(opts *bind.TransactOpts) (*types.Transaction, error)
	// MigrateValidators is a paid mutator transaction binding the contract method 0x4890465a.
	//
	// Solidity: function migrateValidators(address[] validatorsAccounts_, uint256[] validatorIndexes_, uint256[4][] validatorShares_, uint8 validatorCount_, uint256 epoch_, uint256 sideChainHeight_, uint256 ethHeight_, uint256[4] masterPublicKey_) returns()
	MigrateValidators(opts *bind.TransactOpts, validatorsAccounts_ []common.Address, validatorIndexes_ []*big.Int, validatorShares_ [][4]*big.Int, validatorCount_ uint8, epoch_ *big.Int, sideChainHeight_ *big.Int, ethHeight_ *big.Int, masterPublicKey_ [4]*big.Int) (*types.Transaction, error)
	// Register is a paid mutator transaction binding the contract method 0x3442af5c.
	//
	// Solidity: function register(uint256[2] publicKey) returns()
	Register(opts *bind.TransactOpts, publicKey [2]*big.Int) (*types.Transaction, error)
	// SetConfirmationLength is a paid mutator transaction binding the contract method 0xff3e5e45.
	//
	// Solidity: function setConfirmationLength(uint16 confirmationLength_) returns()
	SetConfirmationLength(opts *bind.TransactOpts, confirmationLength_ uint16) (*types.Transaction, error)
	// SetCustomAliceNetHeight is a paid mutator transaction binding the contract method 0xdf8d157b.
	//
	// Solidity: function setCustomAliceNetHeight(uint256 aliceNetHeight) returns()
	SetCustomAliceNetHeight(opts *bind.TransactOpts, aliceNetHeight *big.Int) (*types.Transaction, error)
	// SetPhaseLength is a paid mutator transaction binding the contract method 0x8a3c24cc.
	//
	// Solidity: function setPhaseLength(uint16 phaseLength_) returns()
	SetPhaseLength(opts *bind.TransactOpts, phaseLength_ uint16) (*types.Transaction, error)
	// SubmitGPKJ is a paid mutator transaction binding the contract method 0x101f49c1.
	//
	// Solidity: function submitGPKJ(uint256[4] gpkj) returns()
	SubmitGPKJ(opts *bind.TransactOpts, gpkj [4]*big.Int) (*types.Transaction, error)
	// SubmitKeyShare is a paid mutator transaction binding the contract method 0x62a6523e.
	//
	// Solidity: function submitKeyShare(uint256[2] keyShareG1, uint256[2] keyShareG1CorrectnessProof, uint256[4] keyShareG2) returns()
	SubmitKeyShare(opts *bind.TransactOpts, keyShareG1 [2]*big.Int, keyShareG1CorrectnessProof [2]*big.Int, keyShareG2 [4]*big.Int) (*types.Transaction, error)
	// SubmitMasterPublicKey is a paid mutator transaction binding the contract method 0xe8323224.
	//
	// Solidity: function submitMasterPublicKey(uint256[4] masterPublicKey_) returns()
	SubmitMasterPublicKey(opts *bind.TransactOpts, masterPublicKey_ [4]*big.Int) (*types.Transaction, error)
}

IETHDKGTransactor ...

type IGovernanceCaller

type IGovernanceCaller interface {
}

IGovernanceCaller ...

type IGovernanceFilterer

type IGovernanceFilterer interface {
	// FilterSnapshotTaken is a free log retrieval operation binding the contract event 0x24b0dff7469a7007db81d741ef90d7966936fb78bc19d667f4575ecbf56ab350.
	//
	// Solidity: event SnapshotTaken(uint256 chainId, uint256 indexed epoch, uint256 height, address indexed validator, bool isSafeToProceedConsensus, bytes signatureRaw)
	FilterSnapshotTaken(opts *bind.FilterOpts, epoch []*big.Int, validator []common.Address) (*GovernanceSnapshotTakenIterator, error)
	// WatchSnapshotTaken is a free log subscription operation binding the contract event 0x24b0dff7469a7007db81d741ef90d7966936fb78bc19d667f4575ecbf56ab350.
	//
	// Solidity: event SnapshotTaken(uint256 chainId, uint256 indexed epoch, uint256 height, address indexed validator, bool isSafeToProceedConsensus, bytes signatureRaw)
	WatchSnapshotTaken(opts *bind.WatchOpts, sink chan<- *GovernanceSnapshotTaken, epoch []*big.Int, validator []common.Address) (event.Subscription, error)
	// ParseSnapshotTaken is a log parse operation binding the contract event 0x24b0dff7469a7007db81d741ef90d7966936fb78bc19d667f4575ecbf56ab350.
	//
	// Solidity: event SnapshotTaken(uint256 chainId, uint256 indexed epoch, uint256 height, address indexed validator, bool isSafeToProceedConsensus, bytes signatureRaw)
	ParseSnapshotTaken(log types.Log) (*GovernanceSnapshotTaken, error)
	// FilterValueUpdated is a free log retrieval operation binding the contract event 0x36dcd0e03525dedd9d5c21a263ef5f35d030298b5c48f1a713006aefc064ad05.
	//
	// Solidity: event ValueUpdated(uint256 indexed epoch, uint256 indexed key, bytes32 indexed value, address who)
	FilterValueUpdated(opts *bind.FilterOpts, epoch []*big.Int, key []*big.Int, value [][32]byte) (*GovernanceValueUpdatedIterator, error)
	// WatchValueUpdated is a free log subscription operation binding the contract event 0x36dcd0e03525dedd9d5c21a263ef5f35d030298b5c48f1a713006aefc064ad05.
	//
	// Solidity: event ValueUpdated(uint256 indexed epoch, uint256 indexed key, bytes32 indexed value, address who)
	WatchValueUpdated(opts *bind.WatchOpts, sink chan<- *GovernanceValueUpdated, epoch []*big.Int, key []*big.Int, value [][32]byte) (event.Subscription, error)
	// ParseValueUpdated is a log parse operation binding the contract event 0x36dcd0e03525dedd9d5c21a263ef5f35d030298b5c48f1a713006aefc064ad05.
	//
	// Solidity: event ValueUpdated(uint256 indexed epoch, uint256 indexed key, bytes32 indexed value, address who)
	ParseValueUpdated(log types.Log) (*GovernanceValueUpdated, error)
}

IGovernanceFilterer ...

type IGovernanceTransactor

type IGovernanceTransactor interface {
	// UpdateValue is a paid mutator transaction binding the contract method 0x46512486.
	//
	// Solidity: function updateValue(uint256 epoch, uint256 key, bytes32 value) returns()
	UpdateValue(opts *bind.TransactOpts, epoch *big.Int, key *big.Int, value [32]byte) (*types.Transaction, error)
}

IGovernanceTransactor ...

type IPublicStakingCaller

type IPublicStakingCaller interface {
	// BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
	//
	// Solidity: function balanceOf(address owner) view returns(uint256)
	BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
	// CircuitBreakerState is a free data retrieval call binding the contract method 0x89465c62.
	//
	// Solidity: function circuitBreakerState() view returns(bool)
	CircuitBreakerState(opts *bind.CallOpts) (bool, error)
	// EstimateAllProfits is a free data retrieval call binding the contract method 0x4fc8638f.
	//
	// Solidity: function estimateAllProfits(uint256 tokenID_) view returns(uint256 payoutEth, uint256 payoutToken)
	EstimateAllProfits(opts *bind.CallOpts, tokenID_ *big.Int) (struct {
		PayoutEth   *big.Int
		PayoutToken *big.Int
	}, error)
	// EstimateEthCollection is a free data retrieval call binding the contract method 0x20ea0d48.
	//
	// Solidity: function estimateEthCollection(uint256 tokenID_) view returns(uint256 payout)
	EstimateEthCollection(opts *bind.CallOpts, tokenID_ *big.Int) (*big.Int, error)
	// EstimateExcessEth is a free data retrieval call binding the contract method 0x905953ed.
	//
	// Solidity: function estimateExcessEth() view returns(uint256 excess)
	EstimateExcessEth(opts *bind.CallOpts) (*big.Int, error)
	// EstimateExcessToken is a free data retrieval call binding the contract method 0x3eed3eff.
	//
	// Solidity: function estimateExcessToken() view returns(uint256 excess)
	EstimateExcessToken(opts *bind.CallOpts) (*big.Int, error)
	// EstimateTokenCollection is a free data retrieval call binding the contract method 0x93c5748d.
	//
	// Solidity: function estimateTokenCollection(uint256 tokenID_) view returns(uint256 payout)
	EstimateTokenCollection(opts *bind.CallOpts, tokenID_ *big.Int) (*big.Int, error)
	// GetAccumulatorScaleFactor is a free data retrieval call binding the contract method 0x99785132.
	//
	// Solidity: function getAccumulatorScaleFactor() pure returns(uint256)
	GetAccumulatorScaleFactor(opts *bind.CallOpts) (*big.Int, error)
	// GetApproved is a free data retrieval call binding the contract method 0x081812fc.
	//
	// Solidity: function getApproved(uint256 tokenId) view returns(address)
	GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
	// GetEthAccumulator is a free data retrieval call binding the contract method 0x548652d2.
	//
	// Solidity: function getEthAccumulator() view returns(uint256 accumulator, uint256 slush)
	GetEthAccumulator(opts *bind.CallOpts) (struct {
		Accumulator *big.Int
		Slush       *big.Int
	}, error)
	// GetLatestMintedPositionID is a free data retrieval call binding the contract method 0x79bb0985.
	//
	// Solidity: function getLatestMintedPositionID() view returns(uint256)
	GetLatestMintedPositionID(opts *bind.CallOpts) (*big.Int, error)
	// GetMaxGovernanceLock is a free data retrieval call binding the contract method 0xf44d258b.
	//
	// Solidity: function getMaxGovernanceLock() pure returns(uint256)
	GetMaxGovernanceLock(opts *bind.CallOpts) (*big.Int, error)
	// GetMaxMintLock is a free data retrieval call binding the contract method 0x090f70f0.
	//
	// Solidity: function getMaxMintLock() pure returns(uint256)
	GetMaxMintLock(opts *bind.CallOpts) (*big.Int, error)
	// GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.
	//
	// Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)
	GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)
	// GetPosition is a free data retrieval call binding the contract method 0xeb02c301.
	//
	// Solidity: function getPosition(uint256 tokenID_) view returns(uint256 shares, uint256 freeAfter, uint256 withdrawFreeAfter, uint256 accumulatorEth, uint256 accumulatorToken)
	GetPosition(opts *bind.CallOpts, tokenID_ *big.Int) (struct {
		Shares            *big.Int
		FreeAfter         *big.Int
		WithdrawFreeAfter *big.Int
		AccumulatorEth    *big.Int
		AccumulatorToken  *big.Int
	}, error)
	// GetTokenAccumulator is a free data retrieval call binding the contract method 0xc47c6e14.
	//
	// Solidity: function getTokenAccumulator() view returns(uint256 accumulator, uint256 slush)
	GetTokenAccumulator(opts *bind.CallOpts) (struct {
		Accumulator *big.Int
		Slush       *big.Int
	}, error)
	// GetTotalReserveALCA is a free data retrieval call binding the contract method 0x3d8fe879.
	//
	// Solidity: function getTotalReserveALCA() view returns(uint256)
	GetTotalReserveALCA(opts *bind.CallOpts) (*big.Int, error)
	// GetTotalReserveEth is a free data retrieval call binding the contract method 0x19b8be2f.
	//
	// Solidity: function getTotalReserveEth() view returns(uint256)
	GetTotalReserveEth(opts *bind.CallOpts) (*big.Int, error)
	// GetTotalShares is a free data retrieval call binding the contract method 0xd5002f2e.
	//
	// Solidity: function getTotalShares() view returns(uint256)
	GetTotalShares(opts *bind.CallOpts) (*big.Int, error)
	// IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
	//
	// Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
	IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
	// Name is a free data retrieval call binding the contract method 0x06fdde03.
	//
	// Solidity: function name() view returns(string)
	Name(opts *bind.CallOpts) (string, error)
	// OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
	//
	// Solidity: function ownerOf(uint256 tokenId) view returns(address)
	OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
	// SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
	//
	// Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
	SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
	// Symbol is a free data retrieval call binding the contract method 0x95d89b41.
	//
	// Solidity: function symbol() view returns(string)
	Symbol(opts *bind.CallOpts) (string, error)
	// TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
	//
	// Solidity: function tokenByIndex(uint256 index) view returns(uint256)
	TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)
	// TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.
	//
	// Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)
	TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)
	// TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.
	//
	// Solidity: function tokenURI(uint256 tokenID_) view returns(string)
	TokenURI(opts *bind.CallOpts, tokenID_ *big.Int) (string, error)
	// TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
	//
	// Solidity: function totalSupply() view returns(uint256)
	TotalSupply(opts *bind.CallOpts) (*big.Int, error)
}

IPublicStakingCaller ...

type IPublicStakingFilterer

type IPublicStakingFilterer interface {
	// FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
	//
	// Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
	FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*PublicStakingApprovalIterator, error)
	// WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
	//
	// Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
	WatchApproval(opts *bind.WatchOpts, sink chan<- *PublicStakingApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)
	// ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
	//
	// Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
	ParseApproval(log types.Log) (*PublicStakingApproval, error)
	// FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
	//
	// Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
	FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*PublicStakingApprovalForAllIterator, error)
	// WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
	//
	// Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
	WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *PublicStakingApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)
	// ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
	//
	// Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
	ParseApprovalForAll(log types.Log) (*PublicStakingApprovalForAll, error)
	// FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
	//
	// Solidity: event Initialized(uint8 version)
	FilterInitialized(opts *bind.FilterOpts) (*PublicStakingInitializedIterator, error)
	// WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
	//
	// Solidity: event Initialized(uint8 version)
	WatchInitialized(opts *bind.WatchOpts, sink chan<- *PublicStakingInitialized) (event.Subscription, error)
	// ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
	//
	// Solidity: event Initialized(uint8 version)
	ParseInitialized(log types.Log) (*PublicStakingInitialized, error)
	// FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
	//
	// Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
	FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*PublicStakingTransferIterator, error)
	// WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
	//
	// Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
	WatchTransfer(opts *bind.WatchOpts, sink chan<- *PublicStakingTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)
	// ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
	//
	// Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
	ParseTransfer(log types.Log) (*PublicStakingTransfer, error)
}

IPublicStakingFilterer ...

type IPublicStakingTransactor

type IPublicStakingTransactor interface {
	// Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
	//
	// Solidity: function approve(address to, uint256 tokenId) returns()
	Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
	// Burn is a paid mutator transaction binding the contract method 0x42966c68.
	//
	// Solidity: function burn(uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutALCA)
	Burn(opts *bind.TransactOpts, tokenID_ *big.Int) (*types.Transaction, error)
	// BurnTo is a paid mutator transaction binding the contract method 0xea785a5e.
	//
	// Solidity: function burnTo(address to_, uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutALCA)
	BurnTo(opts *bind.TransactOpts, to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)
	// CollectAllProfits is a paid mutator transaction binding the contract method 0x0df4b2dd.
	//
	// Solidity: function collectAllProfits(uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutToken)
	CollectAllProfits(opts *bind.TransactOpts, tokenID_ *big.Int) (*types.Transaction, error)
	// CollectAllProfitsTo is a paid mutator transaction binding the contract method 0x8303fef7.
	//
	// Solidity: function collectAllProfitsTo(address to_, uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutToken)
	CollectAllProfitsTo(opts *bind.TransactOpts, to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)
	// CollectEth is a paid mutator transaction binding the contract method 0x2a0d8bd1.
	//
	// Solidity: function collectEth(uint256 tokenID_) returns(uint256 payout)
	CollectEth(opts *bind.TransactOpts, tokenID_ *big.Int) (*types.Transaction, error)
	// CollectEthTo is a paid mutator transaction binding the contract method 0xbe444379.
	//
	// Solidity: function collectEthTo(address to_, uint256 tokenID_) returns(uint256 payout)
	CollectEthTo(opts *bind.TransactOpts, to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)
	// CollectToken is a paid mutator transaction binding the contract method 0xe35c3e28.
	//
	// Solidity: function collectToken(uint256 tokenID_) returns(uint256 payout)
	CollectToken(opts *bind.TransactOpts, tokenID_ *big.Int) (*types.Transaction, error)
	// CollectTokenTo is a paid mutator transaction binding the contract method 0x8853b950.
	//
	// Solidity: function collectTokenTo(address to_, uint256 tokenID_) returns(uint256 payout)
	CollectTokenTo(opts *bind.TransactOpts, to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)
	// DepositEth is a paid mutator transaction binding the contract method 0x99a89ecc.
	//
	// Solidity: function depositEth(uint8 magic_) payable returns()
	DepositEth(opts *bind.TransactOpts, magic_ uint8) (*types.Transaction, error)
	// DepositToken is a paid mutator transaction binding the contract method 0x8191f5e5.
	//
	// Solidity: function depositToken(uint8 magic_, uint256 amount_) returns()
	DepositToken(opts *bind.TransactOpts, magic_ uint8, amount_ *big.Int) (*types.Transaction, error)
	// Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
	//
	// Solidity: function initialize() returns()
	Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
	// LockOwnPosition is a paid mutator transaction binding the contract method 0xe42a673c.
	//
	// Solidity: function lockOwnPosition(uint256 tokenID_, uint256 lockDuration_) returns(uint256)
	LockOwnPosition(opts *bind.TransactOpts, tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)
	// LockPosition is a paid mutator transaction binding the contract method 0x0cc65dfb.
	//
	// Solidity: function lockPosition(address caller_, uint256 tokenID_, uint256 lockDuration_) returns(uint256)
	LockPosition(opts *bind.TransactOpts, caller_ common.Address, tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)
	// LockWithdraw is a paid mutator transaction binding the contract method 0x0e4eb15b.
	//
	// Solidity: function lockWithdraw(uint256 tokenID_, uint256 lockDuration_) returns(uint256)
	LockWithdraw(opts *bind.TransactOpts, tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)
	// Mint is a paid mutator transaction binding the contract method 0xa0712d68.
	//
	// Solidity: function mint(uint256 amount_) returns(uint256 tokenID)
	Mint(opts *bind.TransactOpts, amount_ *big.Int) (*types.Transaction, error)
	// MintTo is a paid mutator transaction binding the contract method 0x2baf2acb.
	//
	// Solidity: function mintTo(address to_, uint256 amount_, uint256 lockDuration_) returns(uint256 tokenID)
	MintTo(opts *bind.TransactOpts, to_ common.Address, amount_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)
	// SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
	//
	// Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
	SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
	// SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
	//
	// Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()
	SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
	// SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
	//
	// Solidity: function setApprovalForAll(address operator, bool approved) returns()
	SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
	// SkimExcessEth is a paid mutator transaction binding the contract method 0x971b505b.
	//
	// Solidity: function skimExcessEth(address to_) returns(uint256 excess)
	SkimExcessEth(opts *bind.TransactOpts, to_ common.Address) (*types.Transaction, error)
	// SkimExcessToken is a paid mutator transaction binding the contract method 0x7aa507fb.
	//
	// Solidity: function skimExcessToken(address to_) returns(uint256 excess)
	SkimExcessToken(opts *bind.TransactOpts, to_ common.Address) (*types.Transaction, error)
	// TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
	//
	// Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
	TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
	// TripCB is a paid mutator transaction binding the contract method 0xadfdc03f.
	//
	// Solidity: function tripCB() returns()
	TripCB(opts *bind.TransactOpts) (*types.Transaction, error)
}

IPublicStakingTransactor ...

type ISnapshotsCaller

type ISnapshotsCaller interface {
	// CheckBClaimsSignature is a free data retrieval call binding the contract method 0x0204dffd.
	//
	// Solidity: function checkBClaimsSignature(bytes groupSignature_, bytes bClaims_) view returns(bool)
	CheckBClaimsSignature(opts *bind.CallOpts, groupSignature_ []byte, bClaims_ []byte) (bool, error)
	// GetAliceNetHeightFromLatestSnapshot is a free data retrieval call binding the contract method 0xff07fc0e.
	//
	// Solidity: function getAliceNetHeightFromLatestSnapshot() view returns(uint256)
	GetAliceNetHeightFromLatestSnapshot(opts *bind.CallOpts) (*big.Int, error)
	// GetAliceNetHeightFromSnapshot is a free data retrieval call binding the contract method 0xc5e8fde1.
	//
	// Solidity: function getAliceNetHeightFromSnapshot(uint256 epoch_) view returns(uint256)
	GetAliceNetHeightFromSnapshot(opts *bind.CallOpts, epoch_ *big.Int) (*big.Int, error)
	// GetBlockClaimsFromLatestSnapshot is a free data retrieval call binding the contract method 0xc2ea6603.
	//
	// Solidity: function getBlockClaimsFromLatestSnapshot() view returns((uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32))
	GetBlockClaimsFromLatestSnapshot(opts *bind.CallOpts) (BClaimsParserLibraryBClaims, error)
	// GetBlockClaimsFromSnapshot is a free data retrieval call binding the contract method 0x45dfc599.
	//
	// Solidity: function getBlockClaimsFromSnapshot(uint256 epoch_) view returns((uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32))
	GetBlockClaimsFromSnapshot(opts *bind.CallOpts, epoch_ *big.Int) (BClaimsParserLibraryBClaims, error)
	// GetChainId is a free data retrieval call binding the contract method 0x3408e470.
	//
	// Solidity: function getChainId() view returns(uint256)
	GetChainId(opts *bind.CallOpts) (*big.Int, error)
	// GetChainIdFromLatestSnapshot is a free data retrieval call binding the contract method 0xd9c11657.
	//
	// Solidity: function getChainIdFromLatestSnapshot() view returns(uint256)
	GetChainIdFromLatestSnapshot(opts *bind.CallOpts) (*big.Int, error)
	// GetChainIdFromSnapshot is a free data retrieval call binding the contract method 0x19f74669.
	//
	// Solidity: function getChainIdFromSnapshot(uint256 epoch_) view returns(uint256)
	GetChainIdFromSnapshot(opts *bind.CallOpts, epoch_ *big.Int) (*big.Int, error)
	// GetCommittedHeightFromLatestSnapshot is a free data retrieval call binding the contract method 0x026c2b7e.
	//
	// Solidity: function getCommittedHeightFromLatestSnapshot() view returns(uint256)
	GetCommittedHeightFromLatestSnapshot(opts *bind.CallOpts) (*big.Int, error)
	// GetCommittedHeightFromSnapshot is a free data retrieval call binding the contract method 0xe18c697a.
	//
	// Solidity: function getCommittedHeightFromSnapshot(uint256 epoch_) view returns(uint256)
	GetCommittedHeightFromSnapshot(opts *bind.CallOpts, epoch_ *big.Int) (*big.Int, error)
	// GetEpoch is a free data retrieval call binding the contract method 0x757991a8.
	//
	// Solidity: function getEpoch() view returns(uint256)
	GetEpoch(opts *bind.CallOpts) (*big.Int, error)
	// GetEpochFromHeight is a free data retrieval call binding the contract method 0x2eee30ce.
	//
	// Solidity: function getEpochFromHeight(uint256 height) view returns(uint256)
	GetEpochFromHeight(opts *bind.CallOpts, height *big.Int) (*big.Int, error)
	// GetEpochLength is a free data retrieval call binding the contract method 0xcfe8a73b.
	//
	// Solidity: function getEpochLength() view returns(uint256)
	GetEpochLength(opts *bind.CallOpts) (*big.Int, error)
	// GetLatestSnapshot is a free data retrieval call binding the contract method 0xd518f243.
	//
	// Solidity: function getLatestSnapshot() view returns((uint256,(uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32)))
	GetLatestSnapshot(opts *bind.CallOpts) (Snapshot, error)
	// GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.
	//
	// Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)
	GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)
	// GetMinimumIntervalBetweenSnapshots is a free data retrieval call binding the contract method 0x42438d7b.
	//
	// Solidity: function getMinimumIntervalBetweenSnapshots() view returns(uint256)
	GetMinimumIntervalBetweenSnapshots(opts *bind.CallOpts) (*big.Int, error)
	// GetSnapshot is a free data retrieval call binding the contract method 0x76f10ad0.
	//
	// Solidity: function getSnapshot(uint256 epoch_) view returns((uint256,(uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32)))
	GetSnapshot(opts *bind.CallOpts, epoch_ *big.Int) (Snapshot, error)
	// GetSnapshotDesperationDelay is a free data retrieval call binding the contract method 0xd17fcc56.
	//
	// Solidity: function getSnapshotDesperationDelay() view returns(uint256)
	GetSnapshotDesperationDelay(opts *bind.CallOpts) (*big.Int, error)
	// GetSnapshotDesperationFactor is a free data retrieval call binding the contract method 0x7cc4cce6.
	//
	// Solidity: function getSnapshotDesperationFactor() view returns(uint256)
	GetSnapshotDesperationFactor(opts *bind.CallOpts) (*big.Int, error)
	// IsValidatorElectedToPerformSnapshot is a free data retrieval call binding the contract method 0xc0e83e81.
	//
	// Solidity: function isValidatorElectedToPerformSnapshot(address validator, uint256 lastSnapshotCommittedAt, bytes32 groupSignatureHash) view returns(bool)
	IsValidatorElectedToPerformSnapshot(opts *bind.CallOpts, validator common.Address, lastSnapshotCommittedAt *big.Int, groupSignatureHash [32]byte) (bool, error)
	// MayValidatorSnapshot is a free data retrieval call binding the contract method 0xf45fa246.
	//
	// Solidity: function mayValidatorSnapshot(uint256 numValidators, uint256 myIdx, uint256 blocksSinceDesperation, bytes32 randomSeed, uint256 desperationFactor) pure returns(bool)
	MayValidatorSnapshot(opts *bind.CallOpts, numValidators *big.Int, myIdx *big.Int, blocksSinceDesperation *big.Int, randomSeed [32]byte, desperationFactor *big.Int) (bool, error)
}

ISnapshotsCaller ...

type ISnapshotsFilterer

type ISnapshotsFilterer interface {
	// FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
	//
	// Solidity: event Initialized(uint8 version)
	FilterInitialized(opts *bind.FilterOpts) (*SnapshotsInitializedIterator, error)
	// WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
	//
	// Solidity: event Initialized(uint8 version)
	WatchInitialized(opts *bind.WatchOpts, sink chan<- *SnapshotsInitialized) (event.Subscription, error)
	// ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
	//
	// Solidity: event Initialized(uint8 version)
	ParseInitialized(log types.Log) (*SnapshotsInitialized, error)
	// FilterSnapshotTaken is a free log retrieval operation binding the contract event 0x709e2f13a448a6bdef51a1fcadf45303dee0b6bff5bdf628829f401b019b7e9b.
	//
	// Solidity: event SnapshotTaken(uint256 chainId, uint256 indexed epoch, uint256 height, address indexed validator, bool isSafeToProceedConsensus, uint256[4] masterPublicKey, uint256[2] signature, (uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32) bClaims)
	FilterSnapshotTaken(opts *bind.FilterOpts, epoch []*big.Int, validator []common.Address) (*SnapshotsSnapshotTakenIterator, error)
	// WatchSnapshotTaken is a free log subscription operation binding the contract event 0x709e2f13a448a6bdef51a1fcadf45303dee0b6bff5bdf628829f401b019b7e9b.
	//
	// Solidity: event SnapshotTaken(uint256 chainId, uint256 indexed epoch, uint256 height, address indexed validator, bool isSafeToProceedConsensus, uint256[4] masterPublicKey, uint256[2] signature, (uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32) bClaims)
	WatchSnapshotTaken(opts *bind.WatchOpts, sink chan<- *SnapshotsSnapshotTaken, epoch []*big.Int, validator []common.Address) (event.Subscription, error)
	// ParseSnapshotTaken is a log parse operation binding the contract event 0x709e2f13a448a6bdef51a1fcadf45303dee0b6bff5bdf628829f401b019b7e9b.
	//
	// Solidity: event SnapshotTaken(uint256 chainId, uint256 indexed epoch, uint256 height, address indexed validator, bool isSafeToProceedConsensus, uint256[4] masterPublicKey, uint256[2] signature, (uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32) bClaims)
	ParseSnapshotTaken(log types.Log) (*SnapshotsSnapshotTaken, error)
}

ISnapshotsFilterer ...

type ISnapshotsTransactor

type ISnapshotsTransactor interface {
	// Initialize is a paid mutator transaction binding the contract method 0x3ecc0f5e.
	//
	// Solidity: function initialize(uint32 desperationDelay_, uint32 desperationFactor_) returns()
	Initialize(opts *bind.TransactOpts, desperationDelay_ uint32, desperationFactor_ uint32) (*types.Transaction, error)
	// MigrateSnapshots is a paid mutator transaction binding the contract method 0xae2728ea.
	//
	// Solidity: function migrateSnapshots(bytes[] groupSignature_, bytes[] bClaims_) returns(bool)
	MigrateSnapshots(opts *bind.TransactOpts, groupSignature_ [][]byte, bClaims_ [][]byte) (*types.Transaction, error)
	// SetMinimumIntervalBetweenSnapshots is a paid mutator transaction binding the contract method 0xeb7c7afe.
	//
	// Solidity: function setMinimumIntervalBetweenSnapshots(uint32 minimumIntervalBetweenSnapshots_) returns()
	SetMinimumIntervalBetweenSnapshots(opts *bind.TransactOpts, minimumIntervalBetweenSnapshots_ uint32) (*types.Transaction, error)
	// SetSnapshotDesperationDelay is a paid mutator transaction binding the contract method 0xc2e8fef2.
	//
	// Solidity: function setSnapshotDesperationDelay(uint32 desperationDelay_) returns()
	SetSnapshotDesperationDelay(opts *bind.TransactOpts, desperationDelay_ uint32) (*types.Transaction, error)
	// SetSnapshotDesperationFactor is a paid mutator transaction binding the contract method 0x3fa7a1ad.
	//
	// Solidity: function setSnapshotDesperationFactor(uint32 desperationFactor_) returns()
	SetSnapshotDesperationFactor(opts *bind.TransactOpts, desperationFactor_ uint32) (*types.Transaction, error)
	// Snapshot is a paid mutator transaction binding the contract method 0x08ca1f25.
	//
	// Solidity: function snapshot(bytes groupSignature_, bytes bClaims_) returns(bool)
	Snapshot(opts *bind.TransactOpts, groupSignature_ []byte, bClaims_ []byte) (*types.Transaction, error)
}

ISnapshotsTransactor ...

type IValidatorPoolCaller

type IValidatorPoolCaller interface {
	// CLAIMPERIOD is a free data retrieval call binding the contract method 0x21241dfe.
	//
	// Solidity: function CLAIM_PERIOD() view returns(uint256)
	CLAIMPERIOD(opts *bind.CallOpts) (*big.Int, error)
	// POSITIONLOCKPERIOD is a free data retrieval call binding the contract method 0x9c87e3ed.
	//
	// Solidity: function POSITION_LOCK_PERIOD() view returns(uint256)
	POSITIONLOCKPERIOD(opts *bind.CallOpts) (*big.Int, error)
	// GetDisputerReward is a free data retrieval call binding the contract method 0x9ccdf830.
	//
	// Solidity: function getDisputerReward() view returns(uint256)
	GetDisputerReward(opts *bind.CallOpts) (*big.Int, error)
	// GetLocation is a free data retrieval call binding the contract method 0xd9e0dc59.
	//
	// Solidity: function getLocation(address validator_) view returns(string)
	GetLocation(opts *bind.CallOpts, validator_ common.Address) (string, error)
	// GetLocations is a free data retrieval call binding the contract method 0x76207f9c.
	//
	// Solidity: function getLocations(address[] validators_) view returns(string[])
	GetLocations(opts *bind.CallOpts, validators_ []common.Address) ([]string, error)
	// GetMaxIntervalWithoutSnapshots is a free data retrieval call binding the contract method 0xd3dfe445.
	//
	// Solidity: function getMaxIntervalWithoutSnapshots() view returns(uint256 maxIntervalWithoutSnapshots)
	GetMaxIntervalWithoutSnapshots(opts *bind.CallOpts) (*big.Int, error)
	// GetMaxNumValidators is a free data retrieval call binding the contract method 0xd2992f54.
	//
	// Solidity: function getMaxNumValidators() view returns(uint256)
	GetMaxNumValidators(opts *bind.CallOpts) (*big.Int, error)
	// GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.
	//
	// Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)
	GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)
	// GetStakeAmount is a free data retrieval call binding the contract method 0x722580b6.
	//
	// Solidity: function getStakeAmount() view returns(uint256)
	GetStakeAmount(opts *bind.CallOpts) (*big.Int, error)
	// GetValidator is a free data retrieval call binding the contract method 0xb5d89627.
	//
	// Solidity: function getValidator(uint256 index_) view returns(address)
	GetValidator(opts *bind.CallOpts, index_ *big.Int) (common.Address, error)
	// GetValidatorData is a free data retrieval call binding the contract method 0xc0951451.
	//
	// Solidity: function getValidatorData(uint256 index_) view returns((address,uint256))
	GetValidatorData(opts *bind.CallOpts, index_ *big.Int) (ValidatorData, error)
	// GetValidatorsAddresses is a free data retrieval call binding the contract method 0x9c7d8961.
	//
	// Solidity: function getValidatorsAddresses() view returns(address[])
	GetValidatorsAddresses(opts *bind.CallOpts) ([]common.Address, error)
	// GetValidatorsCount is a free data retrieval call binding the contract method 0x27498240.
	//
	// Solidity: function getValidatorsCount() view returns(uint256)
	GetValidatorsCount(opts *bind.CallOpts) (*big.Int, error)
	// IsAccusable is a free data retrieval call binding the contract method 0x20c2856d.
	//
	// Solidity: function isAccusable(address account_) view returns(bool)
	IsAccusable(opts *bind.CallOpts, account_ common.Address) (bool, error)
	// IsConsensusRunning is a free data retrieval call binding the contract method 0xc8d1a5e4.
	//
	// Solidity: function isConsensusRunning() view returns(bool)
	IsConsensusRunning(opts *bind.CallOpts) (bool, error)
	// IsInExitingQueue is a free data retrieval call binding the contract method 0xe4ad75f1.
	//
	// Solidity: function isInExitingQueue(address account_) view returns(bool)
	IsInExitingQueue(opts *bind.CallOpts, account_ common.Address) (bool, error)
	// IsMaintenanceScheduled is a free data retrieval call binding the contract method 0x1885570f.
	//
	// Solidity: function isMaintenanceScheduled() view returns(bool)
	IsMaintenanceScheduled(opts *bind.CallOpts) (bool, error)
	// IsValidator is a free data retrieval call binding the contract method 0xfacd743b.
	//
	// Solidity: function isValidator(address account_) view returns(bool)
	IsValidator(opts *bind.CallOpts, account_ common.Address) (bool, error)
	// TryGetTokenID is a free data retrieval call binding the contract method 0xee9e49bd.
	//
	// Solidity: function tryGetTokenID(address account_) view returns(bool, address, uint256)
	TryGetTokenID(opts *bind.CallOpts, account_ common.Address) (bool, common.Address, *big.Int, error)
}

IValidatorPoolCaller ...

type IValidatorPoolFilterer

type IValidatorPoolFilterer interface {
	// FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
	//
	// Solidity: event Initialized(uint8 version)
	FilterInitialized(opts *bind.FilterOpts) (*ValidatorPoolInitializedIterator, error)
	// WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
	//
	// Solidity: event Initialized(uint8 version)
	WatchInitialized(opts *bind.WatchOpts, sink chan<- *ValidatorPoolInitialized) (event.Subscription, error)
	// ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
	//
	// Solidity: event Initialized(uint8 version)
	ParseInitialized(log types.Log) (*ValidatorPoolInitialized, error)
	// FilterMaintenanceScheduled is a free log retrieval operation binding the contract event 0xc77f315ab4072b428052ff8f369916ce39f7fa7e925613f3e9b28fe383c565c8.
	//
	// Solidity: event MaintenanceScheduled()
	FilterMaintenanceScheduled(opts *bind.FilterOpts) (*ValidatorPoolMaintenanceScheduledIterator, error)
	// WatchMaintenanceScheduled is a free log subscription operation binding the contract event 0xc77f315ab4072b428052ff8f369916ce39f7fa7e925613f3e9b28fe383c565c8.
	//
	// Solidity: event MaintenanceScheduled()
	WatchMaintenanceScheduled(opts *bind.WatchOpts, sink chan<- *ValidatorPoolMaintenanceScheduled) (event.Subscription, error)
	// ParseMaintenanceScheduled is a log parse operation binding the contract event 0xc77f315ab4072b428052ff8f369916ce39f7fa7e925613f3e9b28fe383c565c8.
	//
	// Solidity: event MaintenanceScheduled()
	ParseMaintenanceScheduled(log types.Log) (*ValidatorPoolMaintenanceScheduled, error)
	// FilterValidatorJoined is a free log retrieval operation binding the contract event 0xe30848520248cd6b60cf19fe62a302a47e2d2c1c147deea1188e471751557a52.
	//
	// Solidity: event ValidatorJoined(address indexed account, uint256 validatorStakingTokenID)
	FilterValidatorJoined(opts *bind.FilterOpts, account []common.Address) (*ValidatorPoolValidatorJoinedIterator, error)
	// WatchValidatorJoined is a free log subscription operation binding the contract event 0xe30848520248cd6b60cf19fe62a302a47e2d2c1c147deea1188e471751557a52.
	//
	// Solidity: event ValidatorJoined(address indexed account, uint256 validatorStakingTokenID)
	WatchValidatorJoined(opts *bind.WatchOpts, sink chan<- *ValidatorPoolValidatorJoined, account []common.Address) (event.Subscription, error)
	// ParseValidatorJoined is a log parse operation binding the contract event 0xe30848520248cd6b60cf19fe62a302a47e2d2c1c147deea1188e471751557a52.
	//
	// Solidity: event ValidatorJoined(address indexed account, uint256 validatorStakingTokenID)
	ParseValidatorJoined(log types.Log) (*ValidatorPoolValidatorJoined, error)
	// FilterValidatorLeft is a free log retrieval operation binding the contract event 0x33ff7b2beda3cb99406d3401fd9e8d9001b93e74b845cf7346f6e7f70c703e73.
	//
	// Solidity: event ValidatorLeft(address indexed account, uint256 publicStakingTokenID)
	FilterValidatorLeft(opts *bind.FilterOpts, account []common.Address) (*ValidatorPoolValidatorLeftIterator, error)
	// WatchValidatorLeft is a free log subscription operation binding the contract event 0x33ff7b2beda3cb99406d3401fd9e8d9001b93e74b845cf7346f6e7f70c703e73.
	//
	// Solidity: event ValidatorLeft(address indexed account, uint256 publicStakingTokenID)
	WatchValidatorLeft(opts *bind.WatchOpts, sink chan<- *ValidatorPoolValidatorLeft, account []common.Address) (event.Subscription, error)
	// ParseValidatorLeft is a log parse operation binding the contract event 0x33ff7b2beda3cb99406d3401fd9e8d9001b93e74b845cf7346f6e7f70c703e73.
	//
	// Solidity: event ValidatorLeft(address indexed account, uint256 publicStakingTokenID)
	ParseValidatorLeft(log types.Log) (*ValidatorPoolValidatorLeft, error)
	// FilterValidatorMajorSlashed is a free log retrieval operation binding the contract event 0xee806478c61c75fc3ec50328b2af43290d1860ef40d5dfbba62ece0e1e3abe9e.
	//
	// Solidity: event ValidatorMajorSlashed(address indexed account)
	FilterValidatorMajorSlashed(opts *bind.FilterOpts, account []common.Address) (*ValidatorPoolValidatorMajorSlashedIterator, error)
	// WatchValidatorMajorSlashed is a free log subscription operation binding the contract event 0xee806478c61c75fc3ec50328b2af43290d1860ef40d5dfbba62ece0e1e3abe9e.
	//
	// Solidity: event ValidatorMajorSlashed(address indexed account)
	WatchValidatorMajorSlashed(opts *bind.WatchOpts, sink chan<- *ValidatorPoolValidatorMajorSlashed, account []common.Address) (event.Subscription, error)
	// ParseValidatorMajorSlashed is a log parse operation binding the contract event 0xee806478c61c75fc3ec50328b2af43290d1860ef40d5dfbba62ece0e1e3abe9e.
	//
	// Solidity: event ValidatorMajorSlashed(address indexed account)
	ParseValidatorMajorSlashed(log types.Log) (*ValidatorPoolValidatorMajorSlashed, error)
	// FilterValidatorMinorSlashed is a free log retrieval operation binding the contract event 0x23f67a6ac6d764dca01e28630334f5b636e2b1928c0a5d5b5428da3f69167208.
	//
	// Solidity: event ValidatorMinorSlashed(address indexed account, uint256 publicStakingTokenID)
	FilterValidatorMinorSlashed(opts *bind.FilterOpts, account []common.Address) (*ValidatorPoolValidatorMinorSlashedIterator, error)
	// WatchValidatorMinorSlashed is a free log subscription operation binding the contract event 0x23f67a6ac6d764dca01e28630334f5b636e2b1928c0a5d5b5428da3f69167208.
	//
	// Solidity: event ValidatorMinorSlashed(address indexed account, uint256 publicStakingTokenID)
	WatchValidatorMinorSlashed(opts *bind.WatchOpts, sink chan<- *ValidatorPoolValidatorMinorSlashed, account []common.Address) (event.Subscription, error)
	// ParseValidatorMinorSlashed is a log parse operation binding the contract event 0x23f67a6ac6d764dca01e28630334f5b636e2b1928c0a5d5b5428da3f69167208.
	//
	// Solidity: event ValidatorMinorSlashed(address indexed account, uint256 publicStakingTokenID)
	ParseValidatorMinorSlashed(log types.Log) (*ValidatorPoolValidatorMinorSlashed, error)
}

IValidatorPoolFilterer ...

type IValidatorPoolTransactor

type IValidatorPoolTransactor interface {
	// ClaimExitingNFTPosition is a paid mutator transaction binding the contract method 0x769cc695.
	//
	// Solidity: function claimExitingNFTPosition() returns(uint256)
	ClaimExitingNFTPosition(opts *bind.TransactOpts) (*types.Transaction, error)
	// CollectProfits is a paid mutator transaction binding the contract method 0xc958e0d6.
	//
	// Solidity: function collectProfits() returns(uint256 payoutEth, uint256 payoutToken)
	CollectProfits(opts *bind.TransactOpts) (*types.Transaction, error)
	// CompleteETHDKG is a paid mutator transaction binding the contract method 0x8f579924.
	//
	// Solidity: function completeETHDKG() returns()
	CompleteETHDKG(opts *bind.TransactOpts) (*types.Transaction, error)
	// Initialize is a paid mutator transaction binding the contract method 0x60a2da44.
	//
	// Solidity: function initialize(uint256 stakeAmount_, uint256 maxNumValidators_, uint256 disputerReward_, uint256 maxIntervalWithoutSnapshots_) returns()
	Initialize(opts *bind.TransactOpts, stakeAmount_ *big.Int, maxNumValidators_ *big.Int, disputerReward_ *big.Int, maxIntervalWithoutSnapshots_ *big.Int) (*types.Transaction, error)
	// InitializeETHDKG is a paid mutator transaction binding the contract method 0x57b51c9c.
	//
	// Solidity: function initializeETHDKG() returns()
	InitializeETHDKG(opts *bind.TransactOpts) (*types.Transaction, error)
	// MajorSlash is a paid mutator transaction binding the contract method 0x048d56c7.
	//
	// Solidity: function majorSlash(address dishonestValidator_, address disputer_) returns()
	MajorSlash(opts *bind.TransactOpts, dishonestValidator_ common.Address, disputer_ common.Address) (*types.Transaction, error)
	// MinorSlash is a paid mutator transaction binding the contract method 0x64c0461c.
	//
	// Solidity: function minorSlash(address dishonestValidator_, address disputer_) returns()
	MinorSlash(opts *bind.TransactOpts, dishonestValidator_ common.Address, disputer_ common.Address) (*types.Transaction, error)
	// OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.
	//
	// Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)
	OnERC721Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)
	// PauseConsensus is a paid mutator transaction binding the contract method 0x1e5975f4.
	//
	// Solidity: function pauseConsensus() returns()
	PauseConsensus(opts *bind.TransactOpts) (*types.Transaction, error)
	// PauseConsensusOnArbitraryHeight is a paid mutator transaction binding the contract method 0xbc33bb01.
	//
	// Solidity: function pauseConsensusOnArbitraryHeight(uint256 aliceNetHeight_) returns()
	PauseConsensusOnArbitraryHeight(opts *bind.TransactOpts, aliceNetHeight_ *big.Int) (*types.Transaction, error)
	// RegisterValidators is a paid mutator transaction binding the contract method 0x65bd91af.
	//
	// Solidity: function registerValidators(address[] validators_, uint256[] stakerTokenIDs_) returns()
	RegisterValidators(opts *bind.TransactOpts, validators_ []common.Address, stakerTokenIDs_ []*big.Int) (*types.Transaction, error)
	// ScheduleMaintenance is a paid mutator transaction binding the contract method 0x2380db1a.
	//
	// Solidity: function scheduleMaintenance() returns()
	ScheduleMaintenance(opts *bind.TransactOpts) (*types.Transaction, error)
	// SetDisputerReward is a paid mutator transaction binding the contract method 0x7d907284.
	//
	// Solidity: function setDisputerReward(uint256 disputerReward_) returns()
	SetDisputerReward(opts *bind.TransactOpts, disputerReward_ *big.Int) (*types.Transaction, error)
	// SetLocation is a paid mutator transaction binding the contract method 0x827bfbdf.
	//
	// Solidity: function setLocation(string ip_) returns()
	SetLocation(opts *bind.TransactOpts, ip_ string) (*types.Transaction, error)
	// SetMaxIntervalWithoutSnapshots is a paid mutator transaction binding the contract method 0x564a7005.
	//
	// Solidity: function setMaxIntervalWithoutSnapshots(uint256 maxIntervalWithoutSnapshots) returns()
	SetMaxIntervalWithoutSnapshots(opts *bind.TransactOpts, maxIntervalWithoutSnapshots *big.Int) (*types.Transaction, error)
	// SetMaxNumValidators is a paid mutator transaction binding the contract method 0x6c0da0b4.
	//
	// Solidity: function setMaxNumValidators(uint256 maxNumValidators_) returns()
	SetMaxNumValidators(opts *bind.TransactOpts, maxNumValidators_ *big.Int) (*types.Transaction, error)
	// SetStakeAmount is a paid mutator transaction binding the contract method 0x43808c50.
	//
	// Solidity: function setStakeAmount(uint256 stakeAmount_) returns()
	SetStakeAmount(opts *bind.TransactOpts, stakeAmount_ *big.Int) (*types.Transaction, error)
	// SkimExcessEth is a paid mutator transaction binding the contract method 0x971b505b.
	//
	// Solidity: function skimExcessEth(address to_) returns(uint256 excess)
	SkimExcessEth(opts *bind.TransactOpts, to_ common.Address) (*types.Transaction, error)
	// SkimExcessToken is a paid mutator transaction binding the contract method 0x7aa507fb.
	//
	// Solidity: function skimExcessToken(address to_) returns(uint256 excess)
	SkimExcessToken(opts *bind.TransactOpts, to_ common.Address) (*types.Transaction, error)
	// UnregisterAllValidators is a paid mutator transaction binding the contract method 0xf6442e24.
	//
	// Solidity: function unregisterAllValidators() returns()
	UnregisterAllValidators(opts *bind.TransactOpts) (*types.Transaction, error)
	// UnregisterValidators is a paid mutator transaction binding the contract method 0xc6e86ad6.
	//
	// Solidity: function unregisterValidators(address[] validators_) returns()
	UnregisterValidators(opts *bind.TransactOpts, validators_ []common.Address) (*types.Transaction, error)
	// Receive is a paid mutator transaction binding the contract receive function.
	//
	// Solidity: receive() payable returns()
	Receive(opts *bind.TransactOpts) (*types.Transaction, error)
}

IValidatorPoolTransactor ...

type IValidatorStakingCaller

type IValidatorStakingCaller interface {
	// BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
	//
	// Solidity: function balanceOf(address owner) view returns(uint256)
	BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
	// CircuitBreakerState is a free data retrieval call binding the contract method 0x89465c62.
	//
	// Solidity: function circuitBreakerState() view returns(bool)
	CircuitBreakerState(opts *bind.CallOpts) (bool, error)
	// EstimateAllProfits is a free data retrieval call binding the contract method 0x4fc8638f.
	//
	// Solidity: function estimateAllProfits(uint256 tokenID_) view returns(uint256 payoutEth, uint256 payoutToken)
	EstimateAllProfits(opts *bind.CallOpts, tokenID_ *big.Int) (struct {
		PayoutEth   *big.Int
		PayoutToken *big.Int
	}, error)
	// EstimateEthCollection is a free data retrieval call binding the contract method 0x20ea0d48.
	//
	// Solidity: function estimateEthCollection(uint256 tokenID_) view returns(uint256 payout)
	EstimateEthCollection(opts *bind.CallOpts, tokenID_ *big.Int) (*big.Int, error)
	// EstimateExcessEth is a free data retrieval call binding the contract method 0x905953ed.
	//
	// Solidity: function estimateExcessEth() view returns(uint256 excess)
	EstimateExcessEth(opts *bind.CallOpts) (*big.Int, error)
	// EstimateExcessToken is a free data retrieval call binding the contract method 0x3eed3eff.
	//
	// Solidity: function estimateExcessToken() view returns(uint256 excess)
	EstimateExcessToken(opts *bind.CallOpts) (*big.Int, error)
	// EstimateTokenCollection is a free data retrieval call binding the contract method 0x93c5748d.
	//
	// Solidity: function estimateTokenCollection(uint256 tokenID_) view returns(uint256 payout)
	EstimateTokenCollection(opts *bind.CallOpts, tokenID_ *big.Int) (*big.Int, error)
	// GetAccumulatorScaleFactor is a free data retrieval call binding the contract method 0x99785132.
	//
	// Solidity: function getAccumulatorScaleFactor() pure returns(uint256)
	GetAccumulatorScaleFactor(opts *bind.CallOpts) (*big.Int, error)
	// GetApproved is a free data retrieval call binding the contract method 0x081812fc.
	//
	// Solidity: function getApproved(uint256 tokenId) view returns(address)
	GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
	// GetEthAccumulator is a free data retrieval call binding the contract method 0x548652d2.
	//
	// Solidity: function getEthAccumulator() view returns(uint256 accumulator, uint256 slush)
	GetEthAccumulator(opts *bind.CallOpts) (struct {
		Accumulator *big.Int
		Slush       *big.Int
	}, error)
	// GetLatestMintedPositionID is a free data retrieval call binding the contract method 0x79bb0985.
	//
	// Solidity: function getLatestMintedPositionID() view returns(uint256)
	GetLatestMintedPositionID(opts *bind.CallOpts) (*big.Int, error)
	// GetMaxGovernanceLock is a free data retrieval call binding the contract method 0xf44d258b.
	//
	// Solidity: function getMaxGovernanceLock() pure returns(uint256)
	GetMaxGovernanceLock(opts *bind.CallOpts) (*big.Int, error)
	// GetMaxMintLock is a free data retrieval call binding the contract method 0x090f70f0.
	//
	// Solidity: function getMaxMintLock() pure returns(uint256)
	GetMaxMintLock(opts *bind.CallOpts) (*big.Int, error)
	// GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.
	//
	// Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)
	GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)
	// GetPosition is a free data retrieval call binding the contract method 0xeb02c301.
	//
	// Solidity: function getPosition(uint256 tokenID_) view returns(uint256 shares, uint256 freeAfter, uint256 withdrawFreeAfter, uint256 accumulatorEth, uint256 accumulatorToken)
	GetPosition(opts *bind.CallOpts, tokenID_ *big.Int) (struct {
		Shares            *big.Int
		FreeAfter         *big.Int
		WithdrawFreeAfter *big.Int
		AccumulatorEth    *big.Int
		AccumulatorToken  *big.Int
	}, error)
	// GetTokenAccumulator is a free data retrieval call binding the contract method 0xc47c6e14.
	//
	// Solidity: function getTokenAccumulator() view returns(uint256 accumulator, uint256 slush)
	GetTokenAccumulator(opts *bind.CallOpts) (struct {
		Accumulator *big.Int
		Slush       *big.Int
	}, error)
	// GetTotalReserveALCA is a free data retrieval call binding the contract method 0x3d8fe879.
	//
	// Solidity: function getTotalReserveALCA() view returns(uint256)
	GetTotalReserveALCA(opts *bind.CallOpts) (*big.Int, error)
	// GetTotalReserveEth is a free data retrieval call binding the contract method 0x19b8be2f.
	//
	// Solidity: function getTotalReserveEth() view returns(uint256)
	GetTotalReserveEth(opts *bind.CallOpts) (*big.Int, error)
	// GetTotalShares is a free data retrieval call binding the contract method 0xd5002f2e.
	//
	// Solidity: function getTotalShares() view returns(uint256)
	GetTotalShares(opts *bind.CallOpts) (*big.Int, error)
	// IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
	//
	// Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
	IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
	// Name is a free data retrieval call binding the contract method 0x06fdde03.
	//
	// Solidity: function name() view returns(string)
	Name(opts *bind.CallOpts) (string, error)
	// OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
	//
	// Solidity: function ownerOf(uint256 tokenId) view returns(address)
	OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
	// SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
	//
	// Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
	SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
	// Symbol is a free data retrieval call binding the contract method 0x95d89b41.
	//
	// Solidity: function symbol() view returns(string)
	Symbol(opts *bind.CallOpts) (string, error)
	// TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
	//
	// Solidity: function tokenByIndex(uint256 index) view returns(uint256)
	TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)
	// TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.
	//
	// Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)
	TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)
	// TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.
	//
	// Solidity: function tokenURI(uint256 tokenID_) view returns(string)
	TokenURI(opts *bind.CallOpts, tokenID_ *big.Int) (string, error)
	// TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
	//
	// Solidity: function totalSupply() view returns(uint256)
	TotalSupply(opts *bind.CallOpts) (*big.Int, error)
}

IValidatorStakingCaller ...

type IValidatorStakingFilterer

type IValidatorStakingFilterer interface {
	// FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
	//
	// Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
	FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ValidatorStakingApprovalIterator, error)
	// WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
	//
	// Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
	WatchApproval(opts *bind.WatchOpts, sink chan<- *ValidatorStakingApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)
	// ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
	//
	// Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
	ParseApproval(log types.Log) (*ValidatorStakingApproval, error)
	// FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
	//
	// Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
	FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ValidatorStakingApprovalForAllIterator, error)
	// WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
	//
	// Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
	WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ValidatorStakingApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)
	// ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
	//
	// Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
	ParseApprovalForAll(log types.Log) (*ValidatorStakingApprovalForAll, error)
	// FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
	//
	// Solidity: event Initialized(uint8 version)
	FilterInitialized(opts *bind.FilterOpts) (*ValidatorStakingInitializedIterator, error)
	// WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
	//
	// Solidity: event Initialized(uint8 version)
	WatchInitialized(opts *bind.WatchOpts, sink chan<- *ValidatorStakingInitialized) (event.Subscription, error)
	// ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
	//
	// Solidity: event Initialized(uint8 version)
	ParseInitialized(log types.Log) (*ValidatorStakingInitialized, error)
	// FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
	//
	// Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
	FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ValidatorStakingTransferIterator, error)
	// WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
	//
	// Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
	WatchTransfer(opts *bind.WatchOpts, sink chan<- *ValidatorStakingTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)
	// ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
	//
	// Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
	ParseTransfer(log types.Log) (*ValidatorStakingTransfer, error)
}

IValidatorStakingFilterer ...

type IValidatorStakingTransactor

type IValidatorStakingTransactor interface {
	// Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
	//
	// Solidity: function approve(address to, uint256 tokenId) returns()
	Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
	// Burn is a paid mutator transaction binding the contract method 0x42966c68.
	//
	// Solidity: function burn(uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutALCA)
	Burn(opts *bind.TransactOpts, tokenID_ *big.Int) (*types.Transaction, error)
	// BurnTo is a paid mutator transaction binding the contract method 0xea785a5e.
	//
	// Solidity: function burnTo(address to_, uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutALCA)
	BurnTo(opts *bind.TransactOpts, to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)
	// CollectAllProfits is a paid mutator transaction binding the contract method 0x0df4b2dd.
	//
	// Solidity: function collectAllProfits(uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutToken)
	CollectAllProfits(opts *bind.TransactOpts, tokenID_ *big.Int) (*types.Transaction, error)
	// CollectAllProfitsTo is a paid mutator transaction binding the contract method 0x8303fef7.
	//
	// Solidity: function collectAllProfitsTo(address to_, uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutToken)
	CollectAllProfitsTo(opts *bind.TransactOpts, to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)
	// CollectEth is a paid mutator transaction binding the contract method 0x2a0d8bd1.
	//
	// Solidity: function collectEth(uint256 tokenID_) returns(uint256 payout)
	CollectEth(opts *bind.TransactOpts, tokenID_ *big.Int) (*types.Transaction, error)
	// CollectEthTo is a paid mutator transaction binding the contract method 0xbe444379.
	//
	// Solidity: function collectEthTo(address to_, uint256 tokenID_) returns(uint256 payout)
	CollectEthTo(opts *bind.TransactOpts, to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)
	// CollectToken is a paid mutator transaction binding the contract method 0xe35c3e28.
	//
	// Solidity: function collectToken(uint256 tokenID_) returns(uint256 payout)
	CollectToken(opts *bind.TransactOpts, tokenID_ *big.Int) (*types.Transaction, error)
	// CollectTokenTo is a paid mutator transaction binding the contract method 0x8853b950.
	//
	// Solidity: function collectTokenTo(address to_, uint256 tokenID_) returns(uint256 payout)
	CollectTokenTo(opts *bind.TransactOpts, to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)
	// DepositEth is a paid mutator transaction binding the contract method 0x99a89ecc.
	//
	// Solidity: function depositEth(uint8 magic_) payable returns()
	DepositEth(opts *bind.TransactOpts, magic_ uint8) (*types.Transaction, error)
	// DepositToken is a paid mutator transaction binding the contract method 0x8191f5e5.
	//
	// Solidity: function depositToken(uint8 magic_, uint256 amount_) returns()
	DepositToken(opts *bind.TransactOpts, magic_ uint8, amount_ *big.Int) (*types.Transaction, error)
	// Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
	//
	// Solidity: function initialize() returns()
	Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
	// LockOwnPosition is a paid mutator transaction binding the contract method 0xe42a673c.
	//
	// Solidity: function lockOwnPosition(uint256 tokenID_, uint256 lockDuration_) returns(uint256)
	LockOwnPosition(opts *bind.TransactOpts, tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)
	// LockPosition is a paid mutator transaction binding the contract method 0x0cc65dfb.
	//
	// Solidity: function lockPosition(address caller_, uint256 tokenID_, uint256 lockDuration_) returns(uint256)
	LockPosition(opts *bind.TransactOpts, caller_ common.Address, tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)
	// LockWithdraw is a paid mutator transaction binding the contract method 0x0e4eb15b.
	//
	// Solidity: function lockWithdraw(uint256 tokenID_, uint256 lockDuration_) returns(uint256)
	LockWithdraw(opts *bind.TransactOpts, tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)
	// Mint is a paid mutator transaction binding the contract method 0xa0712d68.
	//
	// Solidity: function mint(uint256 amount_) returns(uint256 tokenID)
	Mint(opts *bind.TransactOpts, amount_ *big.Int) (*types.Transaction, error)
	// MintTo is a paid mutator transaction binding the contract method 0x2baf2acb.
	//
	// Solidity: function mintTo(address to_, uint256 amount_, uint256 lockDuration_) returns(uint256 tokenID)
	MintTo(opts *bind.TransactOpts, to_ common.Address, amount_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)
	// SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
	//
	// Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
	SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
	// SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
	//
	// Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()
	SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
	// SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
	//
	// Solidity: function setApprovalForAll(address operator, bool approved) returns()
	SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
	// SkimExcessEth is a paid mutator transaction binding the contract method 0x971b505b.
	//
	// Solidity: function skimExcessEth(address to_) returns(uint256 excess)
	SkimExcessEth(opts *bind.TransactOpts, to_ common.Address) (*types.Transaction, error)
	// SkimExcessToken is a paid mutator transaction binding the contract method 0x7aa507fb.
	//
	// Solidity: function skimExcessToken(address to_) returns(uint256 excess)
	SkimExcessToken(opts *bind.TransactOpts, to_ common.Address) (*types.Transaction, error)
	// TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
	//
	// Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
	TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
	// TripCB is a paid mutator transaction binding the contract method 0xadfdc03f.
	//
	// Solidity: function tripCB() returns()
	TripCB(opts *bind.TransactOpts) (*types.Transaction, error)
}

IValidatorStakingTransactor ...

type Participant

type Participant struct {
	PublicKey                   [2]*big.Int
	Nonce                       uint64
	Index                       uint64
	Phase                       uint8
	DistributedSharesHash       [32]byte
	CommitmentsFirstCoefficient [2]*big.Int
	KeyShares                   [2]*big.Int
	Gpkj                        [4]*big.Int
}

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

type PublicStaking

type PublicStaking struct {
	PublicStakingCaller     // Read-only binding to the contract
	PublicStakingTransactor // Write-only binding to the contract
	PublicStakingFilterer   // Log filterer for contract events
}

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

func NewPublicStaking

func NewPublicStaking(address common.Address, backend bind.ContractBackend) (*PublicStaking, error)

NewPublicStaking creates a new instance of PublicStaking, bound to a specific deployed contract.

type PublicStakingApproval

type PublicStakingApproval struct {
	Owner    common.Address
	Approved common.Address
	TokenId  *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

PublicStakingApproval represents a Approval event raised by the PublicStaking contract.

type PublicStakingApprovalForAll

type PublicStakingApprovalForAll struct {
	Owner    common.Address
	Operator common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

PublicStakingApprovalForAll represents a ApprovalForAll event raised by the PublicStaking contract.

type PublicStakingApprovalForAllIterator

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

PublicStakingApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the PublicStaking contract.

func (*PublicStakingApprovalForAllIterator) Close

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

func (*PublicStakingApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PublicStakingApprovalForAllIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PublicStakingApprovalIterator

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

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

func (*PublicStakingApprovalIterator) Close

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

func (*PublicStakingApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PublicStakingApprovalIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type PublicStakingCaller

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

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

func NewPublicStakingCaller

func NewPublicStakingCaller(address common.Address, caller bind.ContractCaller) (*PublicStakingCaller, error)

NewPublicStakingCaller creates a new read-only instance of PublicStaking, bound to a specific deployed contract.

func (*PublicStakingCaller) BalanceOf

func (_PublicStaking *PublicStakingCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

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

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

func (*PublicStakingCaller) CircuitBreakerState

func (_PublicStaking *PublicStakingCaller) CircuitBreakerState(opts *bind.CallOpts) (bool, error)

CircuitBreakerState is a free data retrieval call binding the contract method 0x89465c62.

Solidity: function circuitBreakerState() view returns(bool)

func (*PublicStakingCaller) EstimateAllProfits added in v0.0.8

func (_PublicStaking *PublicStakingCaller) EstimateAllProfits(opts *bind.CallOpts, tokenID_ *big.Int) (struct {
	PayoutEth   *big.Int
	PayoutToken *big.Int
}, error)

EstimateAllProfits is a free data retrieval call binding the contract method 0x4fc8638f.

Solidity: function estimateAllProfits(uint256 tokenID_) view returns(uint256 payoutEth, uint256 payoutToken)

func (*PublicStakingCaller) EstimateEthCollection

func (_PublicStaking *PublicStakingCaller) EstimateEthCollection(opts *bind.CallOpts, tokenID_ *big.Int) (*big.Int, error)

EstimateEthCollection is a free data retrieval call binding the contract method 0x20ea0d48.

Solidity: function estimateEthCollection(uint256 tokenID_) view returns(uint256 payout)

func (*PublicStakingCaller) EstimateExcessEth

func (_PublicStaking *PublicStakingCaller) EstimateExcessEth(opts *bind.CallOpts) (*big.Int, error)

EstimateExcessEth is a free data retrieval call binding the contract method 0x905953ed.

Solidity: function estimateExcessEth() view returns(uint256 excess)

func (*PublicStakingCaller) EstimateExcessToken

func (_PublicStaking *PublicStakingCaller) EstimateExcessToken(opts *bind.CallOpts) (*big.Int, error)

EstimateExcessToken is a free data retrieval call binding the contract method 0x3eed3eff.

Solidity: function estimateExcessToken() view returns(uint256 excess)

func (*PublicStakingCaller) EstimateTokenCollection

func (_PublicStaking *PublicStakingCaller) EstimateTokenCollection(opts *bind.CallOpts, tokenID_ *big.Int) (*big.Int, error)

EstimateTokenCollection is a free data retrieval call binding the contract method 0x93c5748d.

Solidity: function estimateTokenCollection(uint256 tokenID_) view returns(uint256 payout)

func (*PublicStakingCaller) GetAccumulatorScaleFactor

func (_PublicStaking *PublicStakingCaller) GetAccumulatorScaleFactor(opts *bind.CallOpts) (*big.Int, error)

GetAccumulatorScaleFactor is a free data retrieval call binding the contract method 0x99785132.

Solidity: function getAccumulatorScaleFactor() pure returns(uint256)

func (*PublicStakingCaller) GetApproved

func (_PublicStaking *PublicStakingCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*PublicStakingCaller) GetEthAccumulator

func (_PublicStaking *PublicStakingCaller) GetEthAccumulator(opts *bind.CallOpts) (struct {
	Accumulator *big.Int
	Slush       *big.Int
}, error)

GetEthAccumulator is a free data retrieval call binding the contract method 0x548652d2.

Solidity: function getEthAccumulator() view returns(uint256 accumulator, uint256 slush)

func (*PublicStakingCaller) GetLatestMintedPositionID added in v0.0.5

func (_PublicStaking *PublicStakingCaller) GetLatestMintedPositionID(opts *bind.CallOpts) (*big.Int, error)

GetLatestMintedPositionID is a free data retrieval call binding the contract method 0x79bb0985.

Solidity: function getLatestMintedPositionID() view returns(uint256)

func (*PublicStakingCaller) GetMaxGovernanceLock added in v0.0.4

func (_PublicStaking *PublicStakingCaller) GetMaxGovernanceLock(opts *bind.CallOpts) (*big.Int, error)

GetMaxGovernanceLock is a free data retrieval call binding the contract method 0xf44d258b.

Solidity: function getMaxGovernanceLock() pure returns(uint256)

func (*PublicStakingCaller) GetMaxMintLock

func (_PublicStaking *PublicStakingCaller) GetMaxMintLock(opts *bind.CallOpts) (*big.Int, error)

GetMaxMintLock is a free data retrieval call binding the contract method 0x090f70f0.

Solidity: function getMaxMintLock() pure returns(uint256)

func (*PublicStakingCaller) GetMetamorphicContractAddress

func (_PublicStaking *PublicStakingCaller) GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*PublicStakingCaller) GetPosition

func (_PublicStaking *PublicStakingCaller) GetPosition(opts *bind.CallOpts, tokenID_ *big.Int) (struct {
	Shares            *big.Int
	FreeAfter         *big.Int
	WithdrawFreeAfter *big.Int
	AccumulatorEth    *big.Int
	AccumulatorToken  *big.Int
}, error)

GetPosition is a free data retrieval call binding the contract method 0xeb02c301.

Solidity: function getPosition(uint256 tokenID_) view returns(uint256 shares, uint256 freeAfter, uint256 withdrawFreeAfter, uint256 accumulatorEth, uint256 accumulatorToken)

func (*PublicStakingCaller) GetTokenAccumulator

func (_PublicStaking *PublicStakingCaller) GetTokenAccumulator(opts *bind.CallOpts) (struct {
	Accumulator *big.Int
	Slush       *big.Int
}, error)

GetTokenAccumulator is a free data retrieval call binding the contract method 0xc47c6e14.

Solidity: function getTokenAccumulator() view returns(uint256 accumulator, uint256 slush)

func (*PublicStakingCaller) GetTotalReserveALCA added in v0.0.8

func (_PublicStaking *PublicStakingCaller) GetTotalReserveALCA(opts *bind.CallOpts) (*big.Int, error)

GetTotalReserveALCA is a free data retrieval call binding the contract method 0x3d8fe879.

Solidity: function getTotalReserveALCA() view returns(uint256)

func (*PublicStakingCaller) GetTotalReserveEth

func (_PublicStaking *PublicStakingCaller) GetTotalReserveEth(opts *bind.CallOpts) (*big.Int, error)

GetTotalReserveEth is a free data retrieval call binding the contract method 0x19b8be2f.

Solidity: function getTotalReserveEth() view returns(uint256)

func (*PublicStakingCaller) GetTotalShares

func (_PublicStaking *PublicStakingCaller) GetTotalShares(opts *bind.CallOpts) (*big.Int, error)

GetTotalShares is a free data retrieval call binding the contract method 0xd5002f2e.

Solidity: function getTotalShares() view returns(uint256)

func (*PublicStakingCaller) IsApprovedForAll

func (_PublicStaking *PublicStakingCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*PublicStakingCaller) Name

func (_PublicStaking *PublicStakingCaller) 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 (*PublicStakingCaller) OwnerOf

func (_PublicStaking *PublicStakingCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*PublicStakingCaller) SupportsInterface

func (_PublicStaking *PublicStakingCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*PublicStakingCaller) Symbol

func (_PublicStaking *PublicStakingCaller) 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 (*PublicStakingCaller) TokenByIndex added in v0.0.5

func (_PublicStaking *PublicStakingCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*PublicStakingCaller) TokenOfOwnerByIndex added in v0.0.5

func (_PublicStaking *PublicStakingCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*PublicStakingCaller) TokenURI

func (_PublicStaking *PublicStakingCaller) TokenURI(opts *bind.CallOpts, tokenID_ *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenID_) view returns(string)

func (*PublicStakingCaller) TotalSupply added in v0.0.5

func (_PublicStaking *PublicStakingCaller) 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 PublicStakingCallerRaw

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

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

func (*PublicStakingCallerRaw) Call

func (_PublicStaking *PublicStakingCallerRaw) 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 PublicStakingCallerSession

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

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

func (*PublicStakingCallerSession) BalanceOf

func (_PublicStaking *PublicStakingCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*PublicStakingCallerSession) CircuitBreakerState

func (_PublicStaking *PublicStakingCallerSession) CircuitBreakerState() (bool, error)

CircuitBreakerState is a free data retrieval call binding the contract method 0x89465c62.

Solidity: function circuitBreakerState() view returns(bool)

func (*PublicStakingCallerSession) EstimateAllProfits added in v0.0.8

func (_PublicStaking *PublicStakingCallerSession) EstimateAllProfits(tokenID_ *big.Int) (struct {
	PayoutEth   *big.Int
	PayoutToken *big.Int
}, error)

EstimateAllProfits is a free data retrieval call binding the contract method 0x4fc8638f.

Solidity: function estimateAllProfits(uint256 tokenID_) view returns(uint256 payoutEth, uint256 payoutToken)

func (*PublicStakingCallerSession) EstimateEthCollection

func (_PublicStaking *PublicStakingCallerSession) EstimateEthCollection(tokenID_ *big.Int) (*big.Int, error)

EstimateEthCollection is a free data retrieval call binding the contract method 0x20ea0d48.

Solidity: function estimateEthCollection(uint256 tokenID_) view returns(uint256 payout)

func (*PublicStakingCallerSession) EstimateExcessEth

func (_PublicStaking *PublicStakingCallerSession) EstimateExcessEth() (*big.Int, error)

EstimateExcessEth is a free data retrieval call binding the contract method 0x905953ed.

Solidity: function estimateExcessEth() view returns(uint256 excess)

func (*PublicStakingCallerSession) EstimateExcessToken

func (_PublicStaking *PublicStakingCallerSession) EstimateExcessToken() (*big.Int, error)

EstimateExcessToken is a free data retrieval call binding the contract method 0x3eed3eff.

Solidity: function estimateExcessToken() view returns(uint256 excess)

func (*PublicStakingCallerSession) EstimateTokenCollection

func (_PublicStaking *PublicStakingCallerSession) EstimateTokenCollection(tokenID_ *big.Int) (*big.Int, error)

EstimateTokenCollection is a free data retrieval call binding the contract method 0x93c5748d.

Solidity: function estimateTokenCollection(uint256 tokenID_) view returns(uint256 payout)

func (*PublicStakingCallerSession) GetAccumulatorScaleFactor

func (_PublicStaking *PublicStakingCallerSession) GetAccumulatorScaleFactor() (*big.Int, error)

GetAccumulatorScaleFactor is a free data retrieval call binding the contract method 0x99785132.

Solidity: function getAccumulatorScaleFactor() pure returns(uint256)

func (*PublicStakingCallerSession) GetApproved

func (_PublicStaking *PublicStakingCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*PublicStakingCallerSession) GetEthAccumulator

func (_PublicStaking *PublicStakingCallerSession) GetEthAccumulator() (struct {
	Accumulator *big.Int
	Slush       *big.Int
}, error)

GetEthAccumulator is a free data retrieval call binding the contract method 0x548652d2.

Solidity: function getEthAccumulator() view returns(uint256 accumulator, uint256 slush)

func (*PublicStakingCallerSession) GetLatestMintedPositionID added in v0.0.5

func (_PublicStaking *PublicStakingCallerSession) GetLatestMintedPositionID() (*big.Int, error)

GetLatestMintedPositionID is a free data retrieval call binding the contract method 0x79bb0985.

Solidity: function getLatestMintedPositionID() view returns(uint256)

func (*PublicStakingCallerSession) GetMaxGovernanceLock added in v0.0.4

func (_PublicStaking *PublicStakingCallerSession) GetMaxGovernanceLock() (*big.Int, error)

GetMaxGovernanceLock is a free data retrieval call binding the contract method 0xf44d258b.

Solidity: function getMaxGovernanceLock() pure returns(uint256)

func (*PublicStakingCallerSession) GetMaxMintLock

func (_PublicStaking *PublicStakingCallerSession) GetMaxMintLock() (*big.Int, error)

GetMaxMintLock is a free data retrieval call binding the contract method 0x090f70f0.

Solidity: function getMaxMintLock() pure returns(uint256)

func (*PublicStakingCallerSession) GetMetamorphicContractAddress

func (_PublicStaking *PublicStakingCallerSession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*PublicStakingCallerSession) GetPosition

func (_PublicStaking *PublicStakingCallerSession) GetPosition(tokenID_ *big.Int) (struct {
	Shares            *big.Int
	FreeAfter         *big.Int
	WithdrawFreeAfter *big.Int
	AccumulatorEth    *big.Int
	AccumulatorToken  *big.Int
}, error)

GetPosition is a free data retrieval call binding the contract method 0xeb02c301.

Solidity: function getPosition(uint256 tokenID_) view returns(uint256 shares, uint256 freeAfter, uint256 withdrawFreeAfter, uint256 accumulatorEth, uint256 accumulatorToken)

func (*PublicStakingCallerSession) GetTokenAccumulator

func (_PublicStaking *PublicStakingCallerSession) GetTokenAccumulator() (struct {
	Accumulator *big.Int
	Slush       *big.Int
}, error)

GetTokenAccumulator is a free data retrieval call binding the contract method 0xc47c6e14.

Solidity: function getTokenAccumulator() view returns(uint256 accumulator, uint256 slush)

func (*PublicStakingCallerSession) GetTotalReserveALCA added in v0.0.8

func (_PublicStaking *PublicStakingCallerSession) GetTotalReserveALCA() (*big.Int, error)

GetTotalReserveALCA is a free data retrieval call binding the contract method 0x3d8fe879.

Solidity: function getTotalReserveALCA() view returns(uint256)

func (*PublicStakingCallerSession) GetTotalReserveEth

func (_PublicStaking *PublicStakingCallerSession) GetTotalReserveEth() (*big.Int, error)

GetTotalReserveEth is a free data retrieval call binding the contract method 0x19b8be2f.

Solidity: function getTotalReserveEth() view returns(uint256)

func (*PublicStakingCallerSession) GetTotalShares

func (_PublicStaking *PublicStakingCallerSession) GetTotalShares() (*big.Int, error)

GetTotalShares is a free data retrieval call binding the contract method 0xd5002f2e.

Solidity: function getTotalShares() view returns(uint256)

func (*PublicStakingCallerSession) IsApprovedForAll

func (_PublicStaking *PublicStakingCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*PublicStakingCallerSession) Name

func (_PublicStaking *PublicStakingCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*PublicStakingCallerSession) OwnerOf

func (_PublicStaking *PublicStakingCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*PublicStakingCallerSession) SupportsInterface

func (_PublicStaking *PublicStakingCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*PublicStakingCallerSession) Symbol

func (_PublicStaking *PublicStakingCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*PublicStakingCallerSession) TokenByIndex added in v0.0.5

func (_PublicStaking *PublicStakingCallerSession) TokenByIndex(index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*PublicStakingCallerSession) TokenOfOwnerByIndex added in v0.0.5

func (_PublicStaking *PublicStakingCallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*PublicStakingCallerSession) TokenURI

func (_PublicStaking *PublicStakingCallerSession) TokenURI(tokenID_ *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenID_) view returns(string)

func (*PublicStakingCallerSession) TotalSupply added in v0.0.5

func (_PublicStaking *PublicStakingCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type PublicStakingFilterer

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

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

func NewPublicStakingFilterer

func NewPublicStakingFilterer(address common.Address, filterer bind.ContractFilterer) (*PublicStakingFilterer, error)

NewPublicStakingFilterer creates a new log filterer instance of PublicStaking, bound to a specific deployed contract.

func (*PublicStakingFilterer) FilterApproval

func (_PublicStaking *PublicStakingFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*PublicStakingApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*PublicStakingFilterer) FilterApprovalForAll

func (_PublicStaking *PublicStakingFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*PublicStakingApprovalForAllIterator, error)

FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*PublicStakingFilterer) FilterInitialized added in v0.0.2

func (_PublicStaking *PublicStakingFilterer) FilterInitialized(opts *bind.FilterOpts) (*PublicStakingInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*PublicStakingFilterer) FilterTransfer

func (_PublicStaking *PublicStakingFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*PublicStakingTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

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

func (*PublicStakingFilterer) ParseApproval

func (_PublicStaking *PublicStakingFilterer) ParseApproval(log types.Log) (*PublicStakingApproval, error)

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

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*PublicStakingFilterer) ParseApprovalForAll

func (_PublicStaking *PublicStakingFilterer) ParseApprovalForAll(log types.Log) (*PublicStakingApprovalForAll, error)

ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*PublicStakingFilterer) ParseInitialized added in v0.0.2

func (_PublicStaking *PublicStakingFilterer) ParseInitialized(log types.Log) (*PublicStakingInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*PublicStakingFilterer) ParseTransfer

func (_PublicStaking *PublicStakingFilterer) ParseTransfer(log types.Log) (*PublicStakingTransfer, error)

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

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

func (*PublicStakingFilterer) WatchApproval

func (_PublicStaking *PublicStakingFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *PublicStakingApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*PublicStakingFilterer) WatchApprovalForAll

func (_PublicStaking *PublicStakingFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *PublicStakingApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)

WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*PublicStakingFilterer) WatchInitialized added in v0.0.2

func (_PublicStaking *PublicStakingFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *PublicStakingInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*PublicStakingFilterer) WatchTransfer

func (_PublicStaking *PublicStakingFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *PublicStakingTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (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 indexed tokenId)

type PublicStakingInitialized added in v0.0.2

type PublicStakingInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

PublicStakingInitialized represents a Initialized event raised by the PublicStaking contract.

type PublicStakingInitializedIterator added in v0.0.2

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

PublicStakingInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the PublicStaking contract.

func (*PublicStakingInitializedIterator) Close added in v0.0.2

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

func (*PublicStakingInitializedIterator) Error added in v0.0.2

Error returns any retrieval or parsing error occurred during filtering.

func (*PublicStakingInitializedIterator) Next added in v0.0.2

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 PublicStakingRaw

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

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

func (*PublicStakingRaw) Call

func (_PublicStaking *PublicStakingRaw) 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 (*PublicStakingRaw) Transact

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

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

func (*PublicStakingRaw) Transfer

func (_PublicStaking *PublicStakingRaw) 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 PublicStakingSession

type PublicStakingSession struct {
	Contract     *PublicStaking    // 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
}

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

func (*PublicStakingSession) Approve

func (_PublicStaking *PublicStakingSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address to, uint256 tokenId) returns()

func (*PublicStakingSession) BalanceOf

func (_PublicStaking *PublicStakingSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*PublicStakingSession) Burn

func (_PublicStaking *PublicStakingSession) Burn(tokenID_ *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutALCA)

func (*PublicStakingSession) BurnTo

func (_PublicStaking *PublicStakingSession) BurnTo(to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

BurnTo is a paid mutator transaction binding the contract method 0xea785a5e.

Solidity: function burnTo(address to_, uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutALCA)

func (*PublicStakingSession) CircuitBreakerState

func (_PublicStaking *PublicStakingSession) CircuitBreakerState() (bool, error)

CircuitBreakerState is a free data retrieval call binding the contract method 0x89465c62.

Solidity: function circuitBreakerState() view returns(bool)

func (*PublicStakingSession) CollectAllProfits added in v0.0.5

func (_PublicStaking *PublicStakingSession) CollectAllProfits(tokenID_ *big.Int) (*types.Transaction, error)

CollectAllProfits is a paid mutator transaction binding the contract method 0x0df4b2dd.

Solidity: function collectAllProfits(uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutToken)

func (*PublicStakingSession) CollectAllProfitsTo added in v0.0.5

func (_PublicStaking *PublicStakingSession) CollectAllProfitsTo(to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

CollectAllProfitsTo is a paid mutator transaction binding the contract method 0x8303fef7.

Solidity: function collectAllProfitsTo(address to_, uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutToken)

func (*PublicStakingSession) CollectEth

func (_PublicStaking *PublicStakingSession) CollectEth(tokenID_ *big.Int) (*types.Transaction, error)

CollectEth is a paid mutator transaction binding the contract method 0x2a0d8bd1.

Solidity: function collectEth(uint256 tokenID_) returns(uint256 payout)

func (*PublicStakingSession) CollectEthTo

func (_PublicStaking *PublicStakingSession) CollectEthTo(to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

CollectEthTo is a paid mutator transaction binding the contract method 0xbe444379.

Solidity: function collectEthTo(address to_, uint256 tokenID_) returns(uint256 payout)

func (*PublicStakingSession) CollectToken

func (_PublicStaking *PublicStakingSession) CollectToken(tokenID_ *big.Int) (*types.Transaction, error)

CollectToken is a paid mutator transaction binding the contract method 0xe35c3e28.

Solidity: function collectToken(uint256 tokenID_) returns(uint256 payout)

func (*PublicStakingSession) CollectTokenTo

func (_PublicStaking *PublicStakingSession) CollectTokenTo(to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

CollectTokenTo is a paid mutator transaction binding the contract method 0x8853b950.

Solidity: function collectTokenTo(address to_, uint256 tokenID_) returns(uint256 payout)

func (*PublicStakingSession) DepositEth

func (_PublicStaking *PublicStakingSession) DepositEth(magic_ uint8) (*types.Transaction, error)

DepositEth is a paid mutator transaction binding the contract method 0x99a89ecc.

Solidity: function depositEth(uint8 magic_) payable returns()

func (*PublicStakingSession) DepositToken

func (_PublicStaking *PublicStakingSession) DepositToken(magic_ uint8, amount_ *big.Int) (*types.Transaction, error)

DepositToken is a paid mutator transaction binding the contract method 0x8191f5e5.

Solidity: function depositToken(uint8 magic_, uint256 amount_) returns()

func (*PublicStakingSession) EstimateAllProfits added in v0.0.8

func (_PublicStaking *PublicStakingSession) EstimateAllProfits(tokenID_ *big.Int) (struct {
	PayoutEth   *big.Int
	PayoutToken *big.Int
}, error)

EstimateAllProfits is a free data retrieval call binding the contract method 0x4fc8638f.

Solidity: function estimateAllProfits(uint256 tokenID_) view returns(uint256 payoutEth, uint256 payoutToken)

func (*PublicStakingSession) EstimateEthCollection

func (_PublicStaking *PublicStakingSession) EstimateEthCollection(tokenID_ *big.Int) (*big.Int, error)

EstimateEthCollection is a free data retrieval call binding the contract method 0x20ea0d48.

Solidity: function estimateEthCollection(uint256 tokenID_) view returns(uint256 payout)

func (*PublicStakingSession) EstimateExcessEth

func (_PublicStaking *PublicStakingSession) EstimateExcessEth() (*big.Int, error)

EstimateExcessEth is a free data retrieval call binding the contract method 0x905953ed.

Solidity: function estimateExcessEth() view returns(uint256 excess)

func (*PublicStakingSession) EstimateExcessToken

func (_PublicStaking *PublicStakingSession) EstimateExcessToken() (*big.Int, error)

EstimateExcessToken is a free data retrieval call binding the contract method 0x3eed3eff.

Solidity: function estimateExcessToken() view returns(uint256 excess)

func (*PublicStakingSession) EstimateTokenCollection

func (_PublicStaking *PublicStakingSession) EstimateTokenCollection(tokenID_ *big.Int) (*big.Int, error)

EstimateTokenCollection is a free data retrieval call binding the contract method 0x93c5748d.

Solidity: function estimateTokenCollection(uint256 tokenID_) view returns(uint256 payout)

func (*PublicStakingSession) GetAccumulatorScaleFactor

func (_PublicStaking *PublicStakingSession) GetAccumulatorScaleFactor() (*big.Int, error)

GetAccumulatorScaleFactor is a free data retrieval call binding the contract method 0x99785132.

Solidity: function getAccumulatorScaleFactor() pure returns(uint256)

func (*PublicStakingSession) GetApproved

func (_PublicStaking *PublicStakingSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*PublicStakingSession) GetEthAccumulator

func (_PublicStaking *PublicStakingSession) GetEthAccumulator() (struct {
	Accumulator *big.Int
	Slush       *big.Int
}, error)

GetEthAccumulator is a free data retrieval call binding the contract method 0x548652d2.

Solidity: function getEthAccumulator() view returns(uint256 accumulator, uint256 slush)

func (*PublicStakingSession) GetLatestMintedPositionID added in v0.0.5

func (_PublicStaking *PublicStakingSession) GetLatestMintedPositionID() (*big.Int, error)

GetLatestMintedPositionID is a free data retrieval call binding the contract method 0x79bb0985.

Solidity: function getLatestMintedPositionID() view returns(uint256)

func (*PublicStakingSession) GetMaxGovernanceLock added in v0.0.4

func (_PublicStaking *PublicStakingSession) GetMaxGovernanceLock() (*big.Int, error)

GetMaxGovernanceLock is a free data retrieval call binding the contract method 0xf44d258b.

Solidity: function getMaxGovernanceLock() pure returns(uint256)

func (*PublicStakingSession) GetMaxMintLock

func (_PublicStaking *PublicStakingSession) GetMaxMintLock() (*big.Int, error)

GetMaxMintLock is a free data retrieval call binding the contract method 0x090f70f0.

Solidity: function getMaxMintLock() pure returns(uint256)

func (*PublicStakingSession) GetMetamorphicContractAddress

func (_PublicStaking *PublicStakingSession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*PublicStakingSession) GetPosition

func (_PublicStaking *PublicStakingSession) GetPosition(tokenID_ *big.Int) (struct {
	Shares            *big.Int
	FreeAfter         *big.Int
	WithdrawFreeAfter *big.Int
	AccumulatorEth    *big.Int
	AccumulatorToken  *big.Int
}, error)

GetPosition is a free data retrieval call binding the contract method 0xeb02c301.

Solidity: function getPosition(uint256 tokenID_) view returns(uint256 shares, uint256 freeAfter, uint256 withdrawFreeAfter, uint256 accumulatorEth, uint256 accumulatorToken)

func (*PublicStakingSession) GetTokenAccumulator

func (_PublicStaking *PublicStakingSession) GetTokenAccumulator() (struct {
	Accumulator *big.Int
	Slush       *big.Int
}, error)

GetTokenAccumulator is a free data retrieval call binding the contract method 0xc47c6e14.

Solidity: function getTokenAccumulator() view returns(uint256 accumulator, uint256 slush)

func (*PublicStakingSession) GetTotalReserveALCA added in v0.0.8

func (_PublicStaking *PublicStakingSession) GetTotalReserveALCA() (*big.Int, error)

GetTotalReserveALCA is a free data retrieval call binding the contract method 0x3d8fe879.

Solidity: function getTotalReserveALCA() view returns(uint256)

func (*PublicStakingSession) GetTotalReserveEth

func (_PublicStaking *PublicStakingSession) GetTotalReserveEth() (*big.Int, error)

GetTotalReserveEth is a free data retrieval call binding the contract method 0x19b8be2f.

Solidity: function getTotalReserveEth() view returns(uint256)

func (*PublicStakingSession) GetTotalShares

func (_PublicStaking *PublicStakingSession) GetTotalShares() (*big.Int, error)

GetTotalShares is a free data retrieval call binding the contract method 0xd5002f2e.

Solidity: function getTotalShares() view returns(uint256)

func (*PublicStakingSession) Initialize

func (_PublicStaking *PublicStakingSession) Initialize() (*types.Transaction, error)

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

Solidity: function initialize() returns()

func (*PublicStakingSession) IsApprovedForAll

func (_PublicStaking *PublicStakingSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*PublicStakingSession) LockOwnPosition

func (_PublicStaking *PublicStakingSession) LockOwnPosition(tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

LockOwnPosition is a paid mutator transaction binding the contract method 0xe42a673c.

Solidity: function lockOwnPosition(uint256 tokenID_, uint256 lockDuration_) returns(uint256)

func (*PublicStakingSession) LockPosition

func (_PublicStaking *PublicStakingSession) LockPosition(caller_ common.Address, tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

LockPosition is a paid mutator transaction binding the contract method 0x0cc65dfb.

Solidity: function lockPosition(address caller_, uint256 tokenID_, uint256 lockDuration_) returns(uint256)

func (*PublicStakingSession) LockWithdraw

func (_PublicStaking *PublicStakingSession) LockWithdraw(tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

LockWithdraw is a paid mutator transaction binding the contract method 0x0e4eb15b.

Solidity: function lockWithdraw(uint256 tokenID_, uint256 lockDuration_) returns(uint256)

func (*PublicStakingSession) Mint

func (_PublicStaking *PublicStakingSession) Mint(amount_ *big.Int) (*types.Transaction, error)

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

Solidity: function mint(uint256 amount_) returns(uint256 tokenID)

func (*PublicStakingSession) MintTo

func (_PublicStaking *PublicStakingSession) MintTo(to_ common.Address, amount_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

MintTo is a paid mutator transaction binding the contract method 0x2baf2acb.

Solidity: function mintTo(address to_, uint256 amount_, uint256 lockDuration_) returns(uint256 tokenID)

func (*PublicStakingSession) Name

func (_PublicStaking *PublicStakingSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*PublicStakingSession) OwnerOf

func (_PublicStaking *PublicStakingSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*PublicStakingSession) SafeTransferFrom

func (_PublicStaking *PublicStakingSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*PublicStakingSession) SafeTransferFrom0

func (_PublicStaking *PublicStakingSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()

func (*PublicStakingSession) SetApprovalForAll

func (_PublicStaking *PublicStakingSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*PublicStakingSession) SkimExcessEth

func (_PublicStaking *PublicStakingSession) SkimExcessEth(to_ common.Address) (*types.Transaction, error)

SkimExcessEth is a paid mutator transaction binding the contract method 0x971b505b.

Solidity: function skimExcessEth(address to_) returns(uint256 excess)

func (*PublicStakingSession) SkimExcessToken

func (_PublicStaking *PublicStakingSession) SkimExcessToken(to_ common.Address) (*types.Transaction, error)

SkimExcessToken is a paid mutator transaction binding the contract method 0x7aa507fb.

Solidity: function skimExcessToken(address to_) returns(uint256 excess)

func (*PublicStakingSession) SupportsInterface

func (_PublicStaking *PublicStakingSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*PublicStakingSession) Symbol

func (_PublicStaking *PublicStakingSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*PublicStakingSession) TokenByIndex added in v0.0.5

func (_PublicStaking *PublicStakingSession) TokenByIndex(index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*PublicStakingSession) TokenOfOwnerByIndex added in v0.0.5

func (_PublicStaking *PublicStakingSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*PublicStakingSession) TokenURI

func (_PublicStaking *PublicStakingSession) TokenURI(tokenID_ *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenID_) view returns(string)

func (*PublicStakingSession) TotalSupply added in v0.0.5

func (_PublicStaking *PublicStakingSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*PublicStakingSession) TransferFrom

func (_PublicStaking *PublicStakingSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*PublicStakingSession) TripCB

func (_PublicStaking *PublicStakingSession) TripCB() (*types.Transaction, error)

TripCB is a paid mutator transaction binding the contract method 0xadfdc03f.

Solidity: function tripCB() returns()

type PublicStakingTransactor

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

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

func NewPublicStakingTransactor

func NewPublicStakingTransactor(address common.Address, transactor bind.ContractTransactor) (*PublicStakingTransactor, error)

NewPublicStakingTransactor creates a new write-only instance of PublicStaking, bound to a specific deployed contract.

func (*PublicStakingTransactor) Approve

func (_PublicStaking *PublicStakingTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address to, uint256 tokenId) returns()

func (*PublicStakingTransactor) Burn

func (_PublicStaking *PublicStakingTransactor) Burn(opts *bind.TransactOpts, tokenID_ *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutALCA)

func (*PublicStakingTransactor) BurnTo

func (_PublicStaking *PublicStakingTransactor) BurnTo(opts *bind.TransactOpts, to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

BurnTo is a paid mutator transaction binding the contract method 0xea785a5e.

Solidity: function burnTo(address to_, uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutALCA)

func (*PublicStakingTransactor) CollectAllProfits added in v0.0.5

func (_PublicStaking *PublicStakingTransactor) CollectAllProfits(opts *bind.TransactOpts, tokenID_ *big.Int) (*types.Transaction, error)

CollectAllProfits is a paid mutator transaction binding the contract method 0x0df4b2dd.

Solidity: function collectAllProfits(uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutToken)

func (*PublicStakingTransactor) CollectAllProfitsTo added in v0.0.5

func (_PublicStaking *PublicStakingTransactor) CollectAllProfitsTo(opts *bind.TransactOpts, to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

CollectAllProfitsTo is a paid mutator transaction binding the contract method 0x8303fef7.

Solidity: function collectAllProfitsTo(address to_, uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutToken)

func (*PublicStakingTransactor) CollectEth

func (_PublicStaking *PublicStakingTransactor) CollectEth(opts *bind.TransactOpts, tokenID_ *big.Int) (*types.Transaction, error)

CollectEth is a paid mutator transaction binding the contract method 0x2a0d8bd1.

Solidity: function collectEth(uint256 tokenID_) returns(uint256 payout)

func (*PublicStakingTransactor) CollectEthTo

func (_PublicStaking *PublicStakingTransactor) CollectEthTo(opts *bind.TransactOpts, to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

CollectEthTo is a paid mutator transaction binding the contract method 0xbe444379.

Solidity: function collectEthTo(address to_, uint256 tokenID_) returns(uint256 payout)

func (*PublicStakingTransactor) CollectToken

func (_PublicStaking *PublicStakingTransactor) CollectToken(opts *bind.TransactOpts, tokenID_ *big.Int) (*types.Transaction, error)

CollectToken is a paid mutator transaction binding the contract method 0xe35c3e28.

Solidity: function collectToken(uint256 tokenID_) returns(uint256 payout)

func (*PublicStakingTransactor) CollectTokenTo

func (_PublicStaking *PublicStakingTransactor) CollectTokenTo(opts *bind.TransactOpts, to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

CollectTokenTo is a paid mutator transaction binding the contract method 0x8853b950.

Solidity: function collectTokenTo(address to_, uint256 tokenID_) returns(uint256 payout)

func (*PublicStakingTransactor) DepositEth

func (_PublicStaking *PublicStakingTransactor) DepositEth(opts *bind.TransactOpts, magic_ uint8) (*types.Transaction, error)

DepositEth is a paid mutator transaction binding the contract method 0x99a89ecc.

Solidity: function depositEth(uint8 magic_) payable returns()

func (*PublicStakingTransactor) DepositToken

func (_PublicStaking *PublicStakingTransactor) DepositToken(opts *bind.TransactOpts, magic_ uint8, amount_ *big.Int) (*types.Transaction, error)

DepositToken is a paid mutator transaction binding the contract method 0x8191f5e5.

Solidity: function depositToken(uint8 magic_, uint256 amount_) returns()

func (*PublicStakingTransactor) Initialize

func (_PublicStaking *PublicStakingTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function initialize() returns()

func (*PublicStakingTransactor) LockOwnPosition

func (_PublicStaking *PublicStakingTransactor) LockOwnPosition(opts *bind.TransactOpts, tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

LockOwnPosition is a paid mutator transaction binding the contract method 0xe42a673c.

Solidity: function lockOwnPosition(uint256 tokenID_, uint256 lockDuration_) returns(uint256)

func (*PublicStakingTransactor) LockPosition

func (_PublicStaking *PublicStakingTransactor) LockPosition(opts *bind.TransactOpts, caller_ common.Address, tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

LockPosition is a paid mutator transaction binding the contract method 0x0cc65dfb.

Solidity: function lockPosition(address caller_, uint256 tokenID_, uint256 lockDuration_) returns(uint256)

func (*PublicStakingTransactor) LockWithdraw

func (_PublicStaking *PublicStakingTransactor) LockWithdraw(opts *bind.TransactOpts, tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

LockWithdraw is a paid mutator transaction binding the contract method 0x0e4eb15b.

Solidity: function lockWithdraw(uint256 tokenID_, uint256 lockDuration_) returns(uint256)

func (*PublicStakingTransactor) Mint

func (_PublicStaking *PublicStakingTransactor) Mint(opts *bind.TransactOpts, amount_ *big.Int) (*types.Transaction, error)

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

Solidity: function mint(uint256 amount_) returns(uint256 tokenID)

func (*PublicStakingTransactor) MintTo

func (_PublicStaking *PublicStakingTransactor) MintTo(opts *bind.TransactOpts, to_ common.Address, amount_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

MintTo is a paid mutator transaction binding the contract method 0x2baf2acb.

Solidity: function mintTo(address to_, uint256 amount_, uint256 lockDuration_) returns(uint256 tokenID)

func (*PublicStakingTransactor) SafeTransferFrom

func (_PublicStaking *PublicStakingTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*PublicStakingTransactor) SafeTransferFrom0

func (_PublicStaking *PublicStakingTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()

func (*PublicStakingTransactor) SetApprovalForAll

func (_PublicStaking *PublicStakingTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*PublicStakingTransactor) SkimExcessEth

func (_PublicStaking *PublicStakingTransactor) SkimExcessEth(opts *bind.TransactOpts, to_ common.Address) (*types.Transaction, error)

SkimExcessEth is a paid mutator transaction binding the contract method 0x971b505b.

Solidity: function skimExcessEth(address to_) returns(uint256 excess)

func (*PublicStakingTransactor) SkimExcessToken

func (_PublicStaking *PublicStakingTransactor) SkimExcessToken(opts *bind.TransactOpts, to_ common.Address) (*types.Transaction, error)

SkimExcessToken is a paid mutator transaction binding the contract method 0x7aa507fb.

Solidity: function skimExcessToken(address to_) returns(uint256 excess)

func (*PublicStakingTransactor) TransferFrom

func (_PublicStaking *PublicStakingTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*PublicStakingTransactor) TripCB

func (_PublicStaking *PublicStakingTransactor) TripCB(opts *bind.TransactOpts) (*types.Transaction, error)

TripCB is a paid mutator transaction binding the contract method 0xadfdc03f.

Solidity: function tripCB() returns()

type PublicStakingTransactorRaw

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

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

func (*PublicStakingTransactorRaw) Transact

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

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

func (*PublicStakingTransactorRaw) Transfer

func (_PublicStaking *PublicStakingTransactorRaw) 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 PublicStakingTransactorSession

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

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

func (*PublicStakingTransactorSession) Approve

func (_PublicStaking *PublicStakingTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address to, uint256 tokenId) returns()

func (*PublicStakingTransactorSession) Burn

func (_PublicStaking *PublicStakingTransactorSession) Burn(tokenID_ *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutALCA)

func (*PublicStakingTransactorSession) BurnTo

func (_PublicStaking *PublicStakingTransactorSession) BurnTo(to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

BurnTo is a paid mutator transaction binding the contract method 0xea785a5e.

Solidity: function burnTo(address to_, uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutALCA)

func (*PublicStakingTransactorSession) CollectAllProfits added in v0.0.5

func (_PublicStaking *PublicStakingTransactorSession) CollectAllProfits(tokenID_ *big.Int) (*types.Transaction, error)

CollectAllProfits is a paid mutator transaction binding the contract method 0x0df4b2dd.

Solidity: function collectAllProfits(uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutToken)

func (*PublicStakingTransactorSession) CollectAllProfitsTo added in v0.0.5

func (_PublicStaking *PublicStakingTransactorSession) CollectAllProfitsTo(to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

CollectAllProfitsTo is a paid mutator transaction binding the contract method 0x8303fef7.

Solidity: function collectAllProfitsTo(address to_, uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutToken)

func (*PublicStakingTransactorSession) CollectEth

func (_PublicStaking *PublicStakingTransactorSession) CollectEth(tokenID_ *big.Int) (*types.Transaction, error)

CollectEth is a paid mutator transaction binding the contract method 0x2a0d8bd1.

Solidity: function collectEth(uint256 tokenID_) returns(uint256 payout)

func (*PublicStakingTransactorSession) CollectEthTo

func (_PublicStaking *PublicStakingTransactorSession) CollectEthTo(to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

CollectEthTo is a paid mutator transaction binding the contract method 0xbe444379.

Solidity: function collectEthTo(address to_, uint256 tokenID_) returns(uint256 payout)

func (*PublicStakingTransactorSession) CollectToken

func (_PublicStaking *PublicStakingTransactorSession) CollectToken(tokenID_ *big.Int) (*types.Transaction, error)

CollectToken is a paid mutator transaction binding the contract method 0xe35c3e28.

Solidity: function collectToken(uint256 tokenID_) returns(uint256 payout)

func (*PublicStakingTransactorSession) CollectTokenTo

func (_PublicStaking *PublicStakingTransactorSession) CollectTokenTo(to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

CollectTokenTo is a paid mutator transaction binding the contract method 0x8853b950.

Solidity: function collectTokenTo(address to_, uint256 tokenID_) returns(uint256 payout)

func (*PublicStakingTransactorSession) DepositEth

func (_PublicStaking *PublicStakingTransactorSession) DepositEth(magic_ uint8) (*types.Transaction, error)

DepositEth is a paid mutator transaction binding the contract method 0x99a89ecc.

Solidity: function depositEth(uint8 magic_) payable returns()

func (*PublicStakingTransactorSession) DepositToken

func (_PublicStaking *PublicStakingTransactorSession) DepositToken(magic_ uint8, amount_ *big.Int) (*types.Transaction, error)

DepositToken is a paid mutator transaction binding the contract method 0x8191f5e5.

Solidity: function depositToken(uint8 magic_, uint256 amount_) returns()

func (*PublicStakingTransactorSession) Initialize

func (_PublicStaking *PublicStakingTransactorSession) Initialize() (*types.Transaction, error)

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

Solidity: function initialize() returns()

func (*PublicStakingTransactorSession) LockOwnPosition

func (_PublicStaking *PublicStakingTransactorSession) LockOwnPosition(tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

LockOwnPosition is a paid mutator transaction binding the contract method 0xe42a673c.

Solidity: function lockOwnPosition(uint256 tokenID_, uint256 lockDuration_) returns(uint256)

func (*PublicStakingTransactorSession) LockPosition

func (_PublicStaking *PublicStakingTransactorSession) LockPosition(caller_ common.Address, tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

LockPosition is a paid mutator transaction binding the contract method 0x0cc65dfb.

Solidity: function lockPosition(address caller_, uint256 tokenID_, uint256 lockDuration_) returns(uint256)

func (*PublicStakingTransactorSession) LockWithdraw

func (_PublicStaking *PublicStakingTransactorSession) LockWithdraw(tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

LockWithdraw is a paid mutator transaction binding the contract method 0x0e4eb15b.

Solidity: function lockWithdraw(uint256 tokenID_, uint256 lockDuration_) returns(uint256)

func (*PublicStakingTransactorSession) Mint

func (_PublicStaking *PublicStakingTransactorSession) Mint(amount_ *big.Int) (*types.Transaction, error)

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

Solidity: function mint(uint256 amount_) returns(uint256 tokenID)

func (*PublicStakingTransactorSession) MintTo

func (_PublicStaking *PublicStakingTransactorSession) MintTo(to_ common.Address, amount_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

MintTo is a paid mutator transaction binding the contract method 0x2baf2acb.

Solidity: function mintTo(address to_, uint256 amount_, uint256 lockDuration_) returns(uint256 tokenID)

func (*PublicStakingTransactorSession) SafeTransferFrom

func (_PublicStaking *PublicStakingTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*PublicStakingTransactorSession) SafeTransferFrom0

func (_PublicStaking *PublicStakingTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()

func (*PublicStakingTransactorSession) SetApprovalForAll

func (_PublicStaking *PublicStakingTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*PublicStakingTransactorSession) SkimExcessEth

func (_PublicStaking *PublicStakingTransactorSession) SkimExcessEth(to_ common.Address) (*types.Transaction, error)

SkimExcessEth is a paid mutator transaction binding the contract method 0x971b505b.

Solidity: function skimExcessEth(address to_) returns(uint256 excess)

func (*PublicStakingTransactorSession) SkimExcessToken

func (_PublicStaking *PublicStakingTransactorSession) SkimExcessToken(to_ common.Address) (*types.Transaction, error)

SkimExcessToken is a paid mutator transaction binding the contract method 0x7aa507fb.

Solidity: function skimExcessToken(address to_) returns(uint256 excess)

func (*PublicStakingTransactorSession) TransferFrom

func (_PublicStaking *PublicStakingTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*PublicStakingTransactorSession) TripCB

func (_PublicStaking *PublicStakingTransactorSession) TripCB() (*types.Transaction, error)

TripCB is a paid mutator transaction binding the contract method 0xadfdc03f.

Solidity: function tripCB() returns()

type PublicStakingTransfer

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

PublicStakingTransfer represents a Transfer event raised by the PublicStaking contract.

type PublicStakingTransferIterator

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

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

func (*PublicStakingTransferIterator) Close

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

func (*PublicStakingTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PublicStakingTransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type Snapshot

type Snapshot struct {
	CommittedAt *big.Int
	BlockClaims BClaimsParserLibraryBClaims
}

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

type Snapshots

type Snapshots struct {
	SnapshotsCaller     // Read-only binding to the contract
	SnapshotsTransactor // Write-only binding to the contract
	SnapshotsFilterer   // Log filterer for contract events
}

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

func NewSnapshots

func NewSnapshots(address common.Address, backend bind.ContractBackend) (*Snapshots, error)

NewSnapshots creates a new instance of Snapshots, bound to a specific deployed contract.

type SnapshotsCaller

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

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

func NewSnapshotsCaller

func NewSnapshotsCaller(address common.Address, caller bind.ContractCaller) (*SnapshotsCaller, error)

NewSnapshotsCaller creates a new read-only instance of Snapshots, bound to a specific deployed contract.

func (*SnapshotsCaller) CheckBClaimsSignature added in v0.0.5

func (_Snapshots *SnapshotsCaller) CheckBClaimsSignature(opts *bind.CallOpts, groupSignature_ []byte, bClaims_ []byte) (bool, error)

CheckBClaimsSignature is a free data retrieval call binding the contract method 0x0204dffd.

Solidity: function checkBClaimsSignature(bytes groupSignature_, bytes bClaims_) view returns(bool)

func (*SnapshotsCaller) GetAliceNetHeightFromLatestSnapshot

func (_Snapshots *SnapshotsCaller) GetAliceNetHeightFromLatestSnapshot(opts *bind.CallOpts) (*big.Int, error)

GetAliceNetHeightFromLatestSnapshot is a free data retrieval call binding the contract method 0xff07fc0e.

Solidity: function getAliceNetHeightFromLatestSnapshot() view returns(uint256)

func (*SnapshotsCaller) GetAliceNetHeightFromSnapshot

func (_Snapshots *SnapshotsCaller) GetAliceNetHeightFromSnapshot(opts *bind.CallOpts, epoch_ *big.Int) (*big.Int, error)

GetAliceNetHeightFromSnapshot is a free data retrieval call binding the contract method 0xc5e8fde1.

Solidity: function getAliceNetHeightFromSnapshot(uint256 epoch_) view returns(uint256)

func (*SnapshotsCaller) GetBlockClaimsFromLatestSnapshot

func (_Snapshots *SnapshotsCaller) GetBlockClaimsFromLatestSnapshot(opts *bind.CallOpts) (BClaimsParserLibraryBClaims, error)

GetBlockClaimsFromLatestSnapshot is a free data retrieval call binding the contract method 0xc2ea6603.

Solidity: function getBlockClaimsFromLatestSnapshot() view returns((uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32))

func (*SnapshotsCaller) GetBlockClaimsFromSnapshot

func (_Snapshots *SnapshotsCaller) GetBlockClaimsFromSnapshot(opts *bind.CallOpts, epoch_ *big.Int) (BClaimsParserLibraryBClaims, error)

GetBlockClaimsFromSnapshot is a free data retrieval call binding the contract method 0x45dfc599.

Solidity: function getBlockClaimsFromSnapshot(uint256 epoch_) view returns((uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32))

func (*SnapshotsCaller) GetChainId

func (_Snapshots *SnapshotsCaller) GetChainId(opts *bind.CallOpts) (*big.Int, error)

GetChainId is a free data retrieval call binding the contract method 0x3408e470.

Solidity: function getChainId() view returns(uint256)

func (*SnapshotsCaller) GetChainIdFromLatestSnapshot

func (_Snapshots *SnapshotsCaller) GetChainIdFromLatestSnapshot(opts *bind.CallOpts) (*big.Int, error)

GetChainIdFromLatestSnapshot is a free data retrieval call binding the contract method 0xd9c11657.

Solidity: function getChainIdFromLatestSnapshot() view returns(uint256)

func (*SnapshotsCaller) GetChainIdFromSnapshot

func (_Snapshots *SnapshotsCaller) GetChainIdFromSnapshot(opts *bind.CallOpts, epoch_ *big.Int) (*big.Int, error)

GetChainIdFromSnapshot is a free data retrieval call binding the contract method 0x19f74669.

Solidity: function getChainIdFromSnapshot(uint256 epoch_) view returns(uint256)

func (*SnapshotsCaller) GetCommittedHeightFromLatestSnapshot

func (_Snapshots *SnapshotsCaller) GetCommittedHeightFromLatestSnapshot(opts *bind.CallOpts) (*big.Int, error)

GetCommittedHeightFromLatestSnapshot is a free data retrieval call binding the contract method 0x026c2b7e.

Solidity: function getCommittedHeightFromLatestSnapshot() view returns(uint256)

func (*SnapshotsCaller) GetCommittedHeightFromSnapshot

func (_Snapshots *SnapshotsCaller) GetCommittedHeightFromSnapshot(opts *bind.CallOpts, epoch_ *big.Int) (*big.Int, error)

GetCommittedHeightFromSnapshot is a free data retrieval call binding the contract method 0xe18c697a.

Solidity: function getCommittedHeightFromSnapshot(uint256 epoch_) view returns(uint256)

func (*SnapshotsCaller) GetEpoch

func (_Snapshots *SnapshotsCaller) GetEpoch(opts *bind.CallOpts) (*big.Int, error)

GetEpoch is a free data retrieval call binding the contract method 0x757991a8.

Solidity: function getEpoch() view returns(uint256)

func (*SnapshotsCaller) GetEpochFromHeight

func (_Snapshots *SnapshotsCaller) GetEpochFromHeight(opts *bind.CallOpts, height *big.Int) (*big.Int, error)

GetEpochFromHeight is a free data retrieval call binding the contract method 0x2eee30ce.

Solidity: function getEpochFromHeight(uint256 height) view returns(uint256)

func (*SnapshotsCaller) GetEpochLength

func (_Snapshots *SnapshotsCaller) GetEpochLength(opts *bind.CallOpts) (*big.Int, error)

GetEpochLength is a free data retrieval call binding the contract method 0xcfe8a73b.

Solidity: function getEpochLength() view returns(uint256)

func (*SnapshotsCaller) GetLatestSnapshot

func (_Snapshots *SnapshotsCaller) GetLatestSnapshot(opts *bind.CallOpts) (Snapshot, error)

GetLatestSnapshot is a free data retrieval call binding the contract method 0xd518f243.

Solidity: function getLatestSnapshot() view returns((uint256,(uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32)))

func (*SnapshotsCaller) GetMetamorphicContractAddress

func (_Snapshots *SnapshotsCaller) GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*SnapshotsCaller) GetMinimumIntervalBetweenSnapshots

func (_Snapshots *SnapshotsCaller) GetMinimumIntervalBetweenSnapshots(opts *bind.CallOpts) (*big.Int, error)

GetMinimumIntervalBetweenSnapshots is a free data retrieval call binding the contract method 0x42438d7b.

Solidity: function getMinimumIntervalBetweenSnapshots() view returns(uint256)

func (*SnapshotsCaller) GetSnapshot

func (_Snapshots *SnapshotsCaller) GetSnapshot(opts *bind.CallOpts, epoch_ *big.Int) (Snapshot, error)

GetSnapshot is a free data retrieval call binding the contract method 0x76f10ad0.

Solidity: function getSnapshot(uint256 epoch_) view returns((uint256,(uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32)))

func (*SnapshotsCaller) GetSnapshotDesperationDelay

func (_Snapshots *SnapshotsCaller) GetSnapshotDesperationDelay(opts *bind.CallOpts) (*big.Int, error)

GetSnapshotDesperationDelay is a free data retrieval call binding the contract method 0xd17fcc56.

Solidity: function getSnapshotDesperationDelay() view returns(uint256)

func (*SnapshotsCaller) GetSnapshotDesperationFactor

func (_Snapshots *SnapshotsCaller) GetSnapshotDesperationFactor(opts *bind.CallOpts) (*big.Int, error)

GetSnapshotDesperationFactor is a free data retrieval call binding the contract method 0x7cc4cce6.

Solidity: function getSnapshotDesperationFactor() view returns(uint256)

func (*SnapshotsCaller) IsValidatorElectedToPerformSnapshot added in v0.0.5

func (_Snapshots *SnapshotsCaller) IsValidatorElectedToPerformSnapshot(opts *bind.CallOpts, validator common.Address, lastSnapshotCommittedAt *big.Int, groupSignatureHash [32]byte) (bool, error)

IsValidatorElectedToPerformSnapshot is a free data retrieval call binding the contract method 0xc0e83e81.

Solidity: function isValidatorElectedToPerformSnapshot(address validator, uint256 lastSnapshotCommittedAt, bytes32 groupSignatureHash) view returns(bool)

func (*SnapshotsCaller) MayValidatorSnapshot

func (_Snapshots *SnapshotsCaller) MayValidatorSnapshot(opts *bind.CallOpts, numValidators *big.Int, myIdx *big.Int, blocksSinceDesperation *big.Int, randomSeed [32]byte, desperationFactor *big.Int) (bool, error)

MayValidatorSnapshot is a free data retrieval call binding the contract method 0xf45fa246.

Solidity: function mayValidatorSnapshot(uint256 numValidators, uint256 myIdx, uint256 blocksSinceDesperation, bytes32 randomSeed, uint256 desperationFactor) pure returns(bool)

type SnapshotsCallerRaw

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

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

func (*SnapshotsCallerRaw) Call

func (_Snapshots *SnapshotsCallerRaw) 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 SnapshotsCallerSession

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

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

func (*SnapshotsCallerSession) CheckBClaimsSignature added in v0.0.5

func (_Snapshots *SnapshotsCallerSession) CheckBClaimsSignature(groupSignature_ []byte, bClaims_ []byte) (bool, error)

CheckBClaimsSignature is a free data retrieval call binding the contract method 0x0204dffd.

Solidity: function checkBClaimsSignature(bytes groupSignature_, bytes bClaims_) view returns(bool)

func (*SnapshotsCallerSession) GetAliceNetHeightFromLatestSnapshot

func (_Snapshots *SnapshotsCallerSession) GetAliceNetHeightFromLatestSnapshot() (*big.Int, error)

GetAliceNetHeightFromLatestSnapshot is a free data retrieval call binding the contract method 0xff07fc0e.

Solidity: function getAliceNetHeightFromLatestSnapshot() view returns(uint256)

func (*SnapshotsCallerSession) GetAliceNetHeightFromSnapshot

func (_Snapshots *SnapshotsCallerSession) GetAliceNetHeightFromSnapshot(epoch_ *big.Int) (*big.Int, error)

GetAliceNetHeightFromSnapshot is a free data retrieval call binding the contract method 0xc5e8fde1.

Solidity: function getAliceNetHeightFromSnapshot(uint256 epoch_) view returns(uint256)

func (*SnapshotsCallerSession) GetBlockClaimsFromLatestSnapshot

func (_Snapshots *SnapshotsCallerSession) GetBlockClaimsFromLatestSnapshot() (BClaimsParserLibraryBClaims, error)

GetBlockClaimsFromLatestSnapshot is a free data retrieval call binding the contract method 0xc2ea6603.

Solidity: function getBlockClaimsFromLatestSnapshot() view returns((uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32))

func (*SnapshotsCallerSession) GetBlockClaimsFromSnapshot

func (_Snapshots *SnapshotsCallerSession) GetBlockClaimsFromSnapshot(epoch_ *big.Int) (BClaimsParserLibraryBClaims, error)

GetBlockClaimsFromSnapshot is a free data retrieval call binding the contract method 0x45dfc599.

Solidity: function getBlockClaimsFromSnapshot(uint256 epoch_) view returns((uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32))

func (*SnapshotsCallerSession) GetChainId

func (_Snapshots *SnapshotsCallerSession) GetChainId() (*big.Int, error)

GetChainId is a free data retrieval call binding the contract method 0x3408e470.

Solidity: function getChainId() view returns(uint256)

func (*SnapshotsCallerSession) GetChainIdFromLatestSnapshot

func (_Snapshots *SnapshotsCallerSession) GetChainIdFromLatestSnapshot() (*big.Int, error)

GetChainIdFromLatestSnapshot is a free data retrieval call binding the contract method 0xd9c11657.

Solidity: function getChainIdFromLatestSnapshot() view returns(uint256)

func (*SnapshotsCallerSession) GetChainIdFromSnapshot

func (_Snapshots *SnapshotsCallerSession) GetChainIdFromSnapshot(epoch_ *big.Int) (*big.Int, error)

GetChainIdFromSnapshot is a free data retrieval call binding the contract method 0x19f74669.

Solidity: function getChainIdFromSnapshot(uint256 epoch_) view returns(uint256)

func (*SnapshotsCallerSession) GetCommittedHeightFromLatestSnapshot

func (_Snapshots *SnapshotsCallerSession) GetCommittedHeightFromLatestSnapshot() (*big.Int, error)

GetCommittedHeightFromLatestSnapshot is a free data retrieval call binding the contract method 0x026c2b7e.

Solidity: function getCommittedHeightFromLatestSnapshot() view returns(uint256)

func (*SnapshotsCallerSession) GetCommittedHeightFromSnapshot

func (_Snapshots *SnapshotsCallerSession) GetCommittedHeightFromSnapshot(epoch_ *big.Int) (*big.Int, error)

GetCommittedHeightFromSnapshot is a free data retrieval call binding the contract method 0xe18c697a.

Solidity: function getCommittedHeightFromSnapshot(uint256 epoch_) view returns(uint256)

func (*SnapshotsCallerSession) GetEpoch

func (_Snapshots *SnapshotsCallerSession) GetEpoch() (*big.Int, error)

GetEpoch is a free data retrieval call binding the contract method 0x757991a8.

Solidity: function getEpoch() view returns(uint256)

func (*SnapshotsCallerSession) GetEpochFromHeight

func (_Snapshots *SnapshotsCallerSession) GetEpochFromHeight(height *big.Int) (*big.Int, error)

GetEpochFromHeight is a free data retrieval call binding the contract method 0x2eee30ce.

Solidity: function getEpochFromHeight(uint256 height) view returns(uint256)

func (*SnapshotsCallerSession) GetEpochLength

func (_Snapshots *SnapshotsCallerSession) GetEpochLength() (*big.Int, error)

GetEpochLength is a free data retrieval call binding the contract method 0xcfe8a73b.

Solidity: function getEpochLength() view returns(uint256)

func (*SnapshotsCallerSession) GetLatestSnapshot

func (_Snapshots *SnapshotsCallerSession) GetLatestSnapshot() (Snapshot, error)

GetLatestSnapshot is a free data retrieval call binding the contract method 0xd518f243.

Solidity: function getLatestSnapshot() view returns((uint256,(uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32)))

func (*SnapshotsCallerSession) GetMetamorphicContractAddress

func (_Snapshots *SnapshotsCallerSession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*SnapshotsCallerSession) GetMinimumIntervalBetweenSnapshots

func (_Snapshots *SnapshotsCallerSession) GetMinimumIntervalBetweenSnapshots() (*big.Int, error)

GetMinimumIntervalBetweenSnapshots is a free data retrieval call binding the contract method 0x42438d7b.

Solidity: function getMinimumIntervalBetweenSnapshots() view returns(uint256)

func (*SnapshotsCallerSession) GetSnapshot

func (_Snapshots *SnapshotsCallerSession) GetSnapshot(epoch_ *big.Int) (Snapshot, error)

GetSnapshot is a free data retrieval call binding the contract method 0x76f10ad0.

Solidity: function getSnapshot(uint256 epoch_) view returns((uint256,(uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32)))

func (*SnapshotsCallerSession) GetSnapshotDesperationDelay

func (_Snapshots *SnapshotsCallerSession) GetSnapshotDesperationDelay() (*big.Int, error)

GetSnapshotDesperationDelay is a free data retrieval call binding the contract method 0xd17fcc56.

Solidity: function getSnapshotDesperationDelay() view returns(uint256)

func (*SnapshotsCallerSession) GetSnapshotDesperationFactor

func (_Snapshots *SnapshotsCallerSession) GetSnapshotDesperationFactor() (*big.Int, error)

GetSnapshotDesperationFactor is a free data retrieval call binding the contract method 0x7cc4cce6.

Solidity: function getSnapshotDesperationFactor() view returns(uint256)

func (*SnapshotsCallerSession) IsValidatorElectedToPerformSnapshot added in v0.0.5

func (_Snapshots *SnapshotsCallerSession) IsValidatorElectedToPerformSnapshot(validator common.Address, lastSnapshotCommittedAt *big.Int, groupSignatureHash [32]byte) (bool, error)

IsValidatorElectedToPerformSnapshot is a free data retrieval call binding the contract method 0xc0e83e81.

Solidity: function isValidatorElectedToPerformSnapshot(address validator, uint256 lastSnapshotCommittedAt, bytes32 groupSignatureHash) view returns(bool)

func (*SnapshotsCallerSession) MayValidatorSnapshot

func (_Snapshots *SnapshotsCallerSession) MayValidatorSnapshot(numValidators *big.Int, myIdx *big.Int, blocksSinceDesperation *big.Int, randomSeed [32]byte, desperationFactor *big.Int) (bool, error)

MayValidatorSnapshot is a free data retrieval call binding the contract method 0xf45fa246.

Solidity: function mayValidatorSnapshot(uint256 numValidators, uint256 myIdx, uint256 blocksSinceDesperation, bytes32 randomSeed, uint256 desperationFactor) pure returns(bool)

type SnapshotsFilterer

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

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

func NewSnapshotsFilterer

func NewSnapshotsFilterer(address common.Address, filterer bind.ContractFilterer) (*SnapshotsFilterer, error)

NewSnapshotsFilterer creates a new log filterer instance of Snapshots, bound to a specific deployed contract.

func (*SnapshotsFilterer) FilterInitialized added in v0.0.2

func (_Snapshots *SnapshotsFilterer) FilterInitialized(opts *bind.FilterOpts) (*SnapshotsInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*SnapshotsFilterer) FilterSnapshotTaken

func (_Snapshots *SnapshotsFilterer) FilterSnapshotTaken(opts *bind.FilterOpts, epoch []*big.Int, validator []common.Address) (*SnapshotsSnapshotTakenIterator, error)

FilterSnapshotTaken is a free log retrieval operation binding the contract event 0x709e2f13a448a6bdef51a1fcadf45303dee0b6bff5bdf628829f401b019b7e9b.

Solidity: event SnapshotTaken(uint256 chainId, uint256 indexed epoch, uint256 height, address indexed validator, bool isSafeToProceedConsensus, uint256[4] masterPublicKey, uint256[2] signature, (uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32) bClaims)

func (*SnapshotsFilterer) ParseInitialized added in v0.0.2

func (_Snapshots *SnapshotsFilterer) ParseInitialized(log types.Log) (*SnapshotsInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*SnapshotsFilterer) ParseSnapshotTaken

func (_Snapshots *SnapshotsFilterer) ParseSnapshotTaken(log types.Log) (*SnapshotsSnapshotTaken, error)

ParseSnapshotTaken is a log parse operation binding the contract event 0x709e2f13a448a6bdef51a1fcadf45303dee0b6bff5bdf628829f401b019b7e9b.

Solidity: event SnapshotTaken(uint256 chainId, uint256 indexed epoch, uint256 height, address indexed validator, bool isSafeToProceedConsensus, uint256[4] masterPublicKey, uint256[2] signature, (uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32) bClaims)

func (*SnapshotsFilterer) WatchInitialized added in v0.0.2

func (_Snapshots *SnapshotsFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *SnapshotsInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*SnapshotsFilterer) WatchSnapshotTaken

func (_Snapshots *SnapshotsFilterer) WatchSnapshotTaken(opts *bind.WatchOpts, sink chan<- *SnapshotsSnapshotTaken, epoch []*big.Int, validator []common.Address) (event.Subscription, error)

WatchSnapshotTaken is a free log subscription operation binding the contract event 0x709e2f13a448a6bdef51a1fcadf45303dee0b6bff5bdf628829f401b019b7e9b.

Solidity: event SnapshotTaken(uint256 chainId, uint256 indexed epoch, uint256 height, address indexed validator, bool isSafeToProceedConsensus, uint256[4] masterPublicKey, uint256[2] signature, (uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32) bClaims)

type SnapshotsInitialized added in v0.0.2

type SnapshotsInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

SnapshotsInitialized represents a Initialized event raised by the Snapshots contract.

type SnapshotsInitializedIterator added in v0.0.2

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

SnapshotsInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Snapshots contract.

func (*SnapshotsInitializedIterator) Close added in v0.0.2

func (it *SnapshotsInitializedIterator) Close() error

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

func (*SnapshotsInitializedIterator) Error added in v0.0.2

func (it *SnapshotsInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SnapshotsInitializedIterator) Next added in v0.0.2

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 SnapshotsRaw

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

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

func (*SnapshotsRaw) Call

func (_Snapshots *SnapshotsRaw) 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 (*SnapshotsRaw) Transact

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

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

func (*SnapshotsRaw) Transfer

func (_Snapshots *SnapshotsRaw) 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 SnapshotsSession

type SnapshotsSession struct {
	Contract     *Snapshots        // 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
}

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

func (*SnapshotsSession) CheckBClaimsSignature added in v0.0.5

func (_Snapshots *SnapshotsSession) CheckBClaimsSignature(groupSignature_ []byte, bClaims_ []byte) (bool, error)

CheckBClaimsSignature is a free data retrieval call binding the contract method 0x0204dffd.

Solidity: function checkBClaimsSignature(bytes groupSignature_, bytes bClaims_) view returns(bool)

func (*SnapshotsSession) GetAliceNetHeightFromLatestSnapshot

func (_Snapshots *SnapshotsSession) GetAliceNetHeightFromLatestSnapshot() (*big.Int, error)

GetAliceNetHeightFromLatestSnapshot is a free data retrieval call binding the contract method 0xff07fc0e.

Solidity: function getAliceNetHeightFromLatestSnapshot() view returns(uint256)

func (*SnapshotsSession) GetAliceNetHeightFromSnapshot

func (_Snapshots *SnapshotsSession) GetAliceNetHeightFromSnapshot(epoch_ *big.Int) (*big.Int, error)

GetAliceNetHeightFromSnapshot is a free data retrieval call binding the contract method 0xc5e8fde1.

Solidity: function getAliceNetHeightFromSnapshot(uint256 epoch_) view returns(uint256)

func (*SnapshotsSession) GetBlockClaimsFromLatestSnapshot

func (_Snapshots *SnapshotsSession) GetBlockClaimsFromLatestSnapshot() (BClaimsParserLibraryBClaims, error)

GetBlockClaimsFromLatestSnapshot is a free data retrieval call binding the contract method 0xc2ea6603.

Solidity: function getBlockClaimsFromLatestSnapshot() view returns((uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32))

func (*SnapshotsSession) GetBlockClaimsFromSnapshot

func (_Snapshots *SnapshotsSession) GetBlockClaimsFromSnapshot(epoch_ *big.Int) (BClaimsParserLibraryBClaims, error)

GetBlockClaimsFromSnapshot is a free data retrieval call binding the contract method 0x45dfc599.

Solidity: function getBlockClaimsFromSnapshot(uint256 epoch_) view returns((uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32))

func (*SnapshotsSession) GetChainId

func (_Snapshots *SnapshotsSession) GetChainId() (*big.Int, error)

GetChainId is a free data retrieval call binding the contract method 0x3408e470.

Solidity: function getChainId() view returns(uint256)

func (*SnapshotsSession) GetChainIdFromLatestSnapshot

func (_Snapshots *SnapshotsSession) GetChainIdFromLatestSnapshot() (*big.Int, error)

GetChainIdFromLatestSnapshot is a free data retrieval call binding the contract method 0xd9c11657.

Solidity: function getChainIdFromLatestSnapshot() view returns(uint256)

func (*SnapshotsSession) GetChainIdFromSnapshot

func (_Snapshots *SnapshotsSession) GetChainIdFromSnapshot(epoch_ *big.Int) (*big.Int, error)

GetChainIdFromSnapshot is a free data retrieval call binding the contract method 0x19f74669.

Solidity: function getChainIdFromSnapshot(uint256 epoch_) view returns(uint256)

func (*SnapshotsSession) GetCommittedHeightFromLatestSnapshot

func (_Snapshots *SnapshotsSession) GetCommittedHeightFromLatestSnapshot() (*big.Int, error)

GetCommittedHeightFromLatestSnapshot is a free data retrieval call binding the contract method 0x026c2b7e.

Solidity: function getCommittedHeightFromLatestSnapshot() view returns(uint256)

func (*SnapshotsSession) GetCommittedHeightFromSnapshot

func (_Snapshots *SnapshotsSession) GetCommittedHeightFromSnapshot(epoch_ *big.Int) (*big.Int, error)

GetCommittedHeightFromSnapshot is a free data retrieval call binding the contract method 0xe18c697a.

Solidity: function getCommittedHeightFromSnapshot(uint256 epoch_) view returns(uint256)

func (*SnapshotsSession) GetEpoch

func (_Snapshots *SnapshotsSession) GetEpoch() (*big.Int, error)

GetEpoch is a free data retrieval call binding the contract method 0x757991a8.

Solidity: function getEpoch() view returns(uint256)

func (*SnapshotsSession) GetEpochFromHeight

func (_Snapshots *SnapshotsSession) GetEpochFromHeight(height *big.Int) (*big.Int, error)

GetEpochFromHeight is a free data retrieval call binding the contract method 0x2eee30ce.

Solidity: function getEpochFromHeight(uint256 height) view returns(uint256)

func (*SnapshotsSession) GetEpochLength

func (_Snapshots *SnapshotsSession) GetEpochLength() (*big.Int, error)

GetEpochLength is a free data retrieval call binding the contract method 0xcfe8a73b.

Solidity: function getEpochLength() view returns(uint256)

func (*SnapshotsSession) GetLatestSnapshot

func (_Snapshots *SnapshotsSession) GetLatestSnapshot() (Snapshot, error)

GetLatestSnapshot is a free data retrieval call binding the contract method 0xd518f243.

Solidity: function getLatestSnapshot() view returns((uint256,(uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32)))

func (*SnapshotsSession) GetMetamorphicContractAddress

func (_Snapshots *SnapshotsSession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*SnapshotsSession) GetMinimumIntervalBetweenSnapshots

func (_Snapshots *SnapshotsSession) GetMinimumIntervalBetweenSnapshots() (*big.Int, error)

GetMinimumIntervalBetweenSnapshots is a free data retrieval call binding the contract method 0x42438d7b.

Solidity: function getMinimumIntervalBetweenSnapshots() view returns(uint256)

func (*SnapshotsSession) GetSnapshot

func (_Snapshots *SnapshotsSession) GetSnapshot(epoch_ *big.Int) (Snapshot, error)

GetSnapshot is a free data retrieval call binding the contract method 0x76f10ad0.

Solidity: function getSnapshot(uint256 epoch_) view returns((uint256,(uint32,uint32,uint32,bytes32,bytes32,bytes32,bytes32)))

func (*SnapshotsSession) GetSnapshotDesperationDelay

func (_Snapshots *SnapshotsSession) GetSnapshotDesperationDelay() (*big.Int, error)

GetSnapshotDesperationDelay is a free data retrieval call binding the contract method 0xd17fcc56.

Solidity: function getSnapshotDesperationDelay() view returns(uint256)

func (*SnapshotsSession) GetSnapshotDesperationFactor

func (_Snapshots *SnapshotsSession) GetSnapshotDesperationFactor() (*big.Int, error)

GetSnapshotDesperationFactor is a free data retrieval call binding the contract method 0x7cc4cce6.

Solidity: function getSnapshotDesperationFactor() view returns(uint256)

func (*SnapshotsSession) Initialize

func (_Snapshots *SnapshotsSession) Initialize(desperationDelay_ uint32, desperationFactor_ uint32) (*types.Transaction, error)

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

Solidity: function initialize(uint32 desperationDelay_, uint32 desperationFactor_) returns()

func (*SnapshotsSession) IsValidatorElectedToPerformSnapshot added in v0.0.5

func (_Snapshots *SnapshotsSession) IsValidatorElectedToPerformSnapshot(validator common.Address, lastSnapshotCommittedAt *big.Int, groupSignatureHash [32]byte) (bool, error)

IsValidatorElectedToPerformSnapshot is a free data retrieval call binding the contract method 0xc0e83e81.

Solidity: function isValidatorElectedToPerformSnapshot(address validator, uint256 lastSnapshotCommittedAt, bytes32 groupSignatureHash) view returns(bool)

func (*SnapshotsSession) MayValidatorSnapshot

func (_Snapshots *SnapshotsSession) MayValidatorSnapshot(numValidators *big.Int, myIdx *big.Int, blocksSinceDesperation *big.Int, randomSeed [32]byte, desperationFactor *big.Int) (bool, error)

MayValidatorSnapshot is a free data retrieval call binding the contract method 0xf45fa246.

Solidity: function mayValidatorSnapshot(uint256 numValidators, uint256 myIdx, uint256 blocksSinceDesperation, bytes32 randomSeed, uint256 desperationFactor) pure returns(bool)

func (*SnapshotsSession) MigrateSnapshots

func (_Snapshots *SnapshotsSession) MigrateSnapshots(groupSignature_ [][]byte, bClaims_ [][]byte) (*types.Transaction, error)

MigrateSnapshots is a paid mutator transaction binding the contract method 0xae2728ea.

Solidity: function migrateSnapshots(bytes[] groupSignature_, bytes[] bClaims_) returns(bool)

func (*SnapshotsSession) SetMinimumIntervalBetweenSnapshots

func (_Snapshots *SnapshotsSession) SetMinimumIntervalBetweenSnapshots(minimumIntervalBetweenSnapshots_ uint32) (*types.Transaction, error)

SetMinimumIntervalBetweenSnapshots is a paid mutator transaction binding the contract method 0xeb7c7afe.

Solidity: function setMinimumIntervalBetweenSnapshots(uint32 minimumIntervalBetweenSnapshots_) returns()

func (*SnapshotsSession) SetSnapshotDesperationDelay

func (_Snapshots *SnapshotsSession) SetSnapshotDesperationDelay(desperationDelay_ uint32) (*types.Transaction, error)

SetSnapshotDesperationDelay is a paid mutator transaction binding the contract method 0xc2e8fef2.

Solidity: function setSnapshotDesperationDelay(uint32 desperationDelay_) returns()

func (*SnapshotsSession) SetSnapshotDesperationFactor

func (_Snapshots *SnapshotsSession) SetSnapshotDesperationFactor(desperationFactor_ uint32) (*types.Transaction, error)

SetSnapshotDesperationFactor is a paid mutator transaction binding the contract method 0x3fa7a1ad.

Solidity: function setSnapshotDesperationFactor(uint32 desperationFactor_) returns()

func (*SnapshotsSession) Snapshot

func (_Snapshots *SnapshotsSession) Snapshot(groupSignature_ []byte, bClaims_ []byte) (*types.Transaction, error)

Snapshot is a paid mutator transaction binding the contract method 0x08ca1f25.

Solidity: function snapshot(bytes groupSignature_, bytes bClaims_) returns(bool)

type SnapshotsSnapshotTaken

type SnapshotsSnapshotTaken struct {
	ChainId                  *big.Int
	Epoch                    *big.Int
	Height                   *big.Int
	Validator                common.Address
	IsSafeToProceedConsensus bool
	MasterPublicKey          [4]*big.Int
	Signature                [2]*big.Int
	BClaims                  BClaimsParserLibraryBClaims
	Raw                      types.Log // Blockchain specific contextual infos
}

SnapshotsSnapshotTaken represents a SnapshotTaken event raised by the Snapshots contract.

type SnapshotsSnapshotTakenIterator

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

SnapshotsSnapshotTakenIterator is returned from FilterSnapshotTaken and is used to iterate over the raw logs and unpacked data for SnapshotTaken events raised by the Snapshots contract.

func (*SnapshotsSnapshotTakenIterator) Close

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

func (*SnapshotsSnapshotTakenIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SnapshotsSnapshotTakenIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type SnapshotsTransactor

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

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

func NewSnapshotsTransactor

func NewSnapshotsTransactor(address common.Address, transactor bind.ContractTransactor) (*SnapshotsTransactor, error)

NewSnapshotsTransactor creates a new write-only instance of Snapshots, bound to a specific deployed contract.

func (*SnapshotsTransactor) Initialize

func (_Snapshots *SnapshotsTransactor) Initialize(opts *bind.TransactOpts, desperationDelay_ uint32, desperationFactor_ uint32) (*types.Transaction, error)

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

Solidity: function initialize(uint32 desperationDelay_, uint32 desperationFactor_) returns()

func (*SnapshotsTransactor) MigrateSnapshots

func (_Snapshots *SnapshotsTransactor) MigrateSnapshots(opts *bind.TransactOpts, groupSignature_ [][]byte, bClaims_ [][]byte) (*types.Transaction, error)

MigrateSnapshots is a paid mutator transaction binding the contract method 0xae2728ea.

Solidity: function migrateSnapshots(bytes[] groupSignature_, bytes[] bClaims_) returns(bool)

func (*SnapshotsTransactor) SetMinimumIntervalBetweenSnapshots

func (_Snapshots *SnapshotsTransactor) SetMinimumIntervalBetweenSnapshots(opts *bind.TransactOpts, minimumIntervalBetweenSnapshots_ uint32) (*types.Transaction, error)

SetMinimumIntervalBetweenSnapshots is a paid mutator transaction binding the contract method 0xeb7c7afe.

Solidity: function setMinimumIntervalBetweenSnapshots(uint32 minimumIntervalBetweenSnapshots_) returns()

func (*SnapshotsTransactor) SetSnapshotDesperationDelay

func (_Snapshots *SnapshotsTransactor) SetSnapshotDesperationDelay(opts *bind.TransactOpts, desperationDelay_ uint32) (*types.Transaction, error)

SetSnapshotDesperationDelay is a paid mutator transaction binding the contract method 0xc2e8fef2.

Solidity: function setSnapshotDesperationDelay(uint32 desperationDelay_) returns()

func (*SnapshotsTransactor) SetSnapshotDesperationFactor

func (_Snapshots *SnapshotsTransactor) SetSnapshotDesperationFactor(opts *bind.TransactOpts, desperationFactor_ uint32) (*types.Transaction, error)

SetSnapshotDesperationFactor is a paid mutator transaction binding the contract method 0x3fa7a1ad.

Solidity: function setSnapshotDesperationFactor(uint32 desperationFactor_) returns()

func (*SnapshotsTransactor) Snapshot

func (_Snapshots *SnapshotsTransactor) Snapshot(opts *bind.TransactOpts, groupSignature_ []byte, bClaims_ []byte) (*types.Transaction, error)

Snapshot is a paid mutator transaction binding the contract method 0x08ca1f25.

Solidity: function snapshot(bytes groupSignature_, bytes bClaims_) returns(bool)

type SnapshotsTransactorRaw

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

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

func (*SnapshotsTransactorRaw) Transact

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

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

func (*SnapshotsTransactorRaw) Transfer

func (_Snapshots *SnapshotsTransactorRaw) 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 SnapshotsTransactorSession

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

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

func (*SnapshotsTransactorSession) Initialize

func (_Snapshots *SnapshotsTransactorSession) Initialize(desperationDelay_ uint32, desperationFactor_ uint32) (*types.Transaction, error)

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

Solidity: function initialize(uint32 desperationDelay_, uint32 desperationFactor_) returns()

func (*SnapshotsTransactorSession) MigrateSnapshots

func (_Snapshots *SnapshotsTransactorSession) MigrateSnapshots(groupSignature_ [][]byte, bClaims_ [][]byte) (*types.Transaction, error)

MigrateSnapshots is a paid mutator transaction binding the contract method 0xae2728ea.

Solidity: function migrateSnapshots(bytes[] groupSignature_, bytes[] bClaims_) returns(bool)

func (*SnapshotsTransactorSession) SetMinimumIntervalBetweenSnapshots

func (_Snapshots *SnapshotsTransactorSession) SetMinimumIntervalBetweenSnapshots(minimumIntervalBetweenSnapshots_ uint32) (*types.Transaction, error)

SetMinimumIntervalBetweenSnapshots is a paid mutator transaction binding the contract method 0xeb7c7afe.

Solidity: function setMinimumIntervalBetweenSnapshots(uint32 minimumIntervalBetweenSnapshots_) returns()

func (*SnapshotsTransactorSession) SetSnapshotDesperationDelay

func (_Snapshots *SnapshotsTransactorSession) SetSnapshotDesperationDelay(desperationDelay_ uint32) (*types.Transaction, error)

SetSnapshotDesperationDelay is a paid mutator transaction binding the contract method 0xc2e8fef2.

Solidity: function setSnapshotDesperationDelay(uint32 desperationDelay_) returns()

func (*SnapshotsTransactorSession) SetSnapshotDesperationFactor

func (_Snapshots *SnapshotsTransactorSession) SetSnapshotDesperationFactor(desperationFactor_ uint32) (*types.Transaction, error)

SetSnapshotDesperationFactor is a paid mutator transaction binding the contract method 0x3fa7a1ad.

Solidity: function setSnapshotDesperationFactor(uint32 desperationFactor_) returns()

func (*SnapshotsTransactorSession) Snapshot

func (_Snapshots *SnapshotsTransactorSession) Snapshot(groupSignature_ []byte, bClaims_ []byte) (*types.Transaction, error)

Snapshot is a paid mutator transaction binding the contract method 0x08ca1f25.

Solidity: function snapshot(bytes groupSignature_, bytes bClaims_) returns(bool)

type ValidatorData

type ValidatorData struct {
	Address common.Address
	TokenID *big.Int
}

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

type ValidatorPool

type ValidatorPool struct {
	ValidatorPoolCaller     // Read-only binding to the contract
	ValidatorPoolTransactor // Write-only binding to the contract
	ValidatorPoolFilterer   // Log filterer for contract events
}

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

func NewValidatorPool

func NewValidatorPool(address common.Address, backend bind.ContractBackend) (*ValidatorPool, error)

NewValidatorPool creates a new instance of ValidatorPool, bound to a specific deployed contract.

type ValidatorPoolCaller

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

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

func NewValidatorPoolCaller

func NewValidatorPoolCaller(address common.Address, caller bind.ContractCaller) (*ValidatorPoolCaller, error)

NewValidatorPoolCaller creates a new read-only instance of ValidatorPool, bound to a specific deployed contract.

func (*ValidatorPoolCaller) CLAIMPERIOD

func (_ValidatorPool *ValidatorPoolCaller) CLAIMPERIOD(opts *bind.CallOpts) (*big.Int, error)

CLAIMPERIOD is a free data retrieval call binding the contract method 0x21241dfe.

Solidity: function CLAIM_PERIOD() view returns(uint256)

func (*ValidatorPoolCaller) GetDisputerReward

func (_ValidatorPool *ValidatorPoolCaller) GetDisputerReward(opts *bind.CallOpts) (*big.Int, error)

GetDisputerReward is a free data retrieval call binding the contract method 0x9ccdf830.

Solidity: function getDisputerReward() view returns(uint256)

func (*ValidatorPoolCaller) GetLocation

func (_ValidatorPool *ValidatorPoolCaller) GetLocation(opts *bind.CallOpts, validator_ common.Address) (string, error)

GetLocation is a free data retrieval call binding the contract method 0xd9e0dc59.

Solidity: function getLocation(address validator_) view returns(string)

func (*ValidatorPoolCaller) GetLocations

func (_ValidatorPool *ValidatorPoolCaller) GetLocations(opts *bind.CallOpts, validators_ []common.Address) ([]string, error)

GetLocations is a free data retrieval call binding the contract method 0x76207f9c.

Solidity: function getLocations(address[] validators_) view returns(string[])

func (*ValidatorPoolCaller) GetMaxIntervalWithoutSnapshots added in v0.0.5

func (_ValidatorPool *ValidatorPoolCaller) GetMaxIntervalWithoutSnapshots(opts *bind.CallOpts) (*big.Int, error)

GetMaxIntervalWithoutSnapshots is a free data retrieval call binding the contract method 0xd3dfe445.

Solidity: function getMaxIntervalWithoutSnapshots() view returns(uint256 maxIntervalWithoutSnapshots)

func (*ValidatorPoolCaller) GetMaxNumValidators

func (_ValidatorPool *ValidatorPoolCaller) GetMaxNumValidators(opts *bind.CallOpts) (*big.Int, error)

GetMaxNumValidators is a free data retrieval call binding the contract method 0xd2992f54.

Solidity: function getMaxNumValidators() view returns(uint256)

func (*ValidatorPoolCaller) GetMetamorphicContractAddress

func (_ValidatorPool *ValidatorPoolCaller) GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*ValidatorPoolCaller) GetStakeAmount

func (_ValidatorPool *ValidatorPoolCaller) GetStakeAmount(opts *bind.CallOpts) (*big.Int, error)

GetStakeAmount is a free data retrieval call binding the contract method 0x722580b6.

Solidity: function getStakeAmount() view returns(uint256)

func (*ValidatorPoolCaller) GetValidator

func (_ValidatorPool *ValidatorPoolCaller) GetValidator(opts *bind.CallOpts, index_ *big.Int) (common.Address, error)

GetValidator is a free data retrieval call binding the contract method 0xb5d89627.

Solidity: function getValidator(uint256 index_) view returns(address)

func (*ValidatorPoolCaller) GetValidatorData

func (_ValidatorPool *ValidatorPoolCaller) GetValidatorData(opts *bind.CallOpts, index_ *big.Int) (ValidatorData, error)

GetValidatorData is a free data retrieval call binding the contract method 0xc0951451.

Solidity: function getValidatorData(uint256 index_) view returns((address,uint256))

func (*ValidatorPoolCaller) GetValidatorsAddresses

func (_ValidatorPool *ValidatorPoolCaller) GetValidatorsAddresses(opts *bind.CallOpts) ([]common.Address, error)

GetValidatorsAddresses is a free data retrieval call binding the contract method 0x9c7d8961.

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

func (*ValidatorPoolCaller) GetValidatorsCount

func (_ValidatorPool *ValidatorPoolCaller) GetValidatorsCount(opts *bind.CallOpts) (*big.Int, error)

GetValidatorsCount is a free data retrieval call binding the contract method 0x27498240.

Solidity: function getValidatorsCount() view returns(uint256)

func (*ValidatorPoolCaller) IsAccusable

func (_ValidatorPool *ValidatorPoolCaller) IsAccusable(opts *bind.CallOpts, account_ common.Address) (bool, error)

IsAccusable is a free data retrieval call binding the contract method 0x20c2856d.

Solidity: function isAccusable(address account_) view returns(bool)

func (*ValidatorPoolCaller) IsConsensusRunning

func (_ValidatorPool *ValidatorPoolCaller) IsConsensusRunning(opts *bind.CallOpts) (bool, error)

IsConsensusRunning is a free data retrieval call binding the contract method 0xc8d1a5e4.

Solidity: function isConsensusRunning() view returns(bool)

func (*ValidatorPoolCaller) IsInExitingQueue

func (_ValidatorPool *ValidatorPoolCaller) IsInExitingQueue(opts *bind.CallOpts, account_ common.Address) (bool, error)

IsInExitingQueue is a free data retrieval call binding the contract method 0xe4ad75f1.

Solidity: function isInExitingQueue(address account_) view returns(bool)

func (*ValidatorPoolCaller) IsMaintenanceScheduled

func (_ValidatorPool *ValidatorPoolCaller) IsMaintenanceScheduled(opts *bind.CallOpts) (bool, error)

IsMaintenanceScheduled is a free data retrieval call binding the contract method 0x1885570f.

Solidity: function isMaintenanceScheduled() view returns(bool)

func (*ValidatorPoolCaller) IsValidator

func (_ValidatorPool *ValidatorPoolCaller) IsValidator(opts *bind.CallOpts, account_ common.Address) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0xfacd743b.

Solidity: function isValidator(address account_) view returns(bool)

func (*ValidatorPoolCaller) POSITIONLOCKPERIOD

func (_ValidatorPool *ValidatorPoolCaller) POSITIONLOCKPERIOD(opts *bind.CallOpts) (*big.Int, error)

POSITIONLOCKPERIOD is a free data retrieval call binding the contract method 0x9c87e3ed.

Solidity: function POSITION_LOCK_PERIOD() view returns(uint256)

func (*ValidatorPoolCaller) TryGetTokenID

func (_ValidatorPool *ValidatorPoolCaller) TryGetTokenID(opts *bind.CallOpts, account_ common.Address) (bool, common.Address, *big.Int, error)

TryGetTokenID is a free data retrieval call binding the contract method 0xee9e49bd.

Solidity: function tryGetTokenID(address account_) view returns(bool, address, uint256)

type ValidatorPoolCallerRaw

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

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

func (*ValidatorPoolCallerRaw) Call

func (_ValidatorPool *ValidatorPoolCallerRaw) 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 ValidatorPoolCallerSession

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

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

func (*ValidatorPoolCallerSession) CLAIMPERIOD

func (_ValidatorPool *ValidatorPoolCallerSession) CLAIMPERIOD() (*big.Int, error)

CLAIMPERIOD is a free data retrieval call binding the contract method 0x21241dfe.

Solidity: function CLAIM_PERIOD() view returns(uint256)

func (*ValidatorPoolCallerSession) GetDisputerReward

func (_ValidatorPool *ValidatorPoolCallerSession) GetDisputerReward() (*big.Int, error)

GetDisputerReward is a free data retrieval call binding the contract method 0x9ccdf830.

Solidity: function getDisputerReward() view returns(uint256)

func (*ValidatorPoolCallerSession) GetLocation

func (_ValidatorPool *ValidatorPoolCallerSession) GetLocation(validator_ common.Address) (string, error)

GetLocation is a free data retrieval call binding the contract method 0xd9e0dc59.

Solidity: function getLocation(address validator_) view returns(string)

func (*ValidatorPoolCallerSession) GetLocations

func (_ValidatorPool *ValidatorPoolCallerSession) GetLocations(validators_ []common.Address) ([]string, error)

GetLocations is a free data retrieval call binding the contract method 0x76207f9c.

Solidity: function getLocations(address[] validators_) view returns(string[])

func (*ValidatorPoolCallerSession) GetMaxIntervalWithoutSnapshots added in v0.0.5

func (_ValidatorPool *ValidatorPoolCallerSession) GetMaxIntervalWithoutSnapshots() (*big.Int, error)

GetMaxIntervalWithoutSnapshots is a free data retrieval call binding the contract method 0xd3dfe445.

Solidity: function getMaxIntervalWithoutSnapshots() view returns(uint256 maxIntervalWithoutSnapshots)

func (*ValidatorPoolCallerSession) GetMaxNumValidators

func (_ValidatorPool *ValidatorPoolCallerSession) GetMaxNumValidators() (*big.Int, error)

GetMaxNumValidators is a free data retrieval call binding the contract method 0xd2992f54.

Solidity: function getMaxNumValidators() view returns(uint256)

func (*ValidatorPoolCallerSession) GetMetamorphicContractAddress

func (_ValidatorPool *ValidatorPoolCallerSession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*ValidatorPoolCallerSession) GetStakeAmount

func (_ValidatorPool *ValidatorPoolCallerSession) GetStakeAmount() (*big.Int, error)

GetStakeAmount is a free data retrieval call binding the contract method 0x722580b6.

Solidity: function getStakeAmount() view returns(uint256)

func (*ValidatorPoolCallerSession) GetValidator

func (_ValidatorPool *ValidatorPoolCallerSession) GetValidator(index_ *big.Int) (common.Address, error)

GetValidator is a free data retrieval call binding the contract method 0xb5d89627.

Solidity: function getValidator(uint256 index_) view returns(address)

func (*ValidatorPoolCallerSession) GetValidatorData

func (_ValidatorPool *ValidatorPoolCallerSession) GetValidatorData(index_ *big.Int) (ValidatorData, error)

GetValidatorData is a free data retrieval call binding the contract method 0xc0951451.

Solidity: function getValidatorData(uint256 index_) view returns((address,uint256))

func (*ValidatorPoolCallerSession) GetValidatorsAddresses

func (_ValidatorPool *ValidatorPoolCallerSession) GetValidatorsAddresses() ([]common.Address, error)

GetValidatorsAddresses is a free data retrieval call binding the contract method 0x9c7d8961.

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

func (*ValidatorPoolCallerSession) GetValidatorsCount

func (_ValidatorPool *ValidatorPoolCallerSession) GetValidatorsCount() (*big.Int, error)

GetValidatorsCount is a free data retrieval call binding the contract method 0x27498240.

Solidity: function getValidatorsCount() view returns(uint256)

func (*ValidatorPoolCallerSession) IsAccusable

func (_ValidatorPool *ValidatorPoolCallerSession) IsAccusable(account_ common.Address) (bool, error)

IsAccusable is a free data retrieval call binding the contract method 0x20c2856d.

Solidity: function isAccusable(address account_) view returns(bool)

func (*ValidatorPoolCallerSession) IsConsensusRunning

func (_ValidatorPool *ValidatorPoolCallerSession) IsConsensusRunning() (bool, error)

IsConsensusRunning is a free data retrieval call binding the contract method 0xc8d1a5e4.

Solidity: function isConsensusRunning() view returns(bool)

func (*ValidatorPoolCallerSession) IsInExitingQueue

func (_ValidatorPool *ValidatorPoolCallerSession) IsInExitingQueue(account_ common.Address) (bool, error)

IsInExitingQueue is a free data retrieval call binding the contract method 0xe4ad75f1.

Solidity: function isInExitingQueue(address account_) view returns(bool)

func (*ValidatorPoolCallerSession) IsMaintenanceScheduled

func (_ValidatorPool *ValidatorPoolCallerSession) IsMaintenanceScheduled() (bool, error)

IsMaintenanceScheduled is a free data retrieval call binding the contract method 0x1885570f.

Solidity: function isMaintenanceScheduled() view returns(bool)

func (*ValidatorPoolCallerSession) IsValidator

func (_ValidatorPool *ValidatorPoolCallerSession) IsValidator(account_ common.Address) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0xfacd743b.

Solidity: function isValidator(address account_) view returns(bool)

func (*ValidatorPoolCallerSession) POSITIONLOCKPERIOD

func (_ValidatorPool *ValidatorPoolCallerSession) POSITIONLOCKPERIOD() (*big.Int, error)

POSITIONLOCKPERIOD is a free data retrieval call binding the contract method 0x9c87e3ed.

Solidity: function POSITION_LOCK_PERIOD() view returns(uint256)

func (*ValidatorPoolCallerSession) TryGetTokenID

func (_ValidatorPool *ValidatorPoolCallerSession) TryGetTokenID(account_ common.Address) (bool, common.Address, *big.Int, error)

TryGetTokenID is a free data retrieval call binding the contract method 0xee9e49bd.

Solidity: function tryGetTokenID(address account_) view returns(bool, address, uint256)

type ValidatorPoolFilterer

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

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

func NewValidatorPoolFilterer

func NewValidatorPoolFilterer(address common.Address, filterer bind.ContractFilterer) (*ValidatorPoolFilterer, error)

NewValidatorPoolFilterer creates a new log filterer instance of ValidatorPool, bound to a specific deployed contract.

func (*ValidatorPoolFilterer) FilterInitialized added in v0.0.2

func (_ValidatorPool *ValidatorPoolFilterer) FilterInitialized(opts *bind.FilterOpts) (*ValidatorPoolInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ValidatorPoolFilterer) FilterMaintenanceScheduled

func (_ValidatorPool *ValidatorPoolFilterer) FilterMaintenanceScheduled(opts *bind.FilterOpts) (*ValidatorPoolMaintenanceScheduledIterator, error)

FilterMaintenanceScheduled is a free log retrieval operation binding the contract event 0xc77f315ab4072b428052ff8f369916ce39f7fa7e925613f3e9b28fe383c565c8.

Solidity: event MaintenanceScheduled()

func (*ValidatorPoolFilterer) FilterValidatorJoined

func (_ValidatorPool *ValidatorPoolFilterer) FilterValidatorJoined(opts *bind.FilterOpts, account []common.Address) (*ValidatorPoolValidatorJoinedIterator, error)

FilterValidatorJoined is a free log retrieval operation binding the contract event 0xe30848520248cd6b60cf19fe62a302a47e2d2c1c147deea1188e471751557a52.

Solidity: event ValidatorJoined(address indexed account, uint256 validatorStakingTokenID)

func (*ValidatorPoolFilterer) FilterValidatorLeft

func (_ValidatorPool *ValidatorPoolFilterer) FilterValidatorLeft(opts *bind.FilterOpts, account []common.Address) (*ValidatorPoolValidatorLeftIterator, error)

FilterValidatorLeft is a free log retrieval operation binding the contract event 0x33ff7b2beda3cb99406d3401fd9e8d9001b93e74b845cf7346f6e7f70c703e73.

Solidity: event ValidatorLeft(address indexed account, uint256 publicStakingTokenID)

func (*ValidatorPoolFilterer) FilterValidatorMajorSlashed

func (_ValidatorPool *ValidatorPoolFilterer) FilterValidatorMajorSlashed(opts *bind.FilterOpts, account []common.Address) (*ValidatorPoolValidatorMajorSlashedIterator, error)

FilterValidatorMajorSlashed is a free log retrieval operation binding the contract event 0xee806478c61c75fc3ec50328b2af43290d1860ef40d5dfbba62ece0e1e3abe9e.

Solidity: event ValidatorMajorSlashed(address indexed account)

func (*ValidatorPoolFilterer) FilterValidatorMinorSlashed

func (_ValidatorPool *ValidatorPoolFilterer) FilterValidatorMinorSlashed(opts *bind.FilterOpts, account []common.Address) (*ValidatorPoolValidatorMinorSlashedIterator, error)

FilterValidatorMinorSlashed is a free log retrieval operation binding the contract event 0x23f67a6ac6d764dca01e28630334f5b636e2b1928c0a5d5b5428da3f69167208.

Solidity: event ValidatorMinorSlashed(address indexed account, uint256 publicStakingTokenID)

func (*ValidatorPoolFilterer) ParseInitialized added in v0.0.2

func (_ValidatorPool *ValidatorPoolFilterer) ParseInitialized(log types.Log) (*ValidatorPoolInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ValidatorPoolFilterer) ParseMaintenanceScheduled

func (_ValidatorPool *ValidatorPoolFilterer) ParseMaintenanceScheduled(log types.Log) (*ValidatorPoolMaintenanceScheduled, error)

ParseMaintenanceScheduled is a log parse operation binding the contract event 0xc77f315ab4072b428052ff8f369916ce39f7fa7e925613f3e9b28fe383c565c8.

Solidity: event MaintenanceScheduled()

func (*ValidatorPoolFilterer) ParseValidatorJoined

func (_ValidatorPool *ValidatorPoolFilterer) ParseValidatorJoined(log types.Log) (*ValidatorPoolValidatorJoined, error)

ParseValidatorJoined is a log parse operation binding the contract event 0xe30848520248cd6b60cf19fe62a302a47e2d2c1c147deea1188e471751557a52.

Solidity: event ValidatorJoined(address indexed account, uint256 validatorStakingTokenID)

func (*ValidatorPoolFilterer) ParseValidatorLeft

func (_ValidatorPool *ValidatorPoolFilterer) ParseValidatorLeft(log types.Log) (*ValidatorPoolValidatorLeft, error)

ParseValidatorLeft is a log parse operation binding the contract event 0x33ff7b2beda3cb99406d3401fd9e8d9001b93e74b845cf7346f6e7f70c703e73.

Solidity: event ValidatorLeft(address indexed account, uint256 publicStakingTokenID)

func (*ValidatorPoolFilterer) ParseValidatorMajorSlashed

func (_ValidatorPool *ValidatorPoolFilterer) ParseValidatorMajorSlashed(log types.Log) (*ValidatorPoolValidatorMajorSlashed, error)

ParseValidatorMajorSlashed is a log parse operation binding the contract event 0xee806478c61c75fc3ec50328b2af43290d1860ef40d5dfbba62ece0e1e3abe9e.

Solidity: event ValidatorMajorSlashed(address indexed account)

func (*ValidatorPoolFilterer) ParseValidatorMinorSlashed

func (_ValidatorPool *ValidatorPoolFilterer) ParseValidatorMinorSlashed(log types.Log) (*ValidatorPoolValidatorMinorSlashed, error)

ParseValidatorMinorSlashed is a log parse operation binding the contract event 0x23f67a6ac6d764dca01e28630334f5b636e2b1928c0a5d5b5428da3f69167208.

Solidity: event ValidatorMinorSlashed(address indexed account, uint256 publicStakingTokenID)

func (*ValidatorPoolFilterer) WatchInitialized added in v0.0.2

func (_ValidatorPool *ValidatorPoolFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ValidatorPoolInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ValidatorPoolFilterer) WatchMaintenanceScheduled

func (_ValidatorPool *ValidatorPoolFilterer) WatchMaintenanceScheduled(opts *bind.WatchOpts, sink chan<- *ValidatorPoolMaintenanceScheduled) (event.Subscription, error)

WatchMaintenanceScheduled is a free log subscription operation binding the contract event 0xc77f315ab4072b428052ff8f369916ce39f7fa7e925613f3e9b28fe383c565c8.

Solidity: event MaintenanceScheduled()

func (*ValidatorPoolFilterer) WatchValidatorJoined

func (_ValidatorPool *ValidatorPoolFilterer) WatchValidatorJoined(opts *bind.WatchOpts, sink chan<- *ValidatorPoolValidatorJoined, account []common.Address) (event.Subscription, error)

WatchValidatorJoined is a free log subscription operation binding the contract event 0xe30848520248cd6b60cf19fe62a302a47e2d2c1c147deea1188e471751557a52.

Solidity: event ValidatorJoined(address indexed account, uint256 validatorStakingTokenID)

func (*ValidatorPoolFilterer) WatchValidatorLeft

func (_ValidatorPool *ValidatorPoolFilterer) WatchValidatorLeft(opts *bind.WatchOpts, sink chan<- *ValidatorPoolValidatorLeft, account []common.Address) (event.Subscription, error)

WatchValidatorLeft is a free log subscription operation binding the contract event 0x33ff7b2beda3cb99406d3401fd9e8d9001b93e74b845cf7346f6e7f70c703e73.

Solidity: event ValidatorLeft(address indexed account, uint256 publicStakingTokenID)

func (*ValidatorPoolFilterer) WatchValidatorMajorSlashed

func (_ValidatorPool *ValidatorPoolFilterer) WatchValidatorMajorSlashed(opts *bind.WatchOpts, sink chan<- *ValidatorPoolValidatorMajorSlashed, account []common.Address) (event.Subscription, error)

WatchValidatorMajorSlashed is a free log subscription operation binding the contract event 0xee806478c61c75fc3ec50328b2af43290d1860ef40d5dfbba62ece0e1e3abe9e.

Solidity: event ValidatorMajorSlashed(address indexed account)

func (*ValidatorPoolFilterer) WatchValidatorMinorSlashed

func (_ValidatorPool *ValidatorPoolFilterer) WatchValidatorMinorSlashed(opts *bind.WatchOpts, sink chan<- *ValidatorPoolValidatorMinorSlashed, account []common.Address) (event.Subscription, error)

WatchValidatorMinorSlashed is a free log subscription operation binding the contract event 0x23f67a6ac6d764dca01e28630334f5b636e2b1928c0a5d5b5428da3f69167208.

Solidity: event ValidatorMinorSlashed(address indexed account, uint256 publicStakingTokenID)

type ValidatorPoolInitialized added in v0.0.2

type ValidatorPoolInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

ValidatorPoolInitialized represents a Initialized event raised by the ValidatorPool contract.

type ValidatorPoolInitializedIterator added in v0.0.2

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

ValidatorPoolInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the ValidatorPool contract.

func (*ValidatorPoolInitializedIterator) Close added in v0.0.2

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

func (*ValidatorPoolInitializedIterator) Error added in v0.0.2

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorPoolInitializedIterator) Next added in v0.0.2

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 ValidatorPoolMaintenanceScheduled

type ValidatorPoolMaintenanceScheduled struct {
	Raw types.Log // Blockchain specific contextual infos
}

ValidatorPoolMaintenanceScheduled represents a MaintenanceScheduled event raised by the ValidatorPool contract.

type ValidatorPoolMaintenanceScheduledIterator

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

ValidatorPoolMaintenanceScheduledIterator is returned from FilterMaintenanceScheduled and is used to iterate over the raw logs and unpacked data for MaintenanceScheduled events raised by the ValidatorPool contract.

func (*ValidatorPoolMaintenanceScheduledIterator) Close

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

func (*ValidatorPoolMaintenanceScheduledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorPoolMaintenanceScheduledIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ValidatorPoolRaw

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

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

func (*ValidatorPoolRaw) Call

func (_ValidatorPool *ValidatorPoolRaw) 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 (*ValidatorPoolRaw) Transact

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

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

func (*ValidatorPoolRaw) Transfer

func (_ValidatorPool *ValidatorPoolRaw) 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 ValidatorPoolSession

type ValidatorPoolSession struct {
	Contract     *ValidatorPool    // 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
}

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

func (*ValidatorPoolSession) CLAIMPERIOD

func (_ValidatorPool *ValidatorPoolSession) CLAIMPERIOD() (*big.Int, error)

CLAIMPERIOD is a free data retrieval call binding the contract method 0x21241dfe.

Solidity: function CLAIM_PERIOD() view returns(uint256)

func (*ValidatorPoolSession) ClaimExitingNFTPosition

func (_ValidatorPool *ValidatorPoolSession) ClaimExitingNFTPosition() (*types.Transaction, error)

ClaimExitingNFTPosition is a paid mutator transaction binding the contract method 0x769cc695.

Solidity: function claimExitingNFTPosition() returns(uint256)

func (*ValidatorPoolSession) CollectProfits

func (_ValidatorPool *ValidatorPoolSession) CollectProfits() (*types.Transaction, error)

CollectProfits is a paid mutator transaction binding the contract method 0xc958e0d6.

Solidity: function collectProfits() returns(uint256 payoutEth, uint256 payoutToken)

func (*ValidatorPoolSession) CompleteETHDKG

func (_ValidatorPool *ValidatorPoolSession) CompleteETHDKG() (*types.Transaction, error)

CompleteETHDKG is a paid mutator transaction binding the contract method 0x8f579924.

Solidity: function completeETHDKG() returns()

func (*ValidatorPoolSession) GetDisputerReward

func (_ValidatorPool *ValidatorPoolSession) GetDisputerReward() (*big.Int, error)

GetDisputerReward is a free data retrieval call binding the contract method 0x9ccdf830.

Solidity: function getDisputerReward() view returns(uint256)

func (*ValidatorPoolSession) GetLocation

func (_ValidatorPool *ValidatorPoolSession) GetLocation(validator_ common.Address) (string, error)

GetLocation is a free data retrieval call binding the contract method 0xd9e0dc59.

Solidity: function getLocation(address validator_) view returns(string)

func (*ValidatorPoolSession) GetLocations

func (_ValidatorPool *ValidatorPoolSession) GetLocations(validators_ []common.Address) ([]string, error)

GetLocations is a free data retrieval call binding the contract method 0x76207f9c.

Solidity: function getLocations(address[] validators_) view returns(string[])

func (*ValidatorPoolSession) GetMaxIntervalWithoutSnapshots added in v0.0.5

func (_ValidatorPool *ValidatorPoolSession) GetMaxIntervalWithoutSnapshots() (*big.Int, error)

GetMaxIntervalWithoutSnapshots is a free data retrieval call binding the contract method 0xd3dfe445.

Solidity: function getMaxIntervalWithoutSnapshots() view returns(uint256 maxIntervalWithoutSnapshots)

func (*ValidatorPoolSession) GetMaxNumValidators

func (_ValidatorPool *ValidatorPoolSession) GetMaxNumValidators() (*big.Int, error)

GetMaxNumValidators is a free data retrieval call binding the contract method 0xd2992f54.

Solidity: function getMaxNumValidators() view returns(uint256)

func (*ValidatorPoolSession) GetMetamorphicContractAddress

func (_ValidatorPool *ValidatorPoolSession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*ValidatorPoolSession) GetStakeAmount

func (_ValidatorPool *ValidatorPoolSession) GetStakeAmount() (*big.Int, error)

GetStakeAmount is a free data retrieval call binding the contract method 0x722580b6.

Solidity: function getStakeAmount() view returns(uint256)

func (*ValidatorPoolSession) GetValidator

func (_ValidatorPool *ValidatorPoolSession) GetValidator(index_ *big.Int) (common.Address, error)

GetValidator is a free data retrieval call binding the contract method 0xb5d89627.

Solidity: function getValidator(uint256 index_) view returns(address)

func (*ValidatorPoolSession) GetValidatorData

func (_ValidatorPool *ValidatorPoolSession) GetValidatorData(index_ *big.Int) (ValidatorData, error)

GetValidatorData is a free data retrieval call binding the contract method 0xc0951451.

Solidity: function getValidatorData(uint256 index_) view returns((address,uint256))

func (*ValidatorPoolSession) GetValidatorsAddresses

func (_ValidatorPool *ValidatorPoolSession) GetValidatorsAddresses() ([]common.Address, error)

GetValidatorsAddresses is a free data retrieval call binding the contract method 0x9c7d8961.

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

func (*ValidatorPoolSession) GetValidatorsCount

func (_ValidatorPool *ValidatorPoolSession) GetValidatorsCount() (*big.Int, error)

GetValidatorsCount is a free data retrieval call binding the contract method 0x27498240.

Solidity: function getValidatorsCount() view returns(uint256)

func (*ValidatorPoolSession) Initialize

func (_ValidatorPool *ValidatorPoolSession) Initialize(stakeAmount_ *big.Int, maxNumValidators_ *big.Int, disputerReward_ *big.Int, maxIntervalWithoutSnapshots_ *big.Int) (*types.Transaction, error)

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

Solidity: function initialize(uint256 stakeAmount_, uint256 maxNumValidators_, uint256 disputerReward_, uint256 maxIntervalWithoutSnapshots_) returns()

func (*ValidatorPoolSession) InitializeETHDKG

func (_ValidatorPool *ValidatorPoolSession) InitializeETHDKG() (*types.Transaction, error)

InitializeETHDKG is a paid mutator transaction binding the contract method 0x57b51c9c.

Solidity: function initializeETHDKG() returns()

func (*ValidatorPoolSession) IsAccusable

func (_ValidatorPool *ValidatorPoolSession) IsAccusable(account_ common.Address) (bool, error)

IsAccusable is a free data retrieval call binding the contract method 0x20c2856d.

Solidity: function isAccusable(address account_) view returns(bool)

func (*ValidatorPoolSession) IsConsensusRunning

func (_ValidatorPool *ValidatorPoolSession) IsConsensusRunning() (bool, error)

IsConsensusRunning is a free data retrieval call binding the contract method 0xc8d1a5e4.

Solidity: function isConsensusRunning() view returns(bool)

func (*ValidatorPoolSession) IsInExitingQueue

func (_ValidatorPool *ValidatorPoolSession) IsInExitingQueue(account_ common.Address) (bool, error)

IsInExitingQueue is a free data retrieval call binding the contract method 0xe4ad75f1.

Solidity: function isInExitingQueue(address account_) view returns(bool)

func (*ValidatorPoolSession) IsMaintenanceScheduled

func (_ValidatorPool *ValidatorPoolSession) IsMaintenanceScheduled() (bool, error)

IsMaintenanceScheduled is a free data retrieval call binding the contract method 0x1885570f.

Solidity: function isMaintenanceScheduled() view returns(bool)

func (*ValidatorPoolSession) IsValidator

func (_ValidatorPool *ValidatorPoolSession) IsValidator(account_ common.Address) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0xfacd743b.

Solidity: function isValidator(address account_) view returns(bool)

func (*ValidatorPoolSession) MajorSlash

func (_ValidatorPool *ValidatorPoolSession) MajorSlash(dishonestValidator_ common.Address, disputer_ common.Address) (*types.Transaction, error)

MajorSlash is a paid mutator transaction binding the contract method 0x048d56c7.

Solidity: function majorSlash(address dishonestValidator_, address disputer_) returns()

func (*ValidatorPoolSession) MinorSlash

func (_ValidatorPool *ValidatorPoolSession) MinorSlash(dishonestValidator_ common.Address, disputer_ common.Address) (*types.Transaction, error)

MinorSlash is a paid mutator transaction binding the contract method 0x64c0461c.

Solidity: function minorSlash(address dishonestValidator_, address disputer_) returns()

func (*ValidatorPoolSession) OnERC721Received

func (_ValidatorPool *ValidatorPoolSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)

func (*ValidatorPoolSession) POSITIONLOCKPERIOD

func (_ValidatorPool *ValidatorPoolSession) POSITIONLOCKPERIOD() (*big.Int, error)

POSITIONLOCKPERIOD is a free data retrieval call binding the contract method 0x9c87e3ed.

Solidity: function POSITION_LOCK_PERIOD() view returns(uint256)

func (*ValidatorPoolSession) PauseConsensus

func (_ValidatorPool *ValidatorPoolSession) PauseConsensus() (*types.Transaction, error)

PauseConsensus is a paid mutator transaction binding the contract method 0x1e5975f4.

Solidity: function pauseConsensus() returns()

func (*ValidatorPoolSession) PauseConsensusOnArbitraryHeight

func (_ValidatorPool *ValidatorPoolSession) PauseConsensusOnArbitraryHeight(aliceNetHeight_ *big.Int) (*types.Transaction, error)

PauseConsensusOnArbitraryHeight is a paid mutator transaction binding the contract method 0xbc33bb01.

Solidity: function pauseConsensusOnArbitraryHeight(uint256 aliceNetHeight_) returns()

func (*ValidatorPoolSession) Receive

func (_ValidatorPool *ValidatorPoolSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*ValidatorPoolSession) RegisterValidators

func (_ValidatorPool *ValidatorPoolSession) RegisterValidators(validators_ []common.Address, stakerTokenIDs_ []*big.Int) (*types.Transaction, error)

RegisterValidators is a paid mutator transaction binding the contract method 0x65bd91af.

Solidity: function registerValidators(address[] validators_, uint256[] stakerTokenIDs_) returns()

func (*ValidatorPoolSession) ScheduleMaintenance

func (_ValidatorPool *ValidatorPoolSession) ScheduleMaintenance() (*types.Transaction, error)

ScheduleMaintenance is a paid mutator transaction binding the contract method 0x2380db1a.

Solidity: function scheduleMaintenance() returns()

func (*ValidatorPoolSession) SetDisputerReward

func (_ValidatorPool *ValidatorPoolSession) SetDisputerReward(disputerReward_ *big.Int) (*types.Transaction, error)

SetDisputerReward is a paid mutator transaction binding the contract method 0x7d907284.

Solidity: function setDisputerReward(uint256 disputerReward_) returns()

func (*ValidatorPoolSession) SetLocation

func (_ValidatorPool *ValidatorPoolSession) SetLocation(ip_ string) (*types.Transaction, error)

SetLocation is a paid mutator transaction binding the contract method 0x827bfbdf.

Solidity: function setLocation(string ip_) returns()

func (*ValidatorPoolSession) SetMaxIntervalWithoutSnapshots added in v0.0.5

func (_ValidatorPool *ValidatorPoolSession) SetMaxIntervalWithoutSnapshots(maxIntervalWithoutSnapshots *big.Int) (*types.Transaction, error)

SetMaxIntervalWithoutSnapshots is a paid mutator transaction binding the contract method 0x564a7005.

Solidity: function setMaxIntervalWithoutSnapshots(uint256 maxIntervalWithoutSnapshots) returns()

func (*ValidatorPoolSession) SetMaxNumValidators

func (_ValidatorPool *ValidatorPoolSession) SetMaxNumValidators(maxNumValidators_ *big.Int) (*types.Transaction, error)

SetMaxNumValidators is a paid mutator transaction binding the contract method 0x6c0da0b4.

Solidity: function setMaxNumValidators(uint256 maxNumValidators_) returns()

func (*ValidatorPoolSession) SetStakeAmount

func (_ValidatorPool *ValidatorPoolSession) SetStakeAmount(stakeAmount_ *big.Int) (*types.Transaction, error)

SetStakeAmount is a paid mutator transaction binding the contract method 0x43808c50.

Solidity: function setStakeAmount(uint256 stakeAmount_) returns()

func (*ValidatorPoolSession) SkimExcessEth

func (_ValidatorPool *ValidatorPoolSession) SkimExcessEth(to_ common.Address) (*types.Transaction, error)

SkimExcessEth is a paid mutator transaction binding the contract method 0x971b505b.

Solidity: function skimExcessEth(address to_) returns(uint256 excess)

func (*ValidatorPoolSession) SkimExcessToken

func (_ValidatorPool *ValidatorPoolSession) SkimExcessToken(to_ common.Address) (*types.Transaction, error)

SkimExcessToken is a paid mutator transaction binding the contract method 0x7aa507fb.

Solidity: function skimExcessToken(address to_) returns(uint256 excess)

func (*ValidatorPoolSession) TryGetTokenID

func (_ValidatorPool *ValidatorPoolSession) TryGetTokenID(account_ common.Address) (bool, common.Address, *big.Int, error)

TryGetTokenID is a free data retrieval call binding the contract method 0xee9e49bd.

Solidity: function tryGetTokenID(address account_) view returns(bool, address, uint256)

func (*ValidatorPoolSession) UnregisterAllValidators

func (_ValidatorPool *ValidatorPoolSession) UnregisterAllValidators() (*types.Transaction, error)

UnregisterAllValidators is a paid mutator transaction binding the contract method 0xf6442e24.

Solidity: function unregisterAllValidators() returns()

func (*ValidatorPoolSession) UnregisterValidators

func (_ValidatorPool *ValidatorPoolSession) UnregisterValidators(validators_ []common.Address) (*types.Transaction, error)

UnregisterValidators is a paid mutator transaction binding the contract method 0xc6e86ad6.

Solidity: function unregisterValidators(address[] validators_) returns()

type ValidatorPoolTransactor

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

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

func NewValidatorPoolTransactor

func NewValidatorPoolTransactor(address common.Address, transactor bind.ContractTransactor) (*ValidatorPoolTransactor, error)

NewValidatorPoolTransactor creates a new write-only instance of ValidatorPool, bound to a specific deployed contract.

func (*ValidatorPoolTransactor) ClaimExitingNFTPosition

func (_ValidatorPool *ValidatorPoolTransactor) ClaimExitingNFTPosition(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimExitingNFTPosition is a paid mutator transaction binding the contract method 0x769cc695.

Solidity: function claimExitingNFTPosition() returns(uint256)

func (*ValidatorPoolTransactor) CollectProfits

func (_ValidatorPool *ValidatorPoolTransactor) CollectProfits(opts *bind.TransactOpts) (*types.Transaction, error)

CollectProfits is a paid mutator transaction binding the contract method 0xc958e0d6.

Solidity: function collectProfits() returns(uint256 payoutEth, uint256 payoutToken)

func (*ValidatorPoolTransactor) CompleteETHDKG

func (_ValidatorPool *ValidatorPoolTransactor) CompleteETHDKG(opts *bind.TransactOpts) (*types.Transaction, error)

CompleteETHDKG is a paid mutator transaction binding the contract method 0x8f579924.

Solidity: function completeETHDKG() returns()

func (*ValidatorPoolTransactor) Initialize

func (_ValidatorPool *ValidatorPoolTransactor) Initialize(opts *bind.TransactOpts, stakeAmount_ *big.Int, maxNumValidators_ *big.Int, disputerReward_ *big.Int, maxIntervalWithoutSnapshots_ *big.Int) (*types.Transaction, error)

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

Solidity: function initialize(uint256 stakeAmount_, uint256 maxNumValidators_, uint256 disputerReward_, uint256 maxIntervalWithoutSnapshots_) returns()

func (*ValidatorPoolTransactor) InitializeETHDKG

func (_ValidatorPool *ValidatorPoolTransactor) InitializeETHDKG(opts *bind.TransactOpts) (*types.Transaction, error)

InitializeETHDKG is a paid mutator transaction binding the contract method 0x57b51c9c.

Solidity: function initializeETHDKG() returns()

func (*ValidatorPoolTransactor) MajorSlash

func (_ValidatorPool *ValidatorPoolTransactor) MajorSlash(opts *bind.TransactOpts, dishonestValidator_ common.Address, disputer_ common.Address) (*types.Transaction, error)

MajorSlash is a paid mutator transaction binding the contract method 0x048d56c7.

Solidity: function majorSlash(address dishonestValidator_, address disputer_) returns()

func (*ValidatorPoolTransactor) MinorSlash

func (_ValidatorPool *ValidatorPoolTransactor) MinorSlash(opts *bind.TransactOpts, dishonestValidator_ common.Address, disputer_ common.Address) (*types.Transaction, error)

MinorSlash is a paid mutator transaction binding the contract method 0x64c0461c.

Solidity: function minorSlash(address dishonestValidator_, address disputer_) returns()

func (*ValidatorPoolTransactor) OnERC721Received

func (_ValidatorPool *ValidatorPoolTransactor) OnERC721Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)

func (*ValidatorPoolTransactor) PauseConsensus

func (_ValidatorPool *ValidatorPoolTransactor) PauseConsensus(opts *bind.TransactOpts) (*types.Transaction, error)

PauseConsensus is a paid mutator transaction binding the contract method 0x1e5975f4.

Solidity: function pauseConsensus() returns()

func (*ValidatorPoolTransactor) PauseConsensusOnArbitraryHeight

func (_ValidatorPool *ValidatorPoolTransactor) PauseConsensusOnArbitraryHeight(opts *bind.TransactOpts, aliceNetHeight_ *big.Int) (*types.Transaction, error)

PauseConsensusOnArbitraryHeight is a paid mutator transaction binding the contract method 0xbc33bb01.

Solidity: function pauseConsensusOnArbitraryHeight(uint256 aliceNetHeight_) returns()

func (*ValidatorPoolTransactor) Receive

func (_ValidatorPool *ValidatorPoolTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*ValidatorPoolTransactor) RegisterValidators

func (_ValidatorPool *ValidatorPoolTransactor) RegisterValidators(opts *bind.TransactOpts, validators_ []common.Address, stakerTokenIDs_ []*big.Int) (*types.Transaction, error)

RegisterValidators is a paid mutator transaction binding the contract method 0x65bd91af.

Solidity: function registerValidators(address[] validators_, uint256[] stakerTokenIDs_) returns()

func (*ValidatorPoolTransactor) ScheduleMaintenance

func (_ValidatorPool *ValidatorPoolTransactor) ScheduleMaintenance(opts *bind.TransactOpts) (*types.Transaction, error)

ScheduleMaintenance is a paid mutator transaction binding the contract method 0x2380db1a.

Solidity: function scheduleMaintenance() returns()

func (*ValidatorPoolTransactor) SetDisputerReward

func (_ValidatorPool *ValidatorPoolTransactor) SetDisputerReward(opts *bind.TransactOpts, disputerReward_ *big.Int) (*types.Transaction, error)

SetDisputerReward is a paid mutator transaction binding the contract method 0x7d907284.

Solidity: function setDisputerReward(uint256 disputerReward_) returns()

func (*ValidatorPoolTransactor) SetLocation

func (_ValidatorPool *ValidatorPoolTransactor) SetLocation(opts *bind.TransactOpts, ip_ string) (*types.Transaction, error)

SetLocation is a paid mutator transaction binding the contract method 0x827bfbdf.

Solidity: function setLocation(string ip_) returns()

func (*ValidatorPoolTransactor) SetMaxIntervalWithoutSnapshots added in v0.0.5

func (_ValidatorPool *ValidatorPoolTransactor) SetMaxIntervalWithoutSnapshots(opts *bind.TransactOpts, maxIntervalWithoutSnapshots *big.Int) (*types.Transaction, error)

SetMaxIntervalWithoutSnapshots is a paid mutator transaction binding the contract method 0x564a7005.

Solidity: function setMaxIntervalWithoutSnapshots(uint256 maxIntervalWithoutSnapshots) returns()

func (*ValidatorPoolTransactor) SetMaxNumValidators

func (_ValidatorPool *ValidatorPoolTransactor) SetMaxNumValidators(opts *bind.TransactOpts, maxNumValidators_ *big.Int) (*types.Transaction, error)

SetMaxNumValidators is a paid mutator transaction binding the contract method 0x6c0da0b4.

Solidity: function setMaxNumValidators(uint256 maxNumValidators_) returns()

func (*ValidatorPoolTransactor) SetStakeAmount

func (_ValidatorPool *ValidatorPoolTransactor) SetStakeAmount(opts *bind.TransactOpts, stakeAmount_ *big.Int) (*types.Transaction, error)

SetStakeAmount is a paid mutator transaction binding the contract method 0x43808c50.

Solidity: function setStakeAmount(uint256 stakeAmount_) returns()

func (*ValidatorPoolTransactor) SkimExcessEth

func (_ValidatorPool *ValidatorPoolTransactor) SkimExcessEth(opts *bind.TransactOpts, to_ common.Address) (*types.Transaction, error)

SkimExcessEth is a paid mutator transaction binding the contract method 0x971b505b.

Solidity: function skimExcessEth(address to_) returns(uint256 excess)

func (*ValidatorPoolTransactor) SkimExcessToken

func (_ValidatorPool *ValidatorPoolTransactor) SkimExcessToken(opts *bind.TransactOpts, to_ common.Address) (*types.Transaction, error)

SkimExcessToken is a paid mutator transaction binding the contract method 0x7aa507fb.

Solidity: function skimExcessToken(address to_) returns(uint256 excess)

func (*ValidatorPoolTransactor) UnregisterAllValidators

func (_ValidatorPool *ValidatorPoolTransactor) UnregisterAllValidators(opts *bind.TransactOpts) (*types.Transaction, error)

UnregisterAllValidators is a paid mutator transaction binding the contract method 0xf6442e24.

Solidity: function unregisterAllValidators() returns()

func (*ValidatorPoolTransactor) UnregisterValidators

func (_ValidatorPool *ValidatorPoolTransactor) UnregisterValidators(opts *bind.TransactOpts, validators_ []common.Address) (*types.Transaction, error)

UnregisterValidators is a paid mutator transaction binding the contract method 0xc6e86ad6.

Solidity: function unregisterValidators(address[] validators_) returns()

type ValidatorPoolTransactorRaw

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

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

func (*ValidatorPoolTransactorRaw) Transact

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

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

func (*ValidatorPoolTransactorRaw) Transfer

func (_ValidatorPool *ValidatorPoolTransactorRaw) 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 ValidatorPoolTransactorSession

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

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

func (*ValidatorPoolTransactorSession) ClaimExitingNFTPosition

func (_ValidatorPool *ValidatorPoolTransactorSession) ClaimExitingNFTPosition() (*types.Transaction, error)

ClaimExitingNFTPosition is a paid mutator transaction binding the contract method 0x769cc695.

Solidity: function claimExitingNFTPosition() returns(uint256)

func (*ValidatorPoolTransactorSession) CollectProfits

func (_ValidatorPool *ValidatorPoolTransactorSession) CollectProfits() (*types.Transaction, error)

CollectProfits is a paid mutator transaction binding the contract method 0xc958e0d6.

Solidity: function collectProfits() returns(uint256 payoutEth, uint256 payoutToken)

func (*ValidatorPoolTransactorSession) CompleteETHDKG

func (_ValidatorPool *ValidatorPoolTransactorSession) CompleteETHDKG() (*types.Transaction, error)

CompleteETHDKG is a paid mutator transaction binding the contract method 0x8f579924.

Solidity: function completeETHDKG() returns()

func (*ValidatorPoolTransactorSession) Initialize

func (_ValidatorPool *ValidatorPoolTransactorSession) Initialize(stakeAmount_ *big.Int, maxNumValidators_ *big.Int, disputerReward_ *big.Int, maxIntervalWithoutSnapshots_ *big.Int) (*types.Transaction, error)

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

Solidity: function initialize(uint256 stakeAmount_, uint256 maxNumValidators_, uint256 disputerReward_, uint256 maxIntervalWithoutSnapshots_) returns()

func (*ValidatorPoolTransactorSession) InitializeETHDKG

func (_ValidatorPool *ValidatorPoolTransactorSession) InitializeETHDKG() (*types.Transaction, error)

InitializeETHDKG is a paid mutator transaction binding the contract method 0x57b51c9c.

Solidity: function initializeETHDKG() returns()

func (*ValidatorPoolTransactorSession) MajorSlash

func (_ValidatorPool *ValidatorPoolTransactorSession) MajorSlash(dishonestValidator_ common.Address, disputer_ common.Address) (*types.Transaction, error)

MajorSlash is a paid mutator transaction binding the contract method 0x048d56c7.

Solidity: function majorSlash(address dishonestValidator_, address disputer_) returns()

func (*ValidatorPoolTransactorSession) MinorSlash

func (_ValidatorPool *ValidatorPoolTransactorSession) MinorSlash(dishonestValidator_ common.Address, disputer_ common.Address) (*types.Transaction, error)

MinorSlash is a paid mutator transaction binding the contract method 0x64c0461c.

Solidity: function minorSlash(address dishonestValidator_, address disputer_) returns()

func (*ValidatorPoolTransactorSession) OnERC721Received

func (_ValidatorPool *ValidatorPoolTransactorSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)

func (*ValidatorPoolTransactorSession) PauseConsensus

func (_ValidatorPool *ValidatorPoolTransactorSession) PauseConsensus() (*types.Transaction, error)

PauseConsensus is a paid mutator transaction binding the contract method 0x1e5975f4.

Solidity: function pauseConsensus() returns()

func (*ValidatorPoolTransactorSession) PauseConsensusOnArbitraryHeight

func (_ValidatorPool *ValidatorPoolTransactorSession) PauseConsensusOnArbitraryHeight(aliceNetHeight_ *big.Int) (*types.Transaction, error)

PauseConsensusOnArbitraryHeight is a paid mutator transaction binding the contract method 0xbc33bb01.

Solidity: function pauseConsensusOnArbitraryHeight(uint256 aliceNetHeight_) returns()

func (*ValidatorPoolTransactorSession) Receive

func (_ValidatorPool *ValidatorPoolTransactorSession) Receive() (*types.Transaction, error)

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

Solidity: receive() payable returns()

func (*ValidatorPoolTransactorSession) RegisterValidators

func (_ValidatorPool *ValidatorPoolTransactorSession) RegisterValidators(validators_ []common.Address, stakerTokenIDs_ []*big.Int) (*types.Transaction, error)

RegisterValidators is a paid mutator transaction binding the contract method 0x65bd91af.

Solidity: function registerValidators(address[] validators_, uint256[] stakerTokenIDs_) returns()

func (*ValidatorPoolTransactorSession) ScheduleMaintenance

func (_ValidatorPool *ValidatorPoolTransactorSession) ScheduleMaintenance() (*types.Transaction, error)

ScheduleMaintenance is a paid mutator transaction binding the contract method 0x2380db1a.

Solidity: function scheduleMaintenance() returns()

func (*ValidatorPoolTransactorSession) SetDisputerReward

func (_ValidatorPool *ValidatorPoolTransactorSession) SetDisputerReward(disputerReward_ *big.Int) (*types.Transaction, error)

SetDisputerReward is a paid mutator transaction binding the contract method 0x7d907284.

Solidity: function setDisputerReward(uint256 disputerReward_) returns()

func (*ValidatorPoolTransactorSession) SetLocation

func (_ValidatorPool *ValidatorPoolTransactorSession) SetLocation(ip_ string) (*types.Transaction, error)

SetLocation is a paid mutator transaction binding the contract method 0x827bfbdf.

Solidity: function setLocation(string ip_) returns()

func (*ValidatorPoolTransactorSession) SetMaxIntervalWithoutSnapshots added in v0.0.5

func (_ValidatorPool *ValidatorPoolTransactorSession) SetMaxIntervalWithoutSnapshots(maxIntervalWithoutSnapshots *big.Int) (*types.Transaction, error)

SetMaxIntervalWithoutSnapshots is a paid mutator transaction binding the contract method 0x564a7005.

Solidity: function setMaxIntervalWithoutSnapshots(uint256 maxIntervalWithoutSnapshots) returns()

func (*ValidatorPoolTransactorSession) SetMaxNumValidators

func (_ValidatorPool *ValidatorPoolTransactorSession) SetMaxNumValidators(maxNumValidators_ *big.Int) (*types.Transaction, error)

SetMaxNumValidators is a paid mutator transaction binding the contract method 0x6c0da0b4.

Solidity: function setMaxNumValidators(uint256 maxNumValidators_) returns()

func (*ValidatorPoolTransactorSession) SetStakeAmount

func (_ValidatorPool *ValidatorPoolTransactorSession) SetStakeAmount(stakeAmount_ *big.Int) (*types.Transaction, error)

SetStakeAmount is a paid mutator transaction binding the contract method 0x43808c50.

Solidity: function setStakeAmount(uint256 stakeAmount_) returns()

func (*ValidatorPoolTransactorSession) SkimExcessEth

func (_ValidatorPool *ValidatorPoolTransactorSession) SkimExcessEth(to_ common.Address) (*types.Transaction, error)

SkimExcessEth is a paid mutator transaction binding the contract method 0x971b505b.

Solidity: function skimExcessEth(address to_) returns(uint256 excess)

func (*ValidatorPoolTransactorSession) SkimExcessToken

func (_ValidatorPool *ValidatorPoolTransactorSession) SkimExcessToken(to_ common.Address) (*types.Transaction, error)

SkimExcessToken is a paid mutator transaction binding the contract method 0x7aa507fb.

Solidity: function skimExcessToken(address to_) returns(uint256 excess)

func (*ValidatorPoolTransactorSession) UnregisterAllValidators

func (_ValidatorPool *ValidatorPoolTransactorSession) UnregisterAllValidators() (*types.Transaction, error)

UnregisterAllValidators is a paid mutator transaction binding the contract method 0xf6442e24.

Solidity: function unregisterAllValidators() returns()

func (*ValidatorPoolTransactorSession) UnregisterValidators

func (_ValidatorPool *ValidatorPoolTransactorSession) UnregisterValidators(validators_ []common.Address) (*types.Transaction, error)

UnregisterValidators is a paid mutator transaction binding the contract method 0xc6e86ad6.

Solidity: function unregisterValidators(address[] validators_) returns()

type ValidatorPoolValidatorJoined

type ValidatorPoolValidatorJoined struct {
	Account                 common.Address
	ValidatorStakingTokenID *big.Int
	Raw                     types.Log // Blockchain specific contextual infos
}

ValidatorPoolValidatorJoined represents a ValidatorJoined event raised by the ValidatorPool contract.

type ValidatorPoolValidatorJoinedIterator

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

ValidatorPoolValidatorJoinedIterator is returned from FilterValidatorJoined and is used to iterate over the raw logs and unpacked data for ValidatorJoined events raised by the ValidatorPool contract.

func (*ValidatorPoolValidatorJoinedIterator) Close

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

func (*ValidatorPoolValidatorJoinedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorPoolValidatorJoinedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ValidatorPoolValidatorLeft

type ValidatorPoolValidatorLeft struct {
	Account              common.Address
	PublicStakingTokenID *big.Int
	Raw                  types.Log // Blockchain specific contextual infos
}

ValidatorPoolValidatorLeft represents a ValidatorLeft event raised by the ValidatorPool contract.

type ValidatorPoolValidatorLeftIterator

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

ValidatorPoolValidatorLeftIterator is returned from FilterValidatorLeft and is used to iterate over the raw logs and unpacked data for ValidatorLeft events raised by the ValidatorPool contract.

func (*ValidatorPoolValidatorLeftIterator) Close

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

func (*ValidatorPoolValidatorLeftIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorPoolValidatorLeftIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ValidatorPoolValidatorMajorSlashed

type ValidatorPoolValidatorMajorSlashed struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

ValidatorPoolValidatorMajorSlashed represents a ValidatorMajorSlashed event raised by the ValidatorPool contract.

type ValidatorPoolValidatorMajorSlashedIterator

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

ValidatorPoolValidatorMajorSlashedIterator is returned from FilterValidatorMajorSlashed and is used to iterate over the raw logs and unpacked data for ValidatorMajorSlashed events raised by the ValidatorPool contract.

func (*ValidatorPoolValidatorMajorSlashedIterator) Close

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

func (*ValidatorPoolValidatorMajorSlashedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorPoolValidatorMajorSlashedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ValidatorPoolValidatorMinorSlashed

type ValidatorPoolValidatorMinorSlashed struct {
	Account              common.Address
	PublicStakingTokenID *big.Int
	Raw                  types.Log // Blockchain specific contextual infos
}

ValidatorPoolValidatorMinorSlashed represents a ValidatorMinorSlashed event raised by the ValidatorPool contract.

type ValidatorPoolValidatorMinorSlashedIterator

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

ValidatorPoolValidatorMinorSlashedIterator is returned from FilterValidatorMinorSlashed and is used to iterate over the raw logs and unpacked data for ValidatorMinorSlashed events raised by the ValidatorPool contract.

func (*ValidatorPoolValidatorMinorSlashedIterator) Close

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

func (*ValidatorPoolValidatorMinorSlashedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorPoolValidatorMinorSlashedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ValidatorStaking

type ValidatorStaking struct {
	ValidatorStakingCaller     // Read-only binding to the contract
	ValidatorStakingTransactor // Write-only binding to the contract
	ValidatorStakingFilterer   // Log filterer for contract events
}

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

func NewValidatorStaking

func NewValidatorStaking(address common.Address, backend bind.ContractBackend) (*ValidatorStaking, error)

NewValidatorStaking creates a new instance of ValidatorStaking, bound to a specific deployed contract.

type ValidatorStakingApproval

type ValidatorStakingApproval struct {
	Owner    common.Address
	Approved common.Address
	TokenId  *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

ValidatorStakingApproval represents a Approval event raised by the ValidatorStaking contract.

type ValidatorStakingApprovalForAll

type ValidatorStakingApprovalForAll struct {
	Owner    common.Address
	Operator common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

ValidatorStakingApprovalForAll represents a ApprovalForAll event raised by the ValidatorStaking contract.

type ValidatorStakingApprovalForAllIterator

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

ValidatorStakingApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the ValidatorStaking contract.

func (*ValidatorStakingApprovalForAllIterator) Close

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

func (*ValidatorStakingApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorStakingApprovalForAllIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ValidatorStakingApprovalIterator

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

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

func (*ValidatorStakingApprovalIterator) Close

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

func (*ValidatorStakingApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorStakingApprovalIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ValidatorStakingCaller

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

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

func NewValidatorStakingCaller

func NewValidatorStakingCaller(address common.Address, caller bind.ContractCaller) (*ValidatorStakingCaller, error)

NewValidatorStakingCaller creates a new read-only instance of ValidatorStaking, bound to a specific deployed contract.

func (*ValidatorStakingCaller) BalanceOf

func (_ValidatorStaking *ValidatorStakingCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

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

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

func (*ValidatorStakingCaller) CircuitBreakerState

func (_ValidatorStaking *ValidatorStakingCaller) CircuitBreakerState(opts *bind.CallOpts) (bool, error)

CircuitBreakerState is a free data retrieval call binding the contract method 0x89465c62.

Solidity: function circuitBreakerState() view returns(bool)

func (*ValidatorStakingCaller) EstimateAllProfits added in v0.0.8

func (_ValidatorStaking *ValidatorStakingCaller) EstimateAllProfits(opts *bind.CallOpts, tokenID_ *big.Int) (struct {
	PayoutEth   *big.Int
	PayoutToken *big.Int
}, error)

EstimateAllProfits is a free data retrieval call binding the contract method 0x4fc8638f.

Solidity: function estimateAllProfits(uint256 tokenID_) view returns(uint256 payoutEth, uint256 payoutToken)

func (*ValidatorStakingCaller) EstimateEthCollection

func (_ValidatorStaking *ValidatorStakingCaller) EstimateEthCollection(opts *bind.CallOpts, tokenID_ *big.Int) (*big.Int, error)

EstimateEthCollection is a free data retrieval call binding the contract method 0x20ea0d48.

Solidity: function estimateEthCollection(uint256 tokenID_) view returns(uint256 payout)

func (*ValidatorStakingCaller) EstimateExcessEth

func (_ValidatorStaking *ValidatorStakingCaller) EstimateExcessEth(opts *bind.CallOpts) (*big.Int, error)

EstimateExcessEth is a free data retrieval call binding the contract method 0x905953ed.

Solidity: function estimateExcessEth() view returns(uint256 excess)

func (*ValidatorStakingCaller) EstimateExcessToken

func (_ValidatorStaking *ValidatorStakingCaller) EstimateExcessToken(opts *bind.CallOpts) (*big.Int, error)

EstimateExcessToken is a free data retrieval call binding the contract method 0x3eed3eff.

Solidity: function estimateExcessToken() view returns(uint256 excess)

func (*ValidatorStakingCaller) EstimateTokenCollection

func (_ValidatorStaking *ValidatorStakingCaller) EstimateTokenCollection(opts *bind.CallOpts, tokenID_ *big.Int) (*big.Int, error)

EstimateTokenCollection is a free data retrieval call binding the contract method 0x93c5748d.

Solidity: function estimateTokenCollection(uint256 tokenID_) view returns(uint256 payout)

func (*ValidatorStakingCaller) GetAccumulatorScaleFactor

func (_ValidatorStaking *ValidatorStakingCaller) GetAccumulatorScaleFactor(opts *bind.CallOpts) (*big.Int, error)

GetAccumulatorScaleFactor is a free data retrieval call binding the contract method 0x99785132.

Solidity: function getAccumulatorScaleFactor() pure returns(uint256)

func (*ValidatorStakingCaller) GetApproved

func (_ValidatorStaking *ValidatorStakingCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*ValidatorStakingCaller) GetEthAccumulator

func (_ValidatorStaking *ValidatorStakingCaller) GetEthAccumulator(opts *bind.CallOpts) (struct {
	Accumulator *big.Int
	Slush       *big.Int
}, error)

GetEthAccumulator is a free data retrieval call binding the contract method 0x548652d2.

Solidity: function getEthAccumulator() view returns(uint256 accumulator, uint256 slush)

func (*ValidatorStakingCaller) GetLatestMintedPositionID added in v0.0.5

func (_ValidatorStaking *ValidatorStakingCaller) GetLatestMintedPositionID(opts *bind.CallOpts) (*big.Int, error)

GetLatestMintedPositionID is a free data retrieval call binding the contract method 0x79bb0985.

Solidity: function getLatestMintedPositionID() view returns(uint256)

func (*ValidatorStakingCaller) GetMaxGovernanceLock added in v0.0.4

func (_ValidatorStaking *ValidatorStakingCaller) GetMaxGovernanceLock(opts *bind.CallOpts) (*big.Int, error)

GetMaxGovernanceLock is a free data retrieval call binding the contract method 0xf44d258b.

Solidity: function getMaxGovernanceLock() pure returns(uint256)

func (*ValidatorStakingCaller) GetMaxMintLock

func (_ValidatorStaking *ValidatorStakingCaller) GetMaxMintLock(opts *bind.CallOpts) (*big.Int, error)

GetMaxMintLock is a free data retrieval call binding the contract method 0x090f70f0.

Solidity: function getMaxMintLock() pure returns(uint256)

func (*ValidatorStakingCaller) GetMetamorphicContractAddress

func (_ValidatorStaking *ValidatorStakingCaller) GetMetamorphicContractAddress(opts *bind.CallOpts, _salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*ValidatorStakingCaller) GetPosition

func (_ValidatorStaking *ValidatorStakingCaller) GetPosition(opts *bind.CallOpts, tokenID_ *big.Int) (struct {
	Shares            *big.Int
	FreeAfter         *big.Int
	WithdrawFreeAfter *big.Int
	AccumulatorEth    *big.Int
	AccumulatorToken  *big.Int
}, error)

GetPosition is a free data retrieval call binding the contract method 0xeb02c301.

Solidity: function getPosition(uint256 tokenID_) view returns(uint256 shares, uint256 freeAfter, uint256 withdrawFreeAfter, uint256 accumulatorEth, uint256 accumulatorToken)

func (*ValidatorStakingCaller) GetTokenAccumulator

func (_ValidatorStaking *ValidatorStakingCaller) GetTokenAccumulator(opts *bind.CallOpts) (struct {
	Accumulator *big.Int
	Slush       *big.Int
}, error)

GetTokenAccumulator is a free data retrieval call binding the contract method 0xc47c6e14.

Solidity: function getTokenAccumulator() view returns(uint256 accumulator, uint256 slush)

func (*ValidatorStakingCaller) GetTotalReserveALCA added in v0.0.8

func (_ValidatorStaking *ValidatorStakingCaller) GetTotalReserveALCA(opts *bind.CallOpts) (*big.Int, error)

GetTotalReserveALCA is a free data retrieval call binding the contract method 0x3d8fe879.

Solidity: function getTotalReserveALCA() view returns(uint256)

func (*ValidatorStakingCaller) GetTotalReserveEth

func (_ValidatorStaking *ValidatorStakingCaller) GetTotalReserveEth(opts *bind.CallOpts) (*big.Int, error)

GetTotalReserveEth is a free data retrieval call binding the contract method 0x19b8be2f.

Solidity: function getTotalReserveEth() view returns(uint256)

func (*ValidatorStakingCaller) GetTotalShares

func (_ValidatorStaking *ValidatorStakingCaller) GetTotalShares(opts *bind.CallOpts) (*big.Int, error)

GetTotalShares is a free data retrieval call binding the contract method 0xd5002f2e.

Solidity: function getTotalShares() view returns(uint256)

func (*ValidatorStakingCaller) IsApprovedForAll

func (_ValidatorStaking *ValidatorStakingCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*ValidatorStakingCaller) Name

func (_ValidatorStaking *ValidatorStakingCaller) 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 (*ValidatorStakingCaller) OwnerOf

func (_ValidatorStaking *ValidatorStakingCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*ValidatorStakingCaller) SupportsInterface

func (_ValidatorStaking *ValidatorStakingCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*ValidatorStakingCaller) Symbol

func (_ValidatorStaking *ValidatorStakingCaller) 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 (*ValidatorStakingCaller) TokenByIndex added in v0.0.5

func (_ValidatorStaking *ValidatorStakingCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*ValidatorStakingCaller) TokenOfOwnerByIndex added in v0.0.5

func (_ValidatorStaking *ValidatorStakingCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*ValidatorStakingCaller) TokenURI

func (_ValidatorStaking *ValidatorStakingCaller) TokenURI(opts *bind.CallOpts, tokenID_ *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenID_) view returns(string)

func (*ValidatorStakingCaller) TotalSupply added in v0.0.5

func (_ValidatorStaking *ValidatorStakingCaller) 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 ValidatorStakingCallerRaw

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

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

func (*ValidatorStakingCallerRaw) Call

func (_ValidatorStaking *ValidatorStakingCallerRaw) 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 ValidatorStakingCallerSession

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

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

func (*ValidatorStakingCallerSession) BalanceOf

func (_ValidatorStaking *ValidatorStakingCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*ValidatorStakingCallerSession) CircuitBreakerState

func (_ValidatorStaking *ValidatorStakingCallerSession) CircuitBreakerState() (bool, error)

CircuitBreakerState is a free data retrieval call binding the contract method 0x89465c62.

Solidity: function circuitBreakerState() view returns(bool)

func (*ValidatorStakingCallerSession) EstimateAllProfits added in v0.0.8

func (_ValidatorStaking *ValidatorStakingCallerSession) EstimateAllProfits(tokenID_ *big.Int) (struct {
	PayoutEth   *big.Int
	PayoutToken *big.Int
}, error)

EstimateAllProfits is a free data retrieval call binding the contract method 0x4fc8638f.

Solidity: function estimateAllProfits(uint256 tokenID_) view returns(uint256 payoutEth, uint256 payoutToken)

func (*ValidatorStakingCallerSession) EstimateEthCollection

func (_ValidatorStaking *ValidatorStakingCallerSession) EstimateEthCollection(tokenID_ *big.Int) (*big.Int, error)

EstimateEthCollection is a free data retrieval call binding the contract method 0x20ea0d48.

Solidity: function estimateEthCollection(uint256 tokenID_) view returns(uint256 payout)

func (*ValidatorStakingCallerSession) EstimateExcessEth

func (_ValidatorStaking *ValidatorStakingCallerSession) EstimateExcessEth() (*big.Int, error)

EstimateExcessEth is a free data retrieval call binding the contract method 0x905953ed.

Solidity: function estimateExcessEth() view returns(uint256 excess)

func (*ValidatorStakingCallerSession) EstimateExcessToken

func (_ValidatorStaking *ValidatorStakingCallerSession) EstimateExcessToken() (*big.Int, error)

EstimateExcessToken is a free data retrieval call binding the contract method 0x3eed3eff.

Solidity: function estimateExcessToken() view returns(uint256 excess)

func (*ValidatorStakingCallerSession) EstimateTokenCollection

func (_ValidatorStaking *ValidatorStakingCallerSession) EstimateTokenCollection(tokenID_ *big.Int) (*big.Int, error)

EstimateTokenCollection is a free data retrieval call binding the contract method 0x93c5748d.

Solidity: function estimateTokenCollection(uint256 tokenID_) view returns(uint256 payout)

func (*ValidatorStakingCallerSession) GetAccumulatorScaleFactor

func (_ValidatorStaking *ValidatorStakingCallerSession) GetAccumulatorScaleFactor() (*big.Int, error)

GetAccumulatorScaleFactor is a free data retrieval call binding the contract method 0x99785132.

Solidity: function getAccumulatorScaleFactor() pure returns(uint256)

func (*ValidatorStakingCallerSession) GetApproved

func (_ValidatorStaking *ValidatorStakingCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*ValidatorStakingCallerSession) GetEthAccumulator

func (_ValidatorStaking *ValidatorStakingCallerSession) GetEthAccumulator() (struct {
	Accumulator *big.Int
	Slush       *big.Int
}, error)

GetEthAccumulator is a free data retrieval call binding the contract method 0x548652d2.

Solidity: function getEthAccumulator() view returns(uint256 accumulator, uint256 slush)

func (*ValidatorStakingCallerSession) GetLatestMintedPositionID added in v0.0.5

func (_ValidatorStaking *ValidatorStakingCallerSession) GetLatestMintedPositionID() (*big.Int, error)

GetLatestMintedPositionID is a free data retrieval call binding the contract method 0x79bb0985.

Solidity: function getLatestMintedPositionID() view returns(uint256)

func (*ValidatorStakingCallerSession) GetMaxGovernanceLock added in v0.0.4

func (_ValidatorStaking *ValidatorStakingCallerSession) GetMaxGovernanceLock() (*big.Int, error)

GetMaxGovernanceLock is a free data retrieval call binding the contract method 0xf44d258b.

Solidity: function getMaxGovernanceLock() pure returns(uint256)

func (*ValidatorStakingCallerSession) GetMaxMintLock

func (_ValidatorStaking *ValidatorStakingCallerSession) GetMaxMintLock() (*big.Int, error)

GetMaxMintLock is a free data retrieval call binding the contract method 0x090f70f0.

Solidity: function getMaxMintLock() pure returns(uint256)

func (*ValidatorStakingCallerSession) GetMetamorphicContractAddress

func (_ValidatorStaking *ValidatorStakingCallerSession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*ValidatorStakingCallerSession) GetPosition

func (_ValidatorStaking *ValidatorStakingCallerSession) GetPosition(tokenID_ *big.Int) (struct {
	Shares            *big.Int
	FreeAfter         *big.Int
	WithdrawFreeAfter *big.Int
	AccumulatorEth    *big.Int
	AccumulatorToken  *big.Int
}, error)

GetPosition is a free data retrieval call binding the contract method 0xeb02c301.

Solidity: function getPosition(uint256 tokenID_) view returns(uint256 shares, uint256 freeAfter, uint256 withdrawFreeAfter, uint256 accumulatorEth, uint256 accumulatorToken)

func (*ValidatorStakingCallerSession) GetTokenAccumulator

func (_ValidatorStaking *ValidatorStakingCallerSession) GetTokenAccumulator() (struct {
	Accumulator *big.Int
	Slush       *big.Int
}, error)

GetTokenAccumulator is a free data retrieval call binding the contract method 0xc47c6e14.

Solidity: function getTokenAccumulator() view returns(uint256 accumulator, uint256 slush)

func (*ValidatorStakingCallerSession) GetTotalReserveALCA added in v0.0.8

func (_ValidatorStaking *ValidatorStakingCallerSession) GetTotalReserveALCA() (*big.Int, error)

GetTotalReserveALCA is a free data retrieval call binding the contract method 0x3d8fe879.

Solidity: function getTotalReserveALCA() view returns(uint256)

func (*ValidatorStakingCallerSession) GetTotalReserveEth

func (_ValidatorStaking *ValidatorStakingCallerSession) GetTotalReserveEth() (*big.Int, error)

GetTotalReserveEth is a free data retrieval call binding the contract method 0x19b8be2f.

Solidity: function getTotalReserveEth() view returns(uint256)

func (*ValidatorStakingCallerSession) GetTotalShares

func (_ValidatorStaking *ValidatorStakingCallerSession) GetTotalShares() (*big.Int, error)

GetTotalShares is a free data retrieval call binding the contract method 0xd5002f2e.

Solidity: function getTotalShares() view returns(uint256)

func (*ValidatorStakingCallerSession) IsApprovedForAll

func (_ValidatorStaking *ValidatorStakingCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*ValidatorStakingCallerSession) Name

func (_ValidatorStaking *ValidatorStakingCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ValidatorStakingCallerSession) OwnerOf

func (_ValidatorStaking *ValidatorStakingCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*ValidatorStakingCallerSession) SupportsInterface

func (_ValidatorStaking *ValidatorStakingCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*ValidatorStakingCallerSession) Symbol

func (_ValidatorStaking *ValidatorStakingCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ValidatorStakingCallerSession) TokenByIndex added in v0.0.5

func (_ValidatorStaking *ValidatorStakingCallerSession) TokenByIndex(index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*ValidatorStakingCallerSession) TokenOfOwnerByIndex added in v0.0.5

func (_ValidatorStaking *ValidatorStakingCallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*ValidatorStakingCallerSession) TokenURI

func (_ValidatorStaking *ValidatorStakingCallerSession) TokenURI(tokenID_ *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenID_) view returns(string)

func (*ValidatorStakingCallerSession) TotalSupply added in v0.0.5

func (_ValidatorStaking *ValidatorStakingCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ValidatorStakingFilterer

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

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

func NewValidatorStakingFilterer

func NewValidatorStakingFilterer(address common.Address, filterer bind.ContractFilterer) (*ValidatorStakingFilterer, error)

NewValidatorStakingFilterer creates a new log filterer instance of ValidatorStaking, bound to a specific deployed contract.

func (*ValidatorStakingFilterer) FilterApproval

func (_ValidatorStaking *ValidatorStakingFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ValidatorStakingApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*ValidatorStakingFilterer) FilterApprovalForAll

func (_ValidatorStaking *ValidatorStakingFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ValidatorStakingApprovalForAllIterator, error)

FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*ValidatorStakingFilterer) FilterInitialized added in v0.0.2

func (_ValidatorStaking *ValidatorStakingFilterer) FilterInitialized(opts *bind.FilterOpts) (*ValidatorStakingInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ValidatorStakingFilterer) FilterTransfer

func (_ValidatorStaking *ValidatorStakingFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ValidatorStakingTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

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

func (*ValidatorStakingFilterer) ParseApproval

func (_ValidatorStaking *ValidatorStakingFilterer) ParseApproval(log types.Log) (*ValidatorStakingApproval, error)

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

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*ValidatorStakingFilterer) ParseApprovalForAll

func (_ValidatorStaking *ValidatorStakingFilterer) ParseApprovalForAll(log types.Log) (*ValidatorStakingApprovalForAll, error)

ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*ValidatorStakingFilterer) ParseInitialized added in v0.0.2

func (_ValidatorStaking *ValidatorStakingFilterer) ParseInitialized(log types.Log) (*ValidatorStakingInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ValidatorStakingFilterer) ParseTransfer

func (_ValidatorStaking *ValidatorStakingFilterer) ParseTransfer(log types.Log) (*ValidatorStakingTransfer, error)

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

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

func (*ValidatorStakingFilterer) WatchApproval

func (_ValidatorStaking *ValidatorStakingFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ValidatorStakingApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*ValidatorStakingFilterer) WatchApprovalForAll

func (_ValidatorStaking *ValidatorStakingFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ValidatorStakingApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)

WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*ValidatorStakingFilterer) WatchInitialized added in v0.0.2

func (_ValidatorStaking *ValidatorStakingFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ValidatorStakingInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ValidatorStakingFilterer) WatchTransfer

func (_ValidatorStaking *ValidatorStakingFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ValidatorStakingTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (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 indexed tokenId)

type ValidatorStakingInitialized added in v0.0.2

type ValidatorStakingInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

ValidatorStakingInitialized represents a Initialized event raised by the ValidatorStaking contract.

type ValidatorStakingInitializedIterator added in v0.0.2

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

ValidatorStakingInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the ValidatorStaking contract.

func (*ValidatorStakingInitializedIterator) Close added in v0.0.2

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

func (*ValidatorStakingInitializedIterator) Error added in v0.0.2

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorStakingInitializedIterator) Next added in v0.0.2

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 ValidatorStakingRaw

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

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

func (*ValidatorStakingRaw) Call

func (_ValidatorStaking *ValidatorStakingRaw) 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 (*ValidatorStakingRaw) Transact

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

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

func (*ValidatorStakingRaw) Transfer

func (_ValidatorStaking *ValidatorStakingRaw) 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 ValidatorStakingSession

type ValidatorStakingSession struct {
	Contract     *ValidatorStaking // 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
}

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

func (*ValidatorStakingSession) Approve

func (_ValidatorStaking *ValidatorStakingSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address to, uint256 tokenId) returns()

func (*ValidatorStakingSession) BalanceOf

func (_ValidatorStaking *ValidatorStakingSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*ValidatorStakingSession) Burn

func (_ValidatorStaking *ValidatorStakingSession) Burn(tokenID_ *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutALCA)

func (*ValidatorStakingSession) BurnTo

func (_ValidatorStaking *ValidatorStakingSession) BurnTo(to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

BurnTo is a paid mutator transaction binding the contract method 0xea785a5e.

Solidity: function burnTo(address to_, uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutALCA)

func (*ValidatorStakingSession) CircuitBreakerState

func (_ValidatorStaking *ValidatorStakingSession) CircuitBreakerState() (bool, error)

CircuitBreakerState is a free data retrieval call binding the contract method 0x89465c62.

Solidity: function circuitBreakerState() view returns(bool)

func (*ValidatorStakingSession) CollectAllProfits added in v0.0.5

func (_ValidatorStaking *ValidatorStakingSession) CollectAllProfits(tokenID_ *big.Int) (*types.Transaction, error)

CollectAllProfits is a paid mutator transaction binding the contract method 0x0df4b2dd.

Solidity: function collectAllProfits(uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutToken)

func (*ValidatorStakingSession) CollectAllProfitsTo added in v0.0.5

func (_ValidatorStaking *ValidatorStakingSession) CollectAllProfitsTo(to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

CollectAllProfitsTo is a paid mutator transaction binding the contract method 0x8303fef7.

Solidity: function collectAllProfitsTo(address to_, uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutToken)

func (*ValidatorStakingSession) CollectEth

func (_ValidatorStaking *ValidatorStakingSession) CollectEth(tokenID_ *big.Int) (*types.Transaction, error)

CollectEth is a paid mutator transaction binding the contract method 0x2a0d8bd1.

Solidity: function collectEth(uint256 tokenID_) returns(uint256 payout)

func (*ValidatorStakingSession) CollectEthTo

func (_ValidatorStaking *ValidatorStakingSession) CollectEthTo(to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

CollectEthTo is a paid mutator transaction binding the contract method 0xbe444379.

Solidity: function collectEthTo(address to_, uint256 tokenID_) returns(uint256 payout)

func (*ValidatorStakingSession) CollectToken

func (_ValidatorStaking *ValidatorStakingSession) CollectToken(tokenID_ *big.Int) (*types.Transaction, error)

CollectToken is a paid mutator transaction binding the contract method 0xe35c3e28.

Solidity: function collectToken(uint256 tokenID_) returns(uint256 payout)

func (*ValidatorStakingSession) CollectTokenTo

func (_ValidatorStaking *ValidatorStakingSession) CollectTokenTo(to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

CollectTokenTo is a paid mutator transaction binding the contract method 0x8853b950.

Solidity: function collectTokenTo(address to_, uint256 tokenID_) returns(uint256 payout)

func (*ValidatorStakingSession) DepositEth

func (_ValidatorStaking *ValidatorStakingSession) DepositEth(magic_ uint8) (*types.Transaction, error)

DepositEth is a paid mutator transaction binding the contract method 0x99a89ecc.

Solidity: function depositEth(uint8 magic_) payable returns()

func (*ValidatorStakingSession) DepositToken

func (_ValidatorStaking *ValidatorStakingSession) DepositToken(magic_ uint8, amount_ *big.Int) (*types.Transaction, error)

DepositToken is a paid mutator transaction binding the contract method 0x8191f5e5.

Solidity: function depositToken(uint8 magic_, uint256 amount_) returns()

func (*ValidatorStakingSession) EstimateAllProfits added in v0.0.8

func (_ValidatorStaking *ValidatorStakingSession) EstimateAllProfits(tokenID_ *big.Int) (struct {
	PayoutEth   *big.Int
	PayoutToken *big.Int
}, error)

EstimateAllProfits is a free data retrieval call binding the contract method 0x4fc8638f.

Solidity: function estimateAllProfits(uint256 tokenID_) view returns(uint256 payoutEth, uint256 payoutToken)

func (*ValidatorStakingSession) EstimateEthCollection

func (_ValidatorStaking *ValidatorStakingSession) EstimateEthCollection(tokenID_ *big.Int) (*big.Int, error)

EstimateEthCollection is a free data retrieval call binding the contract method 0x20ea0d48.

Solidity: function estimateEthCollection(uint256 tokenID_) view returns(uint256 payout)

func (*ValidatorStakingSession) EstimateExcessEth

func (_ValidatorStaking *ValidatorStakingSession) EstimateExcessEth() (*big.Int, error)

EstimateExcessEth is a free data retrieval call binding the contract method 0x905953ed.

Solidity: function estimateExcessEth() view returns(uint256 excess)

func (*ValidatorStakingSession) EstimateExcessToken

func (_ValidatorStaking *ValidatorStakingSession) EstimateExcessToken() (*big.Int, error)

EstimateExcessToken is a free data retrieval call binding the contract method 0x3eed3eff.

Solidity: function estimateExcessToken() view returns(uint256 excess)

func (*ValidatorStakingSession) EstimateTokenCollection

func (_ValidatorStaking *ValidatorStakingSession) EstimateTokenCollection(tokenID_ *big.Int) (*big.Int, error)

EstimateTokenCollection is a free data retrieval call binding the contract method 0x93c5748d.

Solidity: function estimateTokenCollection(uint256 tokenID_) view returns(uint256 payout)

func (*ValidatorStakingSession) GetAccumulatorScaleFactor

func (_ValidatorStaking *ValidatorStakingSession) GetAccumulatorScaleFactor() (*big.Int, error)

GetAccumulatorScaleFactor is a free data retrieval call binding the contract method 0x99785132.

Solidity: function getAccumulatorScaleFactor() pure returns(uint256)

func (*ValidatorStakingSession) GetApproved

func (_ValidatorStaking *ValidatorStakingSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*ValidatorStakingSession) GetEthAccumulator

func (_ValidatorStaking *ValidatorStakingSession) GetEthAccumulator() (struct {
	Accumulator *big.Int
	Slush       *big.Int
}, error)

GetEthAccumulator is a free data retrieval call binding the contract method 0x548652d2.

Solidity: function getEthAccumulator() view returns(uint256 accumulator, uint256 slush)

func (*ValidatorStakingSession) GetLatestMintedPositionID added in v0.0.5

func (_ValidatorStaking *ValidatorStakingSession) GetLatestMintedPositionID() (*big.Int, error)

GetLatestMintedPositionID is a free data retrieval call binding the contract method 0x79bb0985.

Solidity: function getLatestMintedPositionID() view returns(uint256)

func (*ValidatorStakingSession) GetMaxGovernanceLock added in v0.0.4

func (_ValidatorStaking *ValidatorStakingSession) GetMaxGovernanceLock() (*big.Int, error)

GetMaxGovernanceLock is a free data retrieval call binding the contract method 0xf44d258b.

Solidity: function getMaxGovernanceLock() pure returns(uint256)

func (*ValidatorStakingSession) GetMaxMintLock

func (_ValidatorStaking *ValidatorStakingSession) GetMaxMintLock() (*big.Int, error)

GetMaxMintLock is a free data retrieval call binding the contract method 0x090f70f0.

Solidity: function getMaxMintLock() pure returns(uint256)

func (*ValidatorStakingSession) GetMetamorphicContractAddress

func (_ValidatorStaking *ValidatorStakingSession) GetMetamorphicContractAddress(_salt [32]byte, _factory common.Address) (common.Address, error)

GetMetamorphicContractAddress is a free data retrieval call binding the contract method 0x8653a465.

Solidity: function getMetamorphicContractAddress(bytes32 _salt, address _factory) pure returns(address)

func (*ValidatorStakingSession) GetPosition

func (_ValidatorStaking *ValidatorStakingSession) GetPosition(tokenID_ *big.Int) (struct {
	Shares            *big.Int
	FreeAfter         *big.Int
	WithdrawFreeAfter *big.Int
	AccumulatorEth    *big.Int
	AccumulatorToken  *big.Int
}, error)

GetPosition is a free data retrieval call binding the contract method 0xeb02c301.

Solidity: function getPosition(uint256 tokenID_) view returns(uint256 shares, uint256 freeAfter, uint256 withdrawFreeAfter, uint256 accumulatorEth, uint256 accumulatorToken)

func (*ValidatorStakingSession) GetTokenAccumulator

func (_ValidatorStaking *ValidatorStakingSession) GetTokenAccumulator() (struct {
	Accumulator *big.Int
	Slush       *big.Int
}, error)

GetTokenAccumulator is a free data retrieval call binding the contract method 0xc47c6e14.

Solidity: function getTokenAccumulator() view returns(uint256 accumulator, uint256 slush)

func (*ValidatorStakingSession) GetTotalReserveALCA added in v0.0.8

func (_ValidatorStaking *ValidatorStakingSession) GetTotalReserveALCA() (*big.Int, error)

GetTotalReserveALCA is a free data retrieval call binding the contract method 0x3d8fe879.

Solidity: function getTotalReserveALCA() view returns(uint256)

func (*ValidatorStakingSession) GetTotalReserveEth

func (_ValidatorStaking *ValidatorStakingSession) GetTotalReserveEth() (*big.Int, error)

GetTotalReserveEth is a free data retrieval call binding the contract method 0x19b8be2f.

Solidity: function getTotalReserveEth() view returns(uint256)

func (*ValidatorStakingSession) GetTotalShares

func (_ValidatorStaking *ValidatorStakingSession) GetTotalShares() (*big.Int, error)

GetTotalShares is a free data retrieval call binding the contract method 0xd5002f2e.

Solidity: function getTotalShares() view returns(uint256)

func (*ValidatorStakingSession) Initialize

func (_ValidatorStaking *ValidatorStakingSession) Initialize() (*types.Transaction, error)

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

Solidity: function initialize() returns()

func (*ValidatorStakingSession) IsApprovedForAll

func (_ValidatorStaking *ValidatorStakingSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*ValidatorStakingSession) LockOwnPosition

func (_ValidatorStaking *ValidatorStakingSession) LockOwnPosition(tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

LockOwnPosition is a paid mutator transaction binding the contract method 0xe42a673c.

Solidity: function lockOwnPosition(uint256 tokenID_, uint256 lockDuration_) returns(uint256)

func (*ValidatorStakingSession) LockPosition

func (_ValidatorStaking *ValidatorStakingSession) LockPosition(caller_ common.Address, tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

LockPosition is a paid mutator transaction binding the contract method 0x0cc65dfb.

Solidity: function lockPosition(address caller_, uint256 tokenID_, uint256 lockDuration_) returns(uint256)

func (*ValidatorStakingSession) LockWithdraw

func (_ValidatorStaking *ValidatorStakingSession) LockWithdraw(tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

LockWithdraw is a paid mutator transaction binding the contract method 0x0e4eb15b.

Solidity: function lockWithdraw(uint256 tokenID_, uint256 lockDuration_) returns(uint256)

func (*ValidatorStakingSession) Mint

func (_ValidatorStaking *ValidatorStakingSession) Mint(amount_ *big.Int) (*types.Transaction, error)

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

Solidity: function mint(uint256 amount_) returns(uint256 tokenID)

func (*ValidatorStakingSession) MintTo

func (_ValidatorStaking *ValidatorStakingSession) MintTo(to_ common.Address, amount_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

MintTo is a paid mutator transaction binding the contract method 0x2baf2acb.

Solidity: function mintTo(address to_, uint256 amount_, uint256 lockDuration_) returns(uint256 tokenID)

func (*ValidatorStakingSession) Name

func (_ValidatorStaking *ValidatorStakingSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ValidatorStakingSession) OwnerOf

func (_ValidatorStaking *ValidatorStakingSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*ValidatorStakingSession) SafeTransferFrom

func (_ValidatorStaking *ValidatorStakingSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*ValidatorStakingSession) SafeTransferFrom0

func (_ValidatorStaking *ValidatorStakingSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()

func (*ValidatorStakingSession) SetApprovalForAll

func (_ValidatorStaking *ValidatorStakingSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*ValidatorStakingSession) SkimExcessEth

func (_ValidatorStaking *ValidatorStakingSession) SkimExcessEth(to_ common.Address) (*types.Transaction, error)

SkimExcessEth is a paid mutator transaction binding the contract method 0x971b505b.

Solidity: function skimExcessEth(address to_) returns(uint256 excess)

func (*ValidatorStakingSession) SkimExcessToken

func (_ValidatorStaking *ValidatorStakingSession) SkimExcessToken(to_ common.Address) (*types.Transaction, error)

SkimExcessToken is a paid mutator transaction binding the contract method 0x7aa507fb.

Solidity: function skimExcessToken(address to_) returns(uint256 excess)

func (*ValidatorStakingSession) SupportsInterface

func (_ValidatorStaking *ValidatorStakingSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*ValidatorStakingSession) Symbol

func (_ValidatorStaking *ValidatorStakingSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ValidatorStakingSession) TokenByIndex added in v0.0.5

func (_ValidatorStaking *ValidatorStakingSession) TokenByIndex(index *big.Int) (*big.Int, error)

TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.

Solidity: function tokenByIndex(uint256 index) view returns(uint256)

func (*ValidatorStakingSession) TokenOfOwnerByIndex added in v0.0.5

func (_ValidatorStaking *ValidatorStakingSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)

TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.

Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)

func (*ValidatorStakingSession) TokenURI

func (_ValidatorStaking *ValidatorStakingSession) TokenURI(tokenID_ *big.Int) (string, error)

TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.

Solidity: function tokenURI(uint256 tokenID_) view returns(string)

func (*ValidatorStakingSession) TotalSupply added in v0.0.5

func (_ValidatorStaking *ValidatorStakingSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ValidatorStakingSession) TransferFrom

func (_ValidatorStaking *ValidatorStakingSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*ValidatorStakingSession) TripCB

func (_ValidatorStaking *ValidatorStakingSession) TripCB() (*types.Transaction, error)

TripCB is a paid mutator transaction binding the contract method 0xadfdc03f.

Solidity: function tripCB() returns()

type ValidatorStakingTransactor

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

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

func NewValidatorStakingTransactor

func NewValidatorStakingTransactor(address common.Address, transactor bind.ContractTransactor) (*ValidatorStakingTransactor, error)

NewValidatorStakingTransactor creates a new write-only instance of ValidatorStaking, bound to a specific deployed contract.

func (*ValidatorStakingTransactor) Approve

func (_ValidatorStaking *ValidatorStakingTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address to, uint256 tokenId) returns()

func (*ValidatorStakingTransactor) Burn

func (_ValidatorStaking *ValidatorStakingTransactor) Burn(opts *bind.TransactOpts, tokenID_ *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutALCA)

func (*ValidatorStakingTransactor) BurnTo

func (_ValidatorStaking *ValidatorStakingTransactor) BurnTo(opts *bind.TransactOpts, to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

BurnTo is a paid mutator transaction binding the contract method 0xea785a5e.

Solidity: function burnTo(address to_, uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutALCA)

func (*ValidatorStakingTransactor) CollectAllProfits added in v0.0.5

func (_ValidatorStaking *ValidatorStakingTransactor) CollectAllProfits(opts *bind.TransactOpts, tokenID_ *big.Int) (*types.Transaction, error)

CollectAllProfits is a paid mutator transaction binding the contract method 0x0df4b2dd.

Solidity: function collectAllProfits(uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutToken)

func (*ValidatorStakingTransactor) CollectAllProfitsTo added in v0.0.5

func (_ValidatorStaking *ValidatorStakingTransactor) CollectAllProfitsTo(opts *bind.TransactOpts, to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

CollectAllProfitsTo is a paid mutator transaction binding the contract method 0x8303fef7.

Solidity: function collectAllProfitsTo(address to_, uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutToken)

func (*ValidatorStakingTransactor) CollectEth

func (_ValidatorStaking *ValidatorStakingTransactor) CollectEth(opts *bind.TransactOpts, tokenID_ *big.Int) (*types.Transaction, error)

CollectEth is a paid mutator transaction binding the contract method 0x2a0d8bd1.

Solidity: function collectEth(uint256 tokenID_) returns(uint256 payout)

func (*ValidatorStakingTransactor) CollectEthTo

func (_ValidatorStaking *ValidatorStakingTransactor) CollectEthTo(opts *bind.TransactOpts, to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

CollectEthTo is a paid mutator transaction binding the contract method 0xbe444379.

Solidity: function collectEthTo(address to_, uint256 tokenID_) returns(uint256 payout)

func (*ValidatorStakingTransactor) CollectToken

func (_ValidatorStaking *ValidatorStakingTransactor) CollectToken(opts *bind.TransactOpts, tokenID_ *big.Int) (*types.Transaction, error)

CollectToken is a paid mutator transaction binding the contract method 0xe35c3e28.

Solidity: function collectToken(uint256 tokenID_) returns(uint256 payout)

func (*ValidatorStakingTransactor) CollectTokenTo

func (_ValidatorStaking *ValidatorStakingTransactor) CollectTokenTo(opts *bind.TransactOpts, to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

CollectTokenTo is a paid mutator transaction binding the contract method 0x8853b950.

Solidity: function collectTokenTo(address to_, uint256 tokenID_) returns(uint256 payout)

func (*ValidatorStakingTransactor) DepositEth

func (_ValidatorStaking *ValidatorStakingTransactor) DepositEth(opts *bind.TransactOpts, magic_ uint8) (*types.Transaction, error)

DepositEth is a paid mutator transaction binding the contract method 0x99a89ecc.

Solidity: function depositEth(uint8 magic_) payable returns()

func (*ValidatorStakingTransactor) DepositToken

func (_ValidatorStaking *ValidatorStakingTransactor) DepositToken(opts *bind.TransactOpts, magic_ uint8, amount_ *big.Int) (*types.Transaction, error)

DepositToken is a paid mutator transaction binding the contract method 0x8191f5e5.

Solidity: function depositToken(uint8 magic_, uint256 amount_) returns()

func (*ValidatorStakingTransactor) Initialize

func (_ValidatorStaking *ValidatorStakingTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function initialize() returns()

func (*ValidatorStakingTransactor) LockOwnPosition

func (_ValidatorStaking *ValidatorStakingTransactor) LockOwnPosition(opts *bind.TransactOpts, tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

LockOwnPosition is a paid mutator transaction binding the contract method 0xe42a673c.

Solidity: function lockOwnPosition(uint256 tokenID_, uint256 lockDuration_) returns(uint256)

func (*ValidatorStakingTransactor) LockPosition

func (_ValidatorStaking *ValidatorStakingTransactor) LockPosition(opts *bind.TransactOpts, caller_ common.Address, tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

LockPosition is a paid mutator transaction binding the contract method 0x0cc65dfb.

Solidity: function lockPosition(address caller_, uint256 tokenID_, uint256 lockDuration_) returns(uint256)

func (*ValidatorStakingTransactor) LockWithdraw

func (_ValidatorStaking *ValidatorStakingTransactor) LockWithdraw(opts *bind.TransactOpts, tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

LockWithdraw is a paid mutator transaction binding the contract method 0x0e4eb15b.

Solidity: function lockWithdraw(uint256 tokenID_, uint256 lockDuration_) returns(uint256)

func (*ValidatorStakingTransactor) Mint

func (_ValidatorStaking *ValidatorStakingTransactor) Mint(opts *bind.TransactOpts, amount_ *big.Int) (*types.Transaction, error)

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

Solidity: function mint(uint256 amount_) returns(uint256 tokenID)

func (*ValidatorStakingTransactor) MintTo

func (_ValidatorStaking *ValidatorStakingTransactor) MintTo(opts *bind.TransactOpts, to_ common.Address, amount_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

MintTo is a paid mutator transaction binding the contract method 0x2baf2acb.

Solidity: function mintTo(address to_, uint256 amount_, uint256 lockDuration_) returns(uint256 tokenID)

func (*ValidatorStakingTransactor) SafeTransferFrom

func (_ValidatorStaking *ValidatorStakingTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*ValidatorStakingTransactor) SafeTransferFrom0

func (_ValidatorStaking *ValidatorStakingTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()

func (*ValidatorStakingTransactor) SetApprovalForAll

func (_ValidatorStaking *ValidatorStakingTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*ValidatorStakingTransactor) SkimExcessEth

func (_ValidatorStaking *ValidatorStakingTransactor) SkimExcessEth(opts *bind.TransactOpts, to_ common.Address) (*types.Transaction, error)

SkimExcessEth is a paid mutator transaction binding the contract method 0x971b505b.

Solidity: function skimExcessEth(address to_) returns(uint256 excess)

func (*ValidatorStakingTransactor) SkimExcessToken

func (_ValidatorStaking *ValidatorStakingTransactor) SkimExcessToken(opts *bind.TransactOpts, to_ common.Address) (*types.Transaction, error)

SkimExcessToken is a paid mutator transaction binding the contract method 0x7aa507fb.

Solidity: function skimExcessToken(address to_) returns(uint256 excess)

func (*ValidatorStakingTransactor) TransferFrom

func (_ValidatorStaking *ValidatorStakingTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*ValidatorStakingTransactor) TripCB

func (_ValidatorStaking *ValidatorStakingTransactor) TripCB(opts *bind.TransactOpts) (*types.Transaction, error)

TripCB is a paid mutator transaction binding the contract method 0xadfdc03f.

Solidity: function tripCB() returns()

type ValidatorStakingTransactorRaw

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

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

func (*ValidatorStakingTransactorRaw) Transact

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

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

func (*ValidatorStakingTransactorRaw) Transfer

func (_ValidatorStaking *ValidatorStakingTransactorRaw) 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 ValidatorStakingTransactorSession

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

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

func (*ValidatorStakingTransactorSession) Approve

func (_ValidatorStaking *ValidatorStakingTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function approve(address to, uint256 tokenId) returns()

func (*ValidatorStakingTransactorSession) Burn

func (_ValidatorStaking *ValidatorStakingTransactorSession) Burn(tokenID_ *big.Int) (*types.Transaction, error)

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

Solidity: function burn(uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutALCA)

func (*ValidatorStakingTransactorSession) BurnTo

func (_ValidatorStaking *ValidatorStakingTransactorSession) BurnTo(to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

BurnTo is a paid mutator transaction binding the contract method 0xea785a5e.

Solidity: function burnTo(address to_, uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutALCA)

func (*ValidatorStakingTransactorSession) CollectAllProfits added in v0.0.5

func (_ValidatorStaking *ValidatorStakingTransactorSession) CollectAllProfits(tokenID_ *big.Int) (*types.Transaction, error)

CollectAllProfits is a paid mutator transaction binding the contract method 0x0df4b2dd.

Solidity: function collectAllProfits(uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutToken)

func (*ValidatorStakingTransactorSession) CollectAllProfitsTo added in v0.0.5

func (_ValidatorStaking *ValidatorStakingTransactorSession) CollectAllProfitsTo(to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

CollectAllProfitsTo is a paid mutator transaction binding the contract method 0x8303fef7.

Solidity: function collectAllProfitsTo(address to_, uint256 tokenID_) returns(uint256 payoutEth, uint256 payoutToken)

func (*ValidatorStakingTransactorSession) CollectEth

func (_ValidatorStaking *ValidatorStakingTransactorSession) CollectEth(tokenID_ *big.Int) (*types.Transaction, error)

CollectEth is a paid mutator transaction binding the contract method 0x2a0d8bd1.

Solidity: function collectEth(uint256 tokenID_) returns(uint256 payout)

func (*ValidatorStakingTransactorSession) CollectEthTo

func (_ValidatorStaking *ValidatorStakingTransactorSession) CollectEthTo(to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

CollectEthTo is a paid mutator transaction binding the contract method 0xbe444379.

Solidity: function collectEthTo(address to_, uint256 tokenID_) returns(uint256 payout)

func (*ValidatorStakingTransactorSession) CollectToken

func (_ValidatorStaking *ValidatorStakingTransactorSession) CollectToken(tokenID_ *big.Int) (*types.Transaction, error)

CollectToken is a paid mutator transaction binding the contract method 0xe35c3e28.

Solidity: function collectToken(uint256 tokenID_) returns(uint256 payout)

func (*ValidatorStakingTransactorSession) CollectTokenTo

func (_ValidatorStaking *ValidatorStakingTransactorSession) CollectTokenTo(to_ common.Address, tokenID_ *big.Int) (*types.Transaction, error)

CollectTokenTo is a paid mutator transaction binding the contract method 0x8853b950.

Solidity: function collectTokenTo(address to_, uint256 tokenID_) returns(uint256 payout)

func (*ValidatorStakingTransactorSession) DepositEth

func (_ValidatorStaking *ValidatorStakingTransactorSession) DepositEth(magic_ uint8) (*types.Transaction, error)

DepositEth is a paid mutator transaction binding the contract method 0x99a89ecc.

Solidity: function depositEth(uint8 magic_) payable returns()

func (*ValidatorStakingTransactorSession) DepositToken

func (_ValidatorStaking *ValidatorStakingTransactorSession) DepositToken(magic_ uint8, amount_ *big.Int) (*types.Transaction, error)

DepositToken is a paid mutator transaction binding the contract method 0x8191f5e5.

Solidity: function depositToken(uint8 magic_, uint256 amount_) returns()

func (*ValidatorStakingTransactorSession) Initialize

func (_ValidatorStaking *ValidatorStakingTransactorSession) Initialize() (*types.Transaction, error)

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

Solidity: function initialize() returns()

func (*ValidatorStakingTransactorSession) LockOwnPosition

func (_ValidatorStaking *ValidatorStakingTransactorSession) LockOwnPosition(tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

LockOwnPosition is a paid mutator transaction binding the contract method 0xe42a673c.

Solidity: function lockOwnPosition(uint256 tokenID_, uint256 lockDuration_) returns(uint256)

func (*ValidatorStakingTransactorSession) LockPosition

func (_ValidatorStaking *ValidatorStakingTransactorSession) LockPosition(caller_ common.Address, tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

LockPosition is a paid mutator transaction binding the contract method 0x0cc65dfb.

Solidity: function lockPosition(address caller_, uint256 tokenID_, uint256 lockDuration_) returns(uint256)

func (*ValidatorStakingTransactorSession) LockWithdraw

func (_ValidatorStaking *ValidatorStakingTransactorSession) LockWithdraw(tokenID_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

LockWithdraw is a paid mutator transaction binding the contract method 0x0e4eb15b.

Solidity: function lockWithdraw(uint256 tokenID_, uint256 lockDuration_) returns(uint256)

func (*ValidatorStakingTransactorSession) Mint

func (_ValidatorStaking *ValidatorStakingTransactorSession) Mint(amount_ *big.Int) (*types.Transaction, error)

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

Solidity: function mint(uint256 amount_) returns(uint256 tokenID)

func (*ValidatorStakingTransactorSession) MintTo

func (_ValidatorStaking *ValidatorStakingTransactorSession) MintTo(to_ common.Address, amount_ *big.Int, lockDuration_ *big.Int) (*types.Transaction, error)

MintTo is a paid mutator transaction binding the contract method 0x2baf2acb.

Solidity: function mintTo(address to_, uint256 amount_, uint256 lockDuration_) returns(uint256 tokenID)

func (*ValidatorStakingTransactorSession) SafeTransferFrom

func (_ValidatorStaking *ValidatorStakingTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*ValidatorStakingTransactorSession) SafeTransferFrom0

func (_ValidatorStaking *ValidatorStakingTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()

func (*ValidatorStakingTransactorSession) SetApprovalForAll

func (_ValidatorStaking *ValidatorStakingTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address operator, bool approved) returns()

func (*ValidatorStakingTransactorSession) SkimExcessEth

func (_ValidatorStaking *ValidatorStakingTransactorSession) SkimExcessEth(to_ common.Address) (*types.Transaction, error)

SkimExcessEth is a paid mutator transaction binding the contract method 0x971b505b.

Solidity: function skimExcessEth(address to_) returns(uint256 excess)

func (*ValidatorStakingTransactorSession) SkimExcessToken

func (_ValidatorStaking *ValidatorStakingTransactorSession) SkimExcessToken(to_ common.Address) (*types.Transaction, error)

SkimExcessToken is a paid mutator transaction binding the contract method 0x7aa507fb.

Solidity: function skimExcessToken(address to_) returns(uint256 excess)

func (*ValidatorStakingTransactorSession) TransferFrom

func (_ValidatorStaking *ValidatorStakingTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*ValidatorStakingTransactorSession) TripCB

func (_ValidatorStaking *ValidatorStakingTransactorSession) TripCB() (*types.Transaction, error)

TripCB is a paid mutator transaction binding the contract method 0xadfdc03f.

Solidity: function tripCB() returns()

type ValidatorStakingTransfer

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

ValidatorStakingTransfer represents a Transfer event raised by the ValidatorStaking contract.

type ValidatorStakingTransferIterator

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

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

func (*ValidatorStakingTransferIterator) Close

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

func (*ValidatorStakingTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ValidatorStakingTransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL