VM Interoperability
EVM Precompiles
Distribution

Distribution Precompile

Address: 0x0000000000000000000000000000000000001007

This precompile enables EVM clients to withdraw distributions and staking rewards.

Functions

Transactions

  • setWithdrawAddress: Sets the EVM Address to withdraw funds to for the account.

      /// Sets the EVM address to withdraw funds to.
      /// @param address The EVM Address that withdrawals should go to.
      /// @return Whether the operation was a success.
      function setWithdrawAddress(
          address withdrawAddr
      ) external returns (bool success);
  • withdrawDelegationRewards: Withdraws delegation rewards from the given validator.

      /// Withdraws delegation rewards from the given validator.
      /// @param validator The Sei address of the validator to withdraw rewards from.
      /// @return Whether the operation was a success.
      function withdrawDelegationRewards(
          string memory validator
      ) external returns (bool success);

View the distribution precompile source code and the contract ABI here (opens in a new tab).