Crate arpa_core

Source

Modules§

log

Structs§

Account
BLSTask
CommitCache
CommitResult
Config
ContractGroup
ContractMember
DKGTask
ExponentialBackoffRetryDescriptor
FixedIntervalRetryDescriptor
GasMiddleware
(Modified on https://github.com/gakonst/ethers-rs/blob/51fe937f6515689b17a3a83b74a05984ad3a7f11/examples/middleware/examples/create_custom_middleware.rs#L23) This custom middleware increases the gas value of transactions sent through an ethers-rs provider by a specified percentage and will be called for each transaction before it is sent. This can be useful if you want to ensure that transactions have a higher gas value than the estimated, in order to improve the chances of them not to run out of gas when landing on-chain.
GeneralMainChainIdentity
GeneralRelayedChainIdentity
Group
GroupRelayConfirmationTask
GroupRelayTask
HDWallet
Keystore
ListenerDescriptor
LoggerDescriptor
LoggerDescriptorHolder
Member
Node
PartialSignature
RandomnessTask
RelayedChain
TimeLimitDescriptor
TimeLimitDescriptorHolder

Enums§

BLSTaskError
BLSTaskType
ComponentTaskType
ConfigError
DKGStatus
GasMiddlewareError
This example demonstrates how to handle errors in custom middlewares. It shows how to define custom error types, use them in middleware implementations, and how to propagate the errors through the middleware chain. This is intended for developers who want to create custom middlewares that can handle and propagate errors in a consistent and robust way.
HttpServerType
ListenerType
RandomnessRequestType
RpcServerType
SchedulerError
SubscriberType
TaskType

Constants§

BASE_GOERLI_TESTNET_CHAIN_ID
BASE_MAINNET_CHAIN_ID
BASE_SEPOLIA_TESTNET_CHAIN_ID
DEFAULT_BLOCK_TIME
DEFAULT_COMMIT_PARTIAL_SIGNATURE_RETRY_BASE
DEFAULT_COMMIT_PARTIAL_SIGNATURE_RETRY_FACTOR
DEFAULT_COMMIT_PARTIAL_SIGNATURE_RETRY_MAX_ATTEMPTS
DEFAULT_COMMIT_PARTIAL_SIGNATURE_RETRY_USE_JITTER
DEFAULT_CONTRACT_TRANSACTION_RETRY_BASE
DEFAULT_CONTRACT_TRANSACTION_RETRY_FACTOR
DEFAULT_CONTRACT_TRANSACTION_RETRY_MAX_ATTEMPTS
DEFAULT_CONTRACT_TRANSACTION_RETRY_USE_JITTER
DEFAULT_CONTRACT_VIEW_RETRY_BASE
DEFAULT_CONTRACT_VIEW_RETRY_FACTOR
DEFAULT_CONTRACT_VIEW_RETRY_MAX_ATTEMPTS
DEFAULT_CONTRACT_VIEW_RETRY_USE_JITTER
DEFAULT_DKG_TIMEOUT_DURATION
DEFAULT_DKG_WAIT_FOR_PHASE_INTERVAL_MILLIS
DEFAULT_DKG_WAIT_FOR_PHASE_USE_JITTER
DEFAULT_DYNAMIC_TASK_CLEANER_INTERVAL_MILLIS
DEFAULT_LISTENER_INTERVAL_MILLIS
DEFAULT_LISTENER_USE_JITTER
DEFAULT_MAX_RANDOMNESS_FULFILLMENT_ATTEMPTS
DEFAULT_MINIMUM_THRESHOLD
DEFAULT_NODE_ACTIVATION_INTERVAL_MILLIS
DEFAULT_PROVIDER_POLLING_INTERVAL_MILLIS
DEFAULT_PROVIDER_RESET_INTERVAL_MILLIS
DEFAULT_PROVIDER_RESET_MAX_ATTEMPTS
DEFAULT_PROVIDER_RESET_USE_JITTER
DEFAULT_RANDOMNESS_TASK_EXCLUSIVE_WINDOW
DEFAULT_ROLLING_LOG_FILE_SIZE
DEFAULT_WEBSOCKET_PROVIDER_RECONNECT_TIMES
EIP1559_FEE_ESTIMATION_THRESHOLD_MAX_CHANGE
The threshold max change/difference (in %) at which we will ignore the fee history values under it.
FULFILL_RANDOMNESS_GAS_EXCEPT_CALLBACK
GAS_RAISE_PERCENTAGE
LOOT_MAINNET_CHAIN_ID
LOOT_TESTNET_CHAIN_ID
OP_DEVNET_CHAIN_ID
OP_GOERLI_TESTNET_CHAIN_ID
OP_MAINNET_CHAIN_ID
OP_SEPOLIA_TESTNET_CHAIN_ID
PLACEHOLDER_ADDRESS
RANDOMNESS_REWARD_GAS
REDSTONE_GARNET_TESTNET_CHAIN_ID
REDSTONE_HOLESKY_TESTNET_CHAIN_ID
REDSTONE_MAINNET_CHAIN_ID
TAIKO_KATLA_TEST_CHAIN_ID
VERIFICATION_GAS_OVER_MINIMUM_THRESHOLD

Traits§

ChainIdentity
ChainProviderManager
MainChainIdentity
RelayedChainIdentity
Task

Functions§

address_to_string
build_client
build_wallet_from_config
eip1559_gas_price_estimator
The EIP-1559 fee estimator which is based on the work by ethers-rs and MyCrypto
fallback_eip1559_gas_price_estimator
format_now_date
jitter
pad_to_bytes32
ser_bytes_in_hex_string
ser_u256_in_dec_string
supports_eip1559
to_checksum
Converts an Ethereum address to the checksum encoding Ref: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-55.md
u256_to_vec

Type Aliases§

HttpWalletSigner
SchedulerResult
WsWalletSigner