Modules§
Structs§
- Account
- BLSTask
- Commit
Cache - Commit
Result - Config
- Contract
Group - Contract
Member - DKGTask
- Exponential
Backoff Retry Descriptor - Fixed
Interval Retry Descriptor - 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.
- General
Main Chain Identity - General
Relayed Chain Identity - Group
- Group
Relay Confirmation Task - Group
Relay Task - HDWallet
- Keystore
- Listener
Descriptor - Logger
Descriptor - Logger
Descriptor Holder - Member
- Node
- Partial
Signature - Randomness
Task - Relayed
Chain - Time
Limit Descriptor - Time
Limit Descriptor Holder
Enums§
- BLSTask
Error - BLSTask
Type - Component
Task Type - Config
Error - DKGStatus
- GasMiddleware
Error - 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.
- Http
Server Type - Listener
Type - Randomness
Request Type - RpcServer
Type - Scheduler
Error - Subscriber
Type - Task
Type
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§
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