Skip to content

Commit

Permalink
chore: update interface of undelegate func
Browse files Browse the repository at this point in the history
  • Loading branch information
0xHansLee committed Jul 22, 2024
1 parent 073e74f commit 1d9643a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/contracts/contracts/L1/interfaces/IAssetManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -507,9 +507,9 @@ interface IAssetManager {
* @notice Undelegate the KRO of given shares for the given validator.
*
* @param validator Address of the validator.
* @param shares The amount of shares to undelegate.
* @param assets The amount of assets to undelegate.
*/
function undelegate(address validator, uint128 shares) external;
function undelegate(address validator, uint128 assets) external;

/**
* @notice Undelegate KGH for given validator and tokenId.
Expand Down

0 comments on commit 1d9643a

Please sign in to comment.