Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update staking.mdx #103

Merged
merged 2 commits into from
Aug 20, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update staking.mdx
nikbhintade authored Jul 13, 2024
commit a536d4daae76235b8d6fff8379a4e6d8449b01ef
4 changes: 2 additions & 2 deletions pages/dev-interoperability/precompiles/staking.mdx
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ This precompile allows EVM contracts to interact with Sei's staking module, enab

```solidity
/// Redelegates Sei from one validator to another.
/// @dev The amount should be in 6 decimal precision, not 18
/// @dev The amount should be in 6 decimal precision, not 18. 1 SEI = 1_000_000 uSEI
/// @param srcAddress The Sei address of the validator to move delegations from.
/// @param dstAddress The Sei address of the validator to move delegations to.
/// @param amount The amount of Sei to move from srcAddress to dstAddress.
@@ -40,7 +40,7 @@ This precompile allows EVM contracts to interact with Sei's staking module, enab
- `undelegate`: Provides the functionality for a user to withdraw a specified amount of tokens from a validator
```solidity
/// Undelegates Sei from the specified validator.
/// @dev The amount should be in 6 decimal precision, not 18
/// @dev The amount should be in 6 decimal precision, not 18. 1 SEI = 1_000_000 uSEI
/// @param valAddress The Sei address of the validator to undelegate from.
/// @param amount The amount of Sei to undelegate.
/// @return Whether the undelegation was successful.