node_deposit

package
v0.0.0-...-1845101 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Copyright 2024 Stafi Protocol SPDX-License-Identifier: LGPL-3.0-only

Index

Constants

This section is empty.

Variables

View Source
var NodeDepositABI = NodeDepositMetaData.ABI

NodeDepositABI is the input ABI used to generate the binding from. Deprecated: Use NodeDepositMetaData.ABI instead.

View Source
var NodeDepositMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AddressNotAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyClaimed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyDealedEpoch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyDealedHeight\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyNotifiedCycle\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyVoted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountNotZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountUnmatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BalanceNotEnough\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BlockNotMatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimableAmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimableDepositZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimableRewardZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimableWithdrawIndexOverflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CommissionRateInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CycleNotMatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DepositAmountGTMaxAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DepositAmountLTMinAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EmptyEntrustedVoters\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EthAmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedToCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidMerkleProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidThreshold\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LengthNotMatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LsdTokenAmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LsdTokenCanOnlyUseOnce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NodeAlreadyExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NodeAlreadyRemoved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NodeNotClaimable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotAuthorizedLsdToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotClaimable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotPubkeyOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotTrustNode\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ProposalExecFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PubkeyAlreadyExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PubkeyNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PubkeyNumberOverLimit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PubkeyStatusUnmatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RateChangeOverLimit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SoloNodeDepositAmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SoloNodeDepositDisabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SubmitBalancesDisabled\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"min\",\"type\":\"uint256\"}],\"name\":\"TooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TrustNodeDepositDisabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UserDepositDisabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VotersDuplicate\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VotersNotEnough\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VotersNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WithdrawIndexEmpty\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"node\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"enumINodeDeposit.NodeType\",\"name\":\"nodeType\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"pubkey\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"validatorSignature\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"EtherDeposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"pubkey\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"enumINodeDeposit.PubkeyStatus\",\"name\":\"status\",\"type\":\"uint8\"}],\"name\":\"SetPubkeyStatus\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"node\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"pubkey\",\"type\":\"bytes\"}],\"name\":\"Staked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_trustNodeAddress\",\"type\":\"address\"}],\"name\":\"addTrustNode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"_validatorPubkeys\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes[]\",\"name\":\"_validatorSignatures\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_depositDataRoots\",\"type\":\"bytes32[]\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ethDepositAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_start\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_end\",\"type\":\"uint256\"}],\"name\":\"getNodes\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"nodeList\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNodesLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_node\",\"type\":\"address\"}],\"name\":\"getPubkeysOfNode\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"\",\"type\":\"bytes[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_userDepositAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_ethDepositAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_networkProposalAddress\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_withdrawCredentials\",\"type\":\"bytes\"}],\"name\":\"init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"networkProposalAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nodeInfoOf\",\"outputs\":[{\"internalType\":\"enumINodeDeposit.NodeType\",\"name\":\"_nodeType\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"_removed\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"nodes\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"pubkeyInfoOf\",\"outputs\":[{\"internalType\":\"enumINodeDeposit.PubkeyStatus\",\"name\":\"_status\",\"type\":\"uint8\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_nodeDepositAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_depositBlock\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"pubkeysOfNode\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reinit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_trustNodeAddress\",\"type\":\"address\"}],\"name\":\"removeTrustNode\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_validatorPubkey\",\"type\":\"bytes\"},{\"internalType\":\"enumINodeDeposit.PubkeyStatus\",\"name\":\"_status\",\"type\":\"uint8\"}],\"name\":\"setNodePubkeyStatus\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"setSoloNodeDepositAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_value\",\"type\":\"bool\"}],\"name\":\"setSoloNodeDepositEnabled\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_value\",\"type\":\"bool\"}],\"name\":\"setTrustNodeDepositEnabled\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setTrustNodePubkeyLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_withdrawCredentials\",\"type\":\"bytes\"}],\"name\":\"setWithdrawCredentials\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"soloNodeDepositAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"soloNodeDepositEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes[]\",\"name\":\"_validatorPubkeys\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes[]\",\"name\":\"_validatorSignatures\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"_depositDataRoots\",\"type\":\"bytes32[]\"}],\"name\":\"stake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"trustNodeDepositEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"trustNodePubkeyNumberLimit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"userDepositAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_pubkey\",\"type\":\"bytes\"},{\"internalType\":\"bool\",\"name\":\"_match\",\"type\":\"bool\"}],\"name\":\"voteWithdrawCredentials\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawCredentials\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

NodeDepositMetaData contains all meta data concerning the NodeDeposit contract.

Functions

This section is empty.

Types

type CustomNodeDeposit

type CustomNodeDeposit struct {
	*NodeDeposit
	// contains filtered or unexported fields
}

func NewCustomNodeDeposit

func NewCustomNodeDeposit(address common.Address, backend bind.ContractBackend, multiCaller *multicall.Caller) (*CustomNodeDeposit, error)

NewNodeDeposit creates a new instance of NodeDeposit, bound to a specific deployed contract.

func (*CustomNodeDeposit) GetPubkeyInfoList

func (nodeDeposit *CustomNodeDeposit) GetPubkeyInfoList(opts *bind.CallOpts, pubkeys [][]byte) (map[string]*GetPubkeyInfoListOutput, error)

func (*CustomNodeDeposit) GetPubkeysOfNodes

func (nodeDeposit *CustomNodeDeposit) GetPubkeysOfNodes(opts *bind.CallOpts, _nodes []common.Address) (map[common.Address]pubkeyList, error)

func (*CustomNodeDeposit) NewGetNodesLengthMultiCall

func (nodeDeposit *CustomNodeDeposit) NewGetNodesLengthMultiCall() *multicall.Call

type GetNodesLengthMultiCallOutput

type GetNodesLengthMultiCallOutput struct {
	Length *big.Int
}

type GetPubkeyInfoListOutput

type GetPubkeyInfoListOutput struct {
	Status            uint8
	Owner             common.Address
	NodeDepositAmount *big.Int
	DepositBlock      *big.Int
}

type GetPubkeysOfNodeOutput

type GetPubkeysOfNodeOutput struct {
	List pubkeyList
}

type NodeDeposit

type NodeDeposit struct {
	NodeDepositCaller     // Read-only binding to the contract
	NodeDepositTransactor // Write-only binding to the contract
	NodeDepositFilterer   // Log filterer for contract events
}

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

func NewNodeDeposit

func NewNodeDeposit(address common.Address, backend bind.ContractBackend) (*NodeDeposit, error)

NewNodeDeposit creates a new instance of NodeDeposit, bound to a specific deployed contract.

type NodeDepositAdminChanged

