Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Layr-Labs/eigensdk-go
/ functions
Functions
7,967 in github.com/Layr-Labs/eigensdk-go
⨍
Functions
7,967
◇
Types & classes
1,471
↓ 1 callers
Method
GetIsOperatorDirectedOperatorSetRewardsSubmissionHash
Returns whether a hash is a valid operator set performance rewards submission hash for a given avs
chainio/clients/elcontracts/reader.go:606
↓ 1 callers
Method
GetIsRewardsForAllSubmitter
Returns whether a submitter is a valid rewards for all submitter
chainio/clients/elcontracts/reader.go:571
↓ 1 callers
Method
GetIsRewardsSubmissionForAllEarnersHash
Returns whether a hash is a valid rewards submission for all earners hash for a given avs
chainio/clients/elcontracts/reader.go:582
↓ 1 callers
Method
GetIsRewardsSubmissionForAllHash
Returns whether a hash is a valid rewards submission for all hash for a given avs
chainio/clients/elcontracts/reader.go:559
↓ 1 callers
Method
GetMaxFutureLength
Get the max amount of time (seconds) that a rewards submission can start in the future
chainio/clients/elcontracts/reader.go:466
↓ 1 callers
Method
GetMaxRetroactiveLength
Get the max amount of time (seconds) that a rewards submission can start in the past
chainio/clients/elcontracts/reader.go:456
↓ 1 callers
Method
GetMaxRewardsDuration
Gets the maximum amount of time (seconds) that a rewards submission can span over
chainio/clients/elcontracts/reader.go:446
↓ 1 callers
Method
GetMinimumStakeForQuorum
( opts *bind.CallOpts, quorumNumber uint8, )
chainio/clients/avsregistry/reader.go:614
↓ 1 callers
Method
GetOperatorAddressFromOperatorId
Returns the operator address given their operator ID (their pubkeyhash)
chainio/clients/avsregistry/reader.go:829
↓ 1 callers
Method
GetOperatorId
(opts *bind.CallOpts, operatorAddr common.Address)
metrics/collectors/economic/economic.go:20
↓ 1 callers
Method
GetOperatorId
Given an operator address, returns its ID.
chainio/clients/avsregistry/reader.go:725
↓ 1 callers
Method
GetOperatorId
()
signer/bls/cerberus/cerberus.go:112
↓ 1 callers
Method
GetOperatorIdFromOperatorAddress
Returns the operator's operatorId (pubkeyhash) given their address
chainio/clients/avsregistry/reader.go:813
↓ 1 callers
Method
GetOperatorInfo
TODO(samlaf): we might want to also add an async version of this method that returns a channel of operator pubkeys?
services/operatorsinfo/operatorsinfo_subgraph.go:79
↓ 1 callers
Method
GetOperatorInfo
TODO(samlaf): we might want to also add an async version of this method that returns a channel of operator pubkeys?
services/operatorsinfo/operatorsinfo_inmemory.go:363
↓ 1 callers
Method
GetOperatorInfo
GetOperatorInfo returns the info of the operator with the given address. it returns operatorFound=false if the operator is not found.
services/operatorsinfo/operatorsinfo.go:22
↓ 1 callers
Method
GetOperatorsAvsStateAtBlock
GetOperatorsAvsState returns the state of an avs wrt to a list of quorums at a certain block. The state includes the operatorId, pubkey, and staking a
services/avsregistry/avsregistry.go:17
↓ 1 callers
Method
GetOperatorsStakeInQuorumsAtBlock
the contract stores historical state, so blockNumber should be the block number of the state you want to query and the blockNumber in opts should be t
chainio/clients/avsregistry/reader.go:136
↓ 1 callers
Method
GetOperatorsStakeInQuorumsAtCurrentBlock
Returns, for each quorum in `quorumNumbers`, a vector of the operators registered for that quorum at the current block, containing each operator's `op
chainio/clients/avsregistry/reader.go:117
↓ 1 callers
Method
GetOperatorsStakeInQuorumsOfOperatorAtCurrentBlock
opts will be modified to have the latest blockNumber, so make sure not to reuse it blockNumber in opts will be ignored, and the chain will be queried
chainio/clients/avsregistry/reader.go:223
↓ 1 callers
Method
GetPendingWithdrawalStatus
Returns whether a withdrawal is pending for a given `withdrawalRoot`.
chainio/clients/elcontracts/reader.go:770
↓ 1 callers
Method
GetPubkeyFromOperatorAddress
Returns operator's BLS public key in G1 given their address
chainio/clients/avsregistry/reader.go:845
↓ 1 callers
Method
GetQuorumsAvsStateAtBlock
GetQuorumsAvsStateAtBlock returns the aggregated data for a list of quorums at a certain block. The aggregated data includes the aggregated pubkey and
services/avsregistry/avsregistry.go:26
↓ 1 callers
Method
GetQuorumsAvsStateAtBlock
( ctx context.Context, quorumNumbers types.QuorumNums, blockNumber types.BlockNum, )
services/avsregistry/avsregistry_chaincaller.go:120
↓ 1 callers
Method
GetRewardsUpdater
Get the address of the entity that can update the contract with new merkle roots
chainio/clients/elcontracts/reader.go:486
↓ 1 callers
Method
GetSlashableSharesForOperatorSets
Returns the strategies the `operatorSets` take into account, their operators, and the minimum amount of shares that are slashable by the operatorSets.
chainio/clients/elcontracts/reader.go:1032
↓ 1 callers
Method
GetStakeTypePerQuorum
( opts *bind.CallOpts, quorumNumber uint8, )
chainio/clients/avsregistry/reader.go:694
↓ 1 callers
Method
GetStrategyPerQuorumAtIndex
( opts *bind.CallOpts, quorumNumber uint8, index *big.Int, )
chainio/clients/avsregistry/reader.go:644
↓ 1 callers
Method
GetSubmissionNonce
Returns the submission nonce for an avs
chainio/clients/elcontracts/reader.go:536
↓ 1 callers
Method
HeaderByHash
(ctx context.Context, hash common.Hash)
chainio/clients/eth/instrumented_client.go:173
↓ 1 callers
Method
HeaderByNumber
(ctx context.Context, number *big.Int)
chainio/clients/eth/instrumented_client.go:186
↓ 1 callers
Method
IncrementProcessingTxCount
()
chainio/txmgr/geometric/metrics.go:14
↓ 1 callers
Method
InitializeNewTask
InitializeNewTask creates a new task goroutine meant to process new signed task responses for that task (that are sent via ProcessNewSignature) and ad
services/bls_aggregation/blsagg.go:160
↓ 1 callers
Function
IsImageURL
(urlString string)
utils/utils.go:173
↓ 1 callers
Method
IsLocalKeystoreSigner
()
signerv2/config.go:17
↓ 1 callers
Method
IsPrivateKeySigner
()
signerv2/config.go:13
↓ 1 callers
Method
IsWeb3Signer
()
signerv2/config.go:21
↓ 1 callers
Function
KMSSignerFn
KMSSignerFn returns a SignerFn that uses a KMS key to sign transactions Heavily taken from https://github.com/welthee/go-ethereum-aws-kms-tx-signer It
signerv2/kms_signer.go:36
↓ 1 callers
Function
KeyAndAddressFromHexKey
(hexkey string)
crypto/ecdsa/utils.go:120
↓ 1 callers
Method
ListAdmins
Returns the admins of an account. Can return an error if the `PermissionController` contract address was not provided, or due to errors in the underly
chainio/clients/elcontracts/reader.go:1217
↓ 1 callers
Method
ListAppointeePermissions
Returns the list of permissions of an appointee for a given account. Can return an error if the `PermissionController` contract address was not provid
chainio/clients/elcontracts/reader.go:1182
↓ 1 callers
Function
MapToCurve
MapToCurve implements the simple hash-and-check (also sometimes try-and-increment) algorithm see https://hackmd.io/@benjaminion/bls12-381#Hash-and-che
crypto/bn254/utils.go:36
↓ 1 callers
Function
New
(cfg Config)
signer/bls/cerberus/cerberus.go:44
↓ 1 callers
Method
NewAcceptAdminTx
Builds a transaction for the PermissionController's acceptAdmin function.
chainio/clients/elcontracts/writer.go:833
↓ 1 callers
Method
NewAddPendingAdminTx
Builds a transaction for the PermissionController's addPendingAdmin function.
chainio/clients/elcontracts/writer.go:862
↓ 1 callers
Function
NewBlsAggregatorBuilder
( avsRegistryService avsregistry.AvsRegistryService, hashFunction types.TaskResponseHashFunction, logger lo
services/bls_aggregation/blsagg.go:225
↓ 1 callers
Function
NewChainSubscriber
NewChainSubscriber creates a new instance of ChainSubscriber The bindings must be created using websocket ETH Client
chainio/clients/avsregistry/subscriber.go:22
↓ 1 callers
Function
NewClient
( apiKey string, secretKey []byte, baseURL string, timeout time.Duration, logger logging.Logger, )
chainio/clients/fireblocks/client.go:87
↓ 1 callers
Function
NewCollector
NewCollector returns an rpccalls Collector that collects metrics for json-rpc calls
metrics/collectors/rpc_calls/rpc_calls.go:23
↓ 1 callers
Function
NewContractBindings
( address common.Address, ethClient eth.HttpBackend, )
chainio/clients/eigenpod/bindings.go:30
↓ 1 callers
Function
NewContractCallerBindings
( address common.Address, ethClient eth.HttpBackend, )
chainio/clients/eigenpod/bindings.go:44
↓ 1 callers
Function
NewFailingEthBackend
(pendingFailures uint32)
chainio/txmgr/simple_test.go:101
↓ 1 callers
Function
NewFakeEthBackend
()
chainio/txmgr/geometric/geometric_test.go:249
↓ 1 callers
Function
NewIEigenPodCaller
NewIEigenPodCaller creates a new read-only instance of IEigenPod, bound to a specific deployed contract.
chainio/clients/eigenpod/bindings/IEigenPod.go:152
↓ 1 callers
Function
NewIEigenPodManagerCaller
NewIEigenPodManagerCaller creates a new read-only instance of IEigenPodManager, bound to a specific deployed contract.
chainio/clients/eigenpod/bindings/IEigenPodManager.go:110
↓ 1 callers
Function
NewInstrumentedClientFromClient
( client *ethclient.Client, rpcCallsCollector rpccalls.CollectorInterface, )
chainio/clients/eth/instrumented_client.go:45
↓ 1 callers
Function
NewKMSSigner
(ctx context.Context, svc *kms.Client, pk *ecdsa.PublicKey, keyId string, chainID *big.Int)
signerv2/kms_signer.go:23
↓ 1 callers
Function
NewKeyGenerator
NewKeyGenerator is the factory function to create a KeyGenerator based on the key type
cmd/egnkey/generate/generate.go:86
↓ 1 callers
Function
NewManagerContractBindings
( address common.Address, ethClient eth.HttpBackend, )
chainio/clients/eigenpod/bindings.go:58
↓ 1 callers
Function
NewManagerContractCallerBindings
( address common.Address, ethClient eth.HttpBackend, )
chainio/clients/eigenpod/bindings.go:72
↓ 1 callers
Function
NewMetrics
(reg prometheus.Registerer, subsystem string, logger logging.Logger)
chainio/txmgr/geometric/metrics.go:32
↓ 1 callers
Function
NewOperatorsInfoServiceSubgraph
NewOperatorsInfoServiceSubgraph constructs a OperatorsInfoServiceSubgraph and starts it in a goroutine. It takes a context as argument because the "ba
services/operatorsinfo/operatorsinfo_subgraph.go:66
↓ 1 callers
Function
NewPrivateKey
(sk string)
crypto/bls/attestation.go:149
↓ 1 callers
Function
NewReaderFromConfig
NewReaderFromConfig creates a new ChainReader
chainio/clients/avsregistry/reader.go:84
↓ 1 callers
Method
NewRemoveAdminTx
Builds a transaction for the PermissionController's removeAdmin function.
chainio/clients/elcontracts/writer.go:888
↓ 1 callers
Method
NewRemovePendingAdminTx
Builds a transaction for the PermissionController's removePendingAdmin function.
chainio/clients/elcontracts/writer.go:917
↓ 1 callers
Method
NewRemovePermissionTx
Builds a transaction for the PermissionController's removeAppointee function.
chainio/clients/elcontracts/writer.go:777
↓ 1 callers
Method
NewSetPermissionTx
Builds a transaction for the PermissionController's setAppointee function.
chainio/clients/elcontracts/writer.go:795
↓ 1 callers
Function
NewTestAvsRegistryReaderFromConfig
Creates a testing AVSRegistrer ChainReader from an httpEndpoint, private key and config.
testutils/testclients/testclients.go:248
↓ 1 callers
Function
NewWeb3SignerClient
(url string)
signerv2/web3_signer.go:38
↓ 1 callers
Function
NewWriterFromConfig
NewWriterFromConfig creates a new ChainWriter from the provided config
chainio/clients/avsregistry/writer.go:83
↓ 1 callers
Function
NewWriterFromConfig
Returns a new instance of ChainWriter from a given config.
chainio/clients/elcontracts/writer.go:98
↓ 1 callers
Function
NewZapLoggerByConfig
NewZapLoggerByConfig creates a logger wrapped the zap.Logger Note if the logger need to show the caller, need use `zap.AddCallerSkip(1)` ad options
logging/zap_logger.go:40
↓ 1 callers
Function
NewZeroSignature
()
crypto/bls/attestation.go:129
↓ 1 callers
Method
NonceAt
( ctx context.Context, account common.Address, blockNumber *big.Int, )
chainio/clients/eth/instrumented_client.go:199
↓ 1 callers
Method
ObserveBroadcastLatencyMs
(latencyMs int64)
chainio/txmgr/geometric/metrics.go:10
↓ 1 callers
Method
ObserveConfirmationLatencyMs
(latencyMs int64)
chainio/txmgr/geometric/metrics.go:11
↓ 1 callers
Method
ObserveGasUsedWei
(gasUsedWei uint64)
chainio/txmgr/geometric/metrics.go:12
↓ 1 callers
Method
ObserveRPCRequestDurationSeconds
ObserveRPCRequestDurationSeconds observes the duration of a json-rpc request
metrics/collectors/rpc_calls/rpc_calls.go:51
↓ 1 callers
Method
ObserveSpeedups
(speedUps int)
chainio/txmgr/geometric/metrics.go:13
↓ 1 callers
Function
OperatorIdFromContractG1Pubkey
(pubkey apkreg.BN254G1Point)
types/operator.go:129
↓ 1 callers
Function
OperatorIdFromKeyPair
(keyPair *bls.KeyPair)
types/operator.go:133
↓ 1 callers
Method
PendingBalanceAt
(ctx context.Context, account common.Address)
chainio/clients/eth/instrumented_client.go:212
↓ 1 callers
Method
PendingCallContract
(ctx context.Context, call ethereum.CallMsg)
chainio/clients/eth/instrumented_client.go:221
↓ 1 callers
Method
PendingCodeAt
(ctx context.Context, account common.Address)
chainio/clients/eth/instrumented_client.go:230
↓ 1 callers
Method
PendingStorageAt
( ctx context.Context, account common.Address, key common.Hash, )
chainio/clients/eth/instrumented_client.go:252
↓ 1 callers
Method
PendingTransactionCount
(ctx context.Context)
chainio/clients/eth/instrumented_client.go:265
↓ 1 callers
Method
ProcessNewSignature
ProcessNewSignature processes a new signature over a taskResponseDigest for a particular taskIndex by a particular operator It verifies that the signa
services/bls_aggregation/blsagg.go:171
↓ 1 callers
Method
QueryRegistrationDetail
Returns an array of booleans, where the boolean at index i represents whether the operator is registered for the quorum i.
chainio/clients/avsregistry/reader.go:764
↓ 1 callers
Function
ReadBatchKeys
ReadBatchKeys reads the batch keys from the given folder and returns the list of BatchKey folder: folder where the keys are stored, relative to the cu
crypto/utils/batch_key.go:23
↓ 1 callers
Function
ReadStringFromSecretManager
(ctx context.Context, secretName, region string)
aws/secretmanager/secretmanager.go:12
↓ 1 callers
Method
Receive
Receive is a paid mutator transaction binding the contract receive function. Solidity: receive() payable returns()
M2-contracts/bindings/EigenPod/binding.go:1063
↓ 1 callers
Method
Receive
Receive is a paid mutator transaction binding the contract receive function. Solidity: receive() payable returns()
contracts/bindings/EigenPod/binding.go:1097
↓ 1 callers
Method
Send
Send is used to send a transaction to the Ethereum node. It takes an unsigned/signed transaction and then sends it to the Ethereum node. It also takes
chainio/txmgr/simple.go:73
↓ 1 callers
Method
SendTransaction
(ctx context.Context, tx *types.Transaction)
chainio/clients/wallet/privatekey_wallet.go:15
↓ 1 callers
Method
SendTransaction
(ctx context.Context, tx *types.Transaction)
chainio/clients/eth/instrumented_client.go:278
↓ 1 callers
Method
SetAvs
Sets the avs as the address received as parameter. Identifier should only be set once, since changing it could break existing operator sets. Returns t
chainio/clients/avsregistry/writer.go:799
↓ 1 callers
Method
SignG1
SignG1 signs the message using the BLS signature scheme This message is assumed to be already mapped to G1 point
signer/bls/signer.go:18
↓ 1 callers
Method
SignTransaction
(from common.Address, tx *types.Transaction)
signerv2/web3_signer.go:27
↓ 1 callers
Method
Start
Start creates an http handler for reg and starts the prometheus server in a goroutine, listening at m.ipPortAddress. reg needs to be the prometheus re
metrics/eigenmetrics.go:85
← previous
next →
1,101–1,200 of 7,967, ranked by callers