Documentation ¶
Overview ¶
Copyright 2022 Nethermind
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Variables
- func Rewards(network string, nodeID *big.Int) (*big.Int, error)
- type Csfeedistributor
- type CsfeedistributorCaller
- func (_Csfeedistributor *CsfeedistributorCaller) ACCOUNTING(opts *bind.CallOpts) (common.Address, error)
- func (_Csfeedistributor *CsfeedistributorCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Csfeedistributor *CsfeedistributorCaller) DistributedShares(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_Csfeedistributor *CsfeedistributorCaller) GetFeesToDistribute(opts *bind.CallOpts, nodeOperatorId *big.Int, shares *big.Int, ...) (*big.Int, error)
- func (_Csfeedistributor *CsfeedistributorCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_Csfeedistributor *CsfeedistributorCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
- func (_Csfeedistributor *CsfeedistributorCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
- func (_Csfeedistributor *CsfeedistributorCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_Csfeedistributor *CsfeedistributorCaller) HashLeaf(opts *bind.CallOpts, nodeOperatorId *big.Int, shares *big.Int) ([32]byte, error)
- func (_Csfeedistributor *CsfeedistributorCaller) ORACLE(opts *bind.CallOpts) (common.Address, error)
- func (_Csfeedistributor *CsfeedistributorCaller) PendingSharesToDistribute(opts *bind.CallOpts) (*big.Int, error)
- func (_Csfeedistributor *CsfeedistributorCaller) RECOVERERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_Csfeedistributor *CsfeedistributorCaller) STETH(opts *bind.CallOpts) (common.Address, error)
- func (_Csfeedistributor *CsfeedistributorCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_Csfeedistributor *CsfeedistributorCaller) TotalClaimableShares(opts *bind.CallOpts) (*big.Int, error)
- func (_Csfeedistributor *CsfeedistributorCaller) TreeCid(opts *bind.CallOpts) (string, error)
- func (_Csfeedistributor *CsfeedistributorCaller) TreeRoot(opts *bind.CallOpts) ([32]byte, error)
- type CsfeedistributorCallerRaw
- type CsfeedistributorCallerSession
- func (_Csfeedistributor *CsfeedistributorCallerSession) ACCOUNTING() (common.Address, error)
- func (_Csfeedistributor *CsfeedistributorCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Csfeedistributor *CsfeedistributorCallerSession) DistributedShares(arg0 *big.Int) (*big.Int, error)
- func (_Csfeedistributor *CsfeedistributorCallerSession) GetFeesToDistribute(nodeOperatorId *big.Int, shares *big.Int, proof [][32]byte) (*big.Int, error)
- func (_Csfeedistributor *CsfeedistributorCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Csfeedistributor *CsfeedistributorCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_Csfeedistributor *CsfeedistributorCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_Csfeedistributor *CsfeedistributorCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Csfeedistributor *CsfeedistributorCallerSession) HashLeaf(nodeOperatorId *big.Int, shares *big.Int) ([32]byte, error)
- func (_Csfeedistributor *CsfeedistributorCallerSession) ORACLE() (common.Address, error)
- func (_Csfeedistributor *CsfeedistributorCallerSession) PendingSharesToDistribute() (*big.Int, error)
- func (_Csfeedistributor *CsfeedistributorCallerSession) RECOVERERROLE() ([32]byte, error)
- func (_Csfeedistributor *CsfeedistributorCallerSession) STETH() (common.Address, error)
- func (_Csfeedistributor *CsfeedistributorCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Csfeedistributor *CsfeedistributorCallerSession) TotalClaimableShares() (*big.Int, error)
- func (_Csfeedistributor *CsfeedistributorCallerSession) TreeCid() (string, error)
- func (_Csfeedistributor *CsfeedistributorCallerSession) TreeRoot() ([32]byte, error)
- type CsfeedistributorDistributionDataUpdated
- type CsfeedistributorDistributionDataUpdatedIterator
- type CsfeedistributorERC1155Recovered
- type CsfeedistributorERC1155RecoveredIterator
- type CsfeedistributorERC20Recovered
- type CsfeedistributorERC20RecoveredIterator
- type CsfeedistributorERC721Recovered
- type CsfeedistributorERC721RecoveredIterator
- type CsfeedistributorEtherRecovered
- type CsfeedistributorEtherRecoveredIterator
- type CsfeedistributorFeeDistributed
- type CsfeedistributorFeeDistributedIterator
- type CsfeedistributorFilterer
- func (_Csfeedistributor *CsfeedistributorFilterer) FilterDistributionDataUpdated(opts *bind.FilterOpts) (*CsfeedistributorDistributionDataUpdatedIterator, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) FilterERC1155Recovered(opts *bind.FilterOpts, token []common.Address, recipient []common.Address) (*CsfeedistributorERC1155RecoveredIterator, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) FilterERC20Recovered(opts *bind.FilterOpts, token []common.Address, recipient []common.Address) (*CsfeedistributorERC20RecoveredIterator, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) FilterERC721Recovered(opts *bind.FilterOpts, token []common.Address, recipient []common.Address) (*CsfeedistributorERC721RecoveredIterator, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) FilterEtherRecovered(opts *bind.FilterOpts, recipient []common.Address) (*CsfeedistributorEtherRecoveredIterator, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) FilterFeeDistributed(opts *bind.FilterOpts, nodeOperatorId []*big.Int) (*CsfeedistributorFeeDistributedIterator, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) FilterInitialized(opts *bind.FilterOpts) (*CsfeedistributorInitializedIterator, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*CsfeedistributorRoleAdminChangedIterator, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*CsfeedistributorRoleGrantedIterator, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*CsfeedistributorRoleRevokedIterator, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) FilterStETHSharesRecovered(opts *bind.FilterOpts, recipient []common.Address) (*CsfeedistributorStETHSharesRecoveredIterator, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) ParseDistributionDataUpdated(log types.Log) (*CsfeedistributorDistributionDataUpdated, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) ParseERC1155Recovered(log types.Log) (*CsfeedistributorERC1155Recovered, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) ParseERC20Recovered(log types.Log) (*CsfeedistributorERC20Recovered, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) ParseERC721Recovered(log types.Log) (*CsfeedistributorERC721Recovered, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) ParseEtherRecovered(log types.Log) (*CsfeedistributorEtherRecovered, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) ParseFeeDistributed(log types.Log) (*CsfeedistributorFeeDistributed, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) ParseInitialized(log types.Log) (*CsfeedistributorInitialized, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) ParseRoleAdminChanged(log types.Log) (*CsfeedistributorRoleAdminChanged, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) ParseRoleGranted(log types.Log) (*CsfeedistributorRoleGranted, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) ParseRoleRevoked(log types.Log) (*CsfeedistributorRoleRevoked, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) ParseStETHSharesRecovered(log types.Log) (*CsfeedistributorStETHSharesRecovered, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) WatchDistributionDataUpdated(opts *bind.WatchOpts, sink chan<- *CsfeedistributorDistributionDataUpdated) (event.Subscription, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) WatchERC1155Recovered(opts *bind.WatchOpts, sink chan<- *CsfeedistributorERC1155Recovered, ...) (event.Subscription, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) WatchERC20Recovered(opts *bind.WatchOpts, sink chan<- *CsfeedistributorERC20Recovered, ...) (event.Subscription, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) WatchERC721Recovered(opts *bind.WatchOpts, sink chan<- *CsfeedistributorERC721Recovered, ...) (event.Subscription, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) WatchEtherRecovered(opts *bind.WatchOpts, sink chan<- *CsfeedistributorEtherRecovered, ...) (event.Subscription, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) WatchFeeDistributed(opts *bind.WatchOpts, sink chan<- *CsfeedistributorFeeDistributed, ...) (event.Subscription, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *CsfeedistributorInitialized) (event.Subscription, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *CsfeedistributorRoleAdminChanged, ...) (event.Subscription, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *CsfeedistributorRoleGranted, ...) (event.Subscription, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *CsfeedistributorRoleRevoked, ...) (event.Subscription, error)
- func (_Csfeedistributor *CsfeedistributorFilterer) WatchStETHSharesRecovered(opts *bind.WatchOpts, sink chan<- *CsfeedistributorStETHSharesRecovered, ...) (event.Subscription, error)
- type CsfeedistributorInitialized
- type CsfeedistributorInitializedIterator
- type CsfeedistributorRaw
- func (_Csfeedistributor *CsfeedistributorRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Csfeedistributor *CsfeedistributorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CsfeedistributorRoleAdminChanged
- type CsfeedistributorRoleAdminChangedIterator
- type CsfeedistributorRoleGranted
- type CsfeedistributorRoleGrantedIterator
- type CsfeedistributorRoleRevoked
- type CsfeedistributorRoleRevokedIterator
- type CsfeedistributorSession
- func (_Csfeedistributor *CsfeedistributorSession) ACCOUNTING() (common.Address, error)
- func (_Csfeedistributor *CsfeedistributorSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_Csfeedistributor *CsfeedistributorSession) DistributeFees(nodeOperatorId *big.Int, shares *big.Int, proof [][32]byte) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorSession) DistributedShares(arg0 *big.Int) (*big.Int, error)
- func (_Csfeedistributor *CsfeedistributorSession) GetFeesToDistribute(nodeOperatorId *big.Int, shares *big.Int, proof [][32]byte) (*big.Int, error)
- func (_Csfeedistributor *CsfeedistributorSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_Csfeedistributor *CsfeedistributorSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_Csfeedistributor *CsfeedistributorSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_Csfeedistributor *CsfeedistributorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_Csfeedistributor *CsfeedistributorSession) HashLeaf(nodeOperatorId *big.Int, shares *big.Int) ([32]byte, error)
- func (_Csfeedistributor *CsfeedistributorSession) Initialize(admin common.Address) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorSession) ORACLE() (common.Address, error)
- func (_Csfeedistributor *CsfeedistributorSession) PendingSharesToDistribute() (*big.Int, error)
- func (_Csfeedistributor *CsfeedistributorSession) ProcessOracleReport(_treeRoot [32]byte, _treeCid string, distributed *big.Int) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorSession) RECOVERERROLE() ([32]byte, error)
- func (_Csfeedistributor *CsfeedistributorSession) RecoverERC1155(token common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorSession) RecoverERC20(token common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorSession) RecoverERC721(token common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorSession) RecoverEther() (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorSession) STETH() (common.Address, error)
- func (_Csfeedistributor *CsfeedistributorSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_Csfeedistributor *CsfeedistributorSession) TotalClaimableShares() (*big.Int, error)
- func (_Csfeedistributor *CsfeedistributorSession) TreeCid() (string, error)
- func (_Csfeedistributor *CsfeedistributorSession) TreeRoot() ([32]byte, error)
- type CsfeedistributorStETHSharesRecovered
- type CsfeedistributorStETHSharesRecoveredIterator
- type CsfeedistributorTransactor
- func (_Csfeedistributor *CsfeedistributorTransactor) DistributeFees(opts *bind.TransactOpts, nodeOperatorId *big.Int, shares *big.Int, ...) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorTransactor) Initialize(opts *bind.TransactOpts, admin common.Address) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorTransactor) ProcessOracleReport(opts *bind.TransactOpts, _treeRoot [32]byte, _treeCid string, ...) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorTransactor) RecoverERC1155(opts *bind.TransactOpts, token common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorTransactor) RecoverERC20(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorTransactor) RecoverERC721(opts *bind.TransactOpts, token common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorTransactor) RecoverEther(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- type CsfeedistributorTransactorRaw
- type CsfeedistributorTransactorSession
- func (_Csfeedistributor *CsfeedistributorTransactorSession) DistributeFees(nodeOperatorId *big.Int, shares *big.Int, proof [][32]byte) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorTransactorSession) Initialize(admin common.Address) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorTransactorSession) ProcessOracleReport(_treeRoot [32]byte, _treeCid string, distributed *big.Int) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorTransactorSession) RecoverERC1155(token common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorTransactorSession) RecoverERC20(token common.Address, amount *big.Int) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorTransactorSession) RecoverERC721(token common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorTransactorSession) RecoverEther() (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
- func (_Csfeedistributor *CsfeedistributorTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- type Tree
Constants ¶
This section is empty.
Variables ¶
var CsfeedistributorABI = CsfeedistributorMetaData.ABI
CsfeedistributorABI is the input ABI used to generate the binding from. Deprecated: Use CsfeedistributorMetaData.ABI instead.
var CsfeedistributorBin = CsfeedistributorMetaData.Bin
CsfeedistributorBin is the compiled bytecode used for deploying new contracts. Deprecated: Use CsfeedistributorMetaData.Bin instead.
var CsfeedistributorMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"stETH\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"accounting\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"oracle\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AccessControlBadConfirmation\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"neededRole\",\"type\":\"bytes32\"}],\"name\":\"AccessControlUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedToSendEther\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FeeSharesDecrease\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitialization\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidShares\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidTreeCID\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidTreeRoot\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotAccounting\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotAllowedToRecover\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotEnoughShares\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotOracle\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAccountingAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroAdminAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroOracleAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ZeroStEthAddress\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"totalClaimableShares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"treeRoot\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"treeCid\",\"type\":\"string\"}],\"name\":\"DistributionDataUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"ERC1155Recovered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"ERC20Recovered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"ERC721Recovered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EtherRecovered\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"nodeOperatorId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"FeeDistributed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"StETHSharesRecovered\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ACCOUNTING\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ORACLE\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RECOVERER_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"STETH\",\"outputs\":[{\"internalType\":\"contractIStETH\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"nodeOperatorId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"distributeFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"sharesToDistribute\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"distributedShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"nodeOperatorId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"name\":\"getFeesToDistribute\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"sharesToDistribute\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getRoleMember\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleMemberCount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"nodeOperatorId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"hashLeaf\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"admin\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingSharesToDistribute\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_treeRoot\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"_treeCid\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"distributed\",\"type\":\"uint256\"}],\"name\":\"processOracleReport\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"recoverERC1155\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"recoverERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"recoverERC721\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"recoverEther\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"callerConfirmation\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalClaimableShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"treeCid\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"treeRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x608060405234801561000f575f80fd5b50600436106101a1575f3560e01c8063819d4cc6116100f3578063c4d66de811610093578063d547741f1161006e578063d547741f146103b7578063e00bfe50146103ca578063ea6301ab146103f1578063fe3c9b9b14610410575f80fd5b8063c4d66de814610389578063ca15c8731461039c578063d257cf2a146103af575f80fd5b806391d14854116100ce57806391d1485414610335578063a217fddf14610348578063acf1c9481461034f578063b66cf05814610376575f80fd5b8063819d4cc6146102fc5780638980f11f1461030f5780639010d07c14610322575f80fd5b806338013f021161015e5780635c654ad9116101395780635c654ad91461029c5780635e8e8f6f146102af5780636dc3f2bd146102c25780637e9f27ad146102e9575f80fd5b806338013f021461024c57806347d17d9d1461028b57806352d8bfc214610294575f80fd5b806301ffc9a7146101a557806314dc6c14146101cd57806321893f7b146101e3578063248a9ca3146101f65780632f2ff15d1461022457806336568abe14610239575b5f80fd5b6101b86101b336600461129e565b610425565b60405190151581526020015b60405180910390f35b6101d55f5481565b6040519081526020016101c4565b6101d56101f13660046112c5565b61044f565b6101d5610204366004611341565b5f9081525f805160206116cc833981519152602052604090206001015490565b610237610232366004611373565b6105e8565b005b610237610247366004611373565b61061e565b6102737f000000000000000000000000af57326c7d513085051b50912d51809ecc5d98ee81565b6040516001600160a01b0390911681526020016101c4565b6101d560035481565b610237610656565b6102376102aa36600461139d565b6106b2565b6101d56102bd3660046112c5565b61072d565b6102737f000000000000000000000000c093e53e8f4b55a223c18a2da6fa00e60dd5efe181565b6101d56102f73660046113c5565b6107a0565b61023761030a36600461139d565b6107f1565b61023761031d36600461139d565b610840565b6102736103303660046113c5565b6108e1565b6101b8610343366004611373565b610919565b6101d55f81565b6101d57fb3e25b5404b87e5a838579cb5d7481d61ad96ee284d38ec1e97c07ba64e7f6fc81565b6102376103843660046113e5565b61094f565b610237610397366004611460565b610b0f565b6101d56103aa366004611341565b610c4d565b6101d5610c8b565b6102376103c5366004611373565b610d26565b6102737f0000000000000000000000003f1c547b21f65e10480de3ad8e19faac46c9503481565b6101d56103ff366004611341565b60026020525f908152604090205481565b610418610d56565b6040516101c49190611479565b5f6001600160e01b03198216635a05180f60e01b1480610449575061044982610de2565b92915050565b5f336001600160a01b037f000000000000000000000000c093e53e8f4b55a223c18a2da6fa00e60dd5efe11614610499576040516318d9f40960e31b815260040160405180910390fd5b6104a58585858561072d565b9050805f036104b557505f6105e0565b8060035410156104d857604051633c57b48560e21b815260040160405180910390fd5b6003805482900390555f858152600260205260409081902080548301905551638fcb4e5b60e01b81526001600160a01b037f000000000000000000000000c093e53e8f4b55a223c18a2da6fa00e60dd5efe181166004830152602482018390527f0000000000000000000000003f1c547b21f65e10480de3ad8e19faac46c950341690638fcb4e5b906044016020604051808303815f875af1158015610580573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105a491906114c5565b50847f61930a6c1553eab59d5766da6e1bab8eba982aec848ae7683452f4a6423b6e4a826040516105d791815260200190565b60405180910390a25b949350505050565b5f8281525f805160206116cc833981519152602052604090206001015461060e81610e16565b6106188383610e23565b50505050565b6001600160a01b03811633146106475760405163334bd91960e11b815260040160405180910390fd5b6106518282610e78565b505050565b61065e610ec4565b73a74528edc289b1a597faf83fcff7eff871cc01d96352d8bfc26040518163ffffffff1660e01b81526004015f6040518083038186803b1580156106a0575f80fd5b505af4158015610618573d5f803e3d5ffd5b6106ba610ec4565b604051635c654ad960e01b81526001600160a01b03831660048201526024810182905273a74528edc289b1a597faf83fcff7eff871cc01d990635c654ad9906044015b5f6040518083038186803b158015610713575f80fd5b505af4158015610725573d5f803e3d5ffd5b505050505050565b5f8061074584845f546107408a8a6107a0565b610eef565b905080610765576040516309bde33960e01b815260040160405180910390fd5b5f868152600260205260409020548581111561079457604051636096ce8160e11b815260040160405180910390fd5b90940395945050505050565b60408051602081018490529081018290525f9060600160408051601f198184030181528282528051602091820120908301520160405160208183030381529060405280519060200120905092915050565b6107f9610ec4565b6040516340cea66360e11b81526001600160a01b03831660048201526024810182905273a74528edc289b1a597faf83fcff7eff871cc01d99063819d4cc6906044016106fd565b610848610ec4565b7f0000000000000000000000003f1c547b21f65e10480de3ad8e19faac46c950346001600160a01b0316826001600160a01b03160361089a576040516319efe5d760e21b815260040160405180910390fd5b604051638980f11f60e01b81526001600160a01b03831660048201526024810182905273a74528edc289b1a597faf83fcff7eff871cc01d990638980f11f906044016106fd565b5f8281527fc1f6fe24621ce81ec5827caf0253cadb74709b061630e6b55e823717059320006020819052604082206105e09084610f06565b5f9182525f805160206116cc833981519152602090815260408084206001600160a01b0393909316845291905290205460ff1690565b336001600160a01b037f000000000000000000000000af57326c7d513085051b50912d51809ecc5d98ee161461099857604051631bc2178f60e01b815260040160405180910390fd5b604051633d7ad0b760e21b81523060048201527f0000000000000000000000003f1c547b21f65e10480de3ad8e19faac46c950346001600160a01b03169063f5eb42dc90602401602060405180830381865afa1580156109fa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a1e91906114c5565b81600354610a2c91906114f0565b1115610a4b57604051636edcc52360e01b815260040160405180910390fd5b8015610618575f829003610a71576040516272916d60e51b815260040160405180910390fd5b83610a8f576040516357e86a3360e01b815260040160405180910390fd5b5f548403610ab0576040516357e86a3360e01b815260040160405180910390fd5b60038054820190555f8490556001610ac983858361159a565b507f26dec7cc117e9b3907dc1f90d2dc5f6e04dbb9f285f5898be2c82ec524dcd424600354858585604051610b019493929190611654565b60405180910390a150505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff165f81158015610b545750825b90505f8267ffffffffffffffff166001148015610b705750303b155b905081158015610b7e575080155b15610b9c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bc657845460ff60401b1916600160401b1785555b610bce610f11565b6001600160a01b038616610bf557604051633ef39b8160e01b815260040160405180910390fd5b610bff5f87610e23565b50831561072557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b5f8181527fc1f6fe24621ce81ec5827caf0253cadb74709b061630e6b55e82371705932000602081905260408220610c8490610f19565b9392505050565b600354604051633d7ad0b760e21b81523060048201525f91906001600160a01b037f0000000000000000000000003f1c547b21f65e10480de3ad8e19faac46c95034169063f5eb42dc90602401602060405180830381865afa158015610cf3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d1791906114c5565b610d219190611690565b905090565b5f8281525f805160206116cc8339815191526020526040902060010154610d4c81610e16565b6106188383610e78565b60018054610d6390611517565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8f90611517565b8015610dda5780601f10610db157610100808354040283529160200191610dda565b820191905f5260205f20905b815481529060010190602001808311610dbd57829003601f168201915b505050505081565b5f6001600160e01b03198216637965db0b60e01b148061044957506301ffc9a760e01b6001600160e01b0319831614610449565b610e208133610f22565b50565b5f7fc1f6fe24621ce81ec5827caf0253cadb74709b061630e6b55e8237170593200081610e508585610f63565b905080156105e0575f858152602083905260409020610e6f9085611004565b50949350505050565b5f7fc1f6fe24621ce81ec5827caf0253cadb74709b061630e6b55e8237170593200081610ea58585611018565b905080156105e0575f858152602083905260409020610e6f9085611091565b610eed7fb3e25b5404b87e5a838579cb5d7481d61ad96ee284d38ec1e97c07ba64e7f6fc610e16565b565b5f82610efc8686856110a5565b1495945050505050565b5f610c8483836110dd565b610eed611103565b5f610449825490565b610f2c8282610919565b610f5f5760405163e2517d3f60e01b81526001600160a01b03821660048201526024810183905260440160405180910390fd5b5050565b5f5f805160206116cc833981519152610f7c8484610919565b610ffb575f848152602082815260408083206001600160a01b03871684529091529020805460ff19166001179055610fb13390565b6001600160a01b0316836001600160a01b0316857f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a46001915050610449565b5f915050610449565b5f610c84836001600160a01b03841661114c565b5f5f805160206116cc8339815191526110318484610919565b15610ffb575f848152602082815260408083206001600160a01b0387168085529252808320805460ff1916905551339287917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a46001915050610449565b5f610c84836001600160a01b038416611198565b5f81815b84811015610e6f576110d3828787848181106110c7576110c76116a3565b90506020020135611272565b91506001016110a9565b5f825f0182815481106110f2576110f26116a3565b905f5260205f200154905092915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610eed57604051631afcd79f60e31b815260040160405180910390fd5b5f81815260018301602052604081205461119157508154600181810184555f848152602080822090930184905584548482528286019093526040902091909155610449565b505f610449565b5f8181526001830160205260408120548015610ffb575f6111ba600183611690565b85549091505f906111cd90600190611690565b905080821461122c575f865f0182815481106111eb576111eb6116a3565b905f5260205f200154905080875f01848154811061120b5761120b6116a3565b5f918252602080832090910192909255918252600188019052604090208390555b855486908061123d5761123d6116b7565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f905560019350505050610449565b5f81831061128c575f828152602084905260409020610c84565b5f838152602083905260409020610c84565b5f602082840312156112ae575f80fd5b81356001600160e01b031981168114610c84575f80fd5b5f805f80606085870312156112d8575f80fd5b8435935060208501359250604085013567ffffffffffffffff808211156112fd575f80fd5b818701915087601f830112611310575f80fd5b81358181111561131e575f80fd5b8860208260051b8501011115611332575f80fd5b95989497505060200194505050565b5f60208284031215611351575f80fd5b5035919050565b80356001600160a01b038116811461136e575f80fd5b919050565b5f8060408385031215611384575f80fd5b8235915061139460208401611358565b90509250929050565b5f80604083850312156113ae575f80fd5b6113b783611358565b946020939093013593505050565b5f80604083850312156113d6575f80fd5b50508035926020909101359150565b5f805f80606085870312156113f8575f80fd5b84359350602085013567ffffffffffffffff80821115611416575f80fd5b818701915087601f830112611429575f80fd5b813581811115611437575f80fd5b886020828501011115611448575f80fd5b95986020929092019750949560400135945092505050565b5f60208284031215611470575f80fd5b610c8482611358565b5f602080835283518060208501525f5b818110156114a557858101830151858201604001528201611489565b505f604082860101526040601f19601f8301168501019250505092915050565b5f602082840312156114d5575f80fd5b5051919050565b634e487b7160e01b5f52601160045260245ffd5b80820180821115610449576104496114dc565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168061152b57607f821691505b60208210810361154957634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561065157805f5260205f20601f840160051c810160208510156115745750805b601f840160051c820191505b81811015611593575f8155600101611580565b5050505050565b67ffffffffffffffff8311156115b2576115b2611503565b6115c6836115c08354611517565b8361154f565b5f601f8411600181146115f7575f85156115e05750838201355b5f19600387901b1c1916600186901b178355611593565b5f83815260208120601f198716915b828110156116265786850135825560209485019460019092019101611606565b5086821015611642575f1960f88860031b161c19848701351681555b505060018560011b0183555050505050565b84815283602082015260606040820152816060820152818360808301375f818301608090810191909152601f909201601f191601019392505050565b81810381811115610449576104496114dc565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52603160045260245ffdfe02dd7bc7dec4dceedda775e58dd541e08a116c6c53815c0bd028192f7b626800a164736f6c6343000818000a",
}
CsfeedistributorMetaData contains all meta data concerning the Csfeedistributor contract.
Functions ¶
Types ¶
type Csfeedistributor ¶ added in v1.6.0
type Csfeedistributor struct { CsfeedistributorCaller // Read-only binding to the contract CsfeedistributorTransactor // Write-only binding to the contract CsfeedistributorFilterer // Log filterer for contract events }
Csfeedistributor is an auto generated Go binding around an Ethereum contract.
func DeployCsfeedistributor ¶ added in v1.6.0
func DeployCsfeedistributor(auth *bind.TransactOpts, backend bind.ContractBackend, stETH common.Address, accounting common.Address, oracle common.Address) (common.Address, *types.Transaction, *Csfeedistributor, error)
DeployCsfeedistributor deploys a new Ethereum contract, binding an instance of Csfeedistributor to it.
func NewCsfeedistributor ¶ added in v1.6.0
func NewCsfeedistributor(address common.Address, backend bind.ContractBackend) (*Csfeedistributor, error)
NewCsfeedistributor creates a new instance of Csfeedistributor, bound to a specific deployed contract.
type CsfeedistributorCaller ¶ added in v1.6.0
type CsfeedistributorCaller struct {
// contains filtered or unexported fields
}
CsfeedistributorCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCsfeedistributorCaller ¶ added in v1.6.0
func NewCsfeedistributorCaller(address common.Address, caller bind.ContractCaller) (*CsfeedistributorCaller, error)
NewCsfeedistributorCaller creates a new read-only instance of Csfeedistributor, bound to a specific deployed contract.
func (*CsfeedistributorCaller) ACCOUNTING ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCaller) ACCOUNTING(opts *bind.CallOpts) (common.Address, error)
ACCOUNTING is a free data retrieval call binding the contract method 0x6dc3f2bd.
Solidity: function ACCOUNTING() view returns(address)
func (*CsfeedistributorCaller) DEFAULTADMINROLE ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*CsfeedistributorCaller) DistributedShares ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCaller) DistributedShares(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
DistributedShares is a free data retrieval call binding the contract method 0xea6301ab.
Solidity: function distributedShares(uint256 ) view returns(uint256)
func (*CsfeedistributorCaller) GetFeesToDistribute ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCaller) GetFeesToDistribute(opts *bind.CallOpts, nodeOperatorId *big.Int, shares *big.Int, proof [][32]byte) (*big.Int, error)
GetFeesToDistribute is a free data retrieval call binding the contract method 0x5e8e8f6f.
Solidity: function getFeesToDistribute(uint256 nodeOperatorId, uint256 shares, bytes32[] proof) view returns(uint256 sharesToDistribute)
func (*CsfeedistributorCaller) GetRoleAdmin ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*CsfeedistributorCaller) GetRoleMember ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*CsfeedistributorCaller) GetRoleMemberCount ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*CsfeedistributorCaller) HasRole ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*CsfeedistributorCaller) HashLeaf ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCaller) HashLeaf(opts *bind.CallOpts, nodeOperatorId *big.Int, shares *big.Int) ([32]byte, error)
HashLeaf is a free data retrieval call binding the contract method 0x7e9f27ad.
Solidity: function hashLeaf(uint256 nodeOperatorId, uint256 shares) pure returns(bytes32)
func (*CsfeedistributorCaller) ORACLE ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCaller) ORACLE(opts *bind.CallOpts) (common.Address, error)
ORACLE is a free data retrieval call binding the contract method 0x38013f02.
Solidity: function ORACLE() view returns(address)
func (*CsfeedistributorCaller) PendingSharesToDistribute ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCaller) PendingSharesToDistribute(opts *bind.CallOpts) (*big.Int, error)
PendingSharesToDistribute is a free data retrieval call binding the contract method 0xd257cf2a.
Solidity: function pendingSharesToDistribute() view returns(uint256)
func (*CsfeedistributorCaller) RECOVERERROLE ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCaller) RECOVERERROLE(opts *bind.CallOpts) ([32]byte, error)
RECOVERERROLE is a free data retrieval call binding the contract method 0xacf1c948.
Solidity: function RECOVERER_ROLE() view returns(bytes32)
func (*CsfeedistributorCaller) STETH ¶ added in v1.6.0
STETH is a free data retrieval call binding the contract method 0xe00bfe50.
Solidity: function STETH() view returns(address)
func (*CsfeedistributorCaller) SupportsInterface ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*CsfeedistributorCaller) TotalClaimableShares ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCaller) TotalClaimableShares(opts *bind.CallOpts) (*big.Int, error)
TotalClaimableShares is a free data retrieval call binding the contract method 0x47d17d9d.
Solidity: function totalClaimableShares() view returns(uint256)
type CsfeedistributorCallerRaw ¶ added in v1.6.0
type CsfeedistributorCallerRaw struct {
Contract *CsfeedistributorCaller // Generic read-only contract binding to access the raw methods on
}
CsfeedistributorCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CsfeedistributorCallerRaw) Call ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCallerRaw) 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 CsfeedistributorCallerSession ¶ added in v1.6.0
type CsfeedistributorCallerSession struct { Contract *CsfeedistributorCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CsfeedistributorCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*CsfeedistributorCallerSession) ACCOUNTING ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCallerSession) ACCOUNTING() (common.Address, error)
ACCOUNTING is a free data retrieval call binding the contract method 0x6dc3f2bd.
Solidity: function ACCOUNTING() view returns(address)
func (*CsfeedistributorCallerSession) DEFAULTADMINROLE ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCallerSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*CsfeedistributorCallerSession) DistributedShares ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCallerSession) DistributedShares(arg0 *big.Int) (*big.Int, error)
DistributedShares is a free data retrieval call binding the contract method 0xea6301ab.
Solidity: function distributedShares(uint256 ) view returns(uint256)
func (*CsfeedistributorCallerSession) GetFeesToDistribute ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCallerSession) GetFeesToDistribute(nodeOperatorId *big.Int, shares *big.Int, proof [][32]byte) (*big.Int, error)
GetFeesToDistribute is a free data retrieval call binding the contract method 0x5e8e8f6f.
Solidity: function getFeesToDistribute(uint256 nodeOperatorId, uint256 shares, bytes32[] proof) view returns(uint256 sharesToDistribute)
func (*CsfeedistributorCallerSession) GetRoleAdmin ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*CsfeedistributorCallerSession) GetRoleMember ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*CsfeedistributorCallerSession) GetRoleMemberCount ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*CsfeedistributorCallerSession) HasRole ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*CsfeedistributorCallerSession) HashLeaf ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCallerSession) HashLeaf(nodeOperatorId *big.Int, shares *big.Int) ([32]byte, error)
HashLeaf is a free data retrieval call binding the contract method 0x7e9f27ad.
Solidity: function hashLeaf(uint256 nodeOperatorId, uint256 shares) pure returns(bytes32)
func (*CsfeedistributorCallerSession) ORACLE ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCallerSession) ORACLE() (common.Address, error)
ORACLE is a free data retrieval call binding the contract method 0x38013f02.
Solidity: function ORACLE() view returns(address)
func (*CsfeedistributorCallerSession) PendingSharesToDistribute ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCallerSession) PendingSharesToDistribute() (*big.Int, error)
PendingSharesToDistribute is a free data retrieval call binding the contract method 0xd257cf2a.
Solidity: function pendingSharesToDistribute() view returns(uint256)
func (*CsfeedistributorCallerSession) RECOVERERROLE ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCallerSession) RECOVERERROLE() ([32]byte, error)
RECOVERERROLE is a free data retrieval call binding the contract method 0xacf1c948.
Solidity: function RECOVERER_ROLE() view returns(bytes32)
func (*CsfeedistributorCallerSession) STETH ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCallerSession) STETH() (common.Address, error)
STETH is a free data retrieval call binding the contract method 0xe00bfe50.
Solidity: function STETH() view returns(address)
func (*CsfeedistributorCallerSession) SupportsInterface ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*CsfeedistributorCallerSession) TotalClaimableShares ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCallerSession) TotalClaimableShares() (*big.Int, error)
TotalClaimableShares is a free data retrieval call binding the contract method 0x47d17d9d.
Solidity: function totalClaimableShares() view returns(uint256)
func (*CsfeedistributorCallerSession) TreeCid ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCallerSession) TreeCid() (string, error)
TreeCid is a free data retrieval call binding the contract method 0xfe3c9b9b.
Solidity: function treeCid() view returns(string)
func (*CsfeedistributorCallerSession) TreeRoot ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorCallerSession) TreeRoot() ([32]byte, error)
TreeRoot is a free data retrieval call binding the contract method 0x14dc6c14.
Solidity: function treeRoot() view returns(bytes32)
type CsfeedistributorDistributionDataUpdated ¶ added in v1.6.0
type CsfeedistributorDistributionDataUpdated struct { TreeRoot [32]byte TreeCid string Raw types.Log // Blockchain specific contextual infos }
CsfeedistributorDistributionDataUpdated represents a DistributionDataUpdated event raised by the Csfeedistributor contract.
type CsfeedistributorDistributionDataUpdatedIterator ¶ added in v1.6.0
type CsfeedistributorDistributionDataUpdatedIterator struct { Event *CsfeedistributorDistributionDataUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CsfeedistributorDistributionDataUpdatedIterator is returned from FilterDistributionDataUpdated and is used to iterate over the raw logs and unpacked data for DistributionDataUpdated events raised by the Csfeedistributor contract.
func (*CsfeedistributorDistributionDataUpdatedIterator) Close ¶ added in v1.6.0
func (it *CsfeedistributorDistributionDataUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CsfeedistributorDistributionDataUpdatedIterator) Error ¶ added in v1.6.0
func (it *CsfeedistributorDistributionDataUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CsfeedistributorDistributionDataUpdatedIterator) Next ¶ added in v1.6.0
func (it *CsfeedistributorDistributionDataUpdatedIterator) 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 CsfeedistributorERC1155Recovered ¶ added in v1.6.0
type CsfeedistributorERC1155Recovered struct { Token common.Address TokenId *big.Int Recipient common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
CsfeedistributorERC1155Recovered represents a ERC1155Recovered event raised by the Csfeedistributor contract.
type CsfeedistributorERC1155RecoveredIterator ¶ added in v1.6.0
type CsfeedistributorERC1155RecoveredIterator struct { Event *CsfeedistributorERC1155Recovered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CsfeedistributorERC1155RecoveredIterator is returned from FilterERC1155Recovered and is used to iterate over the raw logs and unpacked data for ERC1155Recovered events raised by the Csfeedistributor contract.
func (*CsfeedistributorERC1155RecoveredIterator) Close ¶ added in v1.6.0
func (it *CsfeedistributorERC1155RecoveredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CsfeedistributorERC1155RecoveredIterator) Error ¶ added in v1.6.0
func (it *CsfeedistributorERC1155RecoveredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CsfeedistributorERC1155RecoveredIterator) Next ¶ added in v1.6.0
func (it *CsfeedistributorERC1155RecoveredIterator) 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 CsfeedistributorERC20Recovered ¶ added in v1.6.0
type CsfeedistributorERC20Recovered struct { Token common.Address Recipient common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
CsfeedistributorERC20Recovered represents a ERC20Recovered event raised by the Csfeedistributor contract.
type CsfeedistributorERC20RecoveredIterator ¶ added in v1.6.0
type CsfeedistributorERC20RecoveredIterator struct { Event *CsfeedistributorERC20Recovered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CsfeedistributorERC20RecoveredIterator is returned from FilterERC20Recovered and is used to iterate over the raw logs and unpacked data for ERC20Recovered events raised by the Csfeedistributor contract.
func (*CsfeedistributorERC20RecoveredIterator) Close ¶ added in v1.6.0
func (it *CsfeedistributorERC20RecoveredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CsfeedistributorERC20RecoveredIterator) Error ¶ added in v1.6.0
func (it *CsfeedistributorERC20RecoveredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CsfeedistributorERC20RecoveredIterator) Next ¶ added in v1.6.0
func (it *CsfeedistributorERC20RecoveredIterator) 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 CsfeedistributorERC721Recovered ¶ added in v1.6.0
type CsfeedistributorERC721Recovered struct { Token common.Address TokenId *big.Int Recipient common.Address Raw types.Log // Blockchain specific contextual infos }
CsfeedistributorERC721Recovered represents a ERC721Recovered event raised by the Csfeedistributor contract.
type CsfeedistributorERC721RecoveredIterator ¶ added in v1.6.0
type CsfeedistributorERC721RecoveredIterator struct { Event *CsfeedistributorERC721Recovered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CsfeedistributorERC721RecoveredIterator is returned from FilterERC721Recovered and is used to iterate over the raw logs and unpacked data for ERC721Recovered events raised by the Csfeedistributor contract.
func (*CsfeedistributorERC721RecoveredIterator) Close ¶ added in v1.6.0
func (it *CsfeedistributorERC721RecoveredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CsfeedistributorERC721RecoveredIterator) Error ¶ added in v1.6.0
func (it *CsfeedistributorERC721RecoveredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CsfeedistributorERC721RecoveredIterator) Next ¶ added in v1.6.0
func (it *CsfeedistributorERC721RecoveredIterator) 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 CsfeedistributorEtherRecovered ¶ added in v1.6.0
type CsfeedistributorEtherRecovered struct { Recipient common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
CsfeedistributorEtherRecovered represents a EtherRecovered event raised by the Csfeedistributor contract.
type CsfeedistributorEtherRecoveredIterator ¶ added in v1.6.0
type CsfeedistributorEtherRecoveredIterator struct { Event *CsfeedistributorEtherRecovered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CsfeedistributorEtherRecoveredIterator is returned from FilterEtherRecovered and is used to iterate over the raw logs and unpacked data for EtherRecovered events raised by the Csfeedistributor contract.
func (*CsfeedistributorEtherRecoveredIterator) Close ¶ added in v1.6.0
func (it *CsfeedistributorEtherRecoveredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CsfeedistributorEtherRecoveredIterator) Error ¶ added in v1.6.0
func (it *CsfeedistributorEtherRecoveredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CsfeedistributorEtherRecoveredIterator) Next ¶ added in v1.6.0
func (it *CsfeedistributorEtherRecoveredIterator) 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 CsfeedistributorFeeDistributed ¶ added in v1.6.0
type CsfeedistributorFeeDistributed struct { NodeOperatorId *big.Int Raw types.Log // Blockchain specific contextual infos }
CsfeedistributorFeeDistributed represents a FeeDistributed event raised by the Csfeedistributor contract.
type CsfeedistributorFeeDistributedIterator ¶ added in v1.6.0
type CsfeedistributorFeeDistributedIterator struct { Event *CsfeedistributorFeeDistributed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CsfeedistributorFeeDistributedIterator is returned from FilterFeeDistributed and is used to iterate over the raw logs and unpacked data for FeeDistributed events raised by the Csfeedistributor contract.
func (*CsfeedistributorFeeDistributedIterator) Close ¶ added in v1.6.0
func (it *CsfeedistributorFeeDistributedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CsfeedistributorFeeDistributedIterator) Error ¶ added in v1.6.0
func (it *CsfeedistributorFeeDistributedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CsfeedistributorFeeDistributedIterator) Next ¶ added in v1.6.0
func (it *CsfeedistributorFeeDistributedIterator) 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 CsfeedistributorFilterer ¶ added in v1.6.0
type CsfeedistributorFilterer struct {
// contains filtered or unexported fields
}
CsfeedistributorFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCsfeedistributorFilterer ¶ added in v1.6.0
func NewCsfeedistributorFilterer(address common.Address, filterer bind.ContractFilterer) (*CsfeedistributorFilterer, error)
NewCsfeedistributorFilterer creates a new log filterer instance of Csfeedistributor, bound to a specific deployed contract.
func (*CsfeedistributorFilterer) FilterDistributionDataUpdated ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) FilterDistributionDataUpdated(opts *bind.FilterOpts) (*CsfeedistributorDistributionDataUpdatedIterator, error)
FilterDistributionDataUpdated is a free log retrieval operation binding the contract event 0x26dec7cc117e9b3907dc1f90d2dc5f6e04dbb9f285f5898be2c82ec524dcd424.
Solidity: event DistributionDataUpdated(uint256 totalClaimableShares, bytes32 treeRoot, string treeCid)
func (*CsfeedistributorFilterer) FilterERC1155Recovered ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) FilterERC1155Recovered(opts *bind.FilterOpts, token []common.Address, recipient []common.Address) (*CsfeedistributorERC1155RecoveredIterator, error)
FilterERC1155Recovered is a free log retrieval operation binding the contract event 0x5cf02e753b3eb0f4bee4460a72817d8e5e3c75cd4d65c1d0b06dca88b8032936.
Solidity: event ERC1155Recovered(address indexed token, uint256 tokenId, address indexed recipient, uint256 amount)
func (*CsfeedistributorFilterer) FilterERC20Recovered ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) FilterERC20Recovered(opts *bind.FilterOpts, token []common.Address, recipient []common.Address) (*CsfeedistributorERC20RecoveredIterator, error)
FilterERC20Recovered is a free log retrieval operation binding the contract event 0xaca8fb252cde442184e5f10e0f2e6e4029e8cd7717cae63559079610702436aa.
Solidity: event ERC20Recovered(address indexed token, address indexed recipient, uint256 amount)
func (*CsfeedistributorFilterer) FilterERC721Recovered ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) FilterERC721Recovered(opts *bind.FilterOpts, token []common.Address, recipient []common.Address) (*CsfeedistributorERC721RecoveredIterator, error)
FilterERC721Recovered is a free log retrieval operation binding the contract event 0x8166bf75d2ff2fa3c8f3c44410540bf42e9a5359b48409e8d660291dc9f788c8.
Solidity: event ERC721Recovered(address indexed token, uint256 tokenId, address indexed recipient)
func (*CsfeedistributorFilterer) FilterEtherRecovered ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) FilterEtherRecovered(opts *bind.FilterOpts, recipient []common.Address) (*CsfeedistributorEtherRecoveredIterator, error)
FilterEtherRecovered is a free log retrieval operation binding the contract event 0x8e274e42262a7f013b700b35c2b4629ccce1702f8fe83f8dfb7eacbb26a4382c.
Solidity: event EtherRecovered(address indexed recipient, uint256 amount)
func (*CsfeedistributorFilterer) FilterFeeDistributed ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) FilterFeeDistributed(opts *bind.FilterOpts, nodeOperatorId []*big.Int) (*CsfeedistributorFeeDistributedIterator, error)
FilterFeeDistributed is a free log retrieval operation binding the contract event 0x61930a6c1553eab59d5766da6e1bab8eba982aec848ae7683452f4a6423b6e4a.
Solidity: event FeeDistributed(uint256 indexed nodeOperatorId, uint256 shares)
func (*CsfeedistributorFilterer) FilterInitialized ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) FilterInitialized(opts *bind.FilterOpts) (*CsfeedistributorInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*CsfeedistributorFilterer) FilterRoleAdminChanged ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*CsfeedistributorRoleAdminChangedIterator, error)
FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*CsfeedistributorFilterer) FilterRoleGranted ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*CsfeedistributorRoleGrantedIterator, error)
FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*CsfeedistributorFilterer) FilterRoleRevoked ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*CsfeedistributorRoleRevokedIterator, error)
FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*CsfeedistributorFilterer) FilterStETHSharesRecovered ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) FilterStETHSharesRecovered(opts *bind.FilterOpts, recipient []common.Address) (*CsfeedistributorStETHSharesRecoveredIterator, error)
FilterStETHSharesRecovered is a free log retrieval operation binding the contract event 0x426e7e0100db57255d4af4a46cd49552ef74f5f002bbdc8d4ebb6371c0070a02.
Solidity: event StETHSharesRecovered(address indexed recipient, uint256 shares)
func (*CsfeedistributorFilterer) ParseDistributionDataUpdated ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) ParseDistributionDataUpdated(log types.Log) (*CsfeedistributorDistributionDataUpdated, error)
ParseDistributionDataUpdated is a log parse operation binding the contract event 0x26dec7cc117e9b3907dc1f90d2dc5f6e04dbb9f285f5898be2c82ec524dcd424.
Solidity: event DistributionDataUpdated(uint256 totalClaimableShares, bytes32 treeRoot, string treeCid)
func (*CsfeedistributorFilterer) ParseERC1155Recovered ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) ParseERC1155Recovered(log types.Log) (*CsfeedistributorERC1155Recovered, error)
ParseERC1155Recovered is a log parse operation binding the contract event 0x5cf02e753b3eb0f4bee4460a72817d8e5e3c75cd4d65c1d0b06dca88b8032936.
Solidity: event ERC1155Recovered(address indexed token, uint256 tokenId, address indexed recipient, uint256 amount)
func (*CsfeedistributorFilterer) ParseERC20Recovered ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) ParseERC20Recovered(log types.Log) (*CsfeedistributorERC20Recovered, error)
ParseERC20Recovered is a log parse operation binding the contract event 0xaca8fb252cde442184e5f10e0f2e6e4029e8cd7717cae63559079610702436aa.
Solidity: event ERC20Recovered(address indexed token, address indexed recipient, uint256 amount)
func (*CsfeedistributorFilterer) ParseERC721Recovered ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) ParseERC721Recovered(log types.Log) (*CsfeedistributorERC721Recovered, error)
ParseERC721Recovered is a log parse operation binding the contract event 0x8166bf75d2ff2fa3c8f3c44410540bf42e9a5359b48409e8d660291dc9f788c8.
Solidity: event ERC721Recovered(address indexed token, uint256 tokenId, address indexed recipient)
func (*CsfeedistributorFilterer) ParseEtherRecovered ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) ParseEtherRecovered(log types.Log) (*CsfeedistributorEtherRecovered, error)
ParseEtherRecovered is a log parse operation binding the contract event 0x8e274e42262a7f013b700b35c2b4629ccce1702f8fe83f8dfb7eacbb26a4382c.
Solidity: event EtherRecovered(address indexed recipient, uint256 amount)
func (*CsfeedistributorFilterer) ParseFeeDistributed ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) ParseFeeDistributed(log types.Log) (*CsfeedistributorFeeDistributed, error)
ParseFeeDistributed is a log parse operation binding the contract event 0x61930a6c1553eab59d5766da6e1bab8eba982aec848ae7683452f4a6423b6e4a.
Solidity: event FeeDistributed(uint256 indexed nodeOperatorId, uint256 shares)
func (*CsfeedistributorFilterer) ParseInitialized ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) ParseInitialized(log types.Log) (*CsfeedistributorInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*CsfeedistributorFilterer) ParseRoleAdminChanged ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) ParseRoleAdminChanged(log types.Log) (*CsfeedistributorRoleAdminChanged, error)
ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*CsfeedistributorFilterer) ParseRoleGranted ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) ParseRoleGranted(log types.Log) (*CsfeedistributorRoleGranted, error)
ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*CsfeedistributorFilterer) ParseRoleRevoked ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) ParseRoleRevoked(log types.Log) (*CsfeedistributorRoleRevoked, error)
ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*CsfeedistributorFilterer) ParseStETHSharesRecovered ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) ParseStETHSharesRecovered(log types.Log) (*CsfeedistributorStETHSharesRecovered, error)
ParseStETHSharesRecovered is a log parse operation binding the contract event 0x426e7e0100db57255d4af4a46cd49552ef74f5f002bbdc8d4ebb6371c0070a02.
Solidity: event StETHSharesRecovered(address indexed recipient, uint256 shares)
func (*CsfeedistributorFilterer) WatchDistributionDataUpdated ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) WatchDistributionDataUpdated(opts *bind.WatchOpts, sink chan<- *CsfeedistributorDistributionDataUpdated) (event.Subscription, error)
WatchDistributionDataUpdated is a free log subscription operation binding the contract event 0x26dec7cc117e9b3907dc1f90d2dc5f6e04dbb9f285f5898be2c82ec524dcd424.
Solidity: event DistributionDataUpdated(uint256 totalClaimableShares, bytes32 treeRoot, string treeCid)
func (*CsfeedistributorFilterer) WatchERC1155Recovered ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) WatchERC1155Recovered(opts *bind.WatchOpts, sink chan<- *CsfeedistributorERC1155Recovered, token []common.Address, recipient []common.Address) (event.Subscription, error)
WatchERC1155Recovered is a free log subscription operation binding the contract event 0x5cf02e753b3eb0f4bee4460a72817d8e5e3c75cd4d65c1d0b06dca88b8032936.
Solidity: event ERC1155Recovered(address indexed token, uint256 tokenId, address indexed recipient, uint256 amount)
func (*CsfeedistributorFilterer) WatchERC20Recovered ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) WatchERC20Recovered(opts *bind.WatchOpts, sink chan<- *CsfeedistributorERC20Recovered, token []common.Address, recipient []common.Address) (event.Subscription, error)
WatchERC20Recovered is a free log subscription operation binding the contract event 0xaca8fb252cde442184e5f10e0f2e6e4029e8cd7717cae63559079610702436aa.
Solidity: event ERC20Recovered(address indexed token, address indexed recipient, uint256 amount)
func (*CsfeedistributorFilterer) WatchERC721Recovered ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) WatchERC721Recovered(opts *bind.WatchOpts, sink chan<- *CsfeedistributorERC721Recovered, token []common.Address, recipient []common.Address) (event.Subscription, error)
WatchERC721Recovered is a free log subscription operation binding the contract event 0x8166bf75d2ff2fa3c8f3c44410540bf42e9a5359b48409e8d660291dc9f788c8.
Solidity: event ERC721Recovered(address indexed token, uint256 tokenId, address indexed recipient)
func (*CsfeedistributorFilterer) WatchEtherRecovered ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) WatchEtherRecovered(opts *bind.WatchOpts, sink chan<- *CsfeedistributorEtherRecovered, recipient []common.Address) (event.Subscription, error)
WatchEtherRecovered is a free log subscription operation binding the contract event 0x8e274e42262a7f013b700b35c2b4629ccce1702f8fe83f8dfb7eacbb26a4382c.
Solidity: event EtherRecovered(address indexed recipient, uint256 amount)
func (*CsfeedistributorFilterer) WatchFeeDistributed ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) WatchFeeDistributed(opts *bind.WatchOpts, sink chan<- *CsfeedistributorFeeDistributed, nodeOperatorId []*big.Int) (event.Subscription, error)
WatchFeeDistributed is a free log subscription operation binding the contract event 0x61930a6c1553eab59d5766da6e1bab8eba982aec848ae7683452f4a6423b6e4a.
Solidity: event FeeDistributed(uint256 indexed nodeOperatorId, uint256 shares)
func (*CsfeedistributorFilterer) WatchInitialized ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *CsfeedistributorInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2.
Solidity: event Initialized(uint64 version)
func (*CsfeedistributorFilterer) WatchRoleAdminChanged ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *CsfeedistributorRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)
WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.
Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
func (*CsfeedistributorFilterer) WatchRoleGranted ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *CsfeedistributorRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.
Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
func (*CsfeedistributorFilterer) WatchRoleRevoked ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *CsfeedistributorRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)
WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.
Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
func (*CsfeedistributorFilterer) WatchStETHSharesRecovered ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorFilterer) WatchStETHSharesRecovered(opts *bind.WatchOpts, sink chan<- *CsfeedistributorStETHSharesRecovered, recipient []common.Address) (event.Subscription, error)
WatchStETHSharesRecovered is a free log subscription operation binding the contract event 0x426e7e0100db57255d4af4a46cd49552ef74f5f002bbdc8d4ebb6371c0070a02.
Solidity: event StETHSharesRecovered(address indexed recipient, uint256 shares)
type CsfeedistributorInitialized ¶ added in v1.6.0
type CsfeedistributorInitialized struct { Version uint64 Raw types.Log // Blockchain specific contextual infos }
CsfeedistributorInitialized represents a Initialized event raised by the Csfeedistributor contract.
type CsfeedistributorInitializedIterator ¶ added in v1.6.0
type CsfeedistributorInitializedIterator struct { Event *CsfeedistributorInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CsfeedistributorInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Csfeedistributor contract.
func (*CsfeedistributorInitializedIterator) Close ¶ added in v1.6.0
func (it *CsfeedistributorInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CsfeedistributorInitializedIterator) Error ¶ added in v1.6.0
func (it *CsfeedistributorInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CsfeedistributorInitializedIterator) Next ¶ added in v1.6.0
func (it *CsfeedistributorInitializedIterator) 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 CsfeedistributorRaw ¶ added in v1.6.0
type CsfeedistributorRaw struct {
Contract *Csfeedistributor // Generic contract binding to access the raw methods on
}
CsfeedistributorRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CsfeedistributorRaw) Call ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorRaw) 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 (*CsfeedistributorRaw) Transact ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CsfeedistributorRaw) Transfer ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorRaw) 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 CsfeedistributorRoleAdminChanged ¶ added in v1.6.0
type CsfeedistributorRoleAdminChanged struct { Role [32]byte PreviousAdminRole [32]byte NewAdminRole [32]byte Raw types.Log // Blockchain specific contextual infos }
CsfeedistributorRoleAdminChanged represents a RoleAdminChanged event raised by the Csfeedistributor contract.
type CsfeedistributorRoleAdminChangedIterator ¶ added in v1.6.0
type CsfeedistributorRoleAdminChangedIterator struct { Event *CsfeedistributorRoleAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CsfeedistributorRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the Csfeedistributor contract.
func (*CsfeedistributorRoleAdminChangedIterator) Close ¶ added in v1.6.0
func (it *CsfeedistributorRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CsfeedistributorRoleAdminChangedIterator) Error ¶ added in v1.6.0
func (it *CsfeedistributorRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CsfeedistributorRoleAdminChangedIterator) Next ¶ added in v1.6.0
func (it *CsfeedistributorRoleAdminChangedIterator) 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 CsfeedistributorRoleGranted ¶ added in v1.6.0
type CsfeedistributorRoleGranted struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
CsfeedistributorRoleGranted represents a RoleGranted event raised by the Csfeedistributor contract.
type CsfeedistributorRoleGrantedIterator ¶ added in v1.6.0
type CsfeedistributorRoleGrantedIterator struct { Event *CsfeedistributorRoleGranted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CsfeedistributorRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the Csfeedistributor contract.
func (*CsfeedistributorRoleGrantedIterator) Close ¶ added in v1.6.0
func (it *CsfeedistributorRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CsfeedistributorRoleGrantedIterator) Error ¶ added in v1.6.0
func (it *CsfeedistributorRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CsfeedistributorRoleGrantedIterator) Next ¶ added in v1.6.0
func (it *CsfeedistributorRoleGrantedIterator) 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 CsfeedistributorRoleRevoked ¶ added in v1.6.0
type CsfeedistributorRoleRevoked struct { Role [32]byte Account common.Address Sender common.Address Raw types.Log // Blockchain specific contextual infos }
CsfeedistributorRoleRevoked represents a RoleRevoked event raised by the Csfeedistributor contract.
type CsfeedistributorRoleRevokedIterator ¶ added in v1.6.0
type CsfeedistributorRoleRevokedIterator struct { Event *CsfeedistributorRoleRevoked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
CsfeedistributorRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the Csfeedistributor contract.
func (*CsfeedistributorRoleRevokedIterator) Close ¶ added in v1.6.0
func (it *CsfeedistributorRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CsfeedistributorRoleRevokedIterator) Error ¶ added in v1.6.0
func (it *CsfeedistributorRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CsfeedistributorRoleRevokedIterator) Next ¶ added in v1.6.0
func (it *CsfeedistributorRoleRevokedIterator) 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 CsfeedistributorSession ¶ added in v1.6.0
type CsfeedistributorSession struct { Contract *Csfeedistributor // 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 }
CsfeedistributorSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*CsfeedistributorSession) ACCOUNTING ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) ACCOUNTING() (common.Address, error)
ACCOUNTING is a free data retrieval call binding the contract method 0x6dc3f2bd.
Solidity: function ACCOUNTING() view returns(address)
func (*CsfeedistributorSession) DEFAULTADMINROLE ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) DEFAULTADMINROLE() ([32]byte, error)
DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.
Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)
func (*CsfeedistributorSession) DistributeFees ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) DistributeFees(nodeOperatorId *big.Int, shares *big.Int, proof [][32]byte) (*types.Transaction, error)
DistributeFees is a paid mutator transaction binding the contract method 0x21893f7b.
Solidity: function distributeFees(uint256 nodeOperatorId, uint256 shares, bytes32[] proof) returns(uint256 sharesToDistribute)
func (*CsfeedistributorSession) DistributedShares ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) DistributedShares(arg0 *big.Int) (*big.Int, error)
DistributedShares is a free data retrieval call binding the contract method 0xea6301ab.
Solidity: function distributedShares(uint256 ) view returns(uint256)
func (*CsfeedistributorSession) GetFeesToDistribute ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) GetFeesToDistribute(nodeOperatorId *big.Int, shares *big.Int, proof [][32]byte) (*big.Int, error)
GetFeesToDistribute is a free data retrieval call binding the contract method 0x5e8e8f6f.
Solidity: function getFeesToDistribute(uint256 nodeOperatorId, uint256 shares, bytes32[] proof) view returns(uint256 sharesToDistribute)
func (*CsfeedistributorSession) GetRoleAdmin ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.
Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)
func (*CsfeedistributorSession) GetRoleMember ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*CsfeedistributorSession) GetRoleMemberCount ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*CsfeedistributorSession) GrantRole ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*CsfeedistributorSession) HasRole ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) HasRole(role [32]byte, account common.Address) (bool, error)
HasRole is a free data retrieval call binding the contract method 0x91d14854.
Solidity: function hasRole(bytes32 role, address account) view returns(bool)
func (*CsfeedistributorSession) HashLeaf ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) HashLeaf(nodeOperatorId *big.Int, shares *big.Int) ([32]byte, error)
HashLeaf is a free data retrieval call binding the contract method 0x7e9f27ad.
Solidity: function hashLeaf(uint256 nodeOperatorId, uint256 shares) pure returns(bytes32)
func (*CsfeedistributorSession) Initialize ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) Initialize(admin common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address admin) returns()
func (*CsfeedistributorSession) ORACLE ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) ORACLE() (common.Address, error)
ORACLE is a free data retrieval call binding the contract method 0x38013f02.
Solidity: function ORACLE() view returns(address)
func (*CsfeedistributorSession) PendingSharesToDistribute ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) PendingSharesToDistribute() (*big.Int, error)
PendingSharesToDistribute is a free data retrieval call binding the contract method 0xd257cf2a.
Solidity: function pendingSharesToDistribute() view returns(uint256)
func (*CsfeedistributorSession) ProcessOracleReport ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) ProcessOracleReport(_treeRoot [32]byte, _treeCid string, distributed *big.Int) (*types.Transaction, error)
ProcessOracleReport is a paid mutator transaction binding the contract method 0xb66cf058.
Solidity: function processOracleReport(bytes32 _treeRoot, string _treeCid, uint256 distributed) returns()
func (*CsfeedistributorSession) RECOVERERROLE ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) RECOVERERROLE() ([32]byte, error)
RECOVERERROLE is a free data retrieval call binding the contract method 0xacf1c948.
Solidity: function RECOVERER_ROLE() view returns(bytes32)
func (*CsfeedistributorSession) RecoverERC1155 ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) RecoverERC1155(token common.Address, tokenId *big.Int) (*types.Transaction, error)
RecoverERC1155 is a paid mutator transaction binding the contract method 0x5c654ad9.
Solidity: function recoverERC1155(address token, uint256 tokenId) returns()
func (*CsfeedistributorSession) RecoverERC20 ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) RecoverERC20(token common.Address, amount *big.Int) (*types.Transaction, error)
RecoverERC20 is a paid mutator transaction binding the contract method 0x8980f11f.
Solidity: function recoverERC20(address token, uint256 amount) returns()
func (*CsfeedistributorSession) RecoverERC721 ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) RecoverERC721(token common.Address, tokenId *big.Int) (*types.Transaction, error)
RecoverERC721 is a paid mutator transaction binding the contract method 0x819d4cc6.
Solidity: function recoverERC721(address token, uint256 tokenId) returns()
func (*CsfeedistributorSession) RecoverEther ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) RecoverEther() (*types.Transaction, error)
RecoverEther is a paid mutator transaction binding the contract method 0x52d8bfc2.
Solidity: function recoverEther() returns()
func (*CsfeedistributorSession) RenounceRole ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()
func (*CsfeedistributorSession) RevokeRole ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
func (*CsfeedistributorSession) STETH ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) STETH() (common.Address, error)
STETH is a free data retrieval call binding the contract method 0xe00bfe50.
Solidity: function STETH() view returns(address)
func (*CsfeedistributorSession) SupportsInterface ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*CsfeedistributorSession) TotalClaimableShares ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) TotalClaimableShares() (*big.Int, error)
TotalClaimableShares is a free data retrieval call binding the contract method 0x47d17d9d.
Solidity: function totalClaimableShares() view returns(uint256)
func (*CsfeedistributorSession) TreeCid ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) TreeCid() (string, error)
TreeCid is a free data retrieval call binding the contract method 0xfe3c9b9b.
Solidity: function treeCid() view returns(string)
func (*CsfeedistributorSession) TreeRoot ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorSession) TreeRoot() ([32]byte, error)
TreeRoot is a free data retrieval call binding the contract method 0x14dc6c14.
Solidity: function treeRoot() view returns(bytes32)
type CsfeedistributorStETHSharesRecovered ¶ added in v1.6.0
type CsfeedistributorStETHSharesRecovered struct {}
CsfeedistributorStETHSharesRecovered represents a StETHSharesRecovered event raised by the Csfeedistributor contract.
type CsfeedistributorStETHSharesRecoveredIterator ¶ added in v1.6.0
type CsfeedistributorStETHSharesRecoveredIterator struct { // contains filtered or unexported fields }
CsfeedistributorStETHSharesRecoveredIterator is returned from FilterStETHSharesRecovered and is used to iterate over the raw logs and unpacked data for StETHSharesRecovered events raised by the Csfeedistributor contract.
func (*CsfeedistributorStETHSharesRecoveredIterator) Close ¶ added in v1.6.0
func (it *CsfeedistributorStETHSharesRecoveredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CsfeedistributorStETHSharesRecoveredIterator) Error ¶ added in v1.6.0
func (it *CsfeedistributorStETHSharesRecoveredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CsfeedistributorStETHSharesRecoveredIterator) Next ¶ added in v1.6.0
func (it *CsfeedistributorStETHSharesRecoveredIterator) 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 CsfeedistributorTransactor ¶ added in v1.6.0
type CsfeedistributorTransactor struct {
// contains filtered or unexported fields
}
CsfeedistributorTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCsfeedistributorTransactor ¶ added in v1.6.0
func NewCsfeedistributorTransactor(address common.Address, transactor bind.ContractTransactor) (*CsfeedistributorTransactor, error)
NewCsfeedistributorTransactor creates a new write-only instance of Csfeedistributor, bound to a specific deployed contract.
func (*CsfeedistributorTransactor) DistributeFees ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactor) DistributeFees(opts *bind.TransactOpts, nodeOperatorId *big.Int, shares *big.Int, proof [][32]byte) (*types.Transaction, error)
DistributeFees is a paid mutator transaction binding the contract method 0x21893f7b.
Solidity: function distributeFees(uint256 nodeOperatorId, uint256 shares, bytes32[] proof) returns(uint256 sharesToDistribute)
func (*CsfeedistributorTransactor) GrantRole ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*CsfeedistributorTransactor) Initialize ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactor) Initialize(opts *bind.TransactOpts, admin common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address admin) returns()
func (*CsfeedistributorTransactor) ProcessOracleReport ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactor) ProcessOracleReport(opts *bind.TransactOpts, _treeRoot [32]byte, _treeCid string, distributed *big.Int) (*types.Transaction, error)
ProcessOracleReport is a paid mutator transaction binding the contract method 0xb66cf058.
Solidity: function processOracleReport(bytes32 _treeRoot, string _treeCid, uint256 distributed) returns()
func (*CsfeedistributorTransactor) RecoverERC1155 ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactor) RecoverERC1155(opts *bind.TransactOpts, token common.Address, tokenId *big.Int) (*types.Transaction, error)
RecoverERC1155 is a paid mutator transaction binding the contract method 0x5c654ad9.
Solidity: function recoverERC1155(address token, uint256 tokenId) returns()
func (*CsfeedistributorTransactor) RecoverERC20 ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactor) RecoverERC20(opts *bind.TransactOpts, token common.Address, amount *big.Int) (*types.Transaction, error)
RecoverERC20 is a paid mutator transaction binding the contract method 0x8980f11f.
Solidity: function recoverERC20(address token, uint256 amount) returns()
func (*CsfeedistributorTransactor) RecoverERC721 ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactor) RecoverERC721(opts *bind.TransactOpts, token common.Address, tokenId *big.Int) (*types.Transaction, error)
RecoverERC721 is a paid mutator transaction binding the contract method 0x819d4cc6.
Solidity: function recoverERC721(address token, uint256 tokenId) returns()
func (*CsfeedistributorTransactor) RecoverEther ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactor) RecoverEther(opts *bind.TransactOpts) (*types.Transaction, error)
RecoverEther is a paid mutator transaction binding the contract method 0x52d8bfc2.
Solidity: function recoverEther() returns()
func (*CsfeedistributorTransactor) RenounceRole ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()
func (*CsfeedistributorTransactor) RevokeRole ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()
type CsfeedistributorTransactorRaw ¶ added in v1.6.0
type CsfeedistributorTransactorRaw struct {
Contract *CsfeedistributorTransactor // Generic write-only contract binding to access the raw methods on
}
CsfeedistributorTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CsfeedistributorTransactorRaw) Transact ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CsfeedistributorTransactorRaw) Transfer ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactorRaw) 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 CsfeedistributorTransactorSession ¶ added in v1.6.0
type CsfeedistributorTransactorSession struct { Contract *CsfeedistributorTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CsfeedistributorTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*CsfeedistributorTransactorSession) DistributeFees ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactorSession) DistributeFees(nodeOperatorId *big.Int, shares *big.Int, proof [][32]byte) (*types.Transaction, error)
DistributeFees is a paid mutator transaction binding the contract method 0x21893f7b.
Solidity: function distributeFees(uint256 nodeOperatorId, uint256 shares, bytes32[] proof) returns(uint256 sharesToDistribute)
func (*CsfeedistributorTransactorSession) GrantRole ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.
Solidity: function grantRole(bytes32 role, address account) returns()
func (*CsfeedistributorTransactorSession) Initialize ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactorSession) Initialize(admin common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xc4d66de8.
Solidity: function initialize(address admin) returns()
func (*CsfeedistributorTransactorSession) ProcessOracleReport ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactorSession) ProcessOracleReport(_treeRoot [32]byte, _treeCid string, distributed *big.Int) (*types.Transaction, error)
ProcessOracleReport is a paid mutator transaction binding the contract method 0xb66cf058.
Solidity: function processOracleReport(bytes32 _treeRoot, string _treeCid, uint256 distributed) returns()
func (*CsfeedistributorTransactorSession) RecoverERC1155 ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactorSession) RecoverERC1155(token common.Address, tokenId *big.Int) (*types.Transaction, error)
RecoverERC1155 is a paid mutator transaction binding the contract method 0x5c654ad9.
Solidity: function recoverERC1155(address token, uint256 tokenId) returns()
func (*CsfeedistributorTransactorSession) RecoverERC20 ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactorSession) RecoverERC20(token common.Address, amount *big.Int) (*types.Transaction, error)
RecoverERC20 is a paid mutator transaction binding the contract method 0x8980f11f.
Solidity: function recoverERC20(address token, uint256 amount) returns()
func (*CsfeedistributorTransactorSession) RecoverERC721 ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactorSession) RecoverERC721(token common.Address, tokenId *big.Int) (*types.Transaction, error)
RecoverERC721 is a paid mutator transaction binding the contract method 0x819d4cc6.
Solidity: function recoverERC721(address token, uint256 tokenId) returns()
func (*CsfeedistributorTransactorSession) RecoverEther ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactorSession) RecoverEther() (*types.Transaction, error)
RecoverEther is a paid mutator transaction binding the contract method 0x52d8bfc2.
Solidity: function recoverEther() returns()
func (*CsfeedistributorTransactorSession) RenounceRole ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactorSession) RenounceRole(role [32]byte, callerConfirmation common.Address) (*types.Transaction, error)
RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.
Solidity: function renounceRole(bytes32 role, address callerConfirmation) returns()
func (*CsfeedistributorTransactorSession) RevokeRole ¶ added in v1.6.0
func (_Csfeedistributor *CsfeedistributorTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.
Solidity: function revokeRole(bytes32 role, address account) returns()