type NodeDepositAdminChanged struct {
	PreviousAdmin common.Address
	NewAdmin      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

NodeDepositAdminChanged represents a AdminChanged event raised by the NodeDeposit contract.

type NodeDepositAdminChangedIterator

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

NodeDepositAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the NodeDeposit contract.

func (*NodeDepositAdminChangedIterator) Close

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

func (*NodeDepositAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type NodeDepositBeaconUpgraded struct {
	Beacon common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

NodeDepositBeaconUpgraded represents a BeaconUpgraded event raised by the NodeDeposit contract.

type NodeDepositBeaconUpgradedIterator

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

NodeDepositBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the NodeDeposit contract.

func (*NodeDepositBeaconUpgradedIterator) Close

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

func (*NodeDepositBeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func NewNodeDepositCaller

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

NewNodeDepositCaller creates a new read-only instance of NodeDeposit, bound to a specific deployed contract.

func (*NodeDepositCaller) EthDepositAddress

func (_NodeDeposit *NodeDepositCaller) EthDepositAddress(opts *bind.CallOpts) (common.Address, error)

EthDepositAddress is a free data retrieval call binding the contract method 0xb420feb2.

Solidity: function ethDepositAddress() view returns(address)

func (*NodeDepositCaller) GetNodes

func (_NodeDeposit *NodeDepositCaller) GetNodes(opts *bind.CallOpts, _start *big.Int, _end *big.Int) ([]common.Address, error)

GetNodes is a free data retrieval call binding the contract method 0x038d67e8.

Solidity: function getNodes(uint256 _start, uint256 _end) view returns(address[] nodeList)

func (*NodeDepositCaller) GetNodesLength

func (_NodeDeposit *NodeDepositCaller) GetNodesLength(opts *bind.CallOpts) (*big.Int, error)

GetNodesLength is a free data retrieval call binding the contract method 0x1821aa62.

Solidity: function getNodesLength() view returns(uint256)

func (*NodeDepositCaller) GetPubkeysOfNode

func (_NodeDeposit *NodeDepositCaller) GetPubkeysOfNode(opts *bind.CallOpts, _node common.Address) ([][]byte, error)

GetPubkeysOfNode is a free data retrieval call binding the contract method 0xac1464a3.

Solidity: function getPubkeysOfNode(address _node) view returns(bytes[])

func (*NodeDepositCaller) NetworkProposalAddress

func (_NodeDeposit *NodeDepositCaller) NetworkProposalAddress(opts *bind.CallOpts) (common.Address, error)

NetworkProposalAddress is a free data retrieval call binding the contract method 0xb4701c09.

Solidity: function networkProposalAddress() view returns(address)

func (*NodeDepositCaller) NodeInfoOf

func (_NodeDeposit *NodeDepositCaller) NodeInfoOf(opts *bind.CallOpts, arg0 common.Address) (struct {
	NodeType uint8
	Removed  bool
}, error)

NodeInfoOf is a free data retrieval call binding the contract method 0x0fdefd36.

Solidity: function nodeInfoOf(address ) view returns(uint8 _nodeType, bool _removed)

func (*NodeDepositCaller) Nodes

func (_NodeDeposit *NodeDepositCaller) Nodes(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Nodes is a free data retrieval call binding the contract method 0x1c53c280.

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

func (*NodeDepositCaller) ProxiableUUID

func (_NodeDeposit *NodeDepositCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)

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

Solidity: function proxiableUUID() view returns(bytes32)

func (*NodeDepositCaller) PubkeyInfoOf

func (_NodeDeposit *NodeDepositCaller) PubkeyInfoOf(opts *bind.CallOpts, arg0 []byte) (struct {
	Status            uint8
	Owner             common.Address
	NodeDepositAmount *big.Int
	DepositBlock      *big.Int
}, error)

PubkeyInfoOf is a free data retrieval call binding the contract method 0xd6c9f4c0.

Solidity: function pubkeyInfoOf(bytes ) view returns(uint8 _status, address _owner, uint256 _nodeDepositAmount, uint256 _depositBlock)

func (*NodeDepositCaller) PubkeysOfNode

func (_NodeDeposit *NodeDepositCaller) PubkeysOfNode(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) ([]byte, error)

PubkeysOfNode is a free data retrieval call binding the contract method 0xa6b9ba17.

Solidity: function pubkeysOfNode(address , uint256 ) view returns(bytes)

func (*NodeDepositCaller) SoloNodeDepositAmount

func (_NodeDeposit *NodeDepositCaller) SoloNodeDepositAmount(opts *bind.CallOpts) (*big.Int, error)

SoloNodeDepositAmount is a free data retrieval call binding the contract method 0x0fc6d510.

Solidity: function soloNodeDepositAmount() view returns(uint256)

func (*NodeDepositCaller) SoloNodeDepositEnabled

func (_NodeDeposit *NodeDepositCaller) SoloNodeDepositEnabled(opts *bind.CallOpts) (bool, error)

SoloNodeDepositEnabled is a free data retrieval call binding the contract method 0x70a70b8f.

Solidity: function soloNodeDepositEnabled() view returns(bool)

func (*NodeDepositCaller) TrustNodeDepositEnabled

func (_NodeDeposit *NodeDepositCaller) TrustNodeDepositEnabled(opts *bind.CallOpts) (bool, error)

TrustNodeDepositEnabled is a free data retrieval call binding the contract method 0xc2e6d64c.

Solidity: function trustNodeDepositEnabled() view returns(bool)

func (*NodeDepositCaller) TrustNodePubkeyNumberLimit

func (_NodeDeposit *NodeDepositCaller) TrustNodePubkeyNumberLimit(opts *bind.CallOpts) (*big.Int, error)

TrustNodePubkeyNumberLimit is a free data retrieval call binding the contract method 0x7fe1852a.

Solidity: function trustNodePubkeyNumberLimit() view returns(uint256)

func (*NodeDepositCaller) UserDepositAddress

func (_NodeDeposit *NodeDepositCaller) UserDepositAddress(opts *bind.CallOpts) (common.Address, error)

UserDepositAddress is a free data retrieval call binding the contract method 0x46773830.

Solidity: function userDepositAddress() view returns(address)

func (*NodeDepositCaller) Version

func (_NodeDeposit *NodeDepositCaller) Version(opts *bind.CallOpts) (uint8, error)

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

Solidity: function version() view returns(uint8)

func (*NodeDepositCaller) WithdrawCredentials

func (_NodeDeposit *NodeDepositCaller) WithdrawCredentials(opts *bind.CallOpts) ([]byte, error)

WithdrawCredentials is a free data retrieval call binding the contract method 0xb62be945.

Solidity: function withdrawCredentials() view returns(bytes)

type NodeDepositCallerRaw

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

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

func (*NodeDepositCallerRaw) Call

func (_NodeDeposit *NodeDepositCallerRaw) 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 NodeDepositCallerSession

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

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

func (*NodeDepositCallerSession) EthDepositAddress

func (_NodeDeposit *NodeDepositCallerSession) EthDepositAddress() (common.Address, error)

EthDepositAddress is a free data retrieval call binding the contract method 0xb420feb2.

Solidity: function ethDepositAddress() view returns(address)

func (*NodeDepositCallerSession) GetNodes

func (_NodeDeposit *NodeDepositCallerSession) GetNodes(_start *big.Int, _end *big.Int) ([]common.Address, error)

GetNodes is a free data retrieval call binding the contract method 0x038d67e8.

Solidity: function getNodes(uint256 _start, uint256 _end) view returns(address[] nodeList)

func (*NodeDepositCallerSession) GetNodesLength

func (_NodeDeposit *NodeDepositCallerSession) GetNodesLength() (*big.Int, error)

GetNodesLength is a free data retrieval call binding the contract method 0x1821aa62.

Solidity: function getNodesLength() view returns(uint256)

func (*NodeDepositCallerSession) GetPubkeysOfNode

func (_NodeDeposit *NodeDepositCallerSession) GetPubkeysOfNode(_node common.Address) ([][]byte, error)

GetPubkeysOfNode is a free data retrieval call binding the contract method 0xac1464a3.

Solidity: function getPubkeysOfNode(address _node) view returns(bytes[])

func (*NodeDepositCallerSession) NetworkProposalAddress

func (_NodeDeposit *NodeDepositCallerSession) NetworkProposalAddress() (common.Address, error)

NetworkProposalAddress is a free data retrieval call binding the contract method 0xb4701c09.

Solidity: function networkProposalAddress() view returns(address)

func (*NodeDepositCallerSession) NodeInfoOf

func (_NodeDeposit *NodeDepositCallerSession) NodeInfoOf(arg0 common.Address) (struct {
	NodeType uint8
	Removed  bool
}, error)

NodeInfoOf is a free data retrieval call binding the contract method 0x0fdefd36.

Solidity: function nodeInfoOf(address ) view returns(uint8 _nodeType, bool _removed)

func (*NodeDepositCallerSession) Nodes

func (_NodeDeposit *NodeDepositCallerSession) Nodes(arg0 *big.Int) (common.Address, error)

Nodes is a free data retrieval call binding the contract method 0x1c53c280.

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

func (*NodeDepositCallerSession) ProxiableUUID

func (_NodeDeposit *NodeDepositCallerSession) ProxiableUUID() ([32]byte, error)

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

Solidity: function proxiableUUID() view returns(bytes32)

func (*NodeDepositCallerSession) PubkeyInfoOf

func (_NodeDeposit *NodeDepositCallerSession) PubkeyInfoOf(arg0 []byte) (struct {
	Status            uint8
	Owner             common.Address
	NodeDepositAmount *big.Int
	DepositBlock      *big.Int
}, error)

PubkeyInfoOf is a free data retrieval call binding the contract method 0xd6c9f4c0.

Solidity: function pubkeyInfoOf(bytes ) view returns(uint8 _status, address _owner, uint256 _nodeDepositAmount, uint256 _depositBlock)

func (*NodeDepositCallerSession) PubkeysOfNode

func (_NodeDeposit *NodeDepositCallerSession) PubkeysOfNode(arg0 common.Address, arg1 *big.Int) ([]byte, error)

PubkeysOfNode is a free data retrieval call binding the contract method 0xa6b9ba17.

Solidity: function pubkeysOfNode(address , uint256 ) view returns(bytes)

func (*NodeDepositCallerSession) SoloNodeDepositAmount

func (_NodeDeposit *NodeDepositCallerSession) SoloNodeDepositAmount() (*big.Int, error)

SoloNodeDepositAmount is a free data retrieval call binding the contract method 0x0fc6d510.

Solidity: function soloNodeDepositAmount() view returns(uint256)

func (*NodeDepositCallerSession) SoloNodeDepositEnabled

func (_NodeDeposit *NodeDepositCallerSession) SoloNodeDepositEnabled() (bool, error)

SoloNodeDepositEnabled is a free data retrieval call binding the contract method 0x70a70b8f.

Solidity: function soloNodeDepositEnabled() view returns(bool)

func (*NodeDepositCallerSession) TrustNodeDepositEnabled

func (_NodeDeposit *NodeDepositCallerSession) TrustNodeDepositEnabled() (bool, error)

TrustNodeDepositEnabled is a free data retrieval call binding the contract method 0xc2e6d64c.

Solidity: function trustNodeDepositEnabled() view returns(bool)

func (*NodeDepositCallerSession) TrustNodePubkeyNumberLimit

func (_NodeDeposit *NodeDepositCallerSession) TrustNodePubkeyNumberLimit() (*big.Int, error)

TrustNodePubkeyNumberLimit is a free data retrieval call binding the contract method 0x7fe1852a.

Solidity: function trustNodePubkeyNumberLimit() view returns(uint256)

func (*NodeDepositCallerSession) UserDepositAddress

func (_NodeDeposit *NodeDepositCallerSession) UserDepositAddress() (common.Address, error)

UserDepositAddress is a free data retrieval call binding the contract method 0x46773830.

Solidity: function userDepositAddress() view returns(address)

func (*NodeDepositCallerSession) Version

func (_NodeDeposit *NodeDepositCallerSession) Version() (uint8, error)

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

Solidity: function version() view returns(uint8)

func (*NodeDepositCallerSession) WithdrawCredentials

func (_NodeDeposit *NodeDepositCallerSession) WithdrawCredentials() ([]byte, error)

WithdrawCredentials is a free data retrieval call binding the contract method 0xb62be945.

Solidity: function withdrawCredentials() view returns(bytes)

type NodeDepositDeposited

type NodeDepositDeposited struct {
	Node               common.Address
	NodeType           uint8
	Pubkey             []byte
	ValidatorSignature []byte
	Amount             *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

NodeDepositDeposited represents a Deposited event raised by the NodeDeposit contract.

type NodeDepositDepositedIterator

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

NodeDepositDepositedIterator is returned from FilterDeposited and is used to iterate over the raw logs and unpacked data for Deposited events raised by the NodeDeposit contract.

func (*NodeDepositDepositedIterator) Close

func (it *NodeDepositDepositedIterator) Close() error

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

func (*NodeDepositDepositedIterator) Error

func (it *NodeDepositDepositedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

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

type NodeDepositEtherDeposited struct {
	From   common.Address
	Amount *big.Int
	Time   *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

NodeDepositEtherDeposited represents a EtherDeposited event raised by the NodeDeposit contract.

type NodeDepositEtherDepositedIterator

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

NodeDepositEtherDepositedIterator is returned from FilterEtherDeposited and is used to iterate over the raw logs and unpacked data for EtherDeposited events raised by the NodeDeposit contract.

func (*NodeDepositEtherDepositedIterator) Close

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

func (*NodeDepositEtherDepositedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func NewNodeDepositFilterer

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

NewNodeDepositFilterer creates a new log filterer instance of NodeDeposit, bound to a specific deployed contract.

func (*NodeDepositFilterer) FilterAdminChanged

func (_NodeDeposit *NodeDepositFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*NodeDepositAdminChangedIterator, error)

FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*NodeDepositFilterer) FilterBeaconUpgraded

func (_NodeDeposit *NodeDepositFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*NodeDepositBeaconUpgradedIterator, error)

FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*NodeDepositFilterer) FilterDeposited

func (_NodeDeposit *NodeDepositFilterer) FilterDeposited(opts *bind.FilterOpts) (*NodeDepositDepositedIterator, error)

FilterDeposited is a free log retrieval operation binding the contract event 0x765ed32e3058b9b6f85a409a5e6c225161f8b02555a254720491a1e47d5dc131.

Solidity: event Deposited(address node, uint8 nodeType, bytes pubkey, bytes validatorSignature, uint256 amount)

func (*NodeDepositFilterer) FilterEtherDeposited

func (_NodeDeposit *NodeDepositFilterer) FilterEtherDeposited(opts *bind.FilterOpts, from []common.Address) (*NodeDepositEtherDepositedIterator, error)

FilterEtherDeposited is a free log retrieval operation binding the contract event 0xef51b4c870b8b0100eae2072e91db01222a303072af3728e58c9d4d2da33127f.

Solidity: event EtherDeposited(address indexed from, uint256 amount, uint256 time)

func (*NodeDepositFilterer) FilterInitialized

func (_NodeDeposit *NodeDepositFilterer) FilterInitialized(opts *bind.FilterOpts) (*NodeDepositInitializedIterator, error)

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

Solidity: event Initialized(uint8 version)

func (*NodeDepositFilterer) FilterSetPubkeyStatus

func (_NodeDeposit *NodeDepositFilterer) FilterSetPubkeyStatus(opts *bind.FilterOpts) (*NodeDepositSetPubkeyStatusIterator, error)

FilterSetPubkeyStatus is a free log retrieval operation binding the contract event 0x1ca9918016060bae952954327fda778333672e209a1713f8c77b27d0ea23d19e.

Solidity: event SetPubkeyStatus(bytes pubkey, uint8 status)

func (*NodeDepositFilterer) FilterStaked

func (_NodeDeposit *NodeDepositFilterer) FilterStaked(opts *bind.FilterOpts) (*NodeDepositStakedIterator, error)

FilterStaked is a free log retrieval operation binding the contract event 0xb384b282308c431ac3ea7756646550752d3f0dbfb418ef60bfeaf4edc9494815.

Solidity: event Staked(address node, bytes pubkey)

func (*NodeDepositFilterer) FilterUpgraded

func (_NodeDeposit *NodeDepositFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*NodeDepositUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*NodeDepositFilterer) ParseAdminChanged

func (_NodeDeposit *NodeDepositFilterer) ParseAdminChanged(log types.Log) (*NodeDepositAdminChanged, error)

ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*NodeDepositFilterer) ParseBeaconUpgraded

func (_NodeDeposit *NodeDepositFilterer) ParseBeaconUpgraded(log types.Log) (*NodeDepositBeaconUpgraded, error)

ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*NodeDepositFilterer) ParseDeposited

func (_NodeDeposit *NodeDepositFilterer) ParseDeposited(log types.Log) (*NodeDepositDeposited, error)

ParseDeposited is a log parse operation binding the contract event 0x765ed32e3058b9b6f85a409a5e6c225161f8b02555a254720491a1e47d5dc131.

Solidity: event Deposited(address node, uint8 nodeType, bytes pubkey, bytes validatorSignature, uint256 amount)

func (*NodeDepositFilterer) ParseEtherDeposited

func (_NodeDeposit *NodeDepositFilterer) ParseEtherDeposited(log types.Log) (*NodeDepositEtherDeposited, error)

ParseEtherDeposited is a log parse operation binding the contract event 0xef51b4c870b8b0100eae2072e91db01222a303072af3728e58c9d4d2da33127f.

Solidity: event EtherDeposited(address indexed from, uint256 amount, uint256 time)

func (*NodeDepositFilterer) ParseInitialized

func (_NodeDeposit *NodeDepositFilterer) ParseInitialized(log types.Log) (*NodeDepositInitialized, error)

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

Solidity: event Initialized(uint8 version)

func (*NodeDepositFilterer) ParseSetPubkeyStatus

func (_NodeDeposit *NodeDepositFilterer) ParseSetPubkeyStatus(log types.Log) (*NodeDepositSetPubkeyStatus, error)

ParseSetPubkeyStatus is a log parse operation binding the contract event 0x1ca9918016060bae952954327fda778333672e209a1713f8c77b27d0ea23d19e.

Solidity: event SetPubkeyStatus(bytes pubkey, uint8 status)

func (*NodeDepositFilterer) ParseStaked

func (_NodeDeposit *NodeDepositFilterer) ParseStaked(log types.Log) (*NodeDepositStaked, error)

ParseStaked is a log parse operation binding the contract event 0xb384b282308c431ac3ea7756646550752d3f0dbfb418ef60bfeaf4edc9494815.

Solidity: event Staked(address node, bytes pubkey)

func (*NodeDepositFilterer) ParseUpgraded

func (_NodeDeposit *NodeDepositFilterer) ParseUpgraded(log types.Log) (*NodeDepositUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*NodeDepositFilterer) WatchAdminChanged

func (_NodeDeposit *NodeDepositFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *NodeDepositAdminChanged) (event.Subscription, error)

WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*NodeDepositFilterer) WatchBeaconUpgraded

func (_NodeDeposit *NodeDepositFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *NodeDepositBeaconUpgraded, beacon []common.Address) (event.Subscription, error)

WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*NodeDepositFilterer) WatchDeposited

func (_NodeDeposit *NodeDepositFilterer) WatchDeposited(opts *bind.WatchOpts, sink chan<- *NodeDepositDeposited) (event.Subscription, error)

WatchDeposited is a free log subscription operation binding the contract event 0x765ed32e3058b9b6f85a409a5e6c225161f8b02555a254720491a1e47d5dc131.

Solidity: event Deposited(address node, uint8 nodeType, bytes pubkey, bytes validatorSignature, uint256 amount)

func (*NodeDepositFilterer) WatchEtherDeposited

func (_NodeDeposit *NodeDepositFilterer) WatchEtherDeposited(opts *bind.WatchOpts, sink chan<- *NodeDepositEtherDeposited, from []common.Address) (event.Subscription, error)

WatchEtherDeposited is a free log subscription operation binding the contract event 0xef51b4c870b8b0100eae2072e91db01222a303072af3728e58c9d4d2da33127f.

Solidity: event EtherDeposited(address indexed from, uint256 amount, uint256 time)

func (*NodeDepositFilterer) WatchInitialized

func (_NodeDeposit *NodeDepositFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *NodeDepositInitialized) (event.Subscription, error)

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

Solidity: event Initialized(uint8 version)

func (*NodeDepositFilterer) WatchSetPubkeyStatus

func (_NodeDeposit *NodeDepositFilterer) WatchSetPubkeyStatus(opts *bind.WatchOpts, sink chan<- *NodeDepositSetPubkeyStatus) (event.Subscription, error)

WatchSetPubkeyStatus is a free log subscription operation binding the contract event 0x1ca9918016060bae952954327fda778333672e209a1713f8c77b27d0ea23d19e.

Solidity: event SetPubkeyStatus(bytes pubkey, uint8 status)

func (*NodeDepositFilterer) WatchStaked

func (_NodeDeposit *NodeDepositFilterer) WatchStaked(opts *bind.WatchOpts, sink chan<- *NodeDepositStaked) (event.Subscription, error)

WatchStaked is a free log subscription operation binding the contract event 0xb384b282308c431ac3ea7756646550752d3f0dbfb418ef60bfeaf4edc9494815.

Solidity: event Staked(address node, bytes pubkey)

func (*NodeDepositFilterer) WatchUpgraded

func (_NodeDeposit *NodeDepositFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *NodeDepositUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

type NodeDepositInitialized

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

NodeDepositInitialized represents a Initialized event raised by the NodeDeposit contract.

type NodeDepositInitializedIterator

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

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

func (*NodeDepositInitializedIterator) Close

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

func (*NodeDepositInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

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

func (*NodeDepositRaw) Call

func (_NodeDeposit *NodeDepositRaw) 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 (*NodeDepositRaw) Transact

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

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

func (*NodeDepositRaw) Transfer

func (_NodeDeposit *NodeDepositRaw) 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 NodeDepositSession

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

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

func (*NodeDepositSession) AddTrustNode

func (_NodeDeposit *NodeDepositSession) AddTrustNode(_trustNodeAddress common.Address) (*types.Transaction, error)

AddTrustNode is a paid mutator transaction binding the contract method 0xea5c80f1.

Solidity: function addTrustNode(address _trustNodeAddress) returns()

func (*NodeDepositSession) Deposit

func (_NodeDeposit *NodeDepositSession) Deposit(_validatorPubkeys [][]byte, _validatorSignatures [][]byte, _depositDataRoots [][32]byte) (*types.Transaction, error)

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

Solidity: function deposit(bytes[] _validatorPubkeys, bytes[] _validatorSignatures, bytes32[] _depositDataRoots) payable returns()

func (*NodeDepositSession) DepositEth

func (_NodeDeposit *NodeDepositSession) DepositEth() (*types.Transaction, error)

DepositEth is a paid mutator transaction binding the contract method 0x439370b1.

Solidity: function depositEth() payable returns()

func (*NodeDepositSession) EthDepositAddress

func (_NodeDeposit *NodeDepositSession) EthDepositAddress() (common.Address, error)

EthDepositAddress is a free data retrieval call binding the contract method 0xb420feb2.

Solidity: function ethDepositAddress() view returns(address)

func (*NodeDepositSession) GetNodes

func (_NodeDeposit *NodeDepositSession) GetNodes(_start *big.Int, _end *big.Int) ([]common.Address, error)

GetNodes is a free data retrieval call binding the contract method 0x038d67e8.

Solidity: function getNodes(uint256 _start, uint256 _end) view returns(address[] nodeList)

func (*NodeDepositSession) GetNodesLength

func (_NodeDeposit *NodeDepositSession) GetNodesLength() (*big.Int, error)

GetNodesLength is a free data retrieval call binding the contract method 0x1821aa62.

Solidity: function getNodesLength() view returns(uint256)

func (*NodeDepositSession) GetPubkeysOfNode

func (_NodeDeposit *NodeDepositSession) GetPubkeysOfNode(_node common.Address) ([][]byte, error)

GetPubkeysOfNode is a free data retrieval call binding the contract method 0xac1464a3.

Solidity: function getPubkeysOfNode(address _node) view returns(bytes[])

func (*NodeDepositSession) Init

func (_NodeDeposit *NodeDepositSession) Init(_userDepositAddress common.Address, _ethDepositAddress common.Address, _networkProposalAddress common.Address, _withdrawCredentials []byte) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xdfdfbd0b.

Solidity: function init(address _userDepositAddress, address _ethDepositAddress, address _networkProposalAddress, bytes _withdrawCredentials) returns()

func (*NodeDepositSession) NetworkProposalAddress

func (_NodeDeposit *NodeDepositSession) NetworkProposalAddress() (common.Address, error)

NetworkProposalAddress is a free data retrieval call binding the contract method 0xb4701c09.

Solidity: function networkProposalAddress() view returns(address)

func (*NodeDepositSession) NodeInfoOf

func (_NodeDeposit *NodeDepositSession) NodeInfoOf(arg0 common.Address) (struct {
	NodeType uint8
	Removed  bool
}, error)

NodeInfoOf is a free data retrieval call binding the contract method 0x0fdefd36.

Solidity: function nodeInfoOf(address ) view returns(uint8 _nodeType, bool _removed)

func (*NodeDepositSession) Nodes

func (_NodeDeposit *NodeDepositSession) Nodes(arg0 *big.Int) (common.Address, error)

Nodes is a free data retrieval call binding the contract method 0x1c53c280.

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

func (*NodeDepositSession) ProxiableUUID

func (_NodeDeposit *NodeDepositSession) ProxiableUUID() ([32]byte, error)

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

Solidity: function proxiableUUID() view returns(bytes32)

func (*NodeDepositSession) PubkeyInfoOf

func (_NodeDeposit *NodeDepositSession) PubkeyInfoOf(arg0 []byte) (struct {
	Status            uint8
	Owner             common.Address
	NodeDepositAmount *big.Int
	DepositBlock      *big.Int
}, error)

PubkeyInfoOf is a free data retrieval call binding the contract method 0xd6c9f4c0.

Solidity: function pubkeyInfoOf(bytes ) view returns(uint8 _status, address _owner, uint256 _nodeDepositAmount, uint256 _depositBlock)

func (*NodeDepositSession) PubkeysOfNode

func (_NodeDeposit *NodeDepositSession) PubkeysOfNode(arg0 common.Address, arg1 *big.Int) ([]byte, error)

PubkeysOfNode is a free data retrieval call binding the contract method 0xa6b9ba17.

Solidity: function pubkeysOfNode(address , uint256 ) view returns(bytes)

func (*NodeDepositSession) Reinit

func (_NodeDeposit *NodeDepositSession) Reinit() (*types.Transaction, error)

Reinit is a paid mutator transaction binding the contract method 0xc482ceaf.

Solidity: function reinit() returns()

func (*NodeDepositSession) RemoveTrustNode

func (_NodeDeposit *NodeDepositSession) RemoveTrustNode(_trustNodeAddress common.Address) (*types.Transaction, error)

RemoveTrustNode is a paid mutator transaction binding the contract method 0x5ffffad6.

Solidity: function removeTrustNode(address _trustNodeAddress) returns()

func (*NodeDepositSession) SetNodePubkeyStatus

func (_NodeDeposit *NodeDepositSession) SetNodePubkeyStatus(_validatorPubkey []byte, _status uint8) (*types.Transaction, error)

SetNodePubkeyStatus is a paid mutator transaction binding the contract method 0xd1dd8614.

Solidity: function setNodePubkeyStatus(bytes _validatorPubkey, uint8 _status) returns()

func (*NodeDepositSession) SetSoloNodeDepositAmount

func (_NodeDeposit *NodeDepositSession) SetSoloNodeDepositAmount(_amount *big.Int) (*types.Transaction, error)

SetSoloNodeDepositAmount is a paid mutator transaction binding the contract method 0x7ac75644.

Solidity: function setSoloNodeDepositAmount(uint256 _amount) returns()

func (*NodeDepositSession) SetSoloNodeDepositEnabled

func (_NodeDeposit *NodeDepositSession) SetSoloNodeDepositEnabled(_value bool) (*types.Transaction, error)

SetSoloNodeDepositEnabled is a paid mutator transaction binding the contract method 0xb89358a7.

Solidity: function setSoloNodeDepositEnabled(bool _value) returns()

func (*NodeDepositSession) SetTrustNodeDepositEnabled

func (_NodeDeposit *NodeDepositSession) SetTrustNodeDepositEnabled(_value bool) (*types.Transaction, error)

SetTrustNodeDepositEnabled is a paid mutator transaction binding the contract method 0xcce0835e.

Solidity: function setTrustNodeDepositEnabled(bool _value) returns()

func (*NodeDepositSession) SetTrustNodePubkeyLimit

func (_NodeDeposit *NodeDepositSession) SetTrustNodePubkeyLimit(_value *big.Int) (*types.Transaction, error)

SetTrustNodePubkeyLimit is a paid mutator transaction binding the contract method 0x7a0c1aa4.

Solidity: function setTrustNodePubkeyLimit(uint256 _value) returns()

func (*NodeDepositSession) SetWithdrawCredentials

func (_NodeDeposit *NodeDepositSession) SetWithdrawCredentials(_withdrawCredentials []byte) (*types.Transaction, error)

SetWithdrawCredentials is a paid mutator transaction binding the contract method 0xe4304698.

Solidity: function setWithdrawCredentials(bytes _withdrawCredentials) returns()

func (*NodeDepositSession) SoloNodeDepositAmount

func (_NodeDeposit *NodeDepositSession) SoloNodeDepositAmount() (*big.Int, error)

SoloNodeDepositAmount is a free data retrieval call binding the contract method 0x0fc6d510.

Solidity: function soloNodeDepositAmount() view returns(uint256)

func (*NodeDepositSession) SoloNodeDepositEnabled

func (_NodeDeposit *NodeDepositSession) SoloNodeDepositEnabled() (bool, error)

SoloNodeDepositEnabled is a free data retrieval call binding the contract method 0x70a70b8f.

Solidity: function soloNodeDepositEnabled() view returns(bool)

func (*NodeDepositSession) Stake

func (_NodeDeposit *NodeDepositSession) Stake(_validatorPubkeys [][]byte, _validatorSignatures [][]byte, _depositDataRoots [][32]byte) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xca2b87af.

Solidity: function stake(bytes[] _validatorPubkeys, bytes[] _validatorSignatures, bytes32[] _depositDataRoots) returns()

func (*NodeDepositSession) TrustNodeDepositEnabled

func (_NodeDeposit *NodeDepositSession) TrustNodeDepositEnabled() (bool, error)

TrustNodeDepositEnabled is a free data retrieval call binding the contract method 0xc2e6d64c.

Solidity: function trustNodeDepositEnabled() view returns(bool)

func (*NodeDepositSession) TrustNodePubkeyNumberLimit

func (_NodeDeposit *NodeDepositSession) TrustNodePubkeyNumberLimit() (*big.Int, error)

TrustNodePubkeyNumberLimit is a free data retrieval call binding the contract method 0x7fe1852a.

Solidity: function trustNodePubkeyNumberLimit() view returns(uint256)

func (*NodeDepositSession) UpgradeTo

func (_NodeDeposit *NodeDepositSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*NodeDepositSession) UpgradeToAndCall

func (_NodeDeposit *NodeDepositSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*NodeDepositSession) UserDepositAddress

func (_NodeDeposit *NodeDepositSession) UserDepositAddress() (common.Address, error)

UserDepositAddress is a free data retrieval call binding the contract method 0x46773830.

Solidity: function userDepositAddress() view returns(address)

func (*NodeDepositSession) Version

func (_NodeDeposit *NodeDepositSession) Version() (uint8, error)

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

Solidity: function version() view returns(uint8)

func (*NodeDepositSession) VoteWithdrawCredentials

func (_NodeDeposit *NodeDepositSession) VoteWithdrawCredentials(_pubkey []byte, _match bool) (*types.Transaction, error)

VoteWithdrawCredentials is a paid mutator transaction binding the contract method 0x5952629b.

Solidity: function voteWithdrawCredentials(bytes _pubkey, bool _match) returns()

func (*NodeDepositSession) WithdrawCredentials

func (_NodeDeposit *NodeDepositSession) WithdrawCredentials() ([]byte, error)

WithdrawCredentials is a free data retrieval call binding the contract method 0xb62be945.

Solidity: function withdrawCredentials() view returns(bytes)

type NodeDepositSetPubkeyStatus

type NodeDepositSetPubkeyStatus struct {
	Pubkey []byte
	Status uint8
	Raw    types.Log // Blockchain specific contextual infos
}

NodeDepositSetPubkeyStatus represents a SetPubkeyStatus event raised by the NodeDeposit contract.

type NodeDepositSetPubkeyStatusIterator

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

NodeDepositSetPubkeyStatusIterator is returned from FilterSetPubkeyStatus and is used to iterate over the raw logs and unpacked data for SetPubkeyStatus events raised by the NodeDeposit contract.

func (*NodeDepositSetPubkeyStatusIterator) Close

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

func (*NodeDepositSetPubkeyStatusIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

type NodeDepositStaked struct {
	Node   common.Address
	Pubkey []byte
	Raw    types.Log // Blockchain specific contextual infos
}

NodeDepositStaked represents a Staked event raised by the NodeDeposit contract.

type NodeDepositStakedIterator

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

NodeDepositStakedIterator is returned from FilterStaked and is used to iterate over the raw logs and unpacked data for Staked events raised by the NodeDeposit contract.

func (*NodeDepositStakedIterator) Close

func (it *NodeDepositStakedIterator) Close() error

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

func (*NodeDepositStakedIterator) Error

func (it *NodeDepositStakedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NodeDepositStakedIterator) Next

func (it *NodeDepositStakedIterator) 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 NodeDepositTransactor

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

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

func NewNodeDepositTransactor

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

NewNodeDepositTransactor creates a new write-only instance of NodeDeposit, bound to a specific deployed contract.

func (*NodeDepositTransactor) AddTrustNode

func (_NodeDeposit *NodeDepositTransactor) AddTrustNode(opts *bind.TransactOpts, _trustNodeAddress common.Address) (*types.Transaction, error)

AddTrustNode is a paid mutator transaction binding the contract method 0xea5c80f1.

Solidity: function addTrustNode(address _trustNodeAddress) returns()

func (*NodeDepositTransactor) Deposit

func (_NodeDeposit *NodeDepositTransactor) Deposit(opts *bind.TransactOpts, _validatorPubkeys [][]byte, _validatorSignatures [][]byte, _depositDataRoots [][32]byte) (*types.Transaction, error)

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

Solidity: function deposit(bytes[] _validatorPubkeys, bytes[] _validatorSignatures, bytes32[] _depositDataRoots) payable returns()

func (*NodeDepositTransactor) DepositEth

func (_NodeDeposit *NodeDepositTransactor) DepositEth(opts *bind.TransactOpts) (*types.Transaction, error)

DepositEth is a paid mutator transaction binding the contract method 0x439370b1.

Solidity: function depositEth() payable returns()

func (*NodeDepositTransactor) Init

func (_NodeDeposit *NodeDepositTransactor) Init(opts *bind.TransactOpts, _userDepositAddress common.Address, _ethDepositAddress common.Address, _networkProposalAddress common.Address, _withdrawCredentials []byte) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xdfdfbd0b.

Solidity: function init(address _userDepositAddress, address _ethDepositAddress, address _networkProposalAddress, bytes _withdrawCredentials) returns()

func (*NodeDepositTransactor) Reinit

func (_NodeDeposit *NodeDepositTransactor) Reinit(opts *bind.TransactOpts) (*types.Transaction, error)

Reinit is a paid mutator transaction binding the contract method 0xc482ceaf.

Solidity: function reinit() returns()

func (*NodeDepositTransactor) RemoveTrustNode

func (_NodeDeposit *NodeDepositTransactor) RemoveTrustNode(opts *bind.TransactOpts, _trustNodeAddress common.Address) (*types.Transaction, error)

RemoveTrustNode is a paid mutator transaction binding the contract method 0x5ffffad6.

Solidity: function removeTrustNode(address _trustNodeAddress) returns()

func (*NodeDepositTransactor) SetNodePubkeyStatus

func (_NodeDeposit *NodeDepositTransactor) SetNodePubkeyStatus(opts *bind.TransactOpts, _validatorPubkey []byte, _status uint8) (*types.Transaction, error)

SetNodePubkeyStatus is a paid mutator transaction binding the contract method 0xd1dd8614.

Solidity: function setNodePubkeyStatus(bytes _validatorPubkey, uint8 _status) returns()

func (*NodeDepositTransactor) SetSoloNodeDepositAmount

func (_NodeDeposit *NodeDepositTransactor) SetSoloNodeDepositAmount(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

SetSoloNodeDepositAmount is a paid mutator transaction binding the contract method 0x7ac75644.

Solidity: function setSoloNodeDepositAmount(uint256 _amount) returns()

func (*NodeDepositTransactor) SetSoloNodeDepositEnabled

func (_NodeDeposit *NodeDepositTransactor) SetSoloNodeDepositEnabled(opts *bind.TransactOpts, _value bool) (*types.Transaction, error)

SetSoloNodeDepositEnabled is a paid mutator transaction binding the contract method 0xb89358a7.

Solidity: function setSoloNodeDepositEnabled(bool _value) returns()

func (*NodeDepositTransactor) SetTrustNodeDepositEnabled

func (_NodeDeposit *NodeDepositTransactor) SetTrustNodeDepositEnabled(opts *bind.TransactOpts, _value bool) (*types.Transaction, error)

SetTrustNodeDepositEnabled is a paid mutator transaction binding the contract method 0xcce0835e.

Solidity: function setTrustNodeDepositEnabled(bool _value) returns()

func (*NodeDepositTransactor) SetTrustNodePubkeyLimit

func (_NodeDeposit *NodeDepositTransactor) SetTrustNodePubkeyLimit(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)

SetTrustNodePubkeyLimit is a paid mutator transaction binding the contract method 0x7a0c1aa4.

Solidity: function setTrustNodePubkeyLimit(uint256 _value) returns()

func (*NodeDepositTransactor) SetWithdrawCredentials

func (_NodeDeposit *NodeDepositTransactor) SetWithdrawCredentials(opts *bind.TransactOpts, _withdrawCredentials []byte) (*types.Transaction, error)

SetWithdrawCredentials is a paid mutator transaction binding the contract method 0xe4304698.

Solidity: function setWithdrawCredentials(bytes _withdrawCredentials) returns()

func (*NodeDepositTransactor) Stake

func (_NodeDeposit *NodeDepositTransactor) Stake(opts *bind.TransactOpts, _validatorPubkeys [][]byte, _validatorSignatures [][]byte, _depositDataRoots [][32]byte) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xca2b87af.

Solidity: function stake(bytes[] _validatorPubkeys, bytes[] _validatorSignatures, bytes32[] _depositDataRoots) returns()

func (*NodeDepositTransactor) UpgradeTo

func (_NodeDeposit *NodeDepositTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*NodeDepositTransactor) UpgradeToAndCall

func (_NodeDeposit *NodeDepositTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*NodeDepositTransactor) VoteWithdrawCredentials

func (_NodeDeposit *NodeDepositTransactor) VoteWithdrawCredentials(opts *bind.TransactOpts, _pubkey []byte, _match bool) (*types.Transaction, error)

VoteWithdrawCredentials is a paid mutator transaction binding the contract method 0x5952629b.

Solidity: function voteWithdrawCredentials(bytes _pubkey, bool _match) returns()

type NodeDepositTransactorRaw

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

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

func (*NodeDepositTransactorRaw) Transact

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

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

func (*NodeDepositTransactorRaw) Transfer

func (_NodeDeposit *NodeDepositTransactorRaw) 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 NodeDepositTransactorSession

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

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

func (*NodeDepositTransactorSession) AddTrustNode

func (_NodeDeposit *NodeDepositTransactorSession) AddTrustNode(_trustNodeAddress common.Address) (*types.Transaction, error)

AddTrustNode is a paid mutator transaction binding the contract method 0xea5c80f1.

Solidity: function addTrustNode(address _trustNodeAddress) returns()

func (*NodeDepositTransactorSession) Deposit

func (_NodeDeposit *NodeDepositTransactorSession) Deposit(_validatorPubkeys [][]byte, _validatorSignatures [][]byte, _depositDataRoots [][32]byte) (*types.Transaction, error)

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

Solidity: function deposit(bytes[] _validatorPubkeys, bytes[] _validatorSignatures, bytes32[] _depositDataRoots) payable returns()

func (*NodeDepositTransactorSession) DepositEth

func (_NodeDeposit *NodeDepositTransactorSession) DepositEth() (*types.Transaction, error)

DepositEth is a paid mutator transaction binding the contract method 0x439370b1.

Solidity: function depositEth() payable returns()

func (*NodeDepositTransactorSession) Init

func (_NodeDeposit *NodeDepositTransactorSession) Init(_userDepositAddress common.Address, _ethDepositAddress common.Address, _networkProposalAddress common.Address, _withdrawCredentials []byte) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0xdfdfbd0b.

Solidity: function init(address _userDepositAddress, address _ethDepositAddress, address _networkProposalAddress, bytes _withdrawCredentials) returns()

func (*NodeDepositTransactorSession) Reinit

func (_NodeDeposit *NodeDepositTransactorSession) Reinit() (*types.Transaction, error)

Reinit is a paid mutator transaction binding the contract method 0xc482ceaf.

Solidity: function reinit() returns()

func (*NodeDepositTransactorSession) RemoveTrustNode

func (_NodeDeposit *NodeDepositTransactorSession) RemoveTrustNode(_trustNodeAddress common.Address) (*types.Transaction, error)

RemoveTrustNode is a paid mutator transaction binding the contract method 0x5ffffad6.

Solidity: function removeTrustNode(address _trustNodeAddress) returns()

func (*NodeDepositTransactorSession) SetNodePubkeyStatus

func (_NodeDeposit *NodeDepositTransactorSession) SetNodePubkeyStatus(_validatorPubkey []byte, _status uint8) (*types.Transaction, error)

SetNodePubkeyStatus is a paid mutator transaction binding the contract method 0xd1dd8614.

Solidity: function setNodePubkeyStatus(bytes _validatorPubkey, uint8 _status) returns()

func (*NodeDepositTransactorSession) SetSoloNodeDepositAmount

func (_NodeDeposit *NodeDepositTransactorSession) SetSoloNodeDepositAmount(_amount *big.Int) (*types.Transaction, error)

SetSoloNodeDepositAmount is a paid mutator transaction binding the contract method 0x7ac75644.

Solidity: function setSoloNodeDepositAmount(uint256 _amount) returns()

func (*NodeDepositTransactorSession) SetSoloNodeDepositEnabled

func (_NodeDeposit *NodeDepositTransactorSession) SetSoloNodeDepositEnabled(_value bool) (*types.Transaction, error)

SetSoloNodeDepositEnabled is a paid mutator transaction binding the contract method 0xb89358a7.

Solidity: function setSoloNodeDepositEnabled(bool _value) returns()

func (*NodeDepositTransactorSession) SetTrustNodeDepositEnabled

func (_NodeDeposit *NodeDepositTransactorSession) SetTrustNodeDepositEnabled(_value bool) (*types.Transaction, error)

SetTrustNodeDepositEnabled is a paid mutator transaction binding the contract method 0xcce0835e.

Solidity: function setTrustNodeDepositEnabled(bool _value) returns()

func (*NodeDepositTransactorSession) SetTrustNodePubkeyLimit

func (_NodeDeposit *NodeDepositTransactorSession) SetTrustNodePubkeyLimit(_value *big.Int) (*types.Transaction, error)

SetTrustNodePubkeyLimit is a paid mutator transaction binding the contract method 0x7a0c1aa4.

Solidity: function setTrustNodePubkeyLimit(uint256 _value) returns()

func (*NodeDepositTransactorSession) SetWithdrawCredentials

func (_NodeDeposit *NodeDepositTransactorSession) SetWithdrawCredentials(_withdrawCredentials []byte) (*types.Transaction, error)

SetWithdrawCredentials is a paid mutator transaction binding the contract method 0xe4304698.

Solidity: function setWithdrawCredentials(bytes _withdrawCredentials) returns()

func (*NodeDepositTransactorSession) Stake

func (_NodeDeposit *NodeDepositTransactorSession) Stake(_validatorPubkeys [][]byte, _validatorSignatures [][]byte, _depositDataRoots [][32]byte) (*types.Transaction, error)

Stake is a paid mutator transaction binding the contract method 0xca2b87af.

Solidity: function stake(bytes[] _validatorPubkeys, bytes[] _validatorSignatures, bytes32[] _depositDataRoots) returns()

func (*NodeDepositTransactorSession) UpgradeTo

func (_NodeDeposit *NodeDepositTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*NodeDepositTransactorSession) UpgradeToAndCall

func (_NodeDeposit *NodeDepositTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*NodeDepositTransactorSession) VoteWithdrawCredentials

func (_NodeDeposit *NodeDepositTransactorSession) VoteWithdrawCredentials(_pubkey []byte, _match bool) (*types.Transaction, error)

VoteWithdrawCredentials is a paid mutator transaction binding the contract method 0x5952629b.

Solidity: function voteWithdrawCredentials(bytes _pubkey, bool _match) returns()

type NodeDepositUpgraded

type NodeDepositUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

NodeDepositUpgraded represents a Upgraded event raised by the NodeDeposit contract.

type NodeDepositUpgradedIterator

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

NodeDepositUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the NodeDeposit contract.

func (*NodeDepositUpgradedIterator) Close

func (it *NodeDepositUpgradedIterator) Close() error

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

func (*NodeDepositUpgradedIterator) Error

func (it *NodeDepositUpgradedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*NodeDepositUpgradedIterator) Next

func (it *NodeDepositUpgradedIterator) 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL