MCPcopy Create free account

hub / github.com/cairoeth/preconfirmations / functions

Functions563 in github.com/cairoeth/preconfirmations

↓ 2 callersFunctionNewManager
NewManager creates a new Manager with a default cache implementation it is preferred way of creating a new Manager
preconf-share/spike/manager.go:41
↓ 2 callersFunctionNewMockStore
()
rpc/database/mock_store.go:5
↓ 2 callersFunctionNewRPCEndPointServer
(cfg Configuration)
rpc/server/server.go:59
↓ 2 callersFunctionNewRPCProxyClient
(logger *zap.Logger, proxyURL string, timeoutSeconds int)
rpc/server/http_client.go:22
↓ 2 callersFunctionNewRedisCancellationCache
(client *redis.Client, expireDuration time.Duration, keyPrefix string)
preconf-share/preconshare/cancellation_cache.go:17
↓ 2 callersMethodOwner
Owner is a free data retrieval call binding the contract method 0x8da5cb5b. Solidity: function owner() view returns(address)
contracts/bindings/PreconfChallengeManager/binding.go:276
↓ 2 callersMethodOwner
Owner is a free data retrieval call binding the contract method 0x8da5cb5b. Solidity: function owner() view returns(address)
contracts/bindings/PreconfServiceManager/binding.go:339
↓ 2 callersMethodPaused
Paused is a free data retrieval call binding the contract method 0x5ac86ab7. Solidity: function paused(uint8 index) view returns(bool)
contracts/bindings/PreconfServiceManager/binding.go:370
↓ 2 callersMethodPaused0
Paused0 is a free data retrieval call binding the contract method 0x5c975abb. Solidity: function paused() view returns(uint256)
contracts/bindings/PreconfServiceManager/binding.go:401
↓ 2 callersMethodPauserRegistry
PauserRegistry is a free data retrieval call binding the contract method 0x886f1195. Solidity: function pauserRegistry() view returns(address)
contracts/bindings/PreconfServiceManager/binding.go:432
↓ 2 callersMethodProver
Prover is a free data retrieval call binding the contract method 0x32a8f30f. Solidity: function prover() view returns(address)
contracts/bindings/PreconfChallengeManager/binding.go:307
↓ 2 callersFunctionRedisKeyBlockedTxHash
(txHash string)
rpc/server/redisstate.go:86
↓ 2 callersFunctionRedisKeySenderMaxNonce
(txFrom string)
rpc/server/redisstate.go:78
↓ 2 callersFunctionRedisKeySenderOfTxHash
(txHash string)
rpc/server/redisstate.go:74
↓ 2 callersFunctionRedisKeyTxSentToRelay
Enable lookup of last privateTransaction-txHash sent by txFrom var RedisPrefixLastPrivTxHashOfAccount = RedisPrefix + "last-txhash-of-txsender:" var R
rpc/server/redisstate.go:62
↓ 2 callersMethodSaveRecord
SaveRecord will insert both requestRecord and rawTxEntries to db
rpc/server/request_record.go:47
↓ 2 callersFunctionSendRPCAndParseResponse
set by tests
rpc/testutils/rpctesthelpers.go:17
↓ 2 callersFunctionSendRPCWithAuctionPreferenceAndParseResponse
(t *testing.T, req *types.JSONRPCRequest, urlSuffix string)
rpc/testutils/rpctesthelpers.go:34
↓ 2 callersMethodSetBlockedTxHash
SetBlockedTxHash Block transactions, with a specific return value (eg. "nonce too low")
rpc/server/redisstate.go:300
↓ 2 callersMethodSetSenderOfTxHash
SetSenderOfTxHash Enable lookup of txFrom by txHash
rpc/server/redisstate.go:187
↓ 2 callersMethodSetTxHashForSenderAndNonce
SetTxHashForSenderAndNonce Enable lookup of txHash by txFrom+nonce
rpc/server/redisstate.go:139
↓ 2 callersMethodStartProcessLoop
(ctx context.Context, workers []ProcessFunc)
preconf-share/simqueue/queue.go:117
↓ 2 callersMethodSubscribe
Subscribe to events and returns a subscription
preconf-operator/sse/backend.go:7
↓ 2 callersMethodSymbol
Symbol is a free data retrieval call binding the contract method 0x95d89b41. Solidity: function symbol() view returns(string)
contracts/bindings/ERC20Mock/binding.go:332
↓ 2 callersMethodTotalSupply
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. Solidity: function totalSupply() view returns(uint256)
contracts/bindings/ERC20Mock/binding.go:363
↓ 2 callersMethod_writeRPCResponse
(res *types.JSONRPCResponse)
rpc/server/request_response.go:15
↓ 2 callersMethodfetchBuilderInfo
(ctx context.Context)
rpc/application/builder_info.go:59
↓ 2 callersMethodgetValidRawTxEntriesToSave
getValidRawTxEntriesToSave returns list of rawTxEntry which are either sent to relay or mempool or entry with error
rpc/server/request_record.go:61
↓ 2 callersFunctionpackData
packData returns score and packed data into a byte slice that can be stored in Redis. The score is the minTargetBlock. The format is (note that ':' is
preconf-share/simqueue/utils.go:28
↓ 2 callersMethodproxyRequestRead
Proxies the incoming request to the target URL, and tries to parse JSON-RPC response (and check for specific)
rpc/server/request_processor.go:120
↓ 2 callersMethodpushToQueue
(ctx context.Context, args packArgs)
preconf-share/simqueue/queue.go:224
↓ 2 callersFunctionremoveLogFields
(log *types.Log)
preconf-share/preconshare/hints.go:168
↓ 2 callersFunctionrespBytesToJSONRPCResponse
(respBytes []byte)
rpc/server/util.go:128
↓ 2 callersMethodretryItem
(ctx context.Context, args packArgs, incrIteration, incrBlock bool, back backoff.BackOff)
preconf-share/simqueue/queue.go:375
↓ 2 callersFunctionsetCorsHeaders
(respw http.ResponseWriter)
rpc/server/server.go:326
↓ 2 callersFunctionsetServerTimeNowOffset
(td time.Duration)
rpc/server/request_processor_test.go:33
↓ 2 callersFunctionunpackData
unpackData unpacks the data from the byte slice returned by packData.
preconf-share/simqueue/utils.go:44
↓ 2 callersMethodwriteHeaderContentTypeJSON
()
rpc/server/request_response.go:11
↓ 1 callersMethodAddEthSendRawTxEntry
(id uuid.UUID)
rpc/server/request_record.go:25
↓ 1 callersMethodApprove
Approve is a paid mutator transaction binding the contract method 0x095ea7b3. Solidity: function approve(address spender, uint256 amount) returns(boo
contracts/bindings/ERC20Mock/binding.go:401
↓ 1 callersFunctionAuctionPreferenceErrorToJSONRPCResponse
(jsonReq *types.JSONRPCRequest, err error)
rpc/server/url_params.go:138
↓ 1 callersMethodBuilderNames
()
rpc/server/server.go:36
↓ 1 callersFunctionConfigFromEnv
ConfigFromEnv loads `simqueue` config from environment. - `SIMQUEUE_MAX_RETRIES` - `SIMQUEUE_MAX_QUEUED_PROCESSABLE_ITEMS_LOW_PRIO` - `SIMQUEUE_MAX_QU
preconf-share/simqueue/utils.go:65
↓ 1 callersMethodDecreaseAllowance
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7. Solidity: function decreaseAllowance(address spender, uint256
contracts/bindings/ERC20Mock/binding.go:422
↓ 1 callersMethodDelNonceFixForAccount
(txFrom string)
rpc/server/redisstate.go:164
↓ 1 callersMethodDeleteAll
DeleteAll deletes all the keys in the cache. It can be very slow and should only be used for testing.
preconf-share/preconshare/cancellation_cache.go:47
↓ 1 callersMethodDepositIntoStrategy
(strategyAddr common.Address, amount *big.Int)
preconf-operator/registration.go:60
↓ 1 callersMethodDeregisterOperatorFromAVS
DeregisterOperatorFromAVS is a paid mutator transaction binding the contract method 0xa364f4da. Solidity: function deregisterOperatorFromAVS(address
contracts/bindings/PreconfServiceManager/binding.go:470
↓ 1 callersFunctionExtractHints
(bundle *SendRequestArgs)
preconf-share/preconshare/hints.go:96
↓ 1 callersMethodFetch
(ctx context.Context)
rpc/adapters/webfile/fetcher.go:23
↓ 1 callersMethodFreezeOperator
FreezeOperator is a paid mutator transaction binding the contract method 0x38c8ee64. Solidity: function freezeOperator(address operatorAddr) returns(
contracts/bindings/PreconfServiceManager/binding.go:491
↓ 1 callersMethodGetAddressNonceRange
(address string)
rpc/server/request_processor.go:319
↓ 1 callersMethodGetBundleByMatchingHash
(ctx context.Context, hash common.Hash)
preconf-share/preconshare/api.go:36
↓ 1 callersFunctionGetEnv
GetEnv returns the value of the environment variable named by key, or defaultValue if the environment variable doesn't exist
rpc/server/util.go:162
↓ 1 callersFunctionGetIP
(r *http.Request)
rpc/server/util.go:102
↓ 1 callersFunctionGetOrigin
(ctx context.Context)
preconf-share/jsonrpcserver/jsonrpc_server.go:189
↓ 1 callersMethodGetPreconfByMatchingHash
(ctx context.Context, hash common.Hash)
preconf-share/preconshare/sim_result_backend.go:24
↓ 1 callersFunctionGetPriority
(ctx context.Context)
preconf-share/jsonrpcserver/jsonrpc_server.go:173
↓ 1 callersFunctionGetSenderAddressFromTx
(tx *ethtypes.Transaction)
rpc/server/util.go:52
↓ 1 callersFunctionGetSenderFromTx
(tx *ethtypes.Transaction)
rpc/server/util.go:61
↓ 1 callersFunctionGetSigner
(ctx context.Context)
preconf-share/jsonrpcserver/jsonrpc_server.go:181
↓ 1 callersFunctionIncQueueFullSbundles
()
preconf-share/metrics/metrics.go:53
↓ 1 callersFunctionIncSbundlesReceived
()
preconf-share/metrics/metrics.go:41
↓ 1 callersFunctionIncSbundlesReceivedStale
()
preconf-share/metrics/metrics.go:49
↓ 1 callersFunctionIncSbundlesReceivedValid
()
preconf-share/metrics/metrics.go:45
↓ 1 callersMethodIncreaseAllowance
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351. Solidity: function increaseAllowance(address spender, uint256
contracts/bindings/ERC20Mock/binding.go:443
↓ 1 callersMethodInitialize
Initialize is a paid mutator transaction binding the contract method 0xc0c53b8b. Solidity: function initialize(address owner, address _serviceManager
contracts/bindings/PreconfChallengeManager/binding.go:376
↓ 1 callersMethodInitialize
Initialize is a paid mutator transaction binding the contract method 0x358394d8. Solidity: function initialize(address _pauserRegistry, uint256 _init
contracts/bindings/PreconfServiceManager/binding.go:512
↓ 1 callersMethodInsertBundleForStats
(ctx context.Context, bundle *SendRequestArgs)
preconf-share/preconshare/sim_result_backend.go:22
↓ 1 callersMethodInsertHistoricalHint
(ctx context.Context, currentBlock uint64, hint *Hint)
preconf-share/preconshare/sim_result_backend.go:23
↓ 1 callersMethodInsertPreconf
(ctx context.Context, preconf *ConfirmRequestArgs)
preconf-share/preconshare/api.go:37
↓ 1 callersFunctionIntersect
Intersect returns the intersection of two string arrays, without duplicates
preconf-share/preconshare/utils.go:57
↓ 1 callersFunctionMax
(a, b uint64)
rpc/server/util.go:27
↓ 1 callersFunctionMergeInclusionIntervals
MergeInclusionIntervals writes to the topLevel inclusion value of overlap between inner and topLevel or return error if there is no overlap
preconf-share/preconshare/bundle_validation.go:20
↓ 1 callersFunctionMockRPCBackendReset
()
rpc/testutils/mock_rpcbackend.go:21
↓ 1 callersFunctionNew
New creates a new InternalClient for the matchmaker with the given base URL
preconf-operator/sse/client_rpc.go:17
↓ 1 callersFunctionNewAPI
( log *zap.Logger, scheduler SimScheduler, bundleStorage BundleStorage, eth EthClient, signer types.Signer,
preconf-share/preconshare/api.go:60
↓ 1 callersFunctionNewAggregatorRPCClient
(aggregatorIPPortAddr string, logger logging.Logger, metrics metrics.Metrics)
preconf-operator/rpc_client.go:24
↓ 1 callersFunctionNewAvsReader
(avsRegistryReader sdkavsregistry.AvsRegistryReader, avsServiceBindings *AvsManagersBindings, logger logging.L
preconf-operator/core/chainio/avs_reader.go:47
↓ 1 callersFunctionNewAvsWriter
(avsRegistryWriter avsregistry.AvsRegistryWriter, avsServiceBindings *AvsManagersBindings, logger logging.Logg
preconf-operator/core/chainio/avs_writer.go:44
↓ 1 callersFunctionNewCachingEthClient
(ethClient *ethclient.Client)
preconf-share/preconshare/utils.go:25
↓ 1 callersFunctionNewCustomManager
NewCustomManager creates a new Manager with a custom cache implementation controlled by client code it should be used for non-trivial flows or non-def
preconf-share/spike/manager.go:29
↓ 1 callersFunctionNewFetcher
(url string)
rpc/adapters/webfile/fetcher.go:19
↓ 1 callersFunctionNewJSONRPCResponse
(id interface{}, result json.RawMessage)
rpc/types/types.go:61
↓ 1 callersFunctionNewJSONRPCSimulationBackend
(url string)
preconf-share/preconshare/backend.go:24
↓ 1 callersFunctionNewPostgresStore
(dsn string)
rpc/database/postgres_store.go:19
↓ 1 callersFunctionNewQueue
( log *zap.Logger, queue simqueue.Queue, eth EthClient, sim []SimulationBackend, simRes SimulationResult, wo
preconf-share/preconshare/sim_queue.go:30
↓ 1 callersFunctionNewRPCRequest
(logger *zap.Logger, client RPCProxyClient, jsonReq *types.JSONRPCRequest, relaySigningKey *ecdsa.PrivateKey,
rpc/server/request_processor.go:45
↓ 1 callersFunctionNewRPCRequestHandler
(logger *zap.Logger, respw *http.ResponseWriter, req *http.Request, proxyURL string, proxyTimeoutSeconds int,
rpc/server/request_handler.go:32
↓ 1 callersFunctionNewReceiveAPI
(IPPortAddr string, logger logging.Logger, client eth.EthClient)
preconf-operator/receiverapi/receiverapi.go:40
↓ 1 callersFunctionNewRedisHintBackend
(redisClient *redis.Client, pubChannel string)
preconf-share/preconshare/backend.go:36
↓ 1 callersFunctionNewRequestRecord
(db database.Store)
rpc/server/request_record.go:19
↓ 1 callersFunctionNewSimulationResultBackend
(log *zap.Logger, hint HintBackend, eth EthClient, store Storage)
preconf-share/preconshare/sim_result_backend.go:34
↓ 1 callersMethodNotifyHint
(ctx context.Context, hint *Hint)
preconf-share/preconshare/backend.go:13
↓ 1 callersMethodPause
Pause is a paid mutator transaction binding the contract method 0x136439dd. Solidity: function pause(uint256 newPausedStatus) returns()
contracts/bindings/PreconfServiceManager/binding.go:533
↓ 1 callersMethodPauseAll
PauseAll is a paid mutator transaction binding the contract method 0x595c6a67. Solidity: function pauseAll() returns()
contracts/bindings/PreconfServiceManager/binding.go:554
↓ 1 callersMethodProcessHints
(ctx context.Context, bundle *SendRequestArgs)
preconf-share/preconshare/sim_result_backend.go:111
↓ 1 callersMethodProcessRequest
()
rpc/server/request_processor.go:83
↓ 1 callersMethodPush
(ctx context.Context, data []byte, highPriority bool, minTargetBlock, maxTargetBlock uint64)
preconf-share/simqueue/queue.go:171
↓ 1 callersMethodRaiseAndResolveChallenge
RaiseAndResolveChallenge is a paid mutator transaction binding the contract method 0x1b4f683f. Solidity: function raiseAndResolveChallenge((bytes32[]
contracts/bindings/PreconfChallengeManager/binding.go:397
← previousnext →101–200 of 563, ranked by callers