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

  1. Time Range Validation:

    1. The duration does not exceed MAX_REWARDS_DURATION.

    2. Both startTimestamp and duration are multiples of CALCULATION_INTERVAL_SECONDS.

    3. The startTimestamp is not too far in the past, checking against MAX_RETROACTIVE_LENGTH and GENESIS_REWARDS_TIMESTAMP.

    4. 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.

  2. Maximum Rewards Limit: The total rewards being distributed in this batch do not exceed the predefined MAX_REWARDS_AMOUNT.

  3. If rewards are configured on L1.

  4. The rewards are in ERC20 tokens (ETH is not supported).

  5. EigenLayer rewards flow EIGEN_PAYMENT_REQUEST_FLOW is not paused in the Attestation Center smart contract. If paused, unpause it before proceeding.

  6. 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