@northstake/northstakeapi 1.0.38 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +69 -21
- package/.openapi-generator/VERSION +1 -1
- package/api/accountApi.ts +1 -1
- package/api/accountApiKeysApi.ts +1 -1
- package/api/apis.ts +11 -11
- package/api/lidoReadApi.ts +646 -0
- package/api/{smartContractsApi.ts → lidoRewardsApi.ts} +106 -88
- package/api/{validatorMarketplaceSellersApi.ts → lidoStakingVaultsApi.ts} +74 -89
- package/api/lidoWriteApi.ts +2773 -0
- package/api/linkedWalletsApi.ts +93 -1
- package/api/{validatorMarketplaceBuyersApi.ts → organizationApi.ts} +140 -62
- package/api/validatorsApi.ts +27 -110
- package/api.ts +84 -36
- package/dist/api/accountApi.d.ts +1 -1
- package/dist/api/accountApi.js +1 -1
- package/dist/api/accountApiKeysApi.d.ts +1 -1
- package/dist/api/accountApiKeysApi.js +1 -1
- package/dist/api/apis.d.ts +11 -11
- package/dist/api/apis.js +11 -11
- package/dist/api/lidoReadApi.d.ts +138 -0
- package/dist/api/lidoReadApi.js +494 -0
- package/dist/api/lidoRewardsApi.d.ts +135 -0
- package/dist/api/{smartContractsApi.js → lidoRewardsApi.js} +83 -71
- package/dist/api/lidoStakingVaultsApi.d.ts +121 -0
- package/dist/api/{validatorMarketplaceSellersApi.js → lidoStakingVaultsApi.js} +64 -83
- package/dist/api/lidoWriteApi.d.ts +469 -0
- package/dist/api/lidoWriteApi.js +2172 -0
- package/dist/api/linkedWalletsApi.d.ts +16 -1
- package/dist/api/linkedWalletsApi.js +73 -1
- package/dist/api/organizationApi.d.ts +107 -0
- package/dist/api/{validatorMarketplaceBuyersApi.js → organizationApi.js} +115 -57
- package/dist/api/validatorsApi.d.ts +11 -26
- package/dist/api/validatorsApi.js +25 -87
- package/dist/api.d.ts +74 -26
- package/dist/api.js +79 -31
- package/dist/model/acceptedQuote.d.ts +1 -1
- package/dist/model/acceptedQuote.js +1 -1
- package/dist/model/accountEntity.d.ts +11 -3
- package/dist/model/accountEntity.js +6 -6
- package/dist/model/addLinkedWalletRequest.d.ts +1 -1
- package/dist/model/addLinkedWalletRequest.js +1 -1
- package/dist/model/apiKey.d.ts +4 -4
- package/dist/model/apiKey.js +7 -7
- package/dist/model/approveStETH.d.ts +32 -0
- package/dist/model/approveStETH.js +33 -0
- package/dist/model/approveWstETH.d.ts +36 -0
- package/dist/model/approveWstETH.js +38 -0
- package/dist/model/asset.d.ts +1 -1
- package/dist/model/asset.js +1 -1
- package/dist/model/burnShares.d.ts +32 -0
- package/dist/model/burnShares.js +33 -0
- package/dist/model/burnStETH.d.ts +32 -0
- package/dist/model/burnStETH.js +33 -0
- package/dist/model/burnWstETH.d.ts +32 -0
- package/dist/model/burnWstETH.js +33 -0
- package/dist/model/changeTier.d.ts +36 -0
- package/dist/model/changeTier.js +38 -0
- package/dist/model/collectERC20FromVault.d.ts +40 -0
- package/dist/model/collectERC20FromVault.js +43 -0
- package/dist/model/consolidateValidators.d.ts +36 -0
- package/dist/model/consolidateValidators.js +38 -0
- package/dist/model/consolidateValidatorsErrorResponse.d.ts +32 -0
- package/dist/model/consolidateValidatorsErrorResponse.js +33 -0
- package/dist/model/consolidateValidatorsResponse.d.ts +29 -0
- package/dist/model/consolidateValidatorsResponse.js +28 -0
- package/dist/model/createLidoStakingContractsRequest.d.ts +35 -0
- package/dist/model/createLidoStakingContractsRequest.js +36 -0
- package/dist/model/createVaultRequest.d.ts +39 -0
- package/dist/model/createVaultRequest.js +41 -0
- package/dist/model/dailyRewardSummaryStats.d.ts +55 -0
- package/dist/model/dailyRewardSummaryStats.js +61 -0
- package/dist/model/errorResponse.d.ts +1 -1
- package/dist/model/errorResponse.js +1 -1
- package/dist/model/errorWithTransactionResponse.d.ts +30 -0
- package/dist/model/errorWithTransactionResponse.js +36 -0
- package/dist/model/escrowPayment.d.ts +1 -1
- package/dist/model/escrowPayment.js +1 -1
- package/dist/model/escrowReleased.d.ts +1 -1
- package/dist/model/escrowReleased.js +1 -1
- package/dist/model/ethereumValidatorKey.d.ts +1 -1
- package/dist/model/ethereumValidatorKey.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystore.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystore.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCrypto.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCrypto.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoChecksum.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoChecksum.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoCipher.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoCipher.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoCipherParams.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoCipherParams.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoKdf.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoKdf.js +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoKdfParams.d.ts +1 -1
- package/dist/model/ethereumValidatorKeyKeystoreCryptoKdfParams.js +1 -1
- package/dist/model/exitEstimateBase.d.ts +1 -1
- package/dist/model/exitEstimateBase.js +1 -1
- package/dist/model/exitEstimateSeller.d.ts +1 -1
- package/dist/model/exitEstimateSeller.js +1 -1
- package/dist/model/exitProposal.d.ts +1 -1
- package/dist/model/exitProposal.js +1 -1
- package/dist/model/fundVault.d.ts +32 -0
- package/dist/model/fundVault.js +33 -0
- package/dist/model/generateApiKeyRequest.d.ts +1 -1
- package/dist/model/generateApiKeyRequest.js +1 -1
- package/dist/model/getLazyOracleReportCallData200Response.d.ts +28 -0
- package/dist/model/getLazyOracleReportCallData200Response.js +38 -0
- package/dist/model/getLazyOracleReportCallData200ResponseDestructuredCalldata.d.ts +31 -0
- package/dist/model/getLazyOracleReportCallData200ResponseDestructuredCalldata.js +58 -0
- package/dist/model/getLazyOracleReportData200Response.d.ts +27 -0
- package/dist/model/getLazyOracleReportData200Response.js +33 -0
- package/dist/model/getLazyOracleReportData200ResponseReportData.d.ts +27 -0
- package/dist/model/getLazyOracleReportData200ResponseReportData.js +38 -0
- package/dist/model/{getSmartContractTransactions200Response.d.ts → getLidoTransactions200Response.d.ts} +2 -2
- package/dist/model/{getSmartContractTransactions200Response.js → getLidoTransactions200Response.js} +7 -7
- package/dist/model/getQuarantineInfo200Response.d.ts +29 -0
- package/dist/model/getQuarantineInfo200Response.js +48 -0
- package/dist/model/getStETHPerWstETHRate200Response.d.ts +28 -0
- package/dist/model/getStETHPerWstETHRate200Response.js +28 -0
- package/dist/model/getWithdrawalsResponse.d.ts +1 -1
- package/dist/model/getWithdrawalsResponse.js +1 -1
- package/dist/model/grantRole.d.ts +36 -0
- package/dist/model/grantRole.js +38 -0
- package/dist/model/internalTransaction.d.ts +1 -1
- package/dist/model/internalTransaction.js +1 -1
- package/dist/model/inviteMemberRequest.d.ts +41 -0
- package/dist/model/inviteMemberRequest.js +36 -0
- package/dist/model/lidoContracts.d.ts +39 -0
- package/dist/model/lidoContracts.js +46 -0
- package/dist/model/{minedBlock.d.ts → lidoContractsDashboard.d.ts} +3 -10
- package/dist/model/lidoContractsDashboard.js +28 -0
- package/dist/model/{smartContract.d.ts → lidoContractsStakingVault.d.ts} +5 -13
- package/dist/model/lidoContractsStakingVault.js +28 -0
- package/dist/model/lidoStakingContracts.d.ts +33 -0
- package/dist/model/lidoStakingContracts.js +36 -0
- package/dist/model/lidoStakingContractsWithData.d.ts +39 -0
- package/dist/model/lidoStakingContractsWithData.js +46 -0
- package/dist/model/lidoStakingContractsWithDataVaultData.d.ts +112 -0
- package/dist/model/lidoStakingContractsWithDataVaultData.js +133 -0
- package/dist/model/mintShares.d.ts +36 -0
- package/dist/model/mintShares.js +38 -0
- package/dist/model/mintStETH.d.ts +36 -0
- package/dist/model/mintStETH.js +38 -0
- package/dist/model/mintWstETH.d.ts +36 -0
- package/dist/model/mintWstETH.js +38 -0
- package/dist/model/models.d.ts +64 -16
- package/dist/model/models.js +194 -48
- package/dist/model/organizationMember.d.ts +53 -0
- package/dist/model/organizationMember.js +51 -0
- package/dist/model/{getMarketplaceMetadata200Response.d.ts → organizationNameResponse.d.ts} +7 -12
- package/dist/model/organizationNameResponse.js +31 -0
- package/dist/model/partialTransaction.d.ts +31 -0
- package/dist/model/partialTransaction.js +46 -0
- package/dist/model/presignedExitKey.d.ts +1 -1
- package/dist/model/presignedExitKey.js +1 -1
- package/dist/model/presignedExitKeyMessage.d.ts +1 -1
- package/dist/model/presignedExitKeyMessage.js +1 -1
- package/dist/model/quote.d.ts +1 -1
- package/dist/model/quote.js +1 -1
- package/dist/model/rFQBidFacilitator.d.ts +1 -1
- package/dist/model/rFQBidFacilitator.js +1 -1
- package/dist/model/rFQBids.d.ts +1 -1
- package/dist/model/rFQBids.js +1 -1
- package/dist/model/rFQDocumentBase.d.ts +1 -1
- package/dist/model/rFQDocumentBase.js +1 -1
- package/dist/model/rFQDocumentBaseUniqueEscrowVault.d.ts +1 -1
- package/dist/model/rFQDocumentBaseUniqueEscrowVault.js +1 -1
- package/dist/model/rFQDocumentBuyer.d.ts +1 -1
- package/dist/model/rFQDocumentBuyer.js +1 -1
- package/dist/model/rFQDocumentBuyerAllOfValidators.d.ts +1 -1
- package/dist/model/rFQDocumentBuyerAllOfValidators.js +1 -1
- package/dist/model/rFQDocumentBuyerStatusFilter.d.ts +1 -1
- package/dist/model/rFQDocumentBuyerStatusFilter.js +1 -1
- package/dist/model/rFQDocumentFacilitator.d.ts +1 -1
- package/dist/model/rFQDocumentFacilitator.js +1 -1
- package/dist/model/rFQDocumentFacilitatorStatusFilter.d.ts +1 -1
- package/dist/model/rFQDocumentFacilitatorStatusFilter.js +1 -1
- package/dist/model/rFQDocumentFacilitatorValidatorsInner.d.ts +1 -1
- package/dist/model/rFQDocumentFacilitatorValidatorsInner.js +1 -1
- package/dist/model/rFQDocumentSeller.d.ts +1 -1
- package/dist/model/rFQDocumentSeller.js +1 -1
- package/dist/model/rFQDocumentSellerAllOfValidators.d.ts +1 -1
- package/dist/model/rFQDocumentSellerAllOfValidators.js +1 -1
- package/dist/model/rFQDocumentSellerStatusFilter.d.ts +1 -1
- package/dist/model/rFQDocumentSellerStatusFilter.js +1 -1
- package/dist/model/rFQDocumentStatus.d.ts +1 -1
- package/dist/model/rFQDocumentStatus.js +1 -1
- package/dist/model/rFQDocumentUpdate.d.ts +1 -1
- package/dist/model/rFQDocumentUpdate.js +1 -1
- package/dist/model/rFQUpdatePayload.d.ts +1 -1
- package/dist/model/rFQUpdatePayload.js +1 -1
- package/dist/model/rFQWebhookEventType.d.ts +1 -1
- package/dist/model/rFQWebhookEventType.js +1 -1
- package/dist/model/rebalanceVaultWithEther.d.ts +32 -0
- package/dist/model/rebalanceVaultWithEther.js +33 -0
- package/dist/model/rebalanceVaultWithShares.d.ts +32 -0
- package/dist/model/rebalanceVaultWithShares.js +33 -0
- package/dist/model/recoverERC20.d.ts +40 -0
- package/dist/model/recoverERC20.js +43 -0
- package/dist/model/{webhookPayloadData.d.ts → renameVaultRequest.d.ts} +5 -13
- package/dist/model/renameVaultRequest.js +31 -0
- package/dist/model/revokeRole.d.ts +36 -0
- package/dist/model/revokeRole.js +38 -0
- package/dist/model/settlementSteps.d.ts +1 -1
- package/dist/model/settlementSteps.js +1 -1
- package/dist/model/stakeEthRequest.d.ts +31 -0
- package/dist/model/stakeEthRequest.js +31 -0
- package/dist/model/stakeEthResponse.d.ts +32 -0
- package/dist/model/stakeEthResponse.js +43 -0
- package/dist/model/stakeEthResponseDestructuredCallDataInner.d.ts +40 -0
- package/dist/model/stakeEthResponseDestructuredCallDataInner.js +43 -0
- package/dist/model/stakingRequest.d.ts +34 -0
- package/dist/model/stakingRequest.js +38 -0
- package/dist/model/stakingRequestStatus.d.ts +15 -0
- package/dist/model/stakingRequestStatus.js +13 -0
- package/dist/model/supportedValidatorProvidersResponse.d.ts +29 -0
- package/dist/model/supportedValidatorProvidersResponse.js +31 -0
- package/dist/model/transaction.d.ts +14 -2
- package/dist/model/transaction.js +16 -1
- package/dist/model/triggerValidatorWithdrawals.d.ts +40 -0
- package/dist/model/triggerValidatorWithdrawals.js +43 -0
- package/dist/model/unwrapWstETH.d.ts +32 -0
- package/dist/model/unwrapWstETH.js +33 -0
- package/dist/model/{getSmartContractMinedBlocks200Response.d.ts → updateLinkedWalletNameRequest.d.ts} +4 -14
- package/dist/model/updateLinkedWalletNameRequest.js +28 -0
- package/dist/model/updateMemberRoleRequest.d.ts +37 -0
- package/dist/model/updateMemberRoleRequest.js +31 -0
- package/dist/model/updateOrganizationNameRequest.d.ts +31 -0
- package/dist/model/updateOrganizationNameRequest.js +31 -0
- package/dist/model/updateShareLimit.d.ts +32 -0
- package/dist/model/updateShareLimit.js +33 -0
- package/dist/model/validateConsolidationRequestsResponse.d.ts +33 -0
- package/dist/model/validateConsolidationRequestsResponse.js +33 -0
- package/dist/model/validateConsolidationRequestsResponseConsolidationDetailsInner.d.ts +48 -0
- package/dist/model/validateConsolidationRequestsResponseConsolidationDetailsInner.js +53 -0
- package/dist/model/validatorDailyReward.d.ts +63 -0
- package/dist/model/validatorDailyReward.js +71 -0
- package/dist/model/validatorInfo.d.ts +14 -11
- package/dist/model/validatorInfo.js +16 -21
- package/dist/model/validatorKeyHolder.d.ts +1 -1
- package/dist/model/validatorKeyHolder.js +1 -1
- package/dist/model/validatorProvider.d.ts +15 -0
- package/dist/model/validatorProvider.js +13 -0
- package/dist/model/validatorRewardRaw.d.ts +73 -0
- package/dist/model/validatorRewardRaw.js +76 -0
- package/dist/model/validatorRewardsDaily.d.ts +50 -0
- package/dist/model/validatorRewardsDaily.js +48 -0
- package/dist/model/{getSmartContractMEVRewards200Response.d.ts → validatorRewardsDailyResponse.d.ts} +4 -13
- package/dist/model/validatorRewardsDailyResponse.js +43 -0
- package/dist/model/validatorRewardsRaw.d.ts +44 -0
- package/dist/model/validatorRewardsRaw.js +46 -0
- package/dist/model/validatorType.d.ts +1 -1
- package/dist/model/validatorType.js +1 -1
- package/dist/model/validatorWithdrawal.d.ts +7 -7
- package/dist/model/validatorWithdrawal.js +13 -13
- package/dist/model/vaultCreationStartResponse.d.ts +26 -0
- package/dist/model/vaultCreationStartResponse.js +28 -0
- package/dist/model/wallet.d.ts +1 -1
- package/dist/model/wallet.js +1 -1
- package/dist/model/webHookLookupAnswer.d.ts +1 -1
- package/dist/model/webHookLookupAnswer.js +1 -1
- package/dist/model/webhookPayload.d.ts +3 -3
- package/dist/model/webhookPayload.js +2 -2
- package/dist/model/webhookPayloadRFQAvailable.d.ts +1 -1
- package/dist/model/webhookPayloadRFQAvailable.js +1 -1
- package/dist/model/webhookPayloadRFQBidAccepted.d.ts +1 -1
- package/dist/model/webhookPayloadRFQBidAccepted.js +1 -1
- package/dist/model/webhookPayloadRFQBidAcceptedDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQBidAcceptedDetails.js +1 -1
- package/dist/model/webhookPayloadRFQBidReceived.d.ts +1 -1
- package/dist/model/webhookPayloadRFQBidReceived.js +1 -1
- package/dist/model/webhookPayloadRFQBidReceivedDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQBidReceivedDetails.js +1 -1
- package/dist/model/webhookPayloadRFQEscrowEvent.d.ts +1 -1
- package/dist/model/webhookPayloadRFQEscrowEvent.js +1 -1
- package/dist/model/webhookPayloadRFQEscrowEventDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQEscrowEventDetails.js +1 -1
- package/dist/model/webhookPayloadRFQEscrowReleased.d.ts +1 -1
- package/dist/model/webhookPayloadRFQEscrowReleased.js +1 -1
- package/dist/model/webhookPayloadRFQEscrowReleasedDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQEscrowReleasedDetails.js +1 -1
- package/dist/model/webhookPayloadRFQTransferProposalReceived.d.ts +1 -1
- package/dist/model/webhookPayloadRFQTransferProposalReceived.js +1 -1
- package/dist/model/webhookPayloadRFQTransferProposalReceivedDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQTransferProposalReceivedDetails.js +1 -1
- package/dist/model/webhookPayloadRFQValidatorExited.d.ts +1 -1
- package/dist/model/webhookPayloadRFQValidatorExited.js +1 -1
- package/dist/model/webhookPayloadRFQValidatorExitedDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQValidatorExitedDetails.js +1 -1
- package/dist/model/webhookPayloadRFQValidatorWithdrawalChange.d.ts +1 -1
- package/dist/model/webhookPayloadRFQValidatorWithdrawalChange.js +1 -1
- package/dist/model/webhookPayloadRFQValidatorWithdrawalChangeDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQValidatorWithdrawalChangeDetails.js +1 -1
- package/dist/model/webhookPayloadRFQWithdrawalClaimable.d.ts +1 -1
- package/dist/model/webhookPayloadRFQWithdrawalClaimable.js +1 -1
- package/dist/model/webhookPayloadRFQWithdrawalClaimableDetails.d.ts +1 -1
- package/dist/model/webhookPayloadRFQWithdrawalClaimableDetails.js +1 -1
- package/dist/model/webhookRegistration.d.ts +1 -1
- package/dist/model/webhookRegistration.js +1 -1
- package/dist/model/webhookRegistrationDetails.d.ts +1 -1
- package/dist/model/webhookRegistrationDetails.js +1 -1
- package/dist/model/withdrawFromVault.d.ts +36 -0
- package/dist/model/withdrawFromVault.js +38 -0
- package/dist/model/withdrawalClaimable.d.ts +1 -1
- package/dist/model/withdrawalClaimable.js +1 -1
- package/dist/model/withdrawalRecipientSettlement.d.ts +1 -1
- package/dist/model/withdrawalRecipientSettlement.js +1 -1
- package/dist/model/wrapStETH.d.ts +32 -0
- package/dist/model/wrapStETH.js +33 -0
- package/model/acceptedQuote.ts +1 -1
- package/model/accountEntity.ts +24 -8
- package/model/addLinkedWalletRequest.ts +1 -1
- package/model/apiKey.ts +10 -10
- package/model/approveStETH.ts +43 -0
- package/model/approveWstETH.ts +52 -0
- package/model/asset.ts +1 -1
- package/model/burnShares.ts +43 -0
- package/model/burnStETH.ts +43 -0
- package/model/burnWstETH.ts +43 -0
- package/model/changeTier.ts +52 -0
- package/model/collectERC20FromVault.ts +61 -0
- package/model/consolidateValidators.ts +52 -0
- package/model/consolidateValidatorsErrorResponse.ts +43 -0
- package/model/consolidateValidatorsResponse.ts +35 -0
- package/model/createLidoStakingContractsRequest.ts +46 -0
- package/model/createVaultRequest.ts +55 -0
- package/model/dailyRewardSummaryStats.ts +91 -0
- package/model/errorResponse.ts +1 -1
- package/model/errorWithTransactionResponse.ts +41 -0
- package/model/escrowPayment.ts +1 -1
- package/model/escrowReleased.ts +1 -1
- package/model/ethereumValidatorKey.ts +1 -1
- package/model/ethereumValidatorKeyKeystore.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCrypto.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCryptoChecksum.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCryptoCipher.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCryptoCipherParams.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCryptoKdf.ts +1 -1
- package/model/ethereumValidatorKeyKeystoreCryptoKdfParams.ts +1 -1
- package/model/exitEstimateBase.ts +1 -1
- package/model/exitEstimateSeller.ts +1 -1
- package/model/exitProposal.ts +1 -1
- package/model/fundVault.ts +43 -0
- package/model/generateApiKeyRequest.ts +1 -1
- package/model/getLazyOracleReportCallData200Response.ts +44 -0
- package/model/getLazyOracleReportCallData200ResponseDestructuredCalldata.ts +67 -0
- package/model/getLazyOracleReportData200Response.ts +38 -0
- package/model/getLazyOracleReportData200ResponseReportData.ts +43 -0
- package/model/{getSmartContractTransactions200Response.ts → getLidoTransactions200Response.ts} +3 -3
- package/model/getQuarantineInfo200Response.ts +55 -0
- package/model/getStETHPerWstETHRate200Response.ts +34 -0
- package/model/getWithdrawalsResponse.ts +1 -1
- package/model/grantRole.ts +52 -0
- package/model/internalTransaction.ts +1 -1
- package/model/inviteMemberRequest.ts +54 -0
- package/model/lidoContracts.ts +60 -0
- package/model/{smartContractDetailedWhitelistedDepositorsInner.ts → lidoContractsDashboard.ts} +6 -15
- package/model/lidoContractsStakingVault.ts +34 -0
- package/model/lidoStakingContracts.ts +44 -0
- package/model/lidoStakingContractsWithData.ts +60 -0
- package/model/lidoStakingContractsWithDataVaultData.ts +223 -0
- package/model/mintShares.ts +52 -0
- package/model/mintStETH.ts +52 -0
- package/model/mintWstETH.ts +52 -0
- package/model/models.ts +296 -52
- package/model/organizationMember.ts +81 -0
- package/model/organizationNameResponse.ts +37 -0
- package/model/partialTransaction.ts +52 -0
- package/model/presignedExitKey.ts +1 -1
- package/model/presignedExitKeyMessage.ts +1 -1
- package/model/quote.ts +1 -1
- package/model/rFQBidFacilitator.ts +1 -1
- package/model/rFQBids.ts +1 -1
- package/model/rFQDocumentBase.ts +1 -1
- package/model/rFQDocumentBaseUniqueEscrowVault.ts +1 -1
- package/model/rFQDocumentBuyer.ts +1 -1
- package/model/rFQDocumentBuyerAllOfValidators.ts +1 -1
- package/model/rFQDocumentBuyerStatusFilter.ts +1 -1
- package/model/rFQDocumentFacilitator.ts +1 -1
- package/model/rFQDocumentFacilitatorStatusFilter.ts +1 -1
- package/model/rFQDocumentFacilitatorValidatorsInner.ts +1 -1
- package/model/rFQDocumentSeller.ts +1 -1
- package/model/rFQDocumentSellerAllOfValidators.ts +1 -1
- package/model/rFQDocumentSellerStatusFilter.ts +1 -1
- package/model/rFQDocumentStatus.ts +1 -1
- package/model/rFQDocumentUpdate.ts +1 -1
- package/model/rFQUpdatePayload.ts +1 -1
- package/model/rFQWebhookEventType.ts +1 -1
- package/model/rebalanceVaultWithEther.ts +43 -0
- package/model/rebalanceVaultWithShares.ts +43 -0
- package/model/recoverERC20.ts +61 -0
- package/model/renameVaultRequest.ts +37 -0
- package/model/revokeRole.ts +52 -0
- package/model/settlementSteps.ts +1 -1
- package/model/stakeEthRequest.ts +37 -0
- package/model/stakeEthResponse.ts +53 -0
- package/model/stakeEthResponseDestructuredCallDataInner.ts +61 -0
- package/model/stakingRequest.ts +50 -0
- package/model/stakingRequestStatus.ts +24 -0
- package/model/supportedValidatorProvidersResponse.ts +35 -0
- package/model/transaction.ts +29 -2
- package/model/triggerValidatorWithdrawals.ts +61 -0
- package/model/unwrapWstETH.ts +43 -0
- package/model/updateLinkedWalletNameRequest.ts +34 -0
- package/model/updateMemberRoleRequest.ts +45 -0
- package/model/updateOrganizationNameRequest.ts +37 -0
- package/model/updateShareLimit.ts +43 -0
- package/model/validateConsolidationRequestsResponse.ts +44 -0
- package/model/validateConsolidationRequestsResponseConsolidationDetailsInner.ts +79 -0
- package/model/validatorDailyReward.ts +109 -0
- package/model/validatorInfo.ts +29 -31
- package/model/validatorKeyHolder.ts +1 -1
- package/model/validatorProvider.ts +23 -0
- package/model/validatorRewardRaw.ts +127 -0
- package/model/validatorRewardsDaily.ts +79 -0
- package/model/{getSmartContractMinedBlocks200Response.ts → validatorRewardsDailyResponse.ts} +8 -17
- package/model/{getSmartContractMEVRewards200Response.ts → validatorRewardsRaw.ts} +15 -9
- package/model/validatorType.ts +1 -1
- package/model/validatorWithdrawal.ts +19 -19
- package/model/vaultCreationStartResponse.ts +32 -0
- package/model/wallet.ts +1 -1
- package/model/webHookLookupAnswer.ts +1 -1
- package/model/webhookPayload.ts +4 -4
- package/model/webhookPayloadRFQAvailable.ts +1 -1
- package/model/webhookPayloadRFQBidAccepted.ts +1 -1
- package/model/webhookPayloadRFQBidAcceptedDetails.ts +1 -1
- package/model/webhookPayloadRFQBidReceived.ts +1 -1
- package/model/webhookPayloadRFQBidReceivedDetails.ts +1 -1
- package/model/webhookPayloadRFQEscrowEvent.ts +1 -1
- package/model/webhookPayloadRFQEscrowEventDetails.ts +1 -1
- package/model/webhookPayloadRFQEscrowReleased.ts +1 -1
- package/model/webhookPayloadRFQEscrowReleasedDetails.ts +1 -1
- package/model/webhookPayloadRFQTransferProposalReceived.ts +1 -1
- package/model/webhookPayloadRFQTransferProposalReceivedDetails.ts +1 -1
- package/model/webhookPayloadRFQValidatorExited.ts +1 -1
- package/model/webhookPayloadRFQValidatorExitedDetails.ts +1 -1
- package/model/webhookPayloadRFQValidatorWithdrawalChange.ts +1 -1
- package/model/webhookPayloadRFQValidatorWithdrawalChangeDetails.ts +1 -1
- package/model/webhookPayloadRFQWithdrawalClaimable.ts +1 -1
- package/model/webhookPayloadRFQWithdrawalClaimableDetails.ts +1 -1
- package/model/webhookRegistration.ts +1 -1
- package/model/webhookRegistrationDetails.ts +1 -1
- package/model/withdrawFromVault.ts +52 -0
- package/model/withdrawalClaimable.ts +1 -1
- package/model/withdrawalRecipientSettlement.ts +1 -1
- package/model/wrapStETH.ts +43 -0
- package/package.json +3 -3
- package/api/validatorMarketplaceFacilitatorApi.ts +0 -360
- package/api/validatorMarketplaceWebhooksApi.ts +0 -351
- package/dist/api/smartContractsApi.d.ts +0 -125
- package/dist/api/validatorMarketplaceBuyersApi.d.ts +0 -95
- package/dist/api/validatorMarketplaceFacilitatorApi.d.ts +0 -80
- package/dist/api/validatorMarketplaceFacilitatorApi.js +0 -280
- package/dist/api/validatorMarketplaceSellersApi.d.ts +0 -122
- package/dist/api/validatorMarketplaceWebhooksApi.d.ts +0 -77
- package/dist/api/validatorMarketplaceWebhooksApi.js +0 -272
- package/dist/model/createRFQRequest.d.ts +0 -26
- package/dist/model/createRFQRequest.js +0 -33
- package/dist/model/getMarketplaceMetadata200Response.js +0 -38
- package/dist/model/getSmartContractMEVRewards200Response.js +0 -43
- package/dist/model/getSmartContractMinedBlocks200Response.js +0 -43
- package/dist/model/listAllRFQsForFacilitator200Response.d.ts +0 -38
- package/dist/model/listAllRFQsForFacilitator200Response.js +0 -43
- package/dist/model/mEVReward.d.ts +0 -45
- package/dist/model/mEVReward.js +0 -83
- package/dist/model/minedBlock.js +0 -48
- package/dist/model/provideEscrowHashForRFQDocumentRequest.d.ts +0 -25
- package/dist/model/provideEscrowHashForRFQDocumentRequest.js +0 -28
- package/dist/model/registerWithdrawalRecipientSettlementRequest.d.ts +0 -25
- package/dist/model/registerWithdrawalRecipientSettlementRequest.js +0 -28
- package/dist/model/smartContract.js +0 -56
- package/dist/model/smartContractDetailed.d.ts +0 -47
- package/dist/model/smartContractDetailed.js +0 -71
- package/dist/model/smartContractDetailedStats.d.ts +0 -72
- package/dist/model/smartContractDetailedStats.js +0 -83
- package/dist/model/smartContractDetailedWhitelistedDepositorsInner.d.ts +0 -27
- package/dist/model/smartContractDetailedWhitelistedDepositorsInner.js +0 -38
- package/dist/model/submittedQuote.d.ts +0 -26
- package/dist/model/submittedQuote.js +0 -33
- package/dist/model/webhookPayloadData.js +0 -41
- package/model/createRFQRequest.ts +0 -37
- package/model/getMarketplaceMetadata200Response.ts +0 -52
- package/model/listAllRFQsForFacilitator200Response.ts +0 -59
- package/model/mEVReward.ts +0 -106
- package/model/minedBlock.ts +0 -61
- package/model/provideEscrowHashForRFQDocumentRequest.ts +0 -31
- package/model/registerWithdrawalRecipientSettlementRequest.ts +0 -31
- package/model/smartContract.ts +0 -67
- package/model/smartContractDetailed.ts +0 -93
- package/model/smartContractDetailedStats.ts +0 -133
- package/model/submittedQuote.ts +0 -37
- package/model/webhookPayloadData.ts +0 -56
|
@@ -0,0 +1,469 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Northstake
|
|
3
|
+
* Northstake api Operation-level extensions used by the API: - x-roleRequired (array of strings): roles required to call the operation. - x-mfaApiScope (array of strings): MFA API scopes required when the user has MFA enrolled. - x-isProSvmFeature (boolean): when true, the operation is restricted to users whose Cosmos user document has is_pro_svm_user set to true.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ApproveStETH } from '../model/approveStETH';
|
|
13
|
+
import { ApproveWstETH } from '../model/approveWstETH';
|
|
14
|
+
import { BurnShares } from '../model/burnShares';
|
|
15
|
+
import { BurnStETH } from '../model/burnStETH';
|
|
16
|
+
import { BurnWstETH } from '../model/burnWstETH';
|
|
17
|
+
import { ChangeTier } from '../model/changeTier';
|
|
18
|
+
import { CollectERC20FromVault } from '../model/collectERC20FromVault';
|
|
19
|
+
import { ConsolidateValidators } from '../model/consolidateValidators';
|
|
20
|
+
import { ConsolidateValidatorsResponse } from '../model/consolidateValidatorsResponse';
|
|
21
|
+
import { FundVault } from '../model/fundVault';
|
|
22
|
+
import { GetLazyOracleReportCallData200Response } from '../model/getLazyOracleReportCallData200Response';
|
|
23
|
+
import { GrantRole } from '../model/grantRole';
|
|
24
|
+
import { MintShares } from '../model/mintShares';
|
|
25
|
+
import { MintStETH } from '../model/mintStETH';
|
|
26
|
+
import { MintWstETH } from '../model/mintWstETH';
|
|
27
|
+
import { PartialTransaction } from '../model/partialTransaction';
|
|
28
|
+
import { RebalanceVaultWithEther } from '../model/rebalanceVaultWithEther';
|
|
29
|
+
import { RebalanceVaultWithShares } from '../model/rebalanceVaultWithShares';
|
|
30
|
+
import { RecoverERC20 } from '../model/recoverERC20';
|
|
31
|
+
import { RevokeRole } from '../model/revokeRole';
|
|
32
|
+
import { StakeEthRequest } from '../model/stakeEthRequest';
|
|
33
|
+
import { StakeEthResponse } from '../model/stakeEthResponse';
|
|
34
|
+
import { StakingRequest } from '../model/stakingRequest';
|
|
35
|
+
import { TriggerValidatorWithdrawals } from '../model/triggerValidatorWithdrawals';
|
|
36
|
+
import { UnwrapWstETH } from '../model/unwrapWstETH';
|
|
37
|
+
import { UpdateShareLimit } from '../model/updateShareLimit';
|
|
38
|
+
import { ValidateConsolidationRequestsResponse } from '../model/validateConsolidationRequestsResponse';
|
|
39
|
+
import { WithdrawFromVault } from '../model/withdrawFromVault';
|
|
40
|
+
import { WrapStETH } from '../model/wrapStETH';
|
|
41
|
+
import { Authentication, Interceptor } from '../model/models';
|
|
42
|
+
import { HttpBearerAuth, ApiKeyAuth } from '../model/models';
|
|
43
|
+
export declare enum LidoWriteApiApiKeys {
|
|
44
|
+
ApiKeyAuth = 0
|
|
45
|
+
}
|
|
46
|
+
export declare class LidoWriteApi {
|
|
47
|
+
protected _basePath: string;
|
|
48
|
+
protected _defaultHeaders: any;
|
|
49
|
+
protected _useQuerystring: boolean;
|
|
50
|
+
protected authentications: {
|
|
51
|
+
default: Authentication;
|
|
52
|
+
bearerTokenAuth: HttpBearerAuth;
|
|
53
|
+
ApiKeyAuth: ApiKeyAuth;
|
|
54
|
+
};
|
|
55
|
+
protected interceptors: Interceptor[];
|
|
56
|
+
constructor(basePath?: string);
|
|
57
|
+
set useQuerystring(value: boolean);
|
|
58
|
+
set basePath(basePath: string);
|
|
59
|
+
set defaultHeaders(defaultHeaders: any);
|
|
60
|
+
get defaultHeaders(): any;
|
|
61
|
+
get basePath(): string;
|
|
62
|
+
setDefaultAuthentication(auth: Authentication): void;
|
|
63
|
+
setApiKey(key: LidoWriteApiApiKeys, value: string): void;
|
|
64
|
+
set accessToken(accessToken: string | (() => string));
|
|
65
|
+
addInterceptor(interceptor: Interceptor): void;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @summary Encode approval to burn stETH
|
|
69
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
70
|
+
* @param approveStETH
|
|
71
|
+
*/
|
|
72
|
+
approveBurnStETH(contractsId: string, approveStETH: ApproveStETH, options?: {
|
|
73
|
+
headers: {
|
|
74
|
+
[name: string]: string;
|
|
75
|
+
};
|
|
76
|
+
}): Promise<{
|
|
77
|
+
body: PartialTransaction;
|
|
78
|
+
status: number;
|
|
79
|
+
}>;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @summary Encode approval to burn wstETH
|
|
83
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
84
|
+
* @param approveWstETH
|
|
85
|
+
*/
|
|
86
|
+
approveBurnWstETH(contractsId: string, approveWstETH: ApproveWstETH, options?: {
|
|
87
|
+
headers: {
|
|
88
|
+
[name: string]: string;
|
|
89
|
+
};
|
|
90
|
+
}): Promise<{
|
|
91
|
+
body: PartialTransaction;
|
|
92
|
+
status: number;
|
|
93
|
+
}>;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @summary Approve wrapping stETH to wstETH
|
|
97
|
+
* @param approveStETH
|
|
98
|
+
*/
|
|
99
|
+
approveWrapStETH(approveStETH: ApproveStETH, options?: {
|
|
100
|
+
headers: {
|
|
101
|
+
[name: string]: string;
|
|
102
|
+
};
|
|
103
|
+
}): Promise<{
|
|
104
|
+
body: PartialTransaction;
|
|
105
|
+
status: number;
|
|
106
|
+
}>;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @summary Encode burn shares transaction
|
|
110
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
111
|
+
* @param burnShares
|
|
112
|
+
*/
|
|
113
|
+
burnShares(contractsId: string, burnShares: BurnShares, options?: {
|
|
114
|
+
headers: {
|
|
115
|
+
[name: string]: string;
|
|
116
|
+
};
|
|
117
|
+
}): Promise<{
|
|
118
|
+
body: PartialTransaction;
|
|
119
|
+
status: number;
|
|
120
|
+
}>;
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @summary Encode burn stETH transaction
|
|
124
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
125
|
+
* @param burnStETH
|
|
126
|
+
*/
|
|
127
|
+
burnStETH(contractsId: string, burnStETH: BurnStETH, options?: {
|
|
128
|
+
headers: {
|
|
129
|
+
[name: string]: string;
|
|
130
|
+
};
|
|
131
|
+
}): Promise<{
|
|
132
|
+
body: PartialTransaction;
|
|
133
|
+
status: number;
|
|
134
|
+
}>;
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @summary Encode burn wstETH transaction
|
|
138
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
139
|
+
* @param burnWstETH
|
|
140
|
+
*/
|
|
141
|
+
burnWstETH(contractsId: string, burnWstETH: BurnWstETH, options?: {
|
|
142
|
+
headers: {
|
|
143
|
+
[name: string]: string;
|
|
144
|
+
};
|
|
145
|
+
}): Promise<{
|
|
146
|
+
body: PartialTransaction;
|
|
147
|
+
status: number;
|
|
148
|
+
}>;
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
* @summary Encode change tier transaction
|
|
152
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
153
|
+
* @param changeTier
|
|
154
|
+
*/
|
|
155
|
+
changeTier(contractsId: string, changeTier: ChangeTier, options?: {
|
|
156
|
+
headers: {
|
|
157
|
+
[name: string]: string;
|
|
158
|
+
};
|
|
159
|
+
}): Promise<{
|
|
160
|
+
body: PartialTransaction;
|
|
161
|
+
status: number;
|
|
162
|
+
}>;
|
|
163
|
+
/**
|
|
164
|
+
*
|
|
165
|
+
* @summary Collect ERC20 from vault
|
|
166
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
167
|
+
* @param collectERC20FromVault
|
|
168
|
+
*/
|
|
169
|
+
collectERC20FromVault(contractsId: string, collectERC20FromVault: CollectERC20FromVault, options?: {
|
|
170
|
+
headers: {
|
|
171
|
+
[name: string]: string;
|
|
172
|
+
};
|
|
173
|
+
}): Promise<{
|
|
174
|
+
body: PartialTransaction;
|
|
175
|
+
status: number;
|
|
176
|
+
}>;
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @summary Create EIP-7251 consolidation requests for validators
|
|
180
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
181
|
+
* @param consolidateValidators
|
|
182
|
+
*/
|
|
183
|
+
consolidateValidators(contractsId: string, consolidateValidators: ConsolidateValidators, options?: {
|
|
184
|
+
headers: {
|
|
185
|
+
[name: string]: string;
|
|
186
|
+
};
|
|
187
|
+
}): Promise<{
|
|
188
|
+
body: ConsolidateValidatorsResponse;
|
|
189
|
+
status: number;
|
|
190
|
+
}>;
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* @summary Fund vault with ETH
|
|
194
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
195
|
+
* @param fundVault
|
|
196
|
+
*/
|
|
197
|
+
fundVault(contractsId: string, fundVault: FundVault, options?: {
|
|
198
|
+
headers: {
|
|
199
|
+
[name: string]: string;
|
|
200
|
+
};
|
|
201
|
+
}): Promise<{
|
|
202
|
+
body: PartialTransaction;
|
|
203
|
+
status: number;
|
|
204
|
+
}>;
|
|
205
|
+
/**
|
|
206
|
+
* Returns the calldata needed to submit the updateVaultData transaction to the lazy oracle contract for a specific Lido staking contract set.
|
|
207
|
+
* @summary Update lazy oracle report
|
|
208
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
209
|
+
* @param simulateAddress Optional Ethereum address to simulate the transaction from. If provided, the transaction will be simulated and any revert errors will be returned.
|
|
210
|
+
*/
|
|
211
|
+
getLazyOracleReportCallData(contractsId: string, simulateAddress?: string, options?: {
|
|
212
|
+
headers: {
|
|
213
|
+
[name: string]: string;
|
|
214
|
+
};
|
|
215
|
+
}): Promise<{
|
|
216
|
+
body: GetLazyOracleReportCallData200Response;
|
|
217
|
+
status: number;
|
|
218
|
+
}>;
|
|
219
|
+
/**
|
|
220
|
+
*
|
|
221
|
+
* @summary Get details for a specific staking request
|
|
222
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
223
|
+
* @param stakingRequestId The staking request ID
|
|
224
|
+
*/
|
|
225
|
+
getStakingRequest(contractsId: string, stakingRequestId: string, options?: {
|
|
226
|
+
headers: {
|
|
227
|
+
[name: string]: string;
|
|
228
|
+
};
|
|
229
|
+
}): Promise<{
|
|
230
|
+
body: StakingRequest;
|
|
231
|
+
status: number;
|
|
232
|
+
}>;
|
|
233
|
+
/**
|
|
234
|
+
*
|
|
235
|
+
* @summary Grant vault role
|
|
236
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
237
|
+
* @param grantRole
|
|
238
|
+
*/
|
|
239
|
+
grantRole(contractsId: string, grantRole: GrantRole, options?: {
|
|
240
|
+
headers: {
|
|
241
|
+
[name: string]: string;
|
|
242
|
+
};
|
|
243
|
+
}): Promise<{
|
|
244
|
+
body: PartialTransaction;
|
|
245
|
+
status: number;
|
|
246
|
+
}>;
|
|
247
|
+
/**
|
|
248
|
+
*
|
|
249
|
+
* @summary List staking request IDs for a vault
|
|
250
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
251
|
+
* @param status
|
|
252
|
+
*/
|
|
253
|
+
listStakingRequests(contractsId: string, status?: 'pending' | 'completed' | 'failed', options?: {
|
|
254
|
+
headers: {
|
|
255
|
+
[name: string]: string;
|
|
256
|
+
};
|
|
257
|
+
}): Promise<{
|
|
258
|
+
body: Array<string>;
|
|
259
|
+
status: number;
|
|
260
|
+
}>;
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
* @summary Encode mint shares transaction
|
|
264
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
265
|
+
* @param mintShares
|
|
266
|
+
*/
|
|
267
|
+
mintShares(contractsId: string, mintShares: MintShares, options?: {
|
|
268
|
+
headers: {
|
|
269
|
+
[name: string]: string;
|
|
270
|
+
};
|
|
271
|
+
}): Promise<{
|
|
272
|
+
body: PartialTransaction;
|
|
273
|
+
status: number;
|
|
274
|
+
}>;
|
|
275
|
+
/**
|
|
276
|
+
*
|
|
277
|
+
* @summary Encode mint stETH transaction
|
|
278
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
279
|
+
* @param mintStETH
|
|
280
|
+
*/
|
|
281
|
+
mintStETH(contractsId: string, mintStETH: MintStETH, options?: {
|
|
282
|
+
headers: {
|
|
283
|
+
[name: string]: string;
|
|
284
|
+
};
|
|
285
|
+
}): Promise<{
|
|
286
|
+
body: PartialTransaction;
|
|
287
|
+
status: number;
|
|
288
|
+
}>;
|
|
289
|
+
/**
|
|
290
|
+
*
|
|
291
|
+
* @summary Encode mint wstETH transaction
|
|
292
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
293
|
+
* @param mintWstETH
|
|
294
|
+
*/
|
|
295
|
+
mintWstETH(contractsId: string, mintWstETH: MintWstETH, options?: {
|
|
296
|
+
headers: {
|
|
297
|
+
[name: string]: string;
|
|
298
|
+
};
|
|
299
|
+
}): Promise<{
|
|
300
|
+
body: PartialTransaction;
|
|
301
|
+
status: number;
|
|
302
|
+
}>;
|
|
303
|
+
/**
|
|
304
|
+
*
|
|
305
|
+
* @summary Rebalance vault with ETH
|
|
306
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
307
|
+
* @param rebalanceVaultWithEther
|
|
308
|
+
*/
|
|
309
|
+
rebalanceVaultWithEther(contractsId: string, rebalanceVaultWithEther: RebalanceVaultWithEther, options?: {
|
|
310
|
+
headers: {
|
|
311
|
+
[name: string]: string;
|
|
312
|
+
};
|
|
313
|
+
}): Promise<{
|
|
314
|
+
body: PartialTransaction;
|
|
315
|
+
status: number;
|
|
316
|
+
}>;
|
|
317
|
+
/**
|
|
318
|
+
*
|
|
319
|
+
* @summary Rebalance vault with shares
|
|
320
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
321
|
+
* @param rebalanceVaultWithShares
|
|
322
|
+
*/
|
|
323
|
+
rebalanceVaultWithShares(contractsId: string, rebalanceVaultWithShares: RebalanceVaultWithShares, options?: {
|
|
324
|
+
headers: {
|
|
325
|
+
[name: string]: string;
|
|
326
|
+
};
|
|
327
|
+
}): Promise<{
|
|
328
|
+
body: PartialTransaction;
|
|
329
|
+
status: number;
|
|
330
|
+
}>;
|
|
331
|
+
/**
|
|
332
|
+
*
|
|
333
|
+
* @summary Recover ERC20 from vault
|
|
334
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
335
|
+
* @param recoverERC20
|
|
336
|
+
*/
|
|
337
|
+
recoverERC20(contractsId: string, recoverERC20: RecoverERC20, options?: {
|
|
338
|
+
headers: {
|
|
339
|
+
[name: string]: string;
|
|
340
|
+
};
|
|
341
|
+
}): Promise<{
|
|
342
|
+
body: PartialTransaction;
|
|
343
|
+
status: number;
|
|
344
|
+
}>;
|
|
345
|
+
/**
|
|
346
|
+
*
|
|
347
|
+
* @summary Revoke vault role
|
|
348
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
349
|
+
* @param revokeRole
|
|
350
|
+
*/
|
|
351
|
+
revokeRole(contractsId: string, revokeRole: RevokeRole, options?: {
|
|
352
|
+
headers: {
|
|
353
|
+
[name: string]: string;
|
|
354
|
+
};
|
|
355
|
+
}): Promise<{
|
|
356
|
+
body: PartialTransaction;
|
|
357
|
+
status: number;
|
|
358
|
+
}>;
|
|
359
|
+
/**
|
|
360
|
+
* Returns the call data needed to submit the unguaranteed deposit transaction to the dashboard contract.
|
|
361
|
+
* @summary Stake ETH with a Lido staking vault
|
|
362
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
363
|
+
* @param stakeEthRequest
|
|
364
|
+
*/
|
|
365
|
+
stakeEthWithLidoContracts(contractsId: string, stakeEthRequest: StakeEthRequest, options?: {
|
|
366
|
+
headers: {
|
|
367
|
+
[name: string]: string;
|
|
368
|
+
};
|
|
369
|
+
}): Promise<{
|
|
370
|
+
body: StakeEthResponse;
|
|
371
|
+
status: number;
|
|
372
|
+
}>;
|
|
373
|
+
/**
|
|
374
|
+
*
|
|
375
|
+
* @summary Encode sync tier transaction
|
|
376
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
377
|
+
* @param simulateAddress Optional Ethereum address to simulate the transaction from. If provided, the transaction will be simulated and any revert errors will be returned.
|
|
378
|
+
*/
|
|
379
|
+
syncTier(contractsId: string, simulateAddress?: string, options?: {
|
|
380
|
+
headers: {
|
|
381
|
+
[name: string]: string;
|
|
382
|
+
};
|
|
383
|
+
}): Promise<{
|
|
384
|
+
body: PartialTransaction;
|
|
385
|
+
status: number;
|
|
386
|
+
}>;
|
|
387
|
+
/**
|
|
388
|
+
*
|
|
389
|
+
* @summary Trigger validator withdrawals
|
|
390
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
391
|
+
* @param triggerValidatorWithdrawals
|
|
392
|
+
*/
|
|
393
|
+
triggerValidatorWithdrawals(contractsId: string, triggerValidatorWithdrawals: TriggerValidatorWithdrawals, options?: {
|
|
394
|
+
headers: {
|
|
395
|
+
[name: string]: string;
|
|
396
|
+
};
|
|
397
|
+
}): Promise<{
|
|
398
|
+
body: PartialTransaction;
|
|
399
|
+
status: number;
|
|
400
|
+
}>;
|
|
401
|
+
/**
|
|
402
|
+
*
|
|
403
|
+
* @summary Unwrap wstETH to stETH
|
|
404
|
+
* @param unwrapWstETH
|
|
405
|
+
*/
|
|
406
|
+
unwrapWstETH(unwrapWstETH: UnwrapWstETH, options?: {
|
|
407
|
+
headers: {
|
|
408
|
+
[name: string]: string;
|
|
409
|
+
};
|
|
410
|
+
}): Promise<{
|
|
411
|
+
body: PartialTransaction;
|
|
412
|
+
status: number;
|
|
413
|
+
}>;
|
|
414
|
+
/**
|
|
415
|
+
*
|
|
416
|
+
* @summary Encode update share limit transaction
|
|
417
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
418
|
+
* @param updateShareLimit
|
|
419
|
+
*/
|
|
420
|
+
updateShareLimit(contractsId: string, updateShareLimit: UpdateShareLimit, options?: {
|
|
421
|
+
headers: {
|
|
422
|
+
[name: string]: string;
|
|
423
|
+
};
|
|
424
|
+
}): Promise<{
|
|
425
|
+
body: PartialTransaction;
|
|
426
|
+
status: number;
|
|
427
|
+
}>;
|
|
428
|
+
/**
|
|
429
|
+
* Returns validator balances and signing wallet information for the given consolidation requests.
|
|
430
|
+
* @summary Validate consolidation requests
|
|
431
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
432
|
+
* @param consolidateValidators
|
|
433
|
+
*/
|
|
434
|
+
validateConsolidationRequests(contractsId: string, consolidateValidators: ConsolidateValidators, options?: {
|
|
435
|
+
headers: {
|
|
436
|
+
[name: string]: string;
|
|
437
|
+
};
|
|
438
|
+
}): Promise<{
|
|
439
|
+
body: ValidateConsolidationRequestsResponse;
|
|
440
|
+
status: number;
|
|
441
|
+
}>;
|
|
442
|
+
/**
|
|
443
|
+
*
|
|
444
|
+
* @summary Withdraw from vault
|
|
445
|
+
* @param contractsId The unique identifier of the Lido staking contracts
|
|
446
|
+
* @param withdrawFromVault
|
|
447
|
+
*/
|
|
448
|
+
withdrawFromVault(contractsId: string, withdrawFromVault: WithdrawFromVault, options?: {
|
|
449
|
+
headers: {
|
|
450
|
+
[name: string]: string;
|
|
451
|
+
};
|
|
452
|
+
}): Promise<{
|
|
453
|
+
body: PartialTransaction;
|
|
454
|
+
status: number;
|
|
455
|
+
}>;
|
|
456
|
+
/**
|
|
457
|
+
*
|
|
458
|
+
* @summary Wrap stETH to wstETH
|
|
459
|
+
* @param wrapStETH
|
|
460
|
+
*/
|
|
461
|
+
wrapStETH(wrapStETH: WrapStETH, options?: {
|
|
462
|
+
headers: {
|
|
463
|
+
[name: string]: string;
|
|
464
|
+
};
|
|
465
|
+
}): Promise<{
|
|
466
|
+
body: PartialTransaction;
|
|
467
|
+
status: number;
|
|
468
|
+
}>;
|
|
469
|
+
}
|