contract

package
v1.0.0 Latest Latest
Warning

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

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

README

# contract

The content of this folder is automatically generated from the smoothing pool smart contract. The are two components that can be generated as follows. Note that if the smart contract changes, this would need to be updated:

  • abi.abi
  • contract.go

Generating abi.go

This contains the smart contract abi. If the contract is verified in etherscan, it can be copied from there. Example see "Contract ABI" section. Make sure you get the abi of the contract itself and not the proxy.

Generating contract.go

With the abi, now we can generate the contract.go file using abigen. This allows to easily interact with the contract using golang. First you need to install abigen.

git clone https://github.com/ethereum/go-ethereum.git
cd go-ethereum
go build ./cmd/abigen

And now from the root of this repo, generate the contract.

./abigen --abi=../mev-sp-oracle/contract/abi.abi --pkg=contract --out=../mev-sp-oracle/contract/contract.go

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContractABI = ContractMetaData.ABI

ContractABI is the input ABI used to generate the binding from. Deprecated: Use ContractMetaData.ABI instead.

View Source
var ContractMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newGovernance\",\"type\":\"address\"}],\"name\":\"AcceptGovernance\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newOracleMember\",\"type\":\"address\"}],\"name\":\"AddOracleMember\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"withdrawalAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"rewardAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"claimableBalance\",\"type\":\"uint256\"}],\"name\":\"ClaimRewards\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"donationAmount\",\"type\":\"uint256\"}],\"name\":\"EtherReceived\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"initialSmoothingPoolSlot\",\"type\":\"uint64\"}],\"name\":\"InitSmoothingPool\",\"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\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oracleMemberRemoved\",\"type\":\"address\"}],\"name\":\"RemoveOracleMember\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"slotNumber\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"newRewardsRoot\",\"type\":\"bytes32\"}],\"name\":\"ReportConsolidated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"withdrawalAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"poolRecipient\",\"type\":\"address\"}],\"name\":\"SetRewardRecipient\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"slotNumber\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"newRewardsRoot\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oracleMember\",\"type\":\"address\"}],\"name\":\"SubmitReport\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"subscriptionCollateral\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"validatorID\",\"type\":\"uint64\"}],\"name\":\"SubscribeValidator\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newPendingGovernance\",\"type\":\"address\"}],\"name\":\"TransferGovernance\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"validatorID\",\"type\":\"uint64\"}],\"name\":\"UnsubscribeValidator\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"newCheckpointSlotSize\",\"type\":\"uint64\"}],\"name\":\"UpdateCheckpointSlotSize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newPoolFee\",\"type\":\"uint256\"}],\"name\":\"UpdatePoolFee\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newPoolFeeRecipient\",\"type\":\"address\"}],\"name\":\"UpdatePoolFeeRecipient\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"newQuorum\",\"type\":\"uint64\"}],\"name\":\"UpdateQuorum\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newSubscriptionCollateral\",\"type\":\"uint256\"}],\"name\":\"UpdateSubscriptionCollateral\",\"type\":\"event\"},{\"stateMutability\":\"payable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"INITIAL_REPORT_HASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"acceptGovernance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOracleMember\",\"type\":\"address\"}],\"name\":\"addOracleMember\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"addressToVotedReportHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"checkpointSlotSize\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"withdrawalAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"accumulatedBalance\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"merkleProof\",\"type\":\"bytes32[]\"}],\"name\":\"claimRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"claimedBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deploymentBlockNumber\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllOracleMembers\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"oracleMember\",\"type\":\"address\"}],\"name\":\"getOracleMemberIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getOracleMembersCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"_slot\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"_rewardsRoot\",\"type\":\"bytes32\"}],\"name\":\"getReportHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"governance\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"initialSmoothingPoolSlot\",\"type\":\"uint64\"}],\"name\":\"initSmoothingPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_governance\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_subscriptionCollateral\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_poolFee\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_poolFeeRecipient\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"_checkpointSlotSize\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"_quorum\",\"type\":\"uint64\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastConsolidatedSlot\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"oracleMembers\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingGovernance\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolFeeRecipient\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"quorum\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"oracleMemberAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"oracleMemberIndex\",\"type\":\"uint256\"}],\"name\":\"removeOracleMember\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"reportHashToReport\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"slot\",\"type\":\"uint64\"},{\"internalType\":\"uint64\",\"name\":\"votes\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"rewardRecipient\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardsRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"rewardAddress\",\"type\":\"address\"}],\"name\":\"setRewardRecipient\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"slotNumber\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"proposedRewardsRoot\",\"type\":\"bytes32\"}],\"name\":\"submitReport\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"validatorID\",\"type\":\"uint64\"}],\"name\":\"subscribeValidator\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64[]\",\"name\":\"validatorIDArray\",\"type\":\"uint64[]\"}],\"name\":\"subscribeValidators\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"subscriptionCollateral\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newPendingGovernance\",\"type\":\"address\"}],\"name\":\"transferGovernance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"validatorID\",\"type\":\"uint64\"}],\"name\":\"unsubscribeValidator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"newCheckpointSlotSize\",\"type\":\"uint64\"}],\"name\":\"updateCheckpointSlotSize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newSubscriptionCollateral\",\"type\":\"uint256\"}],\"name\":\"updateCollateral\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newPoolFee\",\"type\":\"uint256\"}],\"name\":\"updatePoolFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newPoolFeeRecipient\",\"type\":\"address\"}],\"name\":\"updatePoolFeeRecipient\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"newQuorum\",\"type\":\"uint64\"}],\"name\":\"updateQuorum\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ContractMetaData contains all meta data concerning the Contract contract.

Functions

This section is empty.

Types

type Contract

type Contract struct {
	ContractCaller     // Read-only binding to the contract
	ContractTransactor // Write-only binding to the contract
	ContractFilterer   // Log filterer for contract events
}

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

func NewContract

func NewContract(address common.Address, backend bind.ContractBackend) (*Contract, error)

NewContract creates a new instance of Contract, bound to a specific deployed contract.

type ContractAcceptGovernance

