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
Start
Start starts the node api server in a goroutine
nodeapi/nodeapi.go:103
↓ 1 callers
Method
Start
This function starts the service thread, initializing the aggregateResponses, initializeTask and processSignature channels, passing them to the run me
services/bls_aggregation/blsagg.go:290
↓ 1 callers
Method
StorageAt
( ctx context.Context, account common.Address, key common.Hash, blockNumber *big.Int, )
chainio/clients/eth/instrumented_client.go:287
↓ 1 callers
Method
SubscribeFilterLogs
( ctx context.Context, query ethereum.FilterQuery, ch chan<- types.Log, )
chainio/clients/eth/instrumented_client.go:301
↓ 1 callers
Method
SubscribeNewHead
( ctx context.Context, ch chan<- *types.Header, )
chainio/clients/eth/instrumented_client.go:318
↓ 1 callers
Method
SuggestGasPrice
(ctx context.Context)
chainio/clients/eth/instrumented_client.go:334
↓ 1 callers
Method
SuggestGasTipCap
(ctx context.Context)
chainio/clients/eth/instrumented_client.go:343
↓ 1 callers
Method
SyncProgress
(ctx context.Context)
chainio/clients/eth/instrumented_client.go:356
↓ 1 callers
Method
ToContractPubkeys
()
types/operator.go:105
↓ 1 callers
Method
Transact
Transact invokes the (paid) contract method with params as input values.
M2-contracts/bindings/OperatorStateRetriever/binding.go:239
↓ 1 callers
Method
Transact
Transact invokes the (paid) contract method with params as input values.
M2-contracts/bindings/IBLSSignatureChecker/binding.go:233
↓ 1 callers
Method
Transact
Transact invokes the (paid) contract method with params as input values.
contracts/bindings/OperatorStateRetriever/binding.go:239
↓ 1 callers
Method
TransactionByHash
We write the instrumentation of this function directly because instrumentFunction[] generic fct only takes a single return value
chainio/clients/eth/instrumented_client.go:371
↓ 1 callers
Method
TransactionCount
(ctx context.Context, blockHash common.Hash)
chainio/clients/eth/instrumented_client.go:393
↓ 1 callers
Method
TransactionInBlock
( ctx context.Context, blockHash common.Hash, index uint, )
chainio/clients/eth/instrumented_client.go:406
↓ 1 callers
Method
TransactionReceipt
(ctx context.Context, txHash common.Hash)
chainio/clients/wallet/privatekey_wallet.go:16
↓ 1 callers
Method
UpdateServiceStatus
(serviceId string, serviceStatus ServiceStatus)
nodeapi/nodeapi.go:82
↓ 1 callers
Method
Validate
()
types/operator_metadata.go:33
↓ 1 callers
Function
ValidateRawGithubUrl
(url string)
utils/utils.go:222
↓ 1 callers
Method
Verify
Verify a message against a public key
crypto/bls/attestation.go:139
↓ 1 callers
Method
WatchNewPubkeyRegistration
(opts *bind.WatchOpts, sink chan<- *ContractBLSApkRegistryNewPubkeyRegistration, operator []common.Address)
contracts/bindings/BLSApkRegistry/binding.go:165
↓ 1 callers
Method
WatchOperatorSocketUpdate
(opts *bind.WatchOpts, sink chan<- *ContractRegistryCoordinatorOperatorSocketUpdate, operatorId [][32]byte)
contracts/bindings/RegistryCoordinator/binding.go:333
↓ 1 callers
Function
WriteKeyFromHex
(path, privateKeyHex, password string)
crypto/ecdsa/utils.go:21
↓ 1 callers
Method
addGasBuffer
(gasLimit uint64)
chainio/txmgr/geometric/geometric.go:627
↓ 1 callers
Function
checkIfStakeThresholdsMet
checkIfStakeThresholdsMet checks at least quorumThresholdPercentage of stake has signed for each quorum.
services/bls_aggregation/blsagg.go:774
↓ 1 callers
Function
cloneStakePerQuorumMap
(stakes map[types.QuorumNum]types.StakeAmount)
services/bls_aggregation/blsagg.go:820
↓ 1 callers
Function
convertIndexedOperatorInfoGqlToOperatorInfo
(operator *IndexedOperatorInfoGql)
services/operatorsinfo/operatorsinfo_subgraph.go:109
↓ 1 callers
Function
createDir
(c *cli.Context, prefix string)
cmd/egnkey/generate/generate.go:125
↓ 1 callers
Function
createPasswordAndPrivateKeyFiles
(folder string)
cmd/egnkey/generate/generate.go:150
↓ 1 callers
Function
createTx
(client eth.HttpBackend, address common.Address)
chainio/txmgr/geometric/geometric_example_test.go:27
↓ 1 callers
Function
createTxMgr
(rpcUrl string, ecdsaPrivateKey *ecdsa.PrivateKey)
chainio/txmgr/geometric/geometric_example_test.go:39
↓ 1 callers
Method
ensureAnyFireblocksTransactionBroadcasted
ensureAnyFireblocksTransactionBroadcasted waits until at least one of the bumped transactions are broadcasted to the network. this is only needed for
chainio/txmgr/geometric/geometric.go:270
↓ 1 callers
Method
ensureAnyTransactionConfirmed
ensureAnyTransactionConfirmed waits until at least one of the transactions is confirmed (mined + confirmationBlocks blocks). It returns the receipt of
chainio/txmgr/geometric/geometric.go:295
↓ 1 callers
Method
estimateGasAndNonce
estimateGasAndNonce we are explicitly implementing this because * We want to support legacy transactions (i.e. not dynamic fee) * We want to support g
chainio/txmgr/simple.go:204
↓ 1 callers
Method
estimateGasFeeCap
estimateGasFeeCap returns the gas fee cap for a transaction, calculated as: gasFeeCap = 2 * baseFee + gasTipCap Rationale: https://www.blocknative.com
chainio/txmgr/geometric/geometric.go:619
↓ 1 callers
Function
fillUnsetParamsWithDefaultValues
(params *GeometricTxnManagerParams)
chainio/txmgr/geometric/geometric.go:99
↓ 1 callers
Function
generateBlsKeys
(numKeys int, path string, passwordFile, privateKeyFile *os.File)
cmd/egnkey/generate/generate.go:163
↓ 1 callers
Function
generateECDSAKeys
(numKeys int, path string, passwordFile, privateKeyFile *os.File)
cmd/egnkey/generate/generate.go:199
↓ 1 callers
Function
getAvsContractAddrs
( client *ethclient.Client, registryCoordinatorAddr common.Address, serviceManagerAddr common.Address, )
cmd/egnaddrs/main.go:166
↓ 1 callers
Function
getClientAndVersion
Not sure why this method is not exposed in the ethclient itself... but it is needed to comply with the rpc metrics defined in avs-node spec https://do
chainio/clients/eth/instrumented_client.go:439
↓ 1 callers
Function
getEigenlayerContractAddrs
( client *ethclient.Client, registryCoordinatorAddr common.Address, )
cmd/egnaddrs/main.go:204
↓ 1 callers
Function
getEthereumSignature
(expectedPublicKeyBytes []byte, txHash []byte, r []byte, s []byte)
signerv2/kms_signer.go:83
↓ 1 callers
Method
getIndexedOperatorInfoByOperatorId
( ctx context.Context, operator common.Address, )
services/operatorsinfo/operatorsinfo_subgraph.go:90
↓ 1 callers
Function
getPubkeyRegistrationParams
Returns the pubkey registration params for the operator given by `operatorAddress`.
chainio/clients/elcontracts/writer.go:947
↓ 1 callers
Function
getRegCoordAndServiceMngrAddr
( c *cli.Context, client *ethclient.Client, )
cmd/egnaddrs/main.go:109
↓ 1 callers
Function
getRegistrationWithChurnAbi
()
chainio/clients/elcontracts/writer.go:1066
↓ 1 callers
Method
getWhitelistedAccount
( ctx context.Context, address common.Address, )
chainio/clients/wallet/fireblocks_wallet.go:111
↓ 1 callers
Method
getWhitelistedContract
( ctx context.Context, address common.Address, )
chainio/clients/wallet/fireblocks_wallet.go:142
↓ 1 callers
Method
healthHandler
https://docs.eigenlayer.xyz/eigenlayer/avs-guides/spec/api/#get-eigennodehealth
nodeapi/nodeapi.go:137
↓ 1 callers
Method
initMetrics
()
metrics/eigenmetrics.go:64
↓ 1 callers
Method
initOperatorId
initialize the operatorId if it hasn't already been initialized
metrics/collectors/economic/economic.go:129
↓ 1 callers
Method
monitorTransaction
monitorTransaction waits until the transaction is confirmed (or failed) and resends it with a higher gas price if it is not mined without a timeout. I
chainio/txmgr/geometric/geometric.go:370
↓ 1 callers
Function
newFakeAVSRegistryReader
()
metrics/collectors/economic/economic_test.go:53
↓ 1 callers
Function
newFakeAVSRegistrySubscriber
( eventSubscription *fakeEventSubscription, pubkeyRegistrationEventC chan *blsapkreg.ContractBLSApkRegistryN
services/operatorsinfo/operatorsinfo_inmemory_test.go:32
↓ 1 callers
Function
newFakeELReader
()
metrics/collectors/economic/economic_test.go:25
↓ 1 callers
Function
newFakeEventSubscription
( errC chan error)
services/operatorsinfo/operatorsinfo_inmemory_test.go:56
↓ 1 callers
Function
newIntegrationTestHarness
(t *testing.T)
chainio/txmgr/geometric/geometric_test.go:368
↓ 1 callers
Function
newTxnRequest
(tx *types.Transaction)
chainio/txmgr/geometric/geometric.go:159
↓ 1 callers
Method
nodeHandler
https://docs.eigenlayer.xyz/eigenlayer/avs-guides/spec/api/#get-eigennode
nodeapi/nodeapi.go:124
↓ 1 callers
Method
processTransaction
processTransaction sends the transaction and runs a monitoring loop to bump the gasPrice until the tx get included. processTransaction can be called c
chainio/txmgr/geometric/geometric.go:185
↓ 1 callers
Method
queryPastRegisteredOperatorEventsAndFillDb
( ctx context.Context, opts Opts, )
services/operatorsinfo/operatorsinfo_inmemory.go:283
↓ 1 callers
Method
queryReceipt
(ctx context.Context, txID wallet.TxID)
chainio/txmgr/simple.go:185
↓ 1 callers
Function
run
(logger logging.Logger, httpServer *http.Server)
nodeapi/nodeapi.go:201
↓ 1 callers
Method
run
Here is executed the main loop, where the requests are received from the initialize task and process signature channels, executing the corresponding l
services/bls_aggregation/blsagg.go:312
↓ 1 callers
Method
runService
( ctx context.Context, queryC <-chan query, wg *sync.WaitGroup, opts Opts, )
services/operatorsinfo/operatorsinfo_inmemory.go:129
↓ 1 callers
Method
serviceHealthHandler
https://docs.eigenlayer.xyz/eigenlayer/avs-guides/spec/api/#get-eigennodeservicesservice_idhealth
nodeapi/nodeapi.go:167
↓ 1 callers
Method
servicesHandler
https://docs.eigenlayer.xyz/eigenlayer/avs-guides/spec/api/#get-eigennodeservices
nodeapi/nodeapi.go:156
↓ 1 callers
Method
setCongestedBlocks
(n uint64)
chainio/txmgr/geometric/geometric_test.go:300
↓ 1 callers
Function
setup
()
chainio/clients/eth/instrumented_client_test.go:43
↓ 1 callers
Function
setup
()
aws/kms/get_public_key_test.go:36
↓ 1 callers
Function
setup
()
signerv2/kms_signer_test.go:51
↓ 1 callers
Function
signChurnRegistration
Returns the pubkey registration params for the operator given by `operatorAddress`.
chainio/clients/elcontracts/writer.go:978
↓ 1 callers
Method
signJwt
signJwt signs a JWT token for the Fireblocks API mostly copied from the Fireblocks example: https://github.com/fireblocks/developers-hub/blob/main/aut
chainio/clients/fireblocks/client.go:113
↓ 1 callers
Method
singleTaskAggregatorGoroutineFunc
( metadata TaskMetadata, signedTaskRespsC <-chan types.SignedTaskResponseDigest, aggregatedResponsesC chan<
services/bls_aggregation/blsagg.go:419
↓ 1 callers
Method
speedUpTxn
speedUpTxn increases the gas price of the existing transaction by specified percentage. It makes sure the new gas price is not lower than the current
chainio/txmgr/geometric/geometric.go:505
↓ 1 callers
Method
startMining
()
chainio/txmgr/geometric/geometric_test.go:271
↓ 1 callers
Method
verifySignature
verifySignature verifies that a signature is valid against the operator pubkey stored in the operatorsAvsStateDict for that particular task
services/bls_aggregation/blsagg.go:713
↓ 1 callers
Function
writeBytesToFile
(path string, data []byte)
crypto/ecdsa/utils.go:55
Method
ALLOCATIONCONFIGURATIONDELAY
ALLOCATIONCONFIGURATIONDELAY is a free data retrieval call binding the contract method 0x7bc1ef61. Solidity: function ALLOCATION_CONFIGURATION_DELAY(
contracts/bindings/AllocationManager/binding.go:447
Method
ALLOCATIONCONFIGURATIONDELAY
ALLOCATIONCONFIGURATIONDELAY is a free data retrieval call binding the contract method 0x7bc1ef61. Solidity: function ALLOCATION_CONFIGURATION_DELAY(
contracts/bindings/AllocationManager/binding.go:464
Method
ALLOCATIONCONFIGURATIONDELAY
ALLOCATIONCONFIGURATIONDELAY is a free data retrieval call binding the contract method 0x7bc1ef61. Solidity: function ALLOCATION_CONFIGURATION_DELAY(
contracts/bindings/AllocationManager/binding.go:471
Method
AcceptAdmin
Accept a pending admin for the account given by `request.AccountAddress`. The sender of the transaction must be the pending admin.
chainio/clients/elcontracts/writer.go:845
Method
AcceptAdmin
AcceptAdmin is a paid mutator transaction binding the contract method 0x628806ef. Solidity: function acceptAdmin(address account) returns()
contracts/bindings/PermissionController/binding.go:541
Method
AcceptAdmin
AcceptAdmin is a paid mutator transaction binding the contract method 0x628806ef. Solidity: function acceptAdmin(address account) returns()
contracts/bindings/PermissionController/binding.go:548
Method
AcceptAdmin
AcceptAdmin is a paid mutator transaction binding the contract method 0x628806ef. Solidity: function acceptAdmin(address account) returns()
contracts/bindings/PermissionController/binding.go:555
Method
ActivationDelay
ActivationDelay is a free data retrieval call binding the contract method 0x3a8c0786. Solidity: function activationDelay() view returns(uint32)
M2-contracts/bindings/IRewardsCoordinator/binding.go:561
Method
ActivationDelay
ActivationDelay is a free data retrieval call binding the contract method 0x3a8c0786. Solidity: function activationDelay() view returns(uint32)
M2-contracts/bindings/IRewardsCoordinator/binding.go:578
Method
ActivationDelay
ActivationDelay is a free data retrieval call binding the contract method 0x3a8c0786. Solidity: function activationDelay() view returns(uint32)
M2-contracts/bindings/IRewardsCoordinator/binding.go:585
Method
ActivationDelay
ActivationDelay is a free data retrieval call binding the contract method 0x3a8c0786. Solidity: function activationDelay() view returns(uint32)
contracts/bindings/RewardsCoordinator/binding.go:680
Method
ActivationDelay
ActivationDelay is a free data retrieval call binding the contract method 0x3a8c0786. Solidity: function activationDelay() view returns(uint32)
contracts/bindings/RewardsCoordinator/binding.go:697
Method
ActivationDelay
ActivationDelay is a free data retrieval call binding the contract method 0x3a8c0786. Solidity: function activationDelay() view returns(uint32)
contracts/bindings/RewardsCoordinator/binding.go:704
Method
ActiveValidatorCount
ActiveValidatorCount is a free data retrieval call binding the contract method 0x2340e8d3. Solidity: function activeValidatorCount() view returns(uin
chainio/clients/eigenpod/bindings/IEigenPod.go:228
Method
ActiveValidatorCount
ActiveValidatorCount is a free data retrieval call binding the contract method 0x2340e8d3. Solidity: function activeValidatorCount() view returns(uin
chainio/clients/eigenpod/bindings/IEigenPod.go:245
Method
ActiveValidatorCount
ActiveValidatorCount is a free data retrieval call binding the contract method 0x2340e8d3. Solidity: function activeValidatorCount() view returns(uin
chainio/clients/eigenpod/bindings/IEigenPod.go:252
Method
ActiveValidatorCount
(opts *bind.CallOpts)
M2-contracts/bindings/EigenPod/binding.go:115
Method
ActiveValidatorCount
ActiveValidatorCount is a free data retrieval call binding the contract method 0x2340e8d3. Solidity: function activeValidatorCount() view returns(uin
M2-contracts/bindings/EigenPod/binding.go:402
Method
ActiveValidatorCount
ActiveValidatorCount is a free data retrieval call binding the contract method 0x2340e8d3. Solidity: function activeValidatorCount() view returns(uin
M2-contracts/bindings/EigenPod/binding.go:419
Method
ActiveValidatorCount
ActiveValidatorCount is a free data retrieval call binding the contract method 0x2340e8d3. Solidity: function activeValidatorCount() view returns(uin
M2-contracts/bindings/EigenPod/binding.go:426
Method
ActiveValidatorCount
ActiveValidatorCount is a free data retrieval call binding the contract method 0x2340e8d3. Solidity: function activeValidatorCount() view returns(uin
contracts/bindings/EigenPod/binding.go:405
Method
ActiveValidatorCount
ActiveValidatorCount is a free data retrieval call binding the contract method 0x2340e8d3. Solidity: function activeValidatorCount() view returns(uin
contracts/bindings/EigenPod/binding.go:422
← previous
next →
1,201–1,300 of 7,967, ranked by callers