rewards
Perform actions related to the AVS's treasury rewards
othentic-cli network rewards [options] [command] <action>
Options:
-h, --help display help for command
Deposit rewards to the AVS treasury
Usage
othentic-cli network rewards deposit [options]
Options
--amount optional
string (in wei)
The amount in token to deposit
--browser-sign optional
flag
Allows signing using wallets like MetaMask, SAFE, or other browser-based smart accounts. Ideal for multisig operations and smart contract wallets, especially when users prefer not to expose private keys directly in the CLI.
--keystore optional
file path
The path to the keystore file used for signing the transaction.
--keystore-password optional
file path
The path to the file containing the keystore password.
--silent, --s, --no-prompt optional
flag
Run in non-interactive mode using .env
and provided arguments, without user prompts.
-h, --help optional
flag
Display help information for this command.
Calculate Next Time Range for EigenLayer Rewards Request Submission
Usage
othentic-cli network rewards calc-eigen-rewards-params [options]
Options
--keystore optional
file path
The path to the keystore file used for signing the transaction.
--browser-sign optional
flag
Allows signing using wallets like MetaMask, SAFE, or other browser-based smart accounts. Ideal for multisig operations and smart contract wallets, especially when users prefer not to expose private keys directly in the CLI.
--keystore-password optional
file path
The path to the file containing the keystore password.
--silent, --s, --no-prompt optional
flag
Run in non-interactive mode using .env
and provided arguments, without user prompts.
-h, --help optional
flag
Display help information for this command.
Submits the actual request for EigenLayer rewards. It is is designed to handle large numbers of operators by breaking down the request into manageable batches. Before running the command please ensure
The
duration
does not exceedMAX_REWARDS_DURATION
.Both
startTimestamp
andduration
are multiples ofCALCULATION_INTERVAL_SECONDS
.The
startTimestamp
is not too far in the past, checking againstMAX_RETROACTIVE_LENGTH
andGENESIS_REWARDS_TIMESTAMP
.Rewards period is entirely in the past by comparing with the latest block timestamp (
startTimestamp + duration < block.timestamp
).
All the above values can be found here on chain basis.
Maximum Rewards Limit: The total rewards being distributed in this batch do not exceed the predefined
MAX_REWARDS_AMOUNT
.If rewards are configured on L1.
The rewards are in ERC20 tokens (ETH is not supported).
EigenLayer rewards flow
EIGEN_PAYMENT_REQUEST_FLOW
is not paused in the Attestation Center smart contract. If paused, unpause it before proceeding.This command should be called on a Weekly basis.
Usage
othentic-cli network rewards eigen-batch-request [options]
Options
--startTimestamp required
number
The rewards start timestamp (in seconds) of epoch. Must be a multiple of one week (604800 seconds).
--duration required
number
The duration (in seconds) of the rewards to claim. Must be a multiple of one week (604800 seconds).
--fromOperatorId required
number
The operator ID to start the rewards request batch from
--toOperatorId required
number
The path to the file containing the keystore password.
--browser-sign optional
flag
Allows signing using wallets like MetaMask, SAFE, or other browser-based smart accounts. Ideal for multisig operations and smart contract wallets, especially when users prefer not to expose private keys directly in the CLI.
--keystore optional
file path
The path to the keystore file used for signing the transaction.
--keystore-password optional
file path
The path to the file containing the keystore password.
--silent, --s, --no-prompt optional
flag
Run in non-interactive mode using .env
and provided arguments, without user prompts.
-h, --help optional
flag
Display help information for this command.
Last updated