Nucleus
  • Overview
    • Welcome to Nucleus
    • Official Links
    • FAQ
  • Nucleus Architecture
    • Overview
    • Vault Framework
    • Cross-chain Infrastructure
    • Withdrawals
    • Revenue Strategies
      • Market-agnostic Lending
      • Cross-chain Intents
      • Ownership by Default
    • Reward Distribution
    • Nucleus Points
    • Deployed Assets
    • Smart Contracts
      • README
      • CONTRACTS
        • contents
        • atomic-queue
          • Contents
          • AtomicQueue
          • AtomicSolver
          • AtomicSolverV2
          • AtomicSolverV3
          • IAtomicSolver
        • base
          • Boring Vault
            • BoringVault
          • Decoders and Sanitizers
            • Contents
            • IonPoolDecoderAndSanitizer
          • Roles
            • Contents
            • Cross Chain
              • Cross Chain OP Teller With Multi Asset Support
                • CrossChainOPTellerWithMultiAssetSupport
                • ICrossDomainMessenger
              • Cross Chain Teller Base
                • BridgeData
                • CrossChainTellerBase
              • MultiChainLayerZeroTellerWithMultiAssetSupport
              • Multi Chain Teller Base
                • Chain
                • MultiChainTellerBase
                • MultiChainTellerBase_GasLimitExceeded
                • MultiChainTellerBase_GasTooLow
                • MultiChainTellerBase_MessagesNotAllowedFrom
                • MultiChainTellerBase_MessagesNotAllowedFromSender
                • MultiChainTellerBase_MessagesNotAllowedTo
                • MultiChainTellerBase_ZeroMessageGasLimit
              • OAppAuth
                • Contents
                • OAppAuth
                • OAppAuthCore
                • OAppAuthReceiver
                • OAppAuthSender
            • AccountantWithRateProviders
            • ManagerWithMerkleVerification
            • TellerWithMultiAssetSupport
        • helper
          • Contents
          • Constants
          • ArcticArchitectureLens
          • Deployer
          • GenericRateProvider
        • interfaces
          • BalancerVault
          • AggregationRouterV5
          • BeforeTransferHook
          • DecoderCustomTypes
          • ICreateX
          • IPriceFeed
          • PriceRouter
          • IRateProvider
          • INonFungiblePositionManager
          • Contents
          • IStaking
            • ILiquidityPool
            • ILRTDepositPool
            • IRestakeManager
            • IStaderConfig
            • IStakePoolManager
            • ISTETH
            • ISWETH
            • IUNSTETH
            • IUserWithdrawManager
            • IWEETH
            • IWithdrawRequestNft
            • IWSTETH
          • IUniswap v3 Router
            • IUniswapV3Router
            • IUniswapV3SwapCallback
        • micro-managers
          • Contents
          • DexSwapperUManager
          • DexAggregatorUManager
          • UManager
        • migration
          • Contents
          • CellarMigrationAdaptor
        • oracles
          • EthPerTokenRateProvider
          • Contents
          • EthPerWstEthRateProvider
  • Security
    • Audits
Powered by GitBook
On this page
  • Functions
  • getWithdrawalStatus
  • requestWithdrawals
  • claimWithdrawal
  • claimWithdrawals
  • finalize
  • getRoleMember
  • FINALIZE_ROLE
  • getLastFinalizedRequestId
  • getLastCheckpointIndex
  • findCheckpointHints
  • getClaimableEther
  • Structs
  • WithdrawalRequestStatus

Was this helpful?

  1. Nucleus Architecture
  2. Smart Contracts
  3. CONTRACTS
  4. interfaces
  5. IStaking

IUNSTETH

PreviousISWETHNextIUserWithdrawManager

Was this helpful?

Functions

getWithdrawalStatus

function getWithdrawalStatus(uint256[] calldata _requestIds)
    external
    view
    returns (WithdrawalRequestStatus[] memory statuses);

requestWithdrawals

function requestWithdrawals(
    uint256[] calldata _amounts,
    address _owner
)
    external
    returns (uint256[] memory requestIds);

claimWithdrawal

function claimWithdrawal(uint256 _requestId) external;

claimWithdrawals

function claimWithdrawals(uint256[] calldata _requestIds, uint256[] calldata _hints) external;

finalize

function finalize(uint256 _lastRequestIdToBeFinalized, uint256 _maxShareRate) external payable;

getRoleMember

function getRoleMember(bytes32 role, uint256 index) external view returns (address);

FINALIZE_ROLE

function FINALIZE_ROLE() external view returns (bytes32);

getLastFinalizedRequestId

function getLastFinalizedRequestId() external view returns (uint256);

getLastCheckpointIndex

function getLastCheckpointIndex() external view returns (uint256);

findCheckpointHints

function findCheckpointHints(
    uint256[] memory requestIds,
    uint256 firstIndex,
    uint256 lastIndex
)
    external
    view
    returns (uint256[] memory);

getClaimableEther

function getClaimableEther(
    uint256[] memory requestIds,
    uint256[] memory hints
)
    external
    view
    returns (uint256[] memory);

Structs

WithdrawalRequestStatus

struct WithdrawalRequestStatus {
    uint256 amountOfStETH;
    uint256 amountOfShares;
    address owner;
    uint256 timestamp;
    bool isFinalized;
    bool isClaimed;
}
Git Source