MCPcopy Create free account

hub / github.com/cairoeth/preconfirmations / functions

Functions563 in github.com/cairoeth/preconfirmations

↓ 187 callersMethodError
()
rpc/types/types.go:57
↓ 86 callersMethodString
()
preconf-share/preconshare/backend.go:57
↓ 51 callersFunctionNewJSONRPCRequest
(id interface{}, method string, params []interface{})
rpc/types/types.go:31
↓ 22 callersMethodPush
(ctx context.Context, data []byte, highPriority bool, minTargetBlock, maxTargetBlock uint64)
preconf-share/simqueue/queue.go:116
↓ 22 callersMethodUpdateBlock
(block uint64)
preconf-share/simqueue/queue.go:115
↓ 20 callersMethodHasHint
(flag HintIntent)
preconf-share/preconshare/types.go:41
↓ 19 callersMethodnextProcessed
(timeout time.Duration)
preconf-share/simqueue/queue_test.go:78
↓ 19 callersFunctiontestServerSetupWithMockStore
Setup RPC endpoint and mock backend servers
rpc/tests/e2e_test.go:51
↓ 17 callersMethodwriteRPCError
(msg string, errCode int)
rpc/server/request_processor.go:386
↓ 14 callersMethodAdd
(ctx context.Context, hash common.Hash)
preconf-share/preconshare/cancellation_cache.go:25
↓ 12 callersMethodTransact
Transact invokes the (paid) contract method with params as input values.
contracts/bindings/PreconfServiceManager/binding.go:189
↓ 11 callersMethodCall
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 sim
contracts/bindings/ERC20Mock/binding.go:171
↓ 11 callersFunctionSendRPCAndParseResponseOrFailNow
(t *testing.T, req *types.JSONRPCRequest)
rpc/testutils/rpctesthelpers.go:43
↓ 11 callersMethodstartProcessLoop
(ctx context.Context, processFuncs []ProcessFunc)
preconf-share/simqueue/queue_test.go:44
↓ 11 callersMethodstopProcessLoop
()
preconf-share/simqueue/queue_test.go:50
↓ 10 callersFunctionSendRPCAndParseResponseOrFailNowString
(t *testing.T, req *types.JSONRPCRequest)
rpc/testutils/rpctesthelpers.go:51
↓ 10 callersMethodSetHint
(flag HintIntent)
preconf-share/preconshare/types.go:37
↓ 10 callersFunctiongetMethodTypes
(fn interface{})
preconf-share/jsonrpcserver/reflect.go:25
↓ 9 callersMethodCall
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 sim
contracts/bindings/PreconfServiceManager/binding.go:178
↓ 9 callersMethodClose
()
rpc/database/postgres_store.go:29
↓ 8 callersMethodGetWhitehatBundleTx
(bundleID string)
rpc/server/redisstate.go:236
↓ 8 callersFunctionSendRPCAndParseResponseTo
(url string, req *types.JSONRPCRequest)
rpc/testutils/rpctesthelpers.go:66
↓ 8 callersFunctionresetRedis
()
rpc/server/redisstate_test.go:18
↓ 8 callersMethodwriteRPCResult
(result interface{})
rpc/server/request_processor.go:401
↓ 7 callersMethodBlockNumber
(ctx context.Context)
preconf-share/preconshare/api.go:43
↓ 7 callersMethodGetNonceFixForAccount
(txFrom string)
rpc/server/redisstate.go:170
↓ 7 callersMethodGetSenderMaxNonce
(txFrom string)
rpc/server/redisstate.go:283
↓ 7 callersFunctionSendBatchRPCAndParseResponse
(req []*types.JSONRPCRequest)
rpc/testutils/rpctesthelpers.go:21
↓ 7 callersMethodTransact
Transact invokes the (paid) contract method with params as input values.
contracts/bindings/ERC20Mock/binding.go:182
↓ 7 callersMethodqueuedItems
queuedItems returns number of items in the queue that should be eventually processed processable are the items that can be processed now unprocessable
preconf-share/simqueue/queue.go:207
↓ 7 callersFunctionwriteJSONRPCError
(w http.ResponseWriter, id any, code int, msg string)
preconf-share/jsonrpcserver/jsonrpc_server.go:83
↓ 6 callersMethodCall
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 sim
contracts/bindings/PreconfChallengeManager/binding.go:177
↓ 6 callersFunctionGetTxStatus
(txHash string)
rpc/server/util.go:79
↓ 6 callersFunctionNewMemStore
()
rpc/database/mem_store.go:15
↓ 6 callersMethodblockResendingTxToRelay
Check whether to block resending this tx. Send only if (a) not sent before, (b) sent and status=failed, (c) sent, status=unknown and sent at least 5 m
rpc/server/request_processor.go:162
↓ 6 callersFunctiongetEnvAsStrOrDefault
(key, defaultValue string)
rpc/cmd/server/main.go:113
↓ 6 callersFunctiontestServerSetup
(db database.Store)
rpc/tests/e2e_test.go:56
↓ 5 callersMethodCleanQueues
CleanQueues cleans all data in redis associated with the given queue NOTE: slow and dangerous operation, should only be used for testing
preconf-share/simqueue/queue.go:401
↓ 5 callersMethodGetTxSentToRelay
(txHash string)
rpc/server/redisstate.go:120
↓ 5 callersMethodInsertBundleForStats
InsertBundleForStats inserts a bundle into the database. When called for the second time for the known bundle, it will return known = true and update
preconf-share/preconshare/database.go:250
↓ 5 callersMethodIsCancelled
(ctx context.Context, hash []common.Hash)
preconf-share/preconshare/cancellation_cache.go:29
↓ 5 callersMethodSetSenderMaxNonce
Enable lookup of last txHash sent by txFrom func (s *RedisState) SetLastPrivTxHashOfAccount(txFrom string, txHash string) error { key := RedisKeyLa
rpc/server/redisstate.go:267
↓ 5 callersMethodTransact
Transact invokes the (paid) contract method with params as input values.
contracts/bindings/PreconfChallengeManager/binding.go:188
↓ 5 callersFunctionrawParams
(raw string)
preconf-share/jsonrpcserver/reflect_test.go:15
↓ 4 callersMethodClose
()
preconf-share/preconshare/database.go:398
↓ 4 callersMethodGetResult
(ctx context.Context, k string)
preconf-share/spike/manager.go:143
↓ 4 callersFunctionNewDBBackend
(postgresDSN string)
preconf-share/preconshare/database.go:137
↓ 4 callersFunctionNewRedisState
(redisURL string)
rpc/server/redisstate.go:98
↓ 4 callersFunctionSendRPCAndParseResponseOrFailNowAllowRPCError
(t *testing.T, req *types.JSONRPCRequest)
rpc/testutils/rpctesthelpers.go:58
↓ 4 callersMethodSetNonceFixForAccount
SetNonceFixForAccount nonce-fix per account
rpc/server/redisstate.go:158
↓ 4 callersMethodSetTxSentToRelay
SetTxSentToRelay Enable lookup of timeSentToRelay by txHash
rpc/server/redisstate.go:114
↓ 4 callersMethodStop
To stop the subscription
preconf-operator/sse/backend.go:12
↓ 4 callersMethodUpdateRequestEntry
(req *http.Request, reqStatus int, error string)
rpc/server/request_record.go:36
↓ 4 callersFunctionbindContractERC20Mock
bindContractERC20Mock binds a generic wrapper to an already deployed contract.
contracts/bindings/ERC20Mock/binding.go:159
↓ 4 callersFunctionbindContractPreconfChallengeManager
bindContractPreconfChallengeManager binds a generic wrapper to an already deployed contract.
contracts/bindings/PreconfChallengeManager/binding.go:165
↓ 4 callersFunctionbindContractPreconfServiceManager
bindContractPreconfServiceManager binds a generic wrapper to an already deployed contract.
contracts/bindings/PreconfServiceManager/binding.go:166
↓ 4 callersMethodcall
(ctx context.Context, params []json.RawMessage)
preconf-share/jsonrpcserver/reflect.go:59
↓ 3 callersMethodAddTxToWhitehatBundle
AddTxToWhitehatBundle Enable lookup of tx bundles by bundle ID
rpc/server/redisstate.go:206
↓ 3 callersMethodChallengeManager
ChallengeManager is a free data retrieval call binding the contract method 0x023a96fe. Solidity: function challengeManager() view returns(address)
contracts/bindings/PreconfServiceManager/binding.go:246
↓ 3 callersMethodGetBundleByMatchingHash
(ctx context.Context, hash common.Hash)
preconf-share/preconshare/database.go:192
↓ 3 callersMethodGetSenderOfTxHash
(txHash string)
rpc/server/redisstate.go:193
↓ 3 callersFunctionIncRPCCallFailure
(method string)
preconf-share/metrics/metrics.go:36
↓ 3 callersFunctionNewRedisQueue
(log *zap.Logger, red *redis.Client, queueName string)
preconf-share/simqueue/queue.go:147
↓ 3 callersMethodProxyRequest
(body []byte)
rpc/server/http_client.go:13
↓ 3 callersFunctionRecordRPCCallDuration
(method string, duration int64)
preconf-share/metrics/metrics.go:31
↓ 3 callersFunctionRedisKeyNonceFixForAccount
(txFrom string)
rpc/server/redisstate.go:70
↓ 3 callersFunctionRedisKeyTxHashForSenderAndNonce
(txFrom string, nonce uint64)
rpc/server/redisstate.go:66
↓ 3 callersFunctionRedisKeyWhitehatBundleTransactions
(bundleID string)
rpc/server/redisstate.go:82
↓ 3 callersMethodServiceManager
ServiceManager is a free data retrieval call binding the contract method 0x3998fdd3. Solidity: function serviceManager() view returns(address)
contracts/bindings/PreconfChallengeManager/binding.go:338
↓ 3 callersMethodTransfer
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
contracts/bindings/ERC20Mock/binding.go:177
↓ 3 callersFunctionextractArgumentsFromJSONparamsArray
(in []reflect.Type, params []json.RawMessage)
preconf-share/jsonrpcserver/reflect.go:88
↓ 3 callersFunctiongetEnvAsIntOrDefault
(name string, defaultValue int)
rpc/cmd/server/main.go:121
↓ 3 callersFunctionisOnFunctionWhitelist
(data string)
rpc/server/whitelist.go:16
↓ 3 callersFunctionisOnOFACList
(address string)
rpc/server/ofacblacklist.go:141
↓ 2 callersFunctionAddressPtrToStr
(a *common.Address)
rpc/server/util.go:154
↓ 2 callersMethodAllowance
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. Solidity: function allowance(address owner, address spender) view ret
contracts/bindings/ERC20Mock/binding.go:208
↓ 2 callersMethodAvsDirectory
AvsDirectory is a free data retrieval call binding the contract method 0x6b3aa72e. Solidity: function avsDirectory() view returns(address)
contracts/bindings/PreconfServiceManager/binding.go:215
↓ 2 callersMethodBalanceOf
BalanceOf is a free data retrieval call binding the contract method 0x70a08231. Solidity: function balanceOf(address account) view returns(uint256)
contracts/bindings/ERC20Mock/binding.go:239
↓ 2 callersFunctionBuildAvsReader
(registryCoordinatorAddr, operatorStateRetrieverAddr gethcommon.Address, ethHTTPClient eth.EthClient, logger l
preconf-operator/core/chainio/avs_reader.go:35
↓ 2 callersFunctionBuildAvsWriter
(txMgr txmgr.TxManager, registryCoordinatorAddr, operatorStateRetrieverAddr gethcommon.Address, ethHTTPClient
preconf-operator/core/chainio/avs_writer.go:31
↓ 2 callersMethodCHALLENGEWINDOWBLOCK
CHALLENGEWINDOWBLOCK is a free data retrieval call binding the contract method 0x48e30cdf. Solidity: function CHALLENGE_WINDOW_BLOCK() view returns(u
contracts/bindings/PreconfChallengeManager/binding.go:214
↓ 2 callersMethodChallenges
Challenges is a free data retrieval call binding the contract method 0xc1e69b66. Solidity: function challenges(bytes32 ) view returns(bool)
contracts/bindings/PreconfChallengeManager/binding.go:245
↓ 2 callersMethodDecimals
Decimals is a free data retrieval call binding the contract method 0x313ce567. Solidity: function decimals() view returns(uint8)
contracts/bindings/ERC20Mock/binding.go:270
↓ 2 callersMethodDelWhitehatBundleTx
(bundleID string)
rpc/server/redisstate.go:241
↓ 2 callersFunctionExtractParametersFromURL
ExtractParametersFromURL extracts the auction preference from the url query Allowed query params: - hint: mev share hints, can be set multiple times,
rpc/server/url_params.go:41
↓ 2 callersMethodFetch
(ctx context.Context)
rpc/application/builder_info.go:17
↓ 2 callersMethodGetBlockedTxHash
(txHash string)
rpc/server/redisstate.go:306
↓ 2 callersMethodGetErc20Mock
(ctx context.Context, tokenAddr gethcommon.Address)
preconf-operator/core/chainio/avs_reader.go:20
↓ 2 callersMethodGetOperatorRestakedStrategies
GetOperatorRestakedStrategies is a free data retrieval call binding the contract method 0x33cfb7b7. Solidity: function getOperatorRestakedStrategies(
contracts/bindings/PreconfServiceManager/binding.go:277
↓ 2 callersMethodGetPreconfByMatchingHash
(ctx context.Context, hash common.Hash)
preconf-share/preconshare/api.go:38
↓ 2 callersMethodGetRestakeableStrategies
GetRestakeableStrategies is a free data retrieval call binding the contract method 0xe481af9d. Solidity: function getRestakeableStrategies() view ret
contracts/bindings/PreconfServiceManager/binding.go:308
↓ 2 callersFunctionGetSenderFromRawTx
(tx *ethtypes.Transaction)
rpc/server/util.go:70
↓ 2 callersFunctionGetTx
(rawTxHex string)
rpc/server/util.go:34
↓ 2 callersMethodGetTxHashForSenderAndNonce
(txFrom string, nonce uint64)
rpc/server/redisstate.go:145
↓ 2 callersMethodMint
Mint is a paid mutator transaction binding the contract method 0x40c10f19. Solidity: function mint(address a, uint256 b) returns()
contracts/bindings/ERC20Mock/binding.go:464
↓ 2 callersFunctionMockTxAPIReset
()
rpc/testutils/mock_txapibackend.go:15
↓ 2 callersFunctionMultipleWorkers
MultipleWorkers creates n workers that are rate limited by limit. Use case is to have multiple workers per simulation node. ProcessFunc must be thread
preconf-share/simqueue/multiworker.go:12
↓ 2 callersMethodName
Name is a free data retrieval call binding the contract method 0x06fdde03. Solidity: function name() view returns(string)
contracts/bindings/ERC20Mock/binding.go:301
↓ 2 callersFunctionNewAvsManagersBindings
(registryCoordinatorAddr, operatorStateRetrieverAddr common.Address, ethclient eth.EthClient, logger logging.L
preconf-operator/core/chainio/bindings.go:23
↓ 2 callersFunctionNewHandler
NewHandler creates JSONRPC http.Handler from the map that maps method names to method functions each method function must: - have context as a first a
preconf-share/jsonrpcserver/jsonrpc_server.go:69
next →1–100 of 563, ranked by callers