type ContractAcceptGovernance struct {
	NewGovernance common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

ContractAcceptGovernance represents a AcceptGovernance event raised by the Contract contract.

type ContractAcceptGovernanceIterator

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

ContractAcceptGovernanceIterator is returned from FilterAcceptGovernance and is used to iterate over the raw logs and unpacked data for AcceptGovernance events raised by the Contract contract.

func (*ContractAcceptGovernanceIterator) Close

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

func (*ContractAcceptGovernanceIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractAcceptGovernanceIterator) 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 ContractAddOracleMember

type ContractAddOracleMember struct {
	NewOracleMember common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

ContractAddOracleMember represents a AddOracleMember event raised by the Contract contract.

type ContractAddOracleMemberIterator

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

ContractAddOracleMemberIterator is returned from FilterAddOracleMember and is used to iterate over the raw logs and unpacked data for AddOracleMember events raised by the Contract contract.

func (*ContractAddOracleMemberIterator) Close

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

func (*ContractAddOracleMemberIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractAddOracleMemberIterator) 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 ContractCaller

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

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

func NewContractCaller

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

NewContractCaller creates a new read-only instance of Contract, bound to a specific deployed contract.

func (*ContractCaller) AddressToVotedReportHash

func (_Contract *ContractCaller) AddressToVotedReportHash(opts *bind.CallOpts, arg0 common.Address) ([32]byte, error)

AddressToVotedReportHash is a free data retrieval call binding the contract method 0xc1269650.

Solidity: function addressToVotedReportHash(address ) view returns(bytes32)

func (*ContractCaller) CheckpointSlotSize

func (_Contract *ContractCaller) CheckpointSlotSize(opts *bind.CallOpts) (uint64, error)

CheckpointSlotSize is a free data retrieval call binding the contract method 0xc7f75d3f.

Solidity: function checkpointSlotSize() view returns(uint64)

func (*ContractCaller) ClaimedBalance

func (_Contract *ContractCaller) ClaimedBalance(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

ClaimedBalance is a free data retrieval call binding the contract method 0x9886c2a5.

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

func (*ContractCaller) DeploymentBlockNumber

func (_Contract *ContractCaller) DeploymentBlockNumber(opts *bind.CallOpts) (*big.Int, error)

DeploymentBlockNumber is a free data retrieval call binding the contract method 0xcf004217.

Solidity: function deploymentBlockNumber() view returns(uint256)

func (*ContractCaller) GetAllOracleMembers

func (_Contract *ContractCaller) GetAllOracleMembers(opts *bind.CallOpts) ([]common.Address, error)

GetAllOracleMembers is a free data retrieval call binding the contract method 0x2827acf3.

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

func (*ContractCaller) GetOracleMemberIndex

func (_Contract *ContractCaller) GetOracleMemberIndex(opts *bind.CallOpts, oracleMember common.Address) (*big.Int, error)

GetOracleMemberIndex is a free data retrieval call binding the contract method 0xe1a80493.

Solidity: function getOracleMemberIndex(address oracleMember) view returns(uint256)

func (*ContractCaller) GetOracleMembersCount

func (_Contract *ContractCaller) GetOracleMembersCount(opts *bind.CallOpts) (*big.Int, error)

GetOracleMembersCount is a free data retrieval call binding the contract method 0xc37f45bf.

Solidity: function getOracleMembersCount() view returns(uint256)

func (*ContractCaller) GetReportHash

func (_Contract *ContractCaller) GetReportHash(opts *bind.CallOpts, _slot uint64, _rewardsRoot [32]byte) ([32]byte, error)

GetReportHash is a free data retrieval call binding the contract method 0x781f5855.

Solidity: function getReportHash(uint64 _slot, bytes32 _rewardsRoot) pure returns(bytes32)

func (*ContractCaller) Governance

func (_Contract *ContractCaller) Governance(opts *bind.CallOpts) (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*ContractCaller) INITIALREPORTHASH

func (_Contract *ContractCaller) INITIALREPORTHASH(opts *bind.CallOpts) ([32]byte, error)

INITIALREPORTHASH is a free data retrieval call binding the contract method 0x7b5c2f88.

Solidity: function INITIAL_REPORT_HASH() view returns(bytes32)

func (*ContractCaller) LastConsolidatedSlot

func (_Contract *ContractCaller) LastConsolidatedSlot(opts *bind.CallOpts) (uint64, error)

LastConsolidatedSlot is a free data retrieval call binding the contract method 0xa119d687.

Solidity: function lastConsolidatedSlot() view returns(uint64)

func (*ContractCaller) OracleMembers

func (_Contract *ContractCaller) OracleMembers(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

OracleMembers is a free data retrieval call binding the contract method 0x37215ebd.

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

func (*ContractCaller) Owner

func (_Contract *ContractCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ContractCaller) PendingGovernance

func (_Contract *ContractCaller) PendingGovernance(opts *bind.CallOpts) (common.Address, error)

PendingGovernance is a free data retrieval call binding the contract method 0xf39c38a0.

Solidity: function pendingGovernance() view returns(address)

func (*ContractCaller) PoolFee

func (_Contract *ContractCaller) PoolFee(opts *bind.CallOpts) (*big.Int, error)

PoolFee is a free data retrieval call binding the contract method 0x089fe6aa.

Solidity: function poolFee() view returns(uint256)

func (*ContractCaller) PoolFeeRecipient

func (_Contract *ContractCaller) PoolFeeRecipient(opts *bind.CallOpts) (common.Address, error)

PoolFeeRecipient is a free data retrieval call binding the contract method 0x75f678a0.

Solidity: function poolFeeRecipient() view returns(address)

func (*ContractCaller) Quorum

func (_Contract *ContractCaller) Quorum(opts *bind.CallOpts) (uint64, error)

Quorum is a free data retrieval call binding the contract method 0x1703a018.

Solidity: function quorum() view returns(uint64)

func (*ContractCaller) ReportHashToReport

func (_Contract *ContractCaller) ReportHashToReport(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Slot  uint64
	Votes uint64
}, error)

ReportHashToReport is a free data retrieval call binding the contract method 0x03ef4aff.

Solidity: function reportHashToReport(bytes32 ) view returns(uint64 slot, uint64 votes)

func (*ContractCaller) RewardRecipient

func (_Contract *ContractCaller) RewardRecipient(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

RewardRecipient is a free data retrieval call binding the contract method 0xf372c0c9.

Solidity: function rewardRecipient(address ) view returns(address)

func (*ContractCaller) RewardsRoot

func (_Contract *ContractCaller) RewardsRoot(opts *bind.CallOpts) ([32]byte, error)

RewardsRoot is a free data retrieval call binding the contract method 0x217863b7.

Solidity: function rewardsRoot() view returns(bytes32)

func (*ContractCaller) SubscriptionCollateral

func (_Contract *ContractCaller) SubscriptionCollateral(opts *bind.CallOpts) (*big.Int, error)

SubscriptionCollateral is a free data retrieval call binding the contract method 0xf93558e3.

Solidity: function subscriptionCollateral() view returns(uint256)

type ContractCallerRaw

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

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

func (*ContractCallerRaw) Call

func (_Contract *ContractCallerRaw) 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 ContractCallerSession

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

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

func (*ContractCallerSession) AddressToVotedReportHash

func (_Contract *ContractCallerSession) AddressToVotedReportHash(arg0 common.Address) ([32]byte, error)

AddressToVotedReportHash is a free data retrieval call binding the contract method 0xc1269650.

Solidity: function addressToVotedReportHash(address ) view returns(bytes32)

func (*ContractCallerSession) CheckpointSlotSize

func (_Contract *ContractCallerSession) CheckpointSlotSize() (uint64, error)

CheckpointSlotSize is a free data retrieval call binding the contract method 0xc7f75d3f.

Solidity: function checkpointSlotSize() view returns(uint64)

func (*ContractCallerSession) ClaimedBalance

func (_Contract *ContractCallerSession) ClaimedBalance(arg0 common.Address) (*big.Int, error)

ClaimedBalance is a free data retrieval call binding the contract method 0x9886c2a5.

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

func (*ContractCallerSession) DeploymentBlockNumber

func (_Contract *ContractCallerSession) DeploymentBlockNumber() (*big.Int, error)

DeploymentBlockNumber is a free data retrieval call binding the contract method 0xcf004217.

Solidity: function deploymentBlockNumber() view returns(uint256)

func (*ContractCallerSession) GetAllOracleMembers

func (_Contract *ContractCallerSession) GetAllOracleMembers() ([]common.Address, error)

GetAllOracleMembers is a free data retrieval call binding the contract method 0x2827acf3.

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

func (*ContractCallerSession) GetOracleMemberIndex

func (_Contract *ContractCallerSession) GetOracleMemberIndex(oracleMember common.Address) (*big.Int, error)

GetOracleMemberIndex is a free data retrieval call binding the contract method 0xe1a80493.

Solidity: function getOracleMemberIndex(address oracleMember) view returns(uint256)

func (*ContractCallerSession) GetOracleMembersCount

func (_Contract *ContractCallerSession) GetOracleMembersCount() (*big.Int, error)

GetOracleMembersCount is a free data retrieval call binding the contract method 0xc37f45bf.

Solidity: function getOracleMembersCount() view returns(uint256)

func (*ContractCallerSession) GetReportHash

func (_Contract *ContractCallerSession) GetReportHash(_slot uint64, _rewardsRoot [32]byte) ([32]byte, error)

GetReportHash is a free data retrieval call binding the contract method 0x781f5855.

Solidity: function getReportHash(uint64 _slot, bytes32 _rewardsRoot) pure returns(bytes32)

func (*ContractCallerSession) Governance

func (_Contract *ContractCallerSession) Governance() (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*ContractCallerSession) INITIALREPORTHASH

func (_Contract *ContractCallerSession) INITIALREPORTHASH() ([32]byte, error)

INITIALREPORTHASH is a free data retrieval call binding the contract method 0x7b5c2f88.

Solidity: function INITIAL_REPORT_HASH() view returns(bytes32)

func (*ContractCallerSession) LastConsolidatedSlot

func (_Contract *ContractCallerSession) LastConsolidatedSlot() (uint64, error)

LastConsolidatedSlot is a free data retrieval call binding the contract method 0xa119d687.

Solidity: function lastConsolidatedSlot() view returns(uint64)

func (*ContractCallerSession) OracleMembers

func (_Contract *ContractCallerSession) OracleMembers(arg0 *big.Int) (common.Address, error)

OracleMembers is a free data retrieval call binding the contract method 0x37215ebd.

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

func (*ContractCallerSession) Owner

func (_Contract *ContractCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ContractCallerSession) PendingGovernance

func (_Contract *ContractCallerSession) PendingGovernance() (common.Address, error)

PendingGovernance is a free data retrieval call binding the contract method 0xf39c38a0.

Solidity: function pendingGovernance() view returns(address)

func (*ContractCallerSession) PoolFee

func (_Contract *ContractCallerSession) PoolFee() (*big.Int, error)

PoolFee is a free data retrieval call binding the contract method 0x089fe6aa.

Solidity: function poolFee() view returns(uint256)

func (*ContractCallerSession) PoolFeeRecipient

func (_Contract *ContractCallerSession) PoolFeeRecipient() (common.Address, error)

PoolFeeRecipient is a free data retrieval call binding the contract method 0x75f678a0.

Solidity: function poolFeeRecipient() view returns(address)

func (*ContractCallerSession) Quorum

func (_Contract *ContractCallerSession) Quorum() (uint64, error)

Quorum is a free data retrieval call binding the contract method 0x1703a018.

Solidity: function quorum() view returns(uint64)

func (*ContractCallerSession) ReportHashToReport

func (_Contract *ContractCallerSession) ReportHashToReport(arg0 [32]byte) (struct {
	Slot  uint64
	Votes uint64
}, error)

ReportHashToReport is a free data retrieval call binding the contract method 0x03ef4aff.

Solidity: function reportHashToReport(bytes32 ) view returns(uint64 slot, uint64 votes)

func (*ContractCallerSession) RewardRecipient

func (_Contract *ContractCallerSession) RewardRecipient(arg0 common.Address) (common.Address, error)

RewardRecipient is a free data retrieval call binding the contract method 0xf372c0c9.

Solidity: function rewardRecipient(address ) view returns(address)

func (*ContractCallerSession) RewardsRoot

func (_Contract *ContractCallerSession) RewardsRoot() ([32]byte, error)

RewardsRoot is a free data retrieval call binding the contract method 0x217863b7.

Solidity: function rewardsRoot() view returns(bytes32)

func (*ContractCallerSession) SubscriptionCollateral

func (_Contract *ContractCallerSession) SubscriptionCollateral() (*big.Int, error)

SubscriptionCollateral is a free data retrieval call binding the contract method 0xf93558e3.

Solidity: function subscriptionCollateral() view returns(uint256)

type ContractClaimRewards

type ContractClaimRewards struct {
	WithdrawalAddress common.Address
	RewardAddress     common.Address
	ClaimableBalance  *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

ContractClaimRewards represents a ClaimRewards event raised by the Contract contract.

type ContractClaimRewardsIterator

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

ContractClaimRewardsIterator is returned from FilterClaimRewards and is used to iterate over the raw logs and unpacked data for ClaimRewards events raised by the Contract contract.

func (*ContractClaimRewardsIterator) Close

func (it *ContractClaimRewardsIterator) Close() error

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

func (*ContractClaimRewardsIterator) Error

func (it *ContractClaimRewardsIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractClaimRewardsIterator) 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 ContractEtherReceived

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

ContractEtherReceived represents a EtherReceived event raised by the Contract contract.

type ContractEtherReceivedIterator

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

ContractEtherReceivedIterator is returned from FilterEtherReceived and is used to iterate over the raw logs and unpacked data for EtherReceived events raised by the Contract contract.

func (*ContractEtherReceivedIterator) Close

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

func (*ContractEtherReceivedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractEtherReceivedIterator) 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 ContractFilterer

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

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

func NewContractFilterer

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

NewContractFilterer creates a new log filterer instance of Contract, bound to a specific deployed contract.

func (*ContractFilterer) FilterAcceptGovernance

func (_Contract *ContractFilterer) FilterAcceptGovernance(opts *bind.FilterOpts) (*ContractAcceptGovernanceIterator, error)

FilterAcceptGovernance is a free log retrieval operation binding the contract event 0x0e5e627abed15db8c4841ff7db9a3fb94e105b243564c206bf485362210eee07.

Solidity: event AcceptGovernance(address newGovernance)

func (*ContractFilterer) FilterAddOracleMember

func (_Contract *ContractFilterer) FilterAddOracleMember(opts *bind.FilterOpts) (*ContractAddOracleMemberIterator, error)

FilterAddOracleMember is a free log retrieval operation binding the contract event 0x82ebad05b594f3bb43fed0280ee782c47f15549310ffb9de21ad790a03dbab18.

Solidity: event AddOracleMember(address newOracleMember)

func (*ContractFilterer) FilterClaimRewards

func (_Contract *ContractFilterer) FilterClaimRewards(opts *bind.FilterOpts) (*ContractClaimRewardsIterator, error)

FilterClaimRewards is a free log retrieval operation binding the contract event 0x9aa05b3d70a9e3e2f004f039648839560576334fb45c81f91b6db03ad9e2efc9.

Solidity: event ClaimRewards(address withdrawalAddress, address rewardAddress, uint256 claimableBalance)

func (*ContractFilterer) FilterEtherReceived

func (_Contract *ContractFilterer) FilterEtherReceived(opts *bind.FilterOpts) (*ContractEtherReceivedIterator, error)

FilterEtherReceived is a free log retrieval operation binding the contract event 0x1e57e3bb474320be3d2c77138f75b7c3941292d647f5f9634e33a8e94e0e069b.

Solidity: event EtherReceived(address sender, uint256 donationAmount)

func (*ContractFilterer) FilterInitSmoothingPool

func (_Contract *ContractFilterer) FilterInitSmoothingPool(opts *bind.FilterOpts) (*ContractInitSmoothingPoolIterator, error)

FilterInitSmoothingPool is a free log retrieval operation binding the contract event 0x517462a977504b91ea9a39b7a880cff34a3a13d734f1b294ae4eb0e5c603c7d0.

Solidity: event InitSmoothingPool(uint64 initialSmoothingPoolSlot)

func (*ContractFilterer) FilterInitialized

func (_Contract *ContractFilterer) FilterInitialized(opts *bind.FilterOpts) (*ContractInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ContractFilterer) FilterOwnershipTransferred

func (_Contract *ContractFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ContractOwnershipTransferredIterator, error)

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

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

func (*ContractFilterer) FilterRemoveOracleMember

func (_Contract *ContractFilterer) FilterRemoveOracleMember(opts *bind.FilterOpts) (*ContractRemoveOracleMemberIterator, error)

FilterRemoveOracleMember is a free log retrieval operation binding the contract event 0xc8391e8d83bfa93da9636d7a7928b59021752c6e0b74afba127e74914af730a2.

Solidity: event RemoveOracleMember(address oracleMemberRemoved)

func (*ContractFilterer) FilterReportConsolidated

func (_Contract *ContractFilterer) FilterReportConsolidated(opts *bind.FilterOpts) (*ContractReportConsolidatedIterator, error)

FilterReportConsolidated is a free log retrieval operation binding the contract event 0x92f1a3bddcbec48ac79b5809ed37bf0491f0ad9e89ed4ff2f1ccd4dd9e5b5064.

Solidity: event ReportConsolidated(uint256 slotNumber, bytes32 newRewardsRoot)

func (*ContractFilterer) FilterSetRewardRecipient

func (_Contract *ContractFilterer) FilterSetRewardRecipient(opts *bind.FilterOpts) (*ContractSetRewardRecipientIterator, error)

FilterSetRewardRecipient is a free log retrieval operation binding the contract event 0xc6b66e0e282673c442421e1c6b89458b7631f26f5dcd0b2b216c45831ca1d7d5.

Solidity: event SetRewardRecipient(address withdrawalAddress, address poolRecipient)

func (*ContractFilterer) FilterSubmitReport

func (_Contract *ContractFilterer) FilterSubmitReport(opts *bind.FilterOpts) (*ContractSubmitReportIterator, error)

FilterSubmitReport is a free log retrieval operation binding the contract event 0xa28058c376f3af4acde9ae77dfe7fc66bc12abc2ad14e37fe60d51e19a630571.

Solidity: event SubmitReport(uint256 slotNumber, bytes32 newRewardsRoot, address oracleMember)

func (*ContractFilterer) FilterSubscribeValidator

func (_Contract *ContractFilterer) FilterSubscribeValidator(opts *bind.FilterOpts) (*ContractSubscribeValidatorIterator, error)

FilterSubscribeValidator is a free log retrieval operation binding the contract event 0x1094f8cfeb6abd0fd67e4ce1e1d3999c0176a4d8c7f8325e3ecddb5a1249fde9.

Solidity: event SubscribeValidator(address sender, uint256 subscriptionCollateral, uint64 validatorID)

func (*ContractFilterer) FilterTransferGovernance

func (_Contract *ContractFilterer) FilterTransferGovernance(opts *bind.FilterOpts) (*ContractTransferGovernanceIterator, error)

FilterTransferGovernance is a free log retrieval operation binding the contract event 0xde4aabcd09171142d82dd9e667db43bf0dca12f30fa0aec30859875d35ecb5d6.

Solidity: event TransferGovernance(address newPendingGovernance)

func (*ContractFilterer) FilterUnsubscribeValidator

func (_Contract *ContractFilterer) FilterUnsubscribeValidator(opts *bind.FilterOpts) (*ContractUnsubscribeValidatorIterator, error)

FilterUnsubscribeValidator is a free log retrieval operation binding the contract event 0x5a984d13ffecb21f69de43956dcd971abcff8e187fac09a0ce3209562da14e0a.

Solidity: event UnsubscribeValidator(address sender, uint64 validatorID)

func (*ContractFilterer) FilterUpdateCheckpointSlotSize

func (_Contract *ContractFilterer) FilterUpdateCheckpointSlotSize(opts *bind.FilterOpts) (*ContractUpdateCheckpointSlotSizeIterator, error)

FilterUpdateCheckpointSlotSize is a free log retrieval operation binding the contract event 0x8e0e8e986a04eea90f6e33488f9756f53cb482049ca8269e6864c797b8bcae6e.

Solidity: event UpdateCheckpointSlotSize(uint64 newCheckpointSlotSize)

func (*ContractFilterer) FilterUpdatePoolFee

func (_Contract *ContractFilterer) FilterUpdatePoolFee(opts *bind.FilterOpts) (*ContractUpdatePoolFeeIterator, error)

FilterUpdatePoolFee is a free log retrieval operation binding the contract event 0x19d74da91b7de020180f04c1c60faba431bd76ecf962935e6f65ecbf0223ecfc.

Solidity: event UpdatePoolFee(uint256 newPoolFee)

func (*ContractFilterer) FilterUpdatePoolFeeRecipient

func (_Contract *ContractFilterer) FilterUpdatePoolFeeRecipient(opts *bind.FilterOpts) (*ContractUpdatePoolFeeRecipientIterator, error)

FilterUpdatePoolFeeRecipient is a free log retrieval operation binding the contract event 0xae901f1a96a9fc6852e6b162ea0b9887c37b667fb5d2d925b6e4a607aac0bf62.

Solidity: event UpdatePoolFeeRecipient(address newPoolFeeRecipient)

func (*ContractFilterer) FilterUpdateQuorum

func (_Contract *ContractFilterer) FilterUpdateQuorum(opts *bind.FilterOpts) (*ContractUpdateQuorumIterator, error)

FilterUpdateQuorum is a free log retrieval operation binding the contract event 0xb600f3cf7f38a4b49bb0c75f722ef69f7e3e39ef3bb4aa8207fd86e724a23249.

Solidity: event UpdateQuorum(uint64 newQuorum)

func (*ContractFilterer) FilterUpdateSubscriptionCollateral

func (_Contract *ContractFilterer) FilterUpdateSubscriptionCollateral(opts *bind.FilterOpts) (*ContractUpdateSubscriptionCollateralIterator, error)

FilterUpdateSubscriptionCollateral is a free log retrieval operation binding the contract event 0xdb50d3f51ff6294ba829f0d7f6b99b5b606a52807d5106ef44151d9297720217.

Solidity: event UpdateSubscriptionCollateral(uint256 newSubscriptionCollateral)

func (*ContractFilterer) ParseAcceptGovernance

func (_Contract *ContractFilterer) ParseAcceptGovernance(log types.Log) (*ContractAcceptGovernance, error)

ParseAcceptGovernance is a log parse operation binding the contract event 0x0e5e627abed15db8c4841ff7db9a3fb94e105b243564c206bf485362210eee07.

Solidity: event AcceptGovernance(address newGovernance)

func (*ContractFilterer) ParseAddOracleMember

func (_Contract *ContractFilterer) ParseAddOracleMember(log types.Log) (*ContractAddOracleMember, error)

ParseAddOracleMember is a log parse operation binding the contract event 0x82ebad05b594f3bb43fed0280ee782c47f15549310ffb9de21ad790a03dbab18.

Solidity: event AddOracleMember(address newOracleMember)

func (*ContractFilterer) ParseClaimRewards

func (_Contract *ContractFilterer) ParseClaimRewards(log types.Log) (*ContractClaimRewards, error)

ParseClaimRewards is a log parse operation binding the contract event 0x9aa05b3d70a9e3e2f004f039648839560576334fb45c81f91b6db03ad9e2efc9.

Solidity: event ClaimRewards(address withdrawalAddress, address rewardAddress, uint256 claimableBalance)

func (*ContractFilterer) ParseEtherReceived

func (_Contract *ContractFilterer) ParseEtherReceived(log types.Log) (*ContractEtherReceived, error)

ParseEtherReceived is a log parse operation binding the contract event 0x1e57e3bb474320be3d2c77138f75b7c3941292d647f5f9634e33a8e94e0e069b.

Solidity: event EtherReceived(address sender, uint256 donationAmount)

func (*ContractFilterer) ParseInitSmoothingPool

func (_Contract *ContractFilterer) ParseInitSmoothingPool(log types.Log) (*ContractInitSmoothingPool, error)

ParseInitSmoothingPool is a log parse operation binding the contract event 0x517462a977504b91ea9a39b7a880cff34a3a13d734f1b294ae4eb0e5c603c7d0.

Solidity: event InitSmoothingPool(uint64 initialSmoothingPoolSlot)

func (*ContractFilterer) ParseInitialized

func (_Contract *ContractFilterer) ParseInitialized(log types.Log) (*ContractInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ContractFilterer) ParseOwnershipTransferred

func (_Contract *ContractFilterer) ParseOwnershipTransferred(log types.Log) (*ContractOwnershipTransferred, error)

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

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

func (*ContractFilterer) ParseRemoveOracleMember

func (_Contract *ContractFilterer) ParseRemoveOracleMember(log types.Log) (*ContractRemoveOracleMember, error)

ParseRemoveOracleMember is a log parse operation binding the contract event 0xc8391e8d83bfa93da9636d7a7928b59021752c6e0b74afba127e74914af730a2.

Solidity: event RemoveOracleMember(address oracleMemberRemoved)

func (*ContractFilterer) ParseReportConsolidated

func (_Contract *ContractFilterer) ParseReportConsolidated(log types.Log) (*ContractReportConsolidated, error)

ParseReportConsolidated is a log parse operation binding the contract event 0x92f1a3bddcbec48ac79b5809ed37bf0491f0ad9e89ed4ff2f1ccd4dd9e5b5064.

Solidity: event ReportConsolidated(uint256 slotNumber, bytes32 newRewardsRoot)

func (*ContractFilterer) ParseSetRewardRecipient

func (_Contract *ContractFilterer) ParseSetRewardRecipient(log types.Log) (*ContractSetRewardRecipient, error)

ParseSetRewardRecipient is a log parse operation binding the contract event 0xc6b66e0e282673c442421e1c6b89458b7631f26f5dcd0b2b216c45831ca1d7d5.

Solidity: event SetRewardRecipient(address withdrawalAddress, address poolRecipient)

func (*ContractFilterer) ParseSubmitReport

func (_Contract *ContractFilterer) ParseSubmitReport(log types.Log) (*ContractSubmitReport, error)

ParseSubmitReport is a log parse operation binding the contract event 0xa28058c376f3af4acde9ae77dfe7fc66bc12abc2ad14e37fe60d51e19a630571.

Solidity: event SubmitReport(uint256 slotNumber, bytes32 newRewardsRoot, address oracleMember)

func (*ContractFilterer) ParseSubscribeValidator

func (_Contract *ContractFilterer) ParseSubscribeValidator(log types.Log) (*ContractSubscribeValidator, error)

ParseSubscribeValidator is a log parse operation binding the contract event 0x1094f8cfeb6abd0fd67e4ce1e1d3999c0176a4d8c7f8325e3ecddb5a1249fde9.

Solidity: event SubscribeValidator(address sender, uint256 subscriptionCollateral, uint64 validatorID)

func (*ContractFilterer) ParseTransferGovernance

func (_Contract *ContractFilterer) ParseTransferGovernance(log types.Log) (*ContractTransferGovernance, error)

ParseTransferGovernance is a log parse operation binding the contract event 0xde4aabcd09171142d82dd9e667db43bf0dca12f30fa0aec30859875d35ecb5d6.

Solidity: event TransferGovernance(address newPendingGovernance)

func (*ContractFilterer) ParseUnsubscribeValidator

func (_Contract *ContractFilterer) ParseUnsubscribeValidator(log types.Log) (*ContractUnsubscribeValidator, error)

ParseUnsubscribeValidator is a log parse operation binding the contract event 0x5a984d13ffecb21f69de43956dcd971abcff8e187fac09a0ce3209562da14e0a.

Solidity: event UnsubscribeValidator(address sender, uint64 validatorID)

func (*ContractFilterer) ParseUpdateCheckpointSlotSize

func (_Contract *ContractFilterer) ParseUpdateCheckpointSlotSize(log types.Log) (*ContractUpdateCheckpointSlotSize, error)

ParseUpdateCheckpointSlotSize is a log parse operation binding the contract event 0x8e0e8e986a04eea90f6e33488f9756f53cb482049ca8269e6864c797b8bcae6e.

Solidity: event UpdateCheckpointSlotSize(uint64 newCheckpointSlotSize)

func (*ContractFilterer) ParseUpdatePoolFee

func (_Contract *ContractFilterer) ParseUpdatePoolFee(log types.Log) (*ContractUpdatePoolFee, error)

ParseUpdatePoolFee is a log parse operation binding the contract event 0x19d74da91b7de020180f04c1c60faba431bd76ecf962935e6f65ecbf0223ecfc.

Solidity: event UpdatePoolFee(uint256 newPoolFee)

func (*ContractFilterer) ParseUpdatePoolFeeRecipient

func (_Contract *ContractFilterer) ParseUpdatePoolFeeRecipient(log types.Log) (*ContractUpdatePoolFeeRecipient, error)

ParseUpdatePoolFeeRecipient is a log parse operation binding the contract event 0xae901f1a96a9fc6852e6b162ea0b9887c37b667fb5d2d925b6e4a607aac0bf62.

Solidity: event UpdatePoolFeeRecipient(address newPoolFeeRecipient)

func (*ContractFilterer) ParseUpdateQuorum

func (_Contract *ContractFilterer) ParseUpdateQuorum(log types.Log) (*ContractUpdateQuorum, error)

ParseUpdateQuorum is a log parse operation binding the contract event 0xb600f3cf7f38a4b49bb0c75f722ef69f7e3e39ef3bb4aa8207fd86e724a23249.

Solidity: event UpdateQuorum(uint64 newQuorum)

func (*ContractFilterer) ParseUpdateSubscriptionCollateral

func (_Contract *ContractFilterer) ParseUpdateSubscriptionCollateral(log types.Log) (*ContractUpdateSubscriptionCollateral, error)

ParseUpdateSubscriptionCollateral is a log parse operation binding the contract event 0xdb50d3f51ff6294ba829f0d7f6b99b5b606a52807d5106ef44151d9297720217.

Solidity: event UpdateSubscriptionCollateral(uint256 newSubscriptionCollateral)

func (*ContractFilterer) WatchAcceptGovernance

func (_Contract *ContractFilterer) WatchAcceptGovernance(opts *bind.WatchOpts, sink chan<- *ContractAcceptGovernance) (event.Subscription, error)

WatchAcceptGovernance is a free log subscription operation binding the contract event 0x0e5e627abed15db8c4841ff7db9a3fb94e105b243564c206bf485362210eee07.

Solidity: event AcceptGovernance(address newGovernance)

func (*ContractFilterer) WatchAddOracleMember

func (_Contract *ContractFilterer) WatchAddOracleMember(opts *bind.WatchOpts, sink chan<- *ContractAddOracleMember) (event.Subscription, error)

WatchAddOracleMember is a free log subscription operation binding the contract event 0x82ebad05b594f3bb43fed0280ee782c47f15549310ffb9de21ad790a03dbab18.

Solidity: event AddOracleMember(address newOracleMember)

func (*ContractFilterer) WatchClaimRewards

func (_Contract *ContractFilterer) WatchClaimRewards(opts *bind.WatchOpts, sink chan<- *ContractClaimRewards) (event.Subscription, error)

WatchClaimRewards is a free log subscription operation binding the contract event 0x9aa05b3d70a9e3e2f004f039648839560576334fb45c81f91b6db03ad9e2efc9.

Solidity: event ClaimRewards(address withdrawalAddress, address rewardAddress, uint256 claimableBalance)

func (*ContractFilterer) WatchEtherReceived

func (_Contract *ContractFilterer) WatchEtherReceived(opts *bind.WatchOpts, sink chan<- *ContractEtherReceived) (event.Subscription, error)

WatchEtherReceived is a free log subscription operation binding the contract event 0x1e57e3bb474320be3d2c77138f75b7c3941292d647f5f9634e33a8e94e0e069b.

Solidity: event EtherReceived(address sender, uint256 donationAmount)

func (*ContractFilterer) WatchInitSmoothingPool

func (_Contract *ContractFilterer) WatchInitSmoothingPool(opts *bind.WatchOpts, sink chan<- *ContractInitSmoothingPool) (event.Subscription, error)

WatchInitSmoothingPool is a free log subscription operation binding the contract event 0x517462a977504b91ea9a39b7a880cff34a3a13d734f1b294ae4eb0e5c603c7d0.

Solidity: event InitSmoothingPool(uint64 initialSmoothingPoolSlot)

func (*ContractFilterer) WatchInitialized

func (_Contract *ContractFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ContractInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*ContractFilterer) WatchOwnershipTransferred

func (_Contract *ContractFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ContractOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*ContractFilterer) WatchRemoveOracleMember

func (_Contract *ContractFilterer) WatchRemoveOracleMember(opts *bind.WatchOpts, sink chan<- *ContractRemoveOracleMember) (event.Subscription, error)

WatchRemoveOracleMember is a free log subscription operation binding the contract event 0xc8391e8d83bfa93da9636d7a7928b59021752c6e0b74afba127e74914af730a2.

Solidity: event RemoveOracleMember(address oracleMemberRemoved)

func (*ContractFilterer) WatchReportConsolidated

func (_Contract *ContractFilterer) WatchReportConsolidated(opts *bind.WatchOpts, sink chan<- *ContractReportConsolidated) (event.Subscription, error)

WatchReportConsolidated is a free log subscription operation binding the contract event 0x92f1a3bddcbec48ac79b5809ed37bf0491f0ad9e89ed4ff2f1ccd4dd9e5b5064.

Solidity: event ReportConsolidated(uint256 slotNumber, bytes32 newRewardsRoot)

func (*ContractFilterer) WatchSetRewardRecipient

func (_Contract *ContractFilterer) WatchSetRewardRecipient(opts *bind.WatchOpts, sink chan<- *ContractSetRewardRecipient) (event.Subscription, error)

WatchSetRewardRecipient is a free log subscription operation binding the contract event 0xc6b66e0e282673c442421e1c6b89458b7631f26f5dcd0b2b216c45831ca1d7d5.

Solidity: event SetRewardRecipient(address withdrawalAddress, address poolRecipient)

func (*ContractFilterer) WatchSubmitReport

func (_Contract *ContractFilterer) WatchSubmitReport(opts *bind.WatchOpts, sink chan<- *ContractSubmitReport) (event.Subscription, error)

WatchSubmitReport is a free log subscription operation binding the contract event 0xa28058c376f3af4acde9ae77dfe7fc66bc12abc2ad14e37fe60d51e19a630571.

Solidity: event SubmitReport(uint256 slotNumber, bytes32 newRewardsRoot, address oracleMember)

func (*ContractFilterer) WatchSubscribeValidator

func (_Contract *ContractFilterer) WatchSubscribeValidator(opts *bind.WatchOpts, sink chan<- *ContractSubscribeValidator) (event.Subscription, error)

WatchSubscribeValidator is a free log subscription operation binding the contract event 0x1094f8cfeb6abd0fd67e4ce1e1d3999c0176a4d8c7f8325e3ecddb5a1249fde9.

Solidity: event SubscribeValidator(address sender, uint256 subscriptionCollateral, uint64 validatorID)

func (*ContractFilterer) WatchTransferGovernance

func (_Contract *ContractFilterer) WatchTransferGovernance(opts *bind.WatchOpts, sink chan<- *ContractTransferGovernance) (event.Subscription, error)

WatchTransferGovernance is a free log subscription operation binding the contract event 0xde4aabcd09171142d82dd9e667db43bf0dca12f30fa0aec30859875d35ecb5d6.

Solidity: event TransferGovernance(address newPendingGovernance)

func (*ContractFilterer) WatchUnsubscribeValidator

func (_Contract *ContractFilterer) WatchUnsubscribeValidator(opts *bind.WatchOpts, sink chan<- *ContractUnsubscribeValidator) (event.Subscription, error)

WatchUnsubscribeValidator is a free log subscription operation binding the contract event 0x5a984d13ffecb21f69de43956dcd971abcff8e187fac09a0ce3209562da14e0a.

Solidity: event UnsubscribeValidator(address sender, uint64 validatorID)

func (*ContractFilterer) WatchUpdateCheckpointSlotSize

func (_Contract *ContractFilterer) WatchUpdateCheckpointSlotSize(opts *bind.WatchOpts, sink chan<- *ContractUpdateCheckpointSlotSize) (event.Subscription, error)

WatchUpdateCheckpointSlotSize is a free log subscription operation binding the contract event 0x8e0e8e986a04eea90f6e33488f9756f53cb482049ca8269e6864c797b8bcae6e.

Solidity: event UpdateCheckpointSlotSize(uint64 newCheckpointSlotSize)

func (*ContractFilterer) WatchUpdatePoolFee

func (_Contract *ContractFilterer) WatchUpdatePoolFee(opts *bind.WatchOpts, sink chan<- *ContractUpdatePoolFee) (event.Subscription, error)

WatchUpdatePoolFee is a free log subscription operation binding the contract event 0x19d74da91b7de020180f04c1c60faba431bd76ecf962935e6f65ecbf0223ecfc.

Solidity: event UpdatePoolFee(uint256 newPoolFee)

func (*ContractFilterer) WatchUpdatePoolFeeRecipient

func (_Contract *ContractFilterer) WatchUpdatePoolFeeRecipient(opts *bind.WatchOpts, sink chan<- *ContractUpdatePoolFeeRecipient) (event.Subscription, error)

WatchUpdatePoolFeeRecipient is a free log subscription operation binding the contract event 0xae901f1a96a9fc6852e6b162ea0b9887c37b667fb5d2d925b6e4a607aac0bf62.

Solidity: event UpdatePoolFeeRecipient(address newPoolFeeRecipient)

func (*ContractFilterer) WatchUpdateQuorum

func (_Contract *ContractFilterer) WatchUpdateQuorum(opts *bind.WatchOpts, sink chan<- *ContractUpdateQuorum) (event.Subscription, error)

WatchUpdateQuorum is a free log subscription operation binding the contract event 0xb600f3cf7f38a4b49bb0c75f722ef69f7e3e39ef3bb4aa8207fd86e724a23249.

Solidity: event UpdateQuorum(uint64 newQuorum)

func (*ContractFilterer) WatchUpdateSubscriptionCollateral

func (_Contract *ContractFilterer) WatchUpdateSubscriptionCollateral(opts *bind.WatchOpts, sink chan<- *ContractUpdateSubscriptionCollateral) (event.Subscription, error)

WatchUpdateSubscriptionCollateral is a free log subscription operation binding the contract event 0xdb50d3f51ff6294ba829f0d7f6b99b5b606a52807d5106ef44151d9297720217.

Solidity: event UpdateSubscriptionCollateral(uint256 newSubscriptionCollateral)

type ContractInitSmoothingPool

type ContractInitSmoothingPool struct {
	InitialSmoothingPoolSlot uint64
	Raw                      types.Log // Blockchain specific contextual infos
}

ContractInitSmoothingPool represents a InitSmoothingPool event raised by the Contract contract.

type ContractInitSmoothingPoolIterator

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

ContractInitSmoothingPoolIterator is returned from FilterInitSmoothingPool and is used to iterate over the raw logs and unpacked data for InitSmoothingPool events raised by the Contract contract.

func (*ContractInitSmoothingPoolIterator) Close

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

func (*ContractInitSmoothingPoolIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractInitSmoothingPoolIterator) 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 ContractInitialized

type ContractInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

ContractInitialized represents a Initialized event raised by the Contract contract.

type ContractInitializedIterator

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

ContractInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Contract contract.

func (*ContractInitializedIterator) Close

func (it *ContractInitializedIterator) Close() error

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

func (*ContractInitializedIterator) Error

func (it *ContractInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractInitializedIterator) Next

func (it *ContractInitializedIterator) 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 ContractOwnershipTransferred

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

ContractOwnershipTransferred represents a OwnershipTransferred event raised by the Contract contract.

type ContractOwnershipTransferredIterator

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

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

func (*ContractOwnershipTransferredIterator) Close

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

func (*ContractOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractOwnershipTransferredIterator) 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 ContractRaw

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

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

func (*ContractRaw) Call

func (_Contract *ContractRaw) 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 (*ContractRaw) Transact

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

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

func (*ContractRaw) Transfer

func (_Contract *ContractRaw) 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 ContractRemoveOracleMember

type ContractRemoveOracleMember struct {
	OracleMemberRemoved common.Address
	Raw                 types.Log // Blockchain specific contextual infos
}

ContractRemoveOracleMember represents a RemoveOracleMember event raised by the Contract contract.

type ContractRemoveOracleMemberIterator

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

ContractRemoveOracleMemberIterator is returned from FilterRemoveOracleMember and is used to iterate over the raw logs and unpacked data for RemoveOracleMember events raised by the Contract contract.

func (*ContractRemoveOracleMemberIterator) Close

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

func (*ContractRemoveOracleMemberIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractRemoveOracleMemberIterator) 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 ContractReportConsolidated

type ContractReportConsolidated struct {
	SlotNumber     *big.Int
	NewRewardsRoot [32]byte
	Raw            types.Log // Blockchain specific contextual infos
}

ContractReportConsolidated represents a ReportConsolidated event raised by the Contract contract.

type ContractReportConsolidatedIterator

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

ContractReportConsolidatedIterator is returned from FilterReportConsolidated and is used to iterate over the raw logs and unpacked data for ReportConsolidated events raised by the Contract contract.

func (*ContractReportConsolidatedIterator) Close

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

func (*ContractReportConsolidatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractReportConsolidatedIterator) 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 ContractSession

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

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

func (*ContractSession) AcceptGovernance

func (_Contract *ContractSession) AcceptGovernance() (*types.Transaction, error)

AcceptGovernance is a paid mutator transaction binding the contract method 0x238efcbc.

Solidity: function acceptGovernance() returns()

func (*ContractSession) AddOracleMember

func (_Contract *ContractSession) AddOracleMember(newOracleMember common.Address) (*types.Transaction, error)

AddOracleMember is a paid mutator transaction binding the contract method 0xb164e437.

Solidity: function addOracleMember(address newOracleMember) returns()

func (*ContractSession) AddressToVotedReportHash

func (_Contract *ContractSession) AddressToVotedReportHash(arg0 common.Address) ([32]byte, error)

AddressToVotedReportHash is a free data retrieval call binding the contract method 0xc1269650.

Solidity: function addressToVotedReportHash(address ) view returns(bytes32)

func (*ContractSession) CheckpointSlotSize

func (_Contract *ContractSession) CheckpointSlotSize() (uint64, error)

CheckpointSlotSize is a free data retrieval call binding the contract method 0xc7f75d3f.

Solidity: function checkpointSlotSize() view returns(uint64)

func (*ContractSession) ClaimRewards

func (_Contract *ContractSession) ClaimRewards(withdrawalAddress common.Address, accumulatedBalance *big.Int, merkleProof [][32]byte) (*types.Transaction, error)

ClaimRewards is a paid mutator transaction binding the contract method 0xd64bc331.

Solidity: function claimRewards(address withdrawalAddress, uint256 accumulatedBalance, bytes32[] merkleProof) returns()

func (*ContractSession) ClaimedBalance

func (_Contract *ContractSession) ClaimedBalance(arg0 common.Address) (*big.Int, error)

ClaimedBalance is a free data retrieval call binding the contract method 0x9886c2a5.

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

func (*ContractSession) DeploymentBlockNumber

func (_Contract *ContractSession) DeploymentBlockNumber() (*big.Int, error)

DeploymentBlockNumber is a free data retrieval call binding the contract method 0xcf004217.

Solidity: function deploymentBlockNumber() view returns(uint256)

func (*ContractSession) Fallback

func (_Contract *ContractSession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*ContractSession) GetAllOracleMembers

func (_Contract *ContractSession) GetAllOracleMembers() ([]common.Address, error)

GetAllOracleMembers is a free data retrieval call binding the contract method 0x2827acf3.

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

func (*ContractSession) GetOracleMemberIndex

func (_Contract *ContractSession) GetOracleMemberIndex(oracleMember common.Address) (*big.Int, error)

GetOracleMemberIndex is a free data retrieval call binding the contract method 0xe1a80493.

Solidity: function getOracleMemberIndex(address oracleMember) view returns(uint256)

func (*ContractSession) GetOracleMembersCount

func (_Contract *ContractSession) GetOracleMembersCount() (*big.Int, error)

GetOracleMembersCount is a free data retrieval call binding the contract method 0xc37f45bf.

Solidity: function getOracleMembersCount() view returns(uint256)

func (*ContractSession) GetReportHash

func (_Contract *ContractSession) GetReportHash(_slot uint64, _rewardsRoot [32]byte) ([32]byte, error)

GetReportHash is a free data retrieval call binding the contract method 0x781f5855.

Solidity: function getReportHash(uint64 _slot, bytes32 _rewardsRoot) pure returns(bytes32)

func (*ContractSession) Governance

func (_Contract *ContractSession) Governance() (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*ContractSession) INITIALREPORTHASH

func (_Contract *ContractSession) INITIALREPORTHASH() ([32]byte, error)

INITIALREPORTHASH is a free data retrieval call binding the contract method 0x7b5c2f88.

Solidity: function INITIAL_REPORT_HASH() view returns(bytes32)

func (*ContractSession) InitSmoothingPool

func (_Contract *ContractSession) InitSmoothingPool(initialSmoothingPoolSlot uint64) (*types.Transaction, error)

InitSmoothingPool is a paid mutator transaction binding the contract method 0x3964bdca.

Solidity: function initSmoothingPool(uint64 initialSmoothingPoolSlot) returns()

func (*ContractSession) Initialize

func (_Contract *ContractSession) Initialize(_governance common.Address, _subscriptionCollateral *big.Int, _poolFee *big.Int, _poolFeeRecipient common.Address, _checkpointSlotSize uint64, _quorum uint64) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x151e4d3d.

Solidity: function initialize(address _governance, uint256 _subscriptionCollateral, uint256 _poolFee, address _poolFeeRecipient, uint64 _checkpointSlotSize, uint64 _quorum) returns()

func (*ContractSession) LastConsolidatedSlot

func (_Contract *ContractSession) LastConsolidatedSlot() (uint64, error)

LastConsolidatedSlot is a free data retrieval call binding the contract method 0xa119d687.

Solidity: function lastConsolidatedSlot() view returns(uint64)

func (*ContractSession) OracleMembers

func (_Contract *ContractSession) OracleMembers(arg0 *big.Int) (common.Address, error)

OracleMembers is a free data retrieval call binding the contract method 0x37215ebd.

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

func (*ContractSession) Owner

func (_Contract *ContractSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*ContractSession) PendingGovernance

func (_Contract *ContractSession) PendingGovernance() (common.Address, error)

PendingGovernance is a free data retrieval call binding the contract method 0xf39c38a0.

Solidity: function pendingGovernance() view returns(address)

func (*ContractSession) PoolFee

func (_Contract *ContractSession) PoolFee() (*big.Int, error)

PoolFee is a free data retrieval call binding the contract method 0x089fe6aa.

Solidity: function poolFee() view returns(uint256)

func (*ContractSession) PoolFeeRecipient

func (_Contract *ContractSession) PoolFeeRecipient() (common.Address, error)

PoolFeeRecipient is a free data retrieval call binding the contract method 0x75f678a0.

Solidity: function poolFeeRecipient() view returns(address)

func (*ContractSession) Quorum

func (_Contract *ContractSession) Quorum() (uint64, error)

Quorum is a free data retrieval call binding the contract method 0x1703a018.

Solidity: function quorum() view returns(uint64)

func (*ContractSession) RemoveOracleMember

func (_Contract *ContractSession) RemoveOracleMember(oracleMemberAddress common.Address, oracleMemberIndex *big.Int) (*types.Transaction, error)

RemoveOracleMember is a paid mutator transaction binding the contract method 0x53985e5a.

Solidity: function removeOracleMember(address oracleMemberAddress, uint256 oracleMemberIndex) returns()

func (*ContractSession) RenounceOwnership

func (_Contract *ContractSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ContractSession) ReportHashToReport

func (_Contract *ContractSession) ReportHashToReport(arg0 [32]byte) (struct {
	Slot  uint64
	Votes uint64
}, error)

ReportHashToReport is a free data retrieval call binding the contract method 0x03ef4aff.

Solidity: function reportHashToReport(bytes32 ) view returns(uint64 slot, uint64 votes)

func (*ContractSession) RewardRecipient

func (_Contract *ContractSession) RewardRecipient(arg0 common.Address) (common.Address, error)

RewardRecipient is a free data retrieval call binding the contract method 0xf372c0c9.

Solidity: function rewardRecipient(address ) view returns(address)

func (*ContractSession) RewardsRoot

func (_Contract *ContractSession) RewardsRoot() ([32]byte, error)

RewardsRoot is a free data retrieval call binding the contract method 0x217863b7.

Solidity: function rewardsRoot() view returns(bytes32)

func (*ContractSession) SetRewardRecipient

func (_Contract *ContractSession) SetRewardRecipient(rewardAddress common.Address) (*types.Transaction, error)

SetRewardRecipient is a paid mutator transaction binding the contract method 0xe521136f.

Solidity: function setRewardRecipient(address rewardAddress) returns()

func (*ContractSession) SubmitReport

func (_Contract *ContractSession) SubmitReport(slotNumber uint64, proposedRewardsRoot [32]byte) (*types.Transaction, error)

SubmitReport is a paid mutator transaction binding the contract method 0xb539f38b.

Solidity: function submitReport(uint64 slotNumber, bytes32 proposedRewardsRoot) returns()

func (*ContractSession) SubscribeValidator

func (_Contract *ContractSession) SubscribeValidator(validatorID uint64) (*types.Transaction, error)

SubscribeValidator is a paid mutator transaction binding the contract method 0xb9cd552e.

Solidity: function subscribeValidator(uint64 validatorID) payable returns()

func (*ContractSession) SubscribeValidators

func (_Contract *ContractSession) SubscribeValidators(validatorIDArray []uint64) (*types.Transaction, error)

SubscribeValidators is a paid mutator transaction binding the contract method 0x5bc37534.

Solidity: function subscribeValidators(uint64[] validatorIDArray) payable returns()

func (*ContractSession) SubscriptionCollateral

func (_Contract *ContractSession) SubscriptionCollateral() (*big.Int, error)

SubscriptionCollateral is a free data retrieval call binding the contract method 0xf93558e3.

Solidity: function subscriptionCollateral() view returns(uint256)

func (*ContractSession) TransferGovernance

func (_Contract *ContractSession) TransferGovernance(newPendingGovernance common.Address) (*types.Transaction, error)

TransferGovernance is a paid mutator transaction binding the contract method 0xd38bfff4.

Solidity: function transferGovernance(address newPendingGovernance) returns()

func (*ContractSession) TransferOwnership

func (_Contract *ContractSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*ContractSession) UnsubscribeValidator

func (_Contract *ContractSession) UnsubscribeValidator(validatorID uint64) (*types.Transaction, error)

UnsubscribeValidator is a paid mutator transaction binding the contract method 0xc1542c52.

Solidity: function unsubscribeValidator(uint64 validatorID) returns()

func (*ContractSession) UpdateCheckpointSlotSize

func (_Contract *ContractSession) UpdateCheckpointSlotSize(newCheckpointSlotSize uint64) (*types.Transaction, error)

UpdateCheckpointSlotSize is a paid mutator transaction binding the contract method 0x38d092b9.

Solidity: function updateCheckpointSlotSize(uint64 newCheckpointSlotSize) returns()

func (*ContractSession) UpdateCollateral

func (_Contract *ContractSession) UpdateCollateral(newSubscriptionCollateral *big.Int) (*types.Transaction, error)

UpdateCollateral is a paid mutator transaction binding the contract method 0x6721de26.

Solidity: function updateCollateral(uint256 newSubscriptionCollateral) returns()

func (*ContractSession) UpdatePoolFee

func (_Contract *ContractSession) UpdatePoolFee(newPoolFee *big.Int) (*types.Transaction, error)

UpdatePoolFee is a paid mutator transaction binding the contract method 0xc2cac04b.

Solidity: function updatePoolFee(uint256 newPoolFee) returns()

func (*ContractSession) UpdatePoolFeeRecipient

func (_Contract *ContractSession) UpdatePoolFeeRecipient(newPoolFeeRecipient common.Address) (*types.Transaction, error)

UpdatePoolFeeRecipient is a paid mutator transaction binding the contract method 0x6cf9dfad.

Solidity: function updatePoolFeeRecipient(address newPoolFeeRecipient) returns()

func (*ContractSession) UpdateQuorum

func (_Contract *ContractSession) UpdateQuorum(newQuorum uint64) (*types.Transaction, error)

UpdateQuorum is a paid mutator transaction binding the contract method 0x29218b61.

Solidity: function updateQuorum(uint64 newQuorum) returns()

type ContractSetRewardRecipient

type ContractSetRewardRecipient struct {
	WithdrawalAddress common.Address
	PoolRecipient     common.Address
	Raw               types.Log // Blockchain specific contextual infos
}

ContractSetRewardRecipient represents a SetRewardRecipient event raised by the Contract contract.

type ContractSetRewardRecipientIterator

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

ContractSetRewardRecipientIterator is returned from FilterSetRewardRecipient and is used to iterate over the raw logs and unpacked data for SetRewardRecipient events raised by the Contract contract.

func (*ContractSetRewardRecipientIterator) Close

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

func (*ContractSetRewardRecipientIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractSetRewardRecipientIterator) 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 ContractSubmitReport

type ContractSubmitReport struct {
	SlotNumber     *big.Int
	NewRewardsRoot [32]byte
	OracleMember   common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

ContractSubmitReport represents a SubmitReport event raised by the Contract contract.

type ContractSubmitReportIterator

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

ContractSubmitReportIterator is returned from FilterSubmitReport and is used to iterate over the raw logs and unpacked data for SubmitReport events raised by the Contract contract.

func (*ContractSubmitReportIterator) Close

func (it *ContractSubmitReportIterator) Close() error

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

func (*ContractSubmitReportIterator) Error

func (it *ContractSubmitReportIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractSubmitReportIterator) 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 ContractSubscribeValidator

type ContractSubscribeValidator struct {
	Sender                 common.Address
	SubscriptionCollateral *big.Int
	ValidatorID            uint64
	Raw                    types.Log // Blockchain specific contextual infos
}

ContractSubscribeValidator represents a SubscribeValidator event raised by the Contract contract.

type ContractSubscribeValidatorIterator

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

ContractSubscribeValidatorIterator is returned from FilterSubscribeValidator and is used to iterate over the raw logs and unpacked data for SubscribeValidator events raised by the Contract contract.

func (*ContractSubscribeValidatorIterator) Close

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

func (*ContractSubscribeValidatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractSubscribeValidatorIterator) 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 ContractTransactor

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

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

func NewContractTransactor

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

NewContractTransactor creates a new write-only instance of Contract, bound to a specific deployed contract.

func (*ContractTransactor) AcceptGovernance

func (_Contract *ContractTransactor) AcceptGovernance(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptGovernance is a paid mutator transaction binding the contract method 0x238efcbc.

Solidity: function acceptGovernance() returns()

func (*ContractTransactor) AddOracleMember

func (_Contract *ContractTransactor) AddOracleMember(opts *bind.TransactOpts, newOracleMember common.Address) (*types.Transaction, error)

AddOracleMember is a paid mutator transaction binding the contract method 0xb164e437.

Solidity: function addOracleMember(address newOracleMember) returns()

func (*ContractTransactor) ClaimRewards

func (_Contract *ContractTransactor) ClaimRewards(opts *bind.TransactOpts, withdrawalAddress common.Address, accumulatedBalance *big.Int, merkleProof [][32]byte) (*types.Transaction, error)

ClaimRewards is a paid mutator transaction binding the contract method 0xd64bc331.

Solidity: function claimRewards(address withdrawalAddress, uint256 accumulatedBalance, bytes32[] merkleProof) returns()

func (*ContractTransactor) Fallback

func (_Contract *ContractTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*ContractTransactor) InitSmoothingPool

func (_Contract *ContractTransactor) InitSmoothingPool(opts *bind.TransactOpts, initialSmoothingPoolSlot uint64) (*types.Transaction, error)

InitSmoothingPool is a paid mutator transaction binding the contract method 0x3964bdca.

Solidity: function initSmoothingPool(uint64 initialSmoothingPoolSlot) returns()

func (*ContractTransactor) Initialize

func (_Contract *ContractTransactor) Initialize(opts *bind.TransactOpts, _governance common.Address, _subscriptionCollateral *big.Int, _poolFee *big.Int, _poolFeeRecipient common.Address, _checkpointSlotSize uint64, _quorum uint64) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x151e4d3d.

Solidity: function initialize(address _governance, uint256 _subscriptionCollateral, uint256 _poolFee, address _poolFeeRecipient, uint64 _checkpointSlotSize, uint64 _quorum) returns()

func (*ContractTransactor) RemoveOracleMember

func (_Contract *ContractTransactor) RemoveOracleMember(opts *bind.TransactOpts, oracleMemberAddress common.Address, oracleMemberIndex *big.Int) (*types.Transaction, error)

RemoveOracleMember is a paid mutator transaction binding the contract method 0x53985e5a.

Solidity: function removeOracleMember(address oracleMemberAddress, uint256 oracleMemberIndex) returns()

func (*ContractTransactor) RenounceOwnership

func (_Contract *ContractTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ContractTransactor) SetRewardRecipient

func (_Contract *ContractTransactor) SetRewardRecipient(opts *bind.TransactOpts, rewardAddress common.Address) (*types.Transaction, error)

SetRewardRecipient is a paid mutator transaction binding the contract method 0xe521136f.

Solidity: function setRewardRecipient(address rewardAddress) returns()

func (*ContractTransactor) SubmitReport

func (_Contract *ContractTransactor) SubmitReport(opts *bind.TransactOpts, slotNumber uint64, proposedRewardsRoot [32]byte) (*types.Transaction, error)

SubmitReport is a paid mutator transaction binding the contract method 0xb539f38b.

Solidity: function submitReport(uint64 slotNumber, bytes32 proposedRewardsRoot) returns()

func (*ContractTransactor) SubscribeValidator

func (_Contract *ContractTransactor) SubscribeValidator(opts *bind.TransactOpts, validatorID uint64) (*types.Transaction, error)

SubscribeValidator is a paid mutator transaction binding the contract method 0xb9cd552e.

Solidity: function subscribeValidator(uint64 validatorID) payable returns()

func (*ContractTransactor) SubscribeValidators

func (_Contract *ContractTransactor) SubscribeValidators(opts *bind.TransactOpts, validatorIDArray []uint64) (*types.Transaction, error)

SubscribeValidators is a paid mutator transaction binding the contract method 0x5bc37534.

Solidity: function subscribeValidators(uint64[] validatorIDArray) payable returns()

func (*ContractTransactor) TransferGovernance

func (_Contract *ContractTransactor) TransferGovernance(opts *bind.TransactOpts, newPendingGovernance common.Address) (*types.Transaction, error)

TransferGovernance is a paid mutator transaction binding the contract method 0xd38bfff4.

Solidity: function transferGovernance(address newPendingGovernance) returns()

func (*ContractTransactor) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

func (*ContractTransactor) UnsubscribeValidator

func (_Contract *ContractTransactor) UnsubscribeValidator(opts *bind.TransactOpts, validatorID uint64) (*types.Transaction, error)

UnsubscribeValidator is a paid mutator transaction binding the contract method 0xc1542c52.

Solidity: function unsubscribeValidator(uint64 validatorID) returns()

func (*ContractTransactor) UpdateCheckpointSlotSize

func (_Contract *ContractTransactor) UpdateCheckpointSlotSize(opts *bind.TransactOpts, newCheckpointSlotSize uint64) (*types.Transaction, error)

UpdateCheckpointSlotSize is a paid mutator transaction binding the contract method 0x38d092b9.

Solidity: function updateCheckpointSlotSize(uint64 newCheckpointSlotSize) returns()

func (*ContractTransactor) UpdateCollateral

func (_Contract *ContractTransactor) UpdateCollateral(opts *bind.TransactOpts, newSubscriptionCollateral *big.Int) (*types.Transaction, error)

UpdateCollateral is a paid mutator transaction binding the contract method 0x6721de26.

Solidity: function updateCollateral(uint256 newSubscriptionCollateral) returns()

func (*ContractTransactor) UpdatePoolFee

func (_Contract *ContractTransactor) UpdatePoolFee(opts *bind.TransactOpts, newPoolFee *big.Int) (*types.Transaction, error)

UpdatePoolFee is a paid mutator transaction binding the contract method 0xc2cac04b.

Solidity: function updatePoolFee(uint256 newPoolFee) returns()

func (*ContractTransactor) UpdatePoolFeeRecipient

func (_Contract *ContractTransactor) UpdatePoolFeeRecipient(opts *bind.TransactOpts, newPoolFeeRecipient common.Address) (*types.Transaction, error)

UpdatePoolFeeRecipient is a paid mutator transaction binding the contract method 0x6cf9dfad.

Solidity: function updatePoolFeeRecipient(address newPoolFeeRecipient) returns()

func (*ContractTransactor) UpdateQuorum

func (_Contract *ContractTransactor) UpdateQuorum(opts *bind.TransactOpts, newQuorum uint64) (*types.Transaction, error)

UpdateQuorum is a paid mutator transaction binding the contract method 0x29218b61.

Solidity: function updateQuorum(uint64 newQuorum) returns()

type ContractTransactorRaw

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

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

func (*ContractTransactorRaw) Transact

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

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

func (*ContractTransactorRaw) Transfer

func (_Contract *ContractTransactorRaw) 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 ContractTransactorSession

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

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

func (*ContractTransactorSession) AcceptGovernance

func (_Contract *ContractTransactorSession) AcceptGovernance() (*types.Transaction, error)

AcceptGovernance is a paid mutator transaction binding the contract method 0x238efcbc.

Solidity: function acceptGovernance() returns()

func (*ContractTransactorSession) AddOracleMember

func (_Contract *ContractTransactorSession) AddOracleMember(newOracleMember common.Address) (*types.Transaction, error)

AddOracleMember is a paid mutator transaction binding the contract method 0xb164e437.

Solidity: function addOracleMember(address newOracleMember) returns()

func (*ContractTransactorSession) ClaimRewards

func (_Contract *ContractTransactorSession) ClaimRewards(withdrawalAddress common.Address, accumulatedBalance *big.Int, merkleProof [][32]byte) (*types.Transaction, error)

ClaimRewards is a paid mutator transaction binding the contract method 0xd64bc331.

Solidity: function claimRewards(address withdrawalAddress, uint256 accumulatedBalance, bytes32[] merkleProof) returns()

func (*ContractTransactorSession) Fallback

func (_Contract *ContractTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

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

Solidity: fallback() payable returns()

func (*ContractTransactorSession) InitSmoothingPool

func (_Contract *ContractTransactorSession) InitSmoothingPool(initialSmoothingPoolSlot uint64) (*types.Transaction, error)

InitSmoothingPool is a paid mutator transaction binding the contract method 0x3964bdca.

Solidity: function initSmoothingPool(uint64 initialSmoothingPoolSlot) returns()

func (*ContractTransactorSession) Initialize

func (_Contract *ContractTransactorSession) Initialize(_governance common.Address, _subscriptionCollateral *big.Int, _poolFee *big.Int, _poolFeeRecipient common.Address, _checkpointSlotSize uint64, _quorum uint64) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x151e4d3d.

Solidity: function initialize(address _governance, uint256 _subscriptionCollateral, uint256 _poolFee, address _poolFeeRecipient, uint64 _checkpointSlotSize, uint64 _quorum) returns()

func (*ContractTransactorSession) RemoveOracleMember

func (_Contract *ContractTransactorSession) RemoveOracleMember(oracleMemberAddress common.Address, oracleMemberIndex *big.Int) (*types.Transaction, error)

RemoveOracleMember is a paid mutator transaction binding the contract method 0x53985e5a.

Solidity: function removeOracleMember(address oracleMemberAddress, uint256 oracleMemberIndex) returns()

func (*ContractTransactorSession) RenounceOwnership

func (_Contract *ContractTransactorSession) RenounceOwnership() (*types.Transaction, error)

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

Solidity: function renounceOwnership() returns()

func (*ContractTransactorSession) SetRewardRecipient

func (_Contract *ContractTransactorSession) SetRewardRecipient(rewardAddress common.Address) (*types.Transaction, error)

SetRewardRecipient is a paid mutator transaction binding the contract method 0xe521136f.

Solidity: function setRewardRecipient(address rewardAddress) returns()

func (*ContractTransactorSession) SubmitReport

func (_Contract *ContractTransactorSession) SubmitReport(slotNumber uint64, proposedRewardsRoot [32]byte) (*types.Transaction, error)

SubmitReport is a paid mutator transaction binding the contract method 0xb539f38b.

Solidity: function submitReport(uint64 slotNumber, bytes32 proposedRewardsRoot) returns()

func (*ContractTransactorSession) SubscribeValidator

func (_Contract *ContractTransactorSession) SubscribeValidator(validatorID uint64) (*types.Transaction, error)

SubscribeValidator is a paid mutator transaction binding the contract method 0xb9cd552e.

Solidity: function subscribeValidator(uint64 validatorID) payable returns()

func (*ContractTransactorSession) SubscribeValidators

func (_Contract *ContractTransactorSession) SubscribeValidators(validatorIDArray []uint64) (*types.Transaction, error)

SubscribeValidators is a paid mutator transaction binding the contract method 0x5bc37534.

Solidity: function subscribeValidators(uint64[] validatorIDArray) payable returns()

func (*ContractTransactorSession) TransferGovernance

func (_Contract *ContractTransactorSession) TransferGovernance(newPendingGovernance common.Address) (*types.Transaction, error)

TransferGovernance is a paid mutator transaction binding the contract method 0xd38bfff4.

Solidity: function transferGovernance(address newPendingGovernance) returns()

func (*ContractTransactorSession) TransferOwnership

func (_Contract *ContractTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*ContractTransactorSession) UnsubscribeValidator

func (_Contract *ContractTransactorSession) UnsubscribeValidator(validatorID uint64) (*types.Transaction, error)

UnsubscribeValidator is a paid mutator transaction binding the contract method 0xc1542c52.

Solidity: function unsubscribeValidator(uint64 validatorID) returns()

func (*ContractTransactorSession) UpdateCheckpointSlotSize

func (_Contract *ContractTransactorSession) UpdateCheckpointSlotSize(newCheckpointSlotSize uint64) (*types.Transaction, error)

UpdateCheckpointSlotSize is a paid mutator transaction binding the contract method 0x38d092b9.

Solidity: function updateCheckpointSlotSize(uint64 newCheckpointSlotSize) returns()

func (*ContractTransactorSession) UpdateCollateral

func (_Contract *ContractTransactorSession) UpdateCollateral(newSubscriptionCollateral *big.Int) (*types.Transaction, error)

UpdateCollateral is a paid mutator transaction binding the contract method 0x6721de26.

Solidity: function updateCollateral(uint256 newSubscriptionCollateral) returns()

func (*ContractTransactorSession) UpdatePoolFee

func (_Contract *ContractTransactorSession) UpdatePoolFee(newPoolFee *big.Int) (*types.Transaction, error)

UpdatePoolFee is a paid mutator transaction binding the contract method 0xc2cac04b.

Solidity: function updatePoolFee(uint256 newPoolFee) returns()

func (*ContractTransactorSession) UpdatePoolFeeRecipient

func (_Contract *ContractTransactorSession) UpdatePoolFeeRecipient(newPoolFeeRecipient common.Address) (*types.Transaction, error)

UpdatePoolFeeRecipient is a paid mutator transaction binding the contract method 0x6cf9dfad.

Solidity: function updatePoolFeeRecipient(address newPoolFeeRecipient) returns()

func (*ContractTransactorSession) UpdateQuorum

func (_Contract *ContractTransactorSession) UpdateQuorum(newQuorum uint64) (*types.Transaction, error)

UpdateQuorum is a paid mutator transaction binding the contract method 0x29218b61.

Solidity: function updateQuorum(uint64 newQuorum) returns()

type ContractTransferGovernance

type ContractTransferGovernance struct {
	NewPendingGovernance common.Address
	Raw                  types.Log // Blockchain specific contextual infos
}

ContractTransferGovernance represents a TransferGovernance event raised by the Contract contract.

type ContractTransferGovernanceIterator

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

ContractTransferGovernanceIterator is returned from FilterTransferGovernance and is used to iterate over the raw logs and unpacked data for TransferGovernance events raised by the Contract contract.

func (*ContractTransferGovernanceIterator) Close

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

func (*ContractTransferGovernanceIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractTransferGovernanceIterator) 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 ContractUnsubscribeValidator

type ContractUnsubscribeValidator struct {
	Sender      common.Address
	ValidatorID uint64
	Raw         types.Log // Blockchain specific contextual infos
}

ContractUnsubscribeValidator represents a UnsubscribeValidator event raised by the Contract contract.

type ContractUnsubscribeValidatorIterator

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

ContractUnsubscribeValidatorIterator is returned from FilterUnsubscribeValidator and is used to iterate over the raw logs and unpacked data for UnsubscribeValidator events raised by the Contract contract.

func (*ContractUnsubscribeValidatorIterator) Close

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

func (*ContractUnsubscribeValidatorIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractUnsubscribeValidatorIterator) 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 ContractUpdateCheckpointSlotSize

type ContractUpdateCheckpointSlotSize struct {
	NewCheckpointSlotSize uint64
	Raw                   types.Log // Blockchain specific contextual infos
}

ContractUpdateCheckpointSlotSize represents a UpdateCheckpointSlotSize event raised by the Contract contract.

type ContractUpdateCheckpointSlotSizeIterator

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

ContractUpdateCheckpointSlotSizeIterator is returned from FilterUpdateCheckpointSlotSize and is used to iterate over the raw logs and unpacked data for UpdateCheckpointSlotSize events raised by the Contract contract.

func (*ContractUpdateCheckpointSlotSizeIterator) Close

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

func (*ContractUpdateCheckpointSlotSizeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractUpdateCheckpointSlotSizeIterator) 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 ContractUpdatePoolFee

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

ContractUpdatePoolFee represents a UpdatePoolFee event raised by the Contract contract.

type ContractUpdatePoolFeeIterator

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

ContractUpdatePoolFeeIterator is returned from FilterUpdatePoolFee and is used to iterate over the raw logs and unpacked data for UpdatePoolFee events raised by the Contract contract.

func (*ContractUpdatePoolFeeIterator) Close

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

func (*ContractUpdatePoolFeeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractUpdatePoolFeeIterator) 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 ContractUpdatePoolFeeRecipient

type ContractUpdatePoolFeeRecipient struct {
	NewPoolFeeRecipient common.Address
	Raw                 types.Log // Blockchain specific contextual infos
}

ContractUpdatePoolFeeRecipient represents a UpdatePoolFeeRecipient event raised by the Contract contract.

type ContractUpdatePoolFeeRecipientIterator

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

ContractUpdatePoolFeeRecipientIterator is returned from FilterUpdatePoolFeeRecipient and is used to iterate over the raw logs and unpacked data for UpdatePoolFeeRecipient events raised by the Contract contract.

func (*ContractUpdatePoolFeeRecipientIterator) Close

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

func (*ContractUpdatePoolFeeRecipientIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractUpdatePoolFeeRecipientIterator) 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 ContractUpdateQuorum

type ContractUpdateQuorum struct {
	NewQuorum uint64
	Raw       types.Log // Blockchain specific contextual infos
}

ContractUpdateQuorum represents a UpdateQuorum event raised by the Contract contract.

type ContractUpdateQuorumIterator

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

ContractUpdateQuorumIterator is returned from FilterUpdateQuorum and is used to iterate over the raw logs and unpacked data for UpdateQuorum events raised by the Contract contract.

func (*ContractUpdateQuorumIterator) Close

func (it *ContractUpdateQuorumIterator) Close() error

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

func (*ContractUpdateQuorumIterator) Error

func (it *ContractUpdateQuorumIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractUpdateQuorumIterator) 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 ContractUpdateSubscriptionCollateral

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

ContractUpdateSubscriptionCollateral represents a UpdateSubscriptionCollateral event raised by the Contract contract.

type ContractUpdateSubscriptionCollateralIterator

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

ContractUpdateSubscriptionCollateralIterator is returned from FilterUpdateSubscriptionCollateral and is used to iterate over the raw logs and unpacked data for UpdateSubscriptionCollateral events raised by the Contract contract.

func (*ContractUpdateSubscriptionCollateralIterator) Close

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

func (*ContractUpdateSubscriptionCollateralIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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