@evergonlabs/tmi-protocol-api 0.11.0-rc.3 → 0.11.0
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/dist/app.d.ts +473 -232
- package/dist/app.d.ts.map +1 -1
- package/dist/apps.d.ts +1 -1
- package/dist/apps.js +1 -1
- package/dist/client.d.ts +1260 -1103
- package/dist/client.d.ts.map +1 -1
- package/dist/fractions/index.d.ts +84 -100
- package/dist/fractions/index.d.ts.map +1 -1
- package/dist/fractions/markets/deployMarket.d.ts +1 -1
- package/dist/fractions/markets/deployMarket.d.ts.map +1 -1
- package/dist/fractions/markets/deployMarket.js +5 -5
- package/dist/fractions/markets/getDeployEvent.d.ts +6 -0
- package/dist/fractions/markets/getDeployEvent.d.ts.map +1 -1
- package/dist/fractions/markets/getDeployEvent.js +8 -5
- package/dist/fractions/markets/getMarket.d.ts +5 -0
- package/dist/fractions/markets/getMarket.d.ts.map +1 -1
- package/dist/fractions/markets/getMarket.js +7 -14
- package/dist/fractions/markets/index.d.ts +7 -11
- package/dist/fractions/markets/index.d.ts.map +1 -1
- package/dist/fractions/markets/initCompilot.d.ts +4 -0
- package/dist/fractions/markets/initCompilot.d.ts.map +1 -1
- package/dist/fractions/markets/initCompilot.js +6 -4
- package/dist/fractions/markets/searchMarkets.d.ts +42 -11
- package/dist/fractions/markets/searchMarkets.d.ts.map +1 -1
- package/dist/fractions/markets/searchMarkets.js +16 -11
- package/dist/fractions/roles/grantRole.d.ts +1 -1
- package/dist/fractions/roles/grantRole.js +1 -1
- package/dist/fractions/sales/{approveSale.route.d.ts → approveSale.d.ts} +2 -2
- package/dist/fractions/sales/approveSale.d.ts.map +1 -0
- package/dist/fractions/sales/{approveSale.route.js → approveSale.js} +1 -1
- package/dist/fractions/sales/{approveWrapper.route.d.ts → approveWrapper.d.ts} +2 -2
- package/dist/fractions/sales/approveWrapper.d.ts.map +1 -0
- package/dist/fractions/sales/{approveWrapper.route.js → approveWrapper.js} +1 -1
- package/dist/fractions/sales/{completeSale.route.d.ts → completeSale.d.ts} +2 -2
- package/dist/fractions/sales/completeSale.d.ts.map +1 -0
- package/dist/fractions/sales/{completeSale.route.js → completeSale.js} +1 -1
- package/dist/fractions/sales/{createFractions.route.d.ts → createFractions.d.ts} +2 -2
- package/dist/fractions/sales/createFractions.d.ts.map +1 -0
- package/dist/fractions/sales/{createFractions.route.js → createFractions.js} +1 -1
- package/dist/fractions/sales/getFractionSaleStatistics.d.ts +47 -0
- package/dist/fractions/sales/getFractionSaleStatistics.d.ts.map +1 -0
- package/dist/fractions/sales/{getFractionSaleStatistics.route.js → getFractionSaleStatistics.js} +32 -18
- package/dist/fractions/sales/getVaultAddress.d.ts +10 -1
- package/dist/fractions/sales/getVaultAddress.d.ts.map +1 -1
- package/dist/fractions/sales/getVaultAddress.js +11 -7
- package/dist/fractions/sales/getWithdrawEvent.d.ts +4 -3
- package/dist/fractions/sales/getWithdrawEvent.d.ts.map +1 -1
- package/dist/fractions/sales/getWithdrawEvent.js +8 -13
- package/dist/fractions/sales/index.d.ts +50 -62
- package/dist/fractions/sales/index.d.ts.map +1 -1
- package/dist/fractions/sales/index.js +16 -16
- package/dist/fractions/sales/parseFractionsCreatedEvent.d.ts +13 -4
- package/dist/fractions/sales/parseFractionsCreatedEvent.d.ts.map +1 -1
- package/dist/fractions/sales/parseFractionsCreatedEvent.js +20 -22
- package/dist/fractions/sales/{purchase.route.d.ts → purchase.d.ts} +2 -2
- package/dist/fractions/sales/purchase.d.ts.map +1 -0
- package/dist/fractions/sales/{purchase.route.js → purchase.js} +1 -1
- package/dist/fractions/sales/{purchaseStatistics.route.d.ts → purchaseStatistics.d.ts} +8 -7
- package/dist/fractions/sales/purchaseStatistics.d.ts.map +1 -0
- package/dist/fractions/sales/{purchaseStatistics.route.js → purchaseStatistics.js} +12 -10
- package/dist/fractions/sales/{receiveFundsAfterNonFunded.route.d.ts → receiveFundsAfterNonFunded.d.ts} +4 -4
- package/dist/fractions/sales/receiveFundsAfterNonFunded.d.ts.map +1 -0
- package/dist/fractions/sales/{receiveFundsAfterNonFunded.route.js → receiveFundsAfterNonFunded.js} +1 -1
- package/dist/fractions/sales/{receiveNonPurchasedWrappedAssets.route.d.ts → receiveNonPurchasedWrappedAssets.d.ts} +1 -1
- package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.d.ts.map +1 -0
- package/dist/fractions/sales/recoverFractions.d.ts +1 -1
- package/dist/fractions/sales/recoverFractions.js +1 -1
- package/dist/fractions/sales/rejectFractions.d.ts +1 -1
- package/dist/fractions/sales/rejectFractions.js +1 -1
- package/dist/fractions/sales/searchActivity.d.ts +121 -0
- package/dist/fractions/sales/searchActivity.d.ts.map +1 -0
- package/dist/fractions/sales/{searchActivity.route.js → searchActivity.js} +23 -15
- package/dist/fractions/sales/searchSales/searchSales.d.ts +89 -12
- package/dist/fractions/sales/searchSales/searchSales.d.ts.map +1 -1
- package/dist/fractions/sales/searchSales/searchSales.js +17 -12
- package/dist/fractions/sales/searchWithdrawal.d.ts +132 -0
- package/dist/fractions/sales/searchWithdrawal.d.ts.map +1 -0
- package/dist/fractions/sales/{searchWithdrawal.route.js → searchWithdrawal.js} +16 -11
- package/dist/fractions/sales/setFeeCapLimit.d.ts +1 -1
- package/dist/fractions/sales/setFeeCapLimit.js +1 -1
- package/dist/fractions/sales/{unlockWrappedAssets.route.d.ts → unlockWrappedAssets.d.ts} +2 -2
- package/dist/fractions/sales/unlockWrappedAssets.d.ts.map +1 -0
- package/dist/fractions/sales/{unlockWrappedAssets.route.js → unlockWrappedAssets.js} +1 -1
- package/dist/fractions/sales/vesting/{claimStatistics.route.d.ts → claimStatistics.d.ts} +5 -5
- package/dist/fractions/sales/vesting/claimStatistics.d.ts.map +1 -0
- package/dist/fractions/sales/vesting/{claimStatistics.route.js → claimStatistics.js} +6 -6
- package/dist/fractions/sales/vesting/{claimVestedTokens.route.d.ts → claimVestedTokens.d.ts} +1 -1
- package/dist/fractions/sales/vesting/claimVestedTokens.d.ts.map +1 -0
- package/dist/fractions/sales/vesting/{editCliff.route.d.ts → editCliff.d.ts} +1 -1
- package/dist/fractions/sales/vesting/editCliff.d.ts.map +1 -0
- package/dist/fractions/sales/vesting/{editCliff.route.js → editCliff.js} +1 -1
- package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.d.ts +6 -5
- package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.d.ts.map +1 -1
- package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.js +11 -16
- package/dist/fractions/sales/{withdraw.route.d.ts → withdraw.d.ts} +2 -2
- package/dist/fractions/sales/withdraw.d.ts.map +1 -0
- package/dist/fractions/sales/{withdraw.route.js → withdraw.js} +1 -1
- package/dist/fractions/schemas.d.ts +16 -5
- package/dist/fractions/schemas.d.ts.map +1 -1
- package/dist/fractions/schemas.js +20 -6
- package/dist/fractions/sig/getAuthData.d.ts +5 -9
- package/dist/fractions/sig/getAuthData.d.ts.map +1 -1
- package/dist/fractions/sig/getAuthData.js +7 -11
- package/dist/fractions/sig/{getNonce.route.d.ts → getNonce.d.ts} +6 -3
- package/dist/fractions/sig/getNonce.d.ts.map +1 -0
- package/dist/fractions/sig/{getNonce.route.js → getNonce.js} +10 -6
- package/dist/fractions/sig/index.d.ts +1 -1
- package/dist/fractions/sig/index.js +1 -1
- package/dist/fractions/statistics/index.d.ts +26 -26
- package/dist/fractions/statistics/index.js +1 -1
- package/dist/fractions/statistics/{networkStatistics.route.d.ts → networkStatistics.d.ts} +27 -27
- package/dist/fractions/statistics/networkStatistics.d.ts.map +1 -0
- package/dist/fractions/statistics/{networkStatistics.route.js → networkStatistics.js} +13 -13
- package/dist/general/common.d.ts +1 -1
- package/dist/general/common.d.ts.map +1 -1
- package/dist/general/common.js +2 -2
- package/dist/general/estimateGas.d.ts +14 -9
- package/dist/general/estimateGas.d.ts.map +1 -1
- package/dist/general/estimateGas.js +26 -27
- package/dist/general/getBalance.d.ts +10 -1
- package/dist/general/getBalance.d.ts.map +1 -1
- package/dist/general/getBalance.js +33 -24
- package/dist/general/getBalancesBatch.d.ts +18 -2
- package/dist/general/getBalancesBatch.d.ts.map +1 -1
- package/dist/general/getBalancesBatch.js +28 -21
- package/dist/general/index.d.ts +9 -10
- package/dist/general/index.d.ts.map +1 -1
- package/dist/general/searchBalances.d.ts +18 -3
- package/dist/general/searchBalances.d.ts.map +1 -1
- package/dist/general/searchBalances.js +24 -4
- package/dist/issuance/erc1155/burn.d.ts +1 -1
- package/dist/issuance/erc1155/burn.d.ts.map +1 -1
- package/dist/issuance/erc1155/burn.js +5 -3
- package/dist/issuance/erc1155/default/deploy.d.ts +1 -1
- package/dist/issuance/erc1155/default/deploy.d.ts.map +1 -1
- package/dist/issuance/erc1155/default/deploy.js +5 -3
- package/dist/issuance/erc1155/default/initialize.d.ts +1 -1
- package/dist/issuance/erc1155/default/initialize.d.ts.map +1 -1
- package/dist/issuance/erc1155/default/initialize.js +5 -3
- package/dist/issuance/erc1155/default/parseDeployEvent.d.ts +11 -0
- package/dist/issuance/erc1155/default/parseDeployEvent.d.ts.map +1 -1
- package/dist/issuance/erc1155/default/parseDeployEvent.js +14 -9
- package/dist/issuance/erc1155/gated/deploy.d.ts +1 -1
- package/dist/issuance/erc1155/gated/deploy.d.ts.map +1 -1
- package/dist/issuance/erc1155/gated/deploy.js +5 -5
- package/dist/issuance/erc1155/gated/initialize.d.ts +1 -1
- package/dist/issuance/erc1155/gated/initialize.d.ts.map +1 -1
- package/dist/issuance/erc1155/gated/initialize.js +5 -5
- package/dist/issuance/erc1155/gated/parseDeployEvent.d.ts +11 -0
- package/dist/issuance/erc1155/gated/parseDeployEvent.d.ts.map +1 -1
- package/dist/issuance/erc1155/gated/parseDeployEvent.js +14 -9
- package/dist/issuance/erc1155/getMintedTokenId.d.ts +9 -1
- package/dist/issuance/erc1155/getMintedTokenId.d.ts.map +1 -1
- package/dist/issuance/erc1155/getMintedTokenId.js +16 -8
- package/dist/issuance/erc1155/grantRole.d.ts +1 -1
- package/dist/issuance/erc1155/grantRole.d.ts.map +1 -1
- package/dist/issuance/erc1155/grantRole.js +6 -4
- package/dist/issuance/erc1155/index.d.ts +1 -1
- package/dist/issuance/erc1155/mint.d.ts +1 -1
- package/dist/issuance/erc1155/mint.d.ts.map +1 -1
- package/dist/issuance/erc1155/mint.js +5 -3
- package/dist/issuance/erc1155/recover.d.ts +1 -1
- package/dist/issuance/erc1155/recover.d.ts.map +1 -1
- package/dist/issuance/erc1155/recover.js +5 -3
- package/dist/issuance/erc1155/renounceRole.d.ts +1 -1
- package/dist/issuance/erc1155/renounceRole.d.ts.map +1 -1
- package/dist/issuance/erc1155/renounceRole.js +6 -4
- package/dist/issuance/erc1155/revokeRole.d.ts +1 -1
- package/dist/issuance/erc1155/revokeRole.d.ts.map +1 -1
- package/dist/issuance/erc1155/revokeRole.js +6 -4
- package/dist/issuance/erc1155/setApprovalForAll.d.ts +1 -1
- package/dist/issuance/erc1155/setApprovalForAll.d.ts.map +1 -1
- package/dist/issuance/erc1155/setApprovalForAll.js +5 -3
- package/dist/issuance/erc1155/setBaseURI.d.ts +1 -1
- package/dist/issuance/erc1155/setBaseURI.d.ts.map +1 -1
- package/dist/issuance/erc1155/setBaseURI.js +5 -3
- package/dist/issuance/erc1155/setTokenURI.d.ts +1 -1
- package/dist/issuance/erc1155/setTokenURI.d.ts.map +1 -1
- package/dist/issuance/erc1155/setTokenURI.js +5 -3
- package/dist/issuance/erc20/approve.d.ts +1 -1
- package/dist/issuance/erc20/approve.d.ts.map +1 -1
- package/dist/issuance/erc20/approve.js +5 -3
- package/dist/issuance/erc20/burn.d.ts +1 -1
- package/dist/issuance/erc20/burn.d.ts.map +1 -1
- package/dist/issuance/erc20/burn.js +5 -3
- package/dist/issuance/erc20/default/deploy.d.ts +1 -1
- package/dist/issuance/erc20/default/deploy.d.ts.map +1 -1
- package/dist/issuance/erc20/default/deploy.js +5 -3
- package/dist/issuance/erc20/default/initialize.d.ts +1 -1
- package/dist/issuance/erc20/default/initialize.d.ts.map +1 -1
- package/dist/issuance/erc20/default/initialize.js +5 -5
- package/dist/issuance/erc20/default/parseDeployEvent.d.ts +14 -1
- package/dist/issuance/erc20/default/parseDeployEvent.d.ts.map +1 -1
- package/dist/issuance/erc20/default/parseDeployEvent.js +22 -22
- package/dist/issuance/erc20/gated/deploy.d.ts +1 -1
- package/dist/issuance/erc20/gated/deploy.d.ts.map +1 -1
- package/dist/issuance/erc20/gated/deploy.js +5 -5
- package/dist/issuance/erc20/gated/initialize.d.ts +1 -1
- package/dist/issuance/erc20/gated/initialize.d.ts.map +1 -1
- package/dist/issuance/erc20/gated/initialize.js +5 -3
- package/dist/issuance/erc20/gated/parseDeployEvent.d.ts +14 -1
- package/dist/issuance/erc20/gated/parseDeployEvent.d.ts.map +1 -1
- package/dist/issuance/erc20/gated/parseDeployEvent.js +28 -24
- package/dist/issuance/erc20/gatedSimple/deploy.d.ts +285 -3
- package/dist/issuance/erc20/gatedSimple/deploy.d.ts.map +1 -1
- package/dist/issuance/erc20/gatedSimple/getInitData.d.ts +3 -3
- package/dist/issuance/erc20/gatedSimple/getInitData.d.ts.map +1 -1
- package/dist/issuance/erc20/gatedSimple/getInitData.js +15 -9
- package/dist/issuance/erc20/gatedSimple/parseDeployEvent.d.ts +8 -0
- package/dist/issuance/erc20/gatedSimple/parseDeployEvent.d.ts.map +1 -1
- package/dist/issuance/erc20/gatedSimple/parseDeployEvent.js +11 -6
- package/dist/issuance/erc20/grantRole.d.ts +1 -1
- package/dist/issuance/erc20/grantRole.d.ts.map +1 -1
- package/dist/issuance/erc20/grantRole.js +6 -4
- package/dist/issuance/erc20/index.d.ts +289 -7
- package/dist/issuance/erc20/index.d.ts.map +1 -1
- package/dist/issuance/erc20/mint.d.ts +1 -1
- package/dist/issuance/erc20/mint.d.ts.map +1 -1
- package/dist/issuance/erc20/mint.js +5 -3
- package/dist/issuance/erc20/recover.d.ts +1 -1
- package/dist/issuance/erc20/recover.d.ts.map +1 -1
- package/dist/issuance/erc20/recover.js +5 -3
- package/dist/issuance/erc20/renounceRole.d.ts +1 -1
- package/dist/issuance/erc20/renounceRole.d.ts.map +1 -1
- package/dist/issuance/erc20/renounceRole.js +6 -4
- package/dist/issuance/erc20/revokeRole.d.ts +1 -1
- package/dist/issuance/erc20/revokeRole.d.ts.map +1 -1
- package/dist/issuance/erc20/revokeRole.js +6 -4
- package/dist/issuance/erc20/transfer.d.ts +1 -1
- package/dist/issuance/erc20/transfer.d.ts.map +1 -1
- package/dist/issuance/erc20/transfer.js +5 -3
- package/dist/issuance/erc20/transferFrom.d.ts +1 -1
- package/dist/issuance/erc20/transferFrom.d.ts.map +1 -1
- package/dist/issuance/erc20/transferFrom.js +5 -3
- package/dist/issuance/erc721/approve.d.ts +1 -1
- package/dist/issuance/erc721/approve.d.ts.map +1 -1
- package/dist/issuance/erc721/approve.js +5 -3
- package/dist/issuance/erc721/burn.d.ts +1 -1
- package/dist/issuance/erc721/burn.d.ts.map +1 -1
- package/dist/issuance/erc721/burn.js +5 -3
- package/dist/issuance/erc721/default/deploy.d.ts +1 -1
- package/dist/issuance/erc721/default/deploy.d.ts.map +1 -1
- package/dist/issuance/erc721/default/deploy.js +5 -3
- package/dist/issuance/erc721/default/initialize.d.ts +1 -1
- package/dist/issuance/erc721/default/initialize.d.ts.map +1 -1
- package/dist/issuance/erc721/default/initialize.js +5 -3
- package/dist/issuance/erc721/default/parseDeployEvent.d.ts +13 -0
- package/dist/issuance/erc721/default/parseDeployEvent.d.ts.map +1 -1
- package/dist/issuance/erc721/default/parseDeployEvent.js +16 -11
- package/dist/issuance/erc721/gated/deploy.d.ts +1 -1
- package/dist/issuance/erc721/gated/deploy.d.ts.map +1 -1
- package/dist/issuance/erc721/gated/deploy.js +5 -5
- package/dist/issuance/erc721/gated/initialize.d.ts +1 -1
- package/dist/issuance/erc721/gated/initialize.d.ts.map +1 -1
- package/dist/issuance/erc721/gated/initialize.js +5 -3
- package/dist/issuance/erc721/gated/parseDeployEvent.d.ts +13 -0
- package/dist/issuance/erc721/gated/parseDeployEvent.d.ts.map +1 -1
- package/dist/issuance/erc721/gated/parseDeployEvent.js +16 -11
- package/dist/issuance/erc721/getMintedTokenId.d.ts +8 -0
- package/dist/issuance/erc721/getMintedTokenId.d.ts.map +1 -1
- package/dist/issuance/erc721/getMintedTokenId.js +11 -6
- package/dist/issuance/erc721/grantRole.d.ts +1 -1
- package/dist/issuance/erc721/grantRole.d.ts.map +1 -1
- package/dist/issuance/erc721/grantRole.js +6 -4
- package/dist/issuance/erc721/mint.d.ts +1 -1
- package/dist/issuance/erc721/mint.d.ts.map +1 -1
- package/dist/issuance/erc721/mint.js +5 -3
- package/dist/issuance/erc721/recover.d.ts +1 -1
- package/dist/issuance/erc721/recover.d.ts.map +1 -1
- package/dist/issuance/erc721/recover.js +5 -3
- package/dist/issuance/erc721/renounceRole.d.ts +1 -1
- package/dist/issuance/erc721/renounceRole.d.ts.map +1 -1
- package/dist/issuance/erc721/renounceRole.js +6 -4
- package/dist/issuance/erc721/revokeRole.d.ts +1 -1
- package/dist/issuance/erc721/revokeRole.d.ts.map +1 -1
- package/dist/issuance/erc721/revokeRole.js +6 -4
- package/dist/issuance/erc721/setBaseURI.d.ts +1 -1
- package/dist/issuance/erc721/setBaseURI.d.ts.map +1 -1
- package/dist/issuance/erc721/setBaseURI.js +5 -3
- package/dist/issuance/erc721/setTokenURI.d.ts +1 -1
- package/dist/issuance/erc721/setTokenURI.d.ts.map +1 -1
- package/dist/issuance/erc721/setTokenURI.js +5 -3
- package/dist/issuance/erc721/transferFrom.d.ts +1 -1
- package/dist/issuance/erc721/transferFrom.d.ts.map +1 -1
- package/dist/issuance/erc721/transferFrom.js +5 -3
- package/dist/issuance/index.d.ts +292 -10
- package/dist/issuance/index.d.ts.map +1 -1
- package/dist/issuance/proxy/deploy.d.ts +3 -3
- package/dist/issuance/proxy/deploy.d.ts.map +1 -1
- package/dist/issuance/proxy/deploy.js +5 -3
- package/dist/issuance/proxy/index.d.ts +2 -2
- package/dist/issuance/proxy/upgrade.d.ts +1 -1
- package/dist/issuance/proxy/upgrade.d.ts.map +1 -1
- package/dist/issuance/proxy/upgrade.js +5 -3
- package/dist/issuance/schemas.d.ts +52 -42
- package/dist/issuance/schemas.d.ts.map +1 -1
- package/dist/issuance/schemas.js +52 -42
- package/dist/next/app.d.ts +21 -25
- package/dist/next/app.d.ts.map +1 -1
- package/dist/next/client.d.ts +21 -25
- package/dist/next/client.d.ts.map +1 -1
- package/dist/next/lending/buyback.d.ts.map +1 -1
- package/dist/next/lending/buyback.js +1 -1
- package/dist/next/lending/createSale.d.ts.map +1 -1
- package/dist/next/lending/createSale.js +1 -1
- package/dist/next/lending/deployMarket.d.ts.map +1 -1
- package/dist/next/lending/deployMarket.js +1 -1
- package/dist/next/lending/forcefullyUnlockWrappersNft.d.ts +7 -0
- package/dist/next/lending/forcefullyUnlockWrappersNft.d.ts.map +1 -0
- package/dist/next/lending/forcefullyUnlockWrappersNft.js +39 -0
- package/dist/next/lending/index.js +1 -1
- package/dist/next/lending/schemas.d.ts +5 -1
- package/dist/next/lending/schemas.d.ts.map +1 -1
- package/dist/next/lending/schemas.js +5 -3
- package/dist/next/lending/setCollateralPrice.d.ts.map +1 -1
- package/dist/next/lending/setCollateralPrice.js +1 -1
- package/dist/next/nftFractions/createNftFractions.d.ts.map +1 -1
- package/dist/next/nftFractions/createNftFractions.js +4 -2
- package/dist/next/nftFractions/deployNftFractionsMarket.d.ts.map +1 -1
- package/dist/next/nftFractions/deployNftFractionsMarket.js +4 -2
- package/dist/next/nftFractions/deployNftFractionsMarketGated.d.ts.map +1 -1
- package/dist/next/nftFractions/deployNftFractionsMarketGated.js +4 -2
- package/dist/next/nftFractions/index.d.ts +5 -5
- package/dist/next/nftFractions/index.js +1 -1
- package/dist/next/nftFractions/parseNftFractionsCreatedEvent.d.ts +18 -5
- package/dist/next/nftFractions/parseNftFractionsCreatedEvent.d.ts.map +1 -1
- package/dist/next/nftFractions/parseNftFractionsCreatedEvent.js +32 -28
- package/dist/next/nftFractions/schemas.d.ts +4 -1
- package/dist/next/nftFractions/schemas.d.ts.map +1 -1
- package/dist/next/nftFractions/schemas.js +4 -1
- package/dist/next/vestingRedemptionDynamic/approveCampaign.d.ts.map +1 -1
- package/dist/next/vestingRedemptionDynamic/approveCampaign.js +1 -1
- package/dist/next/vestingRedemptionDynamic/createCampaign.d.ts.map +1 -1
- package/dist/next/vestingRedemptionDynamic/createCampaign.js +1 -1
- package/dist/next/vestingRedemptionDynamic/deployMarket.d.ts.map +1 -1
- package/dist/next/vestingRedemptionDynamic/deployMarket.js +1 -1
- package/dist/next/vestingRedemptionDynamic/epochPurchase.d.ts.map +1 -1
- package/dist/next/vestingRedemptionDynamic/epochPurchase.js +1 -1
- package/dist/next/vestingRedemptionDynamic/exchangeNftForFractions.d.ts.map +1 -1
- package/dist/next/vestingRedemptionDynamic/exchangeNftForFractions.js +1 -1
- package/dist/next/vestingRedemptionDynamic/getCurrentEpoch.d.ts +14 -7
- package/dist/next/vestingRedemptionDynamic/getCurrentEpoch.d.ts.map +1 -1
- package/dist/next/vestingRedemptionDynamic/getCurrentEpoch.js +18 -11
- package/dist/next/vestingRedemptionDynamic/getEpochPurchaseEvent.d.ts +6 -2
- package/dist/next/vestingRedemptionDynamic/getEpochPurchaseEvent.d.ts.map +1 -1
- package/dist/next/vestingRedemptionDynamic/getEpochPurchaseEvent.js +5 -5
- package/dist/next/vestingRedemptionDynamic/getPurchasePriceForEpoch.d.ts +17 -9
- package/dist/next/vestingRedemptionDynamic/getPurchasePriceForEpoch.d.ts.map +1 -1
- package/dist/next/vestingRedemptionDynamic/getPurchasePriceForEpoch.js +25 -16
- package/dist/next/vestingRedemptionDynamic/getWithdrawalRequestedEvent.d.ts +6 -2
- package/dist/next/vestingRedemptionDynamic/getWithdrawalRequestedEvent.d.ts.map +1 -1
- package/dist/next/vestingRedemptionDynamic/getWithdrawalRequestedEvent.js +5 -5
- package/dist/next/vestingRedemptionDynamic/index.d.ts +16 -20
- package/dist/next/vestingRedemptionDynamic/index.d.ts.map +1 -1
- package/dist/next/vestingRedemptionDynamic/requestWithdrawal.d.ts.map +1 -1
- package/dist/next/vestingRedemptionDynamic/requestWithdrawal.js +1 -1
- package/dist/next/vestingRedemptionDynamic/schemas.d.ts +13 -1
- package/dist/next/vestingRedemptionDynamic/schemas.d.ts.map +1 -1
- package/dist/next/vestingRedemptionDynamic/schemas.js +15 -1
- package/dist/next/vestingRedemptionDynamic/setEpochPrice.d.ts.map +1 -1
- package/dist/next/vestingRedemptionDynamic/setEpochPrice.js +1 -1
- package/dist/next/vestingRedemptionDynamic/withdrawFunds.d.ts.map +1 -1
- package/dist/next/vestingRedemptionDynamic/withdrawFunds.js +1 -1
- package/dist/schemas.d.ts +50 -0
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +62 -0
- package/dist/staking/index.d.ts +60 -84
- package/dist/staking/index.d.ts.map +1 -1
- package/dist/staking/platforms/getPlatform.d.ts +36 -0
- package/dist/staking/platforms/getPlatform.d.ts.map +1 -0
- package/dist/staking/platforms/{getPlatform/v0/getPlatform.js → getPlatform.js} +26 -22
- package/dist/staking/platforms/index.d.ts +10 -14
- package/dist/staking/platforms/index.d.ts.map +1 -1
- package/dist/staking/platforms/index.js +3 -6
- package/dist/staking/platforms/searchPlatforms.d.ts +40 -0
- package/dist/staking/platforms/searchPlatforms.d.ts.map +1 -0
- package/dist/staking/platforms/searchPlatforms.js +50 -0
- package/dist/staking/pools/getPool.d.ts +40 -0
- package/dist/staking/pools/getPool.d.ts.map +1 -0
- package/dist/staking/pools/{getPool/v0/getPool.js → getPool.js} +32 -28
- package/dist/staking/pools/index.d.ts +9 -13
- package/dist/staking/pools/index.d.ts.map +1 -1
- package/dist/staking/pools/index.js +3 -6
- package/dist/staking/pools/searchPools.d.ts +42 -0
- package/dist/staking/pools/searchPools.d.ts.map +1 -0
- package/dist/staking/pools/searchPools.js +50 -0
- package/dist/staking/roles/getRoles.d.ts +28 -0
- package/dist/staking/roles/getRoles.d.ts.map +1 -0
- package/dist/staking/roles/{getRoles/v0/getRoles.js → getRoles.js} +6 -5
- package/dist/staking/roles/grantRole.d.ts +33 -0
- package/dist/staking/roles/grantRole.d.ts.map +1 -0
- package/dist/staking/roles/{grantRole/v0/grantRole.js → grantRole.js} +19 -16
- package/dist/staking/roles/index.d.ts +23 -31
- package/dist/staking/roles/index.d.ts.map +1 -1
- package/dist/staking/roles/index.js +8 -8
- package/dist/staking/roles/searchRoleEvents.d.ts +48 -0
- package/dist/staking/roles/searchRoleEvents.d.ts.map +1 -0
- package/dist/staking/roles/{searchRoleEvents/v0/searchRoleEvents.js → searchRoleEvents.js} +25 -20
- package/dist/staking/roles/searchRoles.d.ts +46 -0
- package/dist/staking/roles/searchRoles.d.ts.map +1 -0
- package/dist/staking/roles/{searchRoles/v0/searchRoles.js → searchRoles.js} +24 -19
- package/dist/staking/stakes/getStake.d.ts +50 -0
- package/dist/staking/stakes/getStake.d.ts.map +1 -0
- package/dist/staking/stakes/{getStake/v0/getStake.js → getStake.js} +32 -28
- package/dist/staking/stakes/index.d.ts +21 -29
- package/dist/staking/stakes/index.d.ts.map +1 -1
- package/dist/staking/stakes/index.js +6 -6
- package/dist/staking/stakes/searchStakeEvents.d.ts +48 -0
- package/dist/staking/stakes/searchStakeEvents.d.ts.map +1 -0
- package/dist/staking/stakes/{searchStakeEvents/v0/searchStakeEvents.js → searchStakeEvents.js} +25 -20
- package/dist/staking/stakes/searchStakes.d.ts +56 -0
- package/dist/staking/stakes/searchStakes.d.ts.map +1 -0
- package/dist/staking/stakes/searchStakes.js +52 -0
- package/dist/stakingTemplates/index.d.ts +28 -28
- package/dist/stakingTemplates/index.d.ts.map +1 -1
- package/dist/stakingTemplates/index.js +6 -6
- package/dist/stakingTemplates/templates/common/getCreatePoolEvent.d.ts +8 -2
- package/dist/stakingTemplates/templates/common/getCreatePoolEvent.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/getCreatePoolEvent.js +18 -16
- package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.d.ts +6 -1
- package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.js +8 -5
- package/dist/stakingTemplates/templates/common/getReward.d.ts +5 -0
- package/dist/stakingTemplates/templates/common/getReward.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/getReward.js +7 -4
- package/dist/stakingTemplates/templates/common/getStakeEvent.d.ts +15 -5
- package/dist/stakingTemplates/templates/common/getStakeEvent.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/getStakeEvent.js +21 -10
- package/dist/stakingTemplates/templates/common/partialUnstake.d.ts +6 -0
- package/dist/stakingTemplates/templates/common/partialUnstake.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/partialUnstake.js +10 -7
- package/dist/stakingTemplates/templates/common/unstake.d.ts +5 -0
- package/dist/stakingTemplates/templates/common/unstake.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/unstake.js +7 -4
- package/dist/stakingTemplates/templates/reputation/{v0/createPlatform.d.ts → createPlatform.d.ts} +12 -1
- package/dist/stakingTemplates/templates/reputation/createPlatform.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputation/{v0/createPlatform.js → createPlatform.js} +22 -19
- package/dist/stakingTemplates/templates/reputation/createPool.d.ts +58 -0
- package/dist/stakingTemplates/templates/reputation/createPool.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputation/{v0/createPool.js → createPool.js} +23 -20
- package/dist/stakingTemplates/templates/reputation/index.d.ts +10 -10
- package/dist/stakingTemplates/templates/reputation/index.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputation/index.js +24 -3
- package/dist/stakingTemplates/templates/reputation/restake.d.ts +32 -0
- package/dist/stakingTemplates/templates/reputation/restake.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputation/{v0/restake.js → restake.js} +14 -11
- package/dist/stakingTemplates/templates/{rwa/v0/restake.d.ts → reputation/stake.d.ts} +8 -2
- package/dist/stakingTemplates/templates/reputation/stake.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputation/{v0/stake.js → stake.js} +15 -16
- package/dist/stakingTemplates/templates/reputationLock/createPlatform.d.ts +42 -0
- package/dist/stakingTemplates/templates/reputationLock/createPlatform.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputationLock/{v0/createPlatform.js → createPlatform.js} +22 -19
- package/dist/stakingTemplates/templates/reputationLock/createPool.d.ts +76 -0
- package/dist/stakingTemplates/templates/reputationLock/createPool.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputationLock/{v0/createPool.js → createPool.js} +28 -25
- package/dist/stakingTemplates/templates/reputationLock/index.d.ts +10 -10
- package/dist/stakingTemplates/templates/reputationLock/index.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputationLock/index.js +24 -3
- package/dist/stakingTemplates/templates/reputationLock/restake.d.ts +34 -0
- package/dist/stakingTemplates/templates/reputationLock/restake.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputationLock/{v0/restake.js → restake.js} +17 -14
- package/dist/stakingTemplates/templates/reputationLock/stake.d.ts +34 -0
- package/dist/stakingTemplates/templates/reputationLock/stake.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputationLock/{v0/stake.js → stake.js} +19 -16
- package/dist/stakingTemplates/templates/{reputationLock/v0 → rwa}/createPlatform.d.ts +12 -1
- package/dist/stakingTemplates/templates/rwa/createPlatform.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/rwa/{v0/createPlatform.js → createPlatform.js} +22 -19
- package/dist/stakingTemplates/templates/rwa/createPool.d.ts +56 -0
- package/dist/stakingTemplates/templates/rwa/createPool.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/rwa/{v0/createPool.js → createPool.js} +21 -18
- package/dist/stakingTemplates/templates/{reputation/v0/stake.d.ts → rwa/distributeRewards.d.ts} +8 -2
- package/dist/stakingTemplates/templates/rwa/distributeRewards.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/rwa/{v0/distributeRewards.js → distributeRewards.js} +15 -12
- package/dist/stakingTemplates/templates/rwa/index.d.ts +10 -10
- package/dist/stakingTemplates/templates/rwa/index.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/rwa/index.js +26 -3
- package/dist/stakingTemplates/templates/rwa/restake.d.ts +32 -0
- package/dist/stakingTemplates/templates/rwa/restake.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/rwa/{v0/restake.js → restake.js} +14 -11
- package/dist/stakingTemplates/templates/rwa/stake.d.ts +32 -0
- package/dist/stakingTemplates/templates/rwa/stake.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/rwa/{v0/stake.js → stake.js} +15 -16
- package/package.json +12 -12
- package/dist/fractions/sales/approveSale.route.d.ts.map +0 -1
- package/dist/fractions/sales/approveWrapper.route.d.ts.map +0 -1
- package/dist/fractions/sales/completeSale.route.d.ts.map +0 -1
- package/dist/fractions/sales/createFractions.route.d.ts.map +0 -1
- package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts +0 -37
- package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts.map +0 -1
- package/dist/fractions/sales/purchase.route.d.ts.map +0 -1
- package/dist/fractions/sales/purchaseStatistics.route.d.ts.map +0 -1
- package/dist/fractions/sales/receiveFundsAfterNonFunded.route.d.ts.map +0 -1
- package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts.map +0 -1
- package/dist/fractions/sales/searchActivity.route.d.ts +0 -71
- package/dist/fractions/sales/searchActivity.route.d.ts.map +0 -1
- package/dist/fractions/sales/searchWithdrawal.route.d.ts +0 -56
- package/dist/fractions/sales/searchWithdrawal.route.d.ts.map +0 -1
- package/dist/fractions/sales/unlockWrappedAssets.route.d.ts.map +0 -1
- package/dist/fractions/sales/vesting/claimStatistics.route.d.ts.map +0 -1
- package/dist/fractions/sales/vesting/claimVestedTokens.route.d.ts.map +0 -1
- package/dist/fractions/sales/vesting/editCliff.route.d.ts.map +0 -1
- package/dist/fractions/sales/withdraw.route.d.ts.map +0 -1
- package/dist/fractions/sig/getNonce.route.d.ts.map +0 -1
- package/dist/fractions/statistics/networkStatistics.route.d.ts.map +0 -1
- package/dist/staking/platforms/getPlatform/index.d.ts +0 -23
- package/dist/staking/platforms/getPlatform/index.d.ts.map +0 -1
- package/dist/staking/platforms/getPlatform/index.js +0 -5
- package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts +0 -24
- package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts.map +0 -1
- package/dist/staking/platforms/searchPlatforms/index.d.ts +0 -29
- package/dist/staking/platforms/searchPlatforms/index.d.ts.map +0 -1
- package/dist/staking/platforms/searchPlatforms/index.js +0 -5
- package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts +0 -30
- package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts.map +0 -1
- package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.js +0 -45
- package/dist/staking/pools/getPool/index.d.ts +0 -25
- package/dist/staking/pools/getPool/index.d.ts.map +0 -1
- package/dist/staking/pools/getPool/index.js +0 -5
- package/dist/staking/pools/getPool/v0/getPool.d.ts +0 -26
- package/dist/staking/pools/getPool/v0/getPool.d.ts.map +0 -1
- package/dist/staking/pools/searchPools/index.d.ts +0 -30
- package/dist/staking/pools/searchPools/index.d.ts.map +0 -1
- package/dist/staking/pools/searchPools/index.js +0 -5
- package/dist/staking/pools/searchPools/v0/searchPools.d.ts +0 -31
- package/dist/staking/pools/searchPools/v0/searchPools.d.ts.map +0 -1
- package/dist/staking/pools/searchPools/v0/searchPools.js +0 -45
- package/dist/staking/roles/getRoles/index.d.ts +0 -23
- package/dist/staking/roles/getRoles/index.d.ts.map +0 -1
- package/dist/staking/roles/getRoles/index.js +0 -5
- package/dist/staking/roles/getRoles/v0/getRoles.d.ts +0 -23
- package/dist/staking/roles/getRoles/v0/getRoles.d.ts.map +0 -1
- package/dist/staking/roles/grantRole/index.d.ts +0 -26
- package/dist/staking/roles/grantRole/index.d.ts.map +0 -1
- package/dist/staking/roles/grantRole/index.js +0 -5
- package/dist/staking/roles/grantRole/v0/grantRole.d.ts +0 -26
- package/dist/staking/roles/grantRole/v0/grantRole.d.ts.map +0 -1
- package/dist/staking/roles/searchRoleEvents/index.d.ts +0 -33
- package/dist/staking/roles/searchRoleEvents/index.d.ts.map +0 -1
- package/dist/staking/roles/searchRoleEvents/index.js +0 -5
- package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts +0 -34
- package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts.map +0 -1
- package/dist/staking/roles/searchRoles/index.d.ts +0 -32
- package/dist/staking/roles/searchRoles/index.d.ts.map +0 -1
- package/dist/staking/roles/searchRoles/index.js +0 -5
- package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts +0 -33
- package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts.map +0 -1
- package/dist/staking/stakes/getStake/index.d.ts +0 -30
- package/dist/staking/stakes/getStake/index.d.ts.map +0 -1
- package/dist/staking/stakes/getStake/index.js +0 -5
- package/dist/staking/stakes/getStake/v0/getStake.d.ts +0 -30
- package/dist/staking/stakes/getStake/v0/getStake.d.ts.map +0 -1
- package/dist/staking/stakes/searchStakeEvents/index.d.ts +0 -33
- package/dist/staking/stakes/searchStakeEvents/index.d.ts.map +0 -1
- package/dist/staking/stakes/searchStakeEvents/index.js +0 -5
- package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts +0 -34
- package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts.map +0 -1
- package/dist/staking/stakes/searchStakes/index.d.ts +0 -37
- package/dist/staking/stakes/searchStakes/index.d.ts.map +0 -1
- package/dist/staking/stakes/searchStakes/index.js +0 -5
- package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts +0 -37
- package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts.map +0 -1
- package/dist/staking/stakes/searchStakes/v0/searchStakes.js +0 -47
- package/dist/stakingTemplates/templates/reputation/v0/createPlatform.d.ts.map +0 -1
- package/dist/stakingTemplates/templates/reputation/v0/createPool.d.ts +0 -39
- package/dist/stakingTemplates/templates/reputation/v0/createPool.d.ts.map +0 -1
- package/dist/stakingTemplates/templates/reputation/v0/index.d.ts +0 -243
- package/dist/stakingTemplates/templates/reputation/v0/index.d.ts.map +0 -1
- package/dist/stakingTemplates/templates/reputation/v0/index.js +0 -26
- package/dist/stakingTemplates/templates/reputation/v0/restake.d.ts +0 -26
- package/dist/stakingTemplates/templates/reputation/v0/restake.d.ts.map +0 -1
- package/dist/stakingTemplates/templates/reputation/v0/stake.d.ts.map +0 -1
- package/dist/stakingTemplates/templates/reputationLock/v0/createPlatform.d.ts.map +0 -1
- package/dist/stakingTemplates/templates/reputationLock/v0/createPool.d.ts +0 -48
- package/dist/stakingTemplates/templates/reputationLock/v0/createPool.d.ts.map +0 -1
- package/dist/stakingTemplates/templates/reputationLock/v0/index.d.ts +0 -254
- package/dist/stakingTemplates/templates/reputationLock/v0/index.d.ts.map +0 -1
- package/dist/stakingTemplates/templates/reputationLock/v0/index.js +0 -26
- package/dist/stakingTemplates/templates/reputationLock/v0/restake.d.ts +0 -27
- package/dist/stakingTemplates/templates/reputationLock/v0/restake.d.ts.map +0 -1
- package/dist/stakingTemplates/templates/reputationLock/v0/stake.d.ts +0 -27
- package/dist/stakingTemplates/templates/reputationLock/v0/stake.d.ts.map +0 -1
- package/dist/stakingTemplates/templates/rwa/v0/createPlatform.d.ts +0 -31
- package/dist/stakingTemplates/templates/rwa/v0/createPlatform.d.ts.map +0 -1
- package/dist/stakingTemplates/templates/rwa/v0/createPool.d.ts +0 -38
- package/dist/stakingTemplates/templates/rwa/v0/createPool.d.ts.map +0 -1
- package/dist/stakingTemplates/templates/rwa/v0/distributeRewards.d.ts +0 -26
- package/dist/stakingTemplates/templates/rwa/v0/distributeRewards.d.ts.map +0 -1
- package/dist/stakingTemplates/templates/rwa/v0/index.d.ts +0 -266
- package/dist/stakingTemplates/templates/rwa/v0/index.d.ts.map +0 -1
- package/dist/stakingTemplates/templates/rwa/v0/index.js +0 -28
- package/dist/stakingTemplates/templates/rwa/v0/restake.d.ts.map +0 -1
- package/dist/stakingTemplates/templates/rwa/v0/stake.d.ts +0 -26
- package/dist/stakingTemplates/templates/rwa/v0/stake.d.ts.map +0 -1
- /package/dist/fractions/sales/{receiveNonPurchasedWrappedAssets.route.js → receiveNonPurchasedWrappedAssets.js} +0 -0
- /package/dist/fractions/sales/vesting/{claimVestedTokens.route.js → claimVestedTokens.js} +0 -0
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
export declare const SearchWithdrawalV0: import("../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../common/context.js").AppContext, {
|
|
2
|
-
"/": {
|
|
3
|
-
$post: {
|
|
4
|
-
input: {
|
|
5
|
-
json: {
|
|
6
|
-
page: {
|
|
7
|
-
skip: number;
|
|
8
|
-
limit: number;
|
|
9
|
-
};
|
|
10
|
-
filter: {
|
|
11
|
-
chainId?: "1" | "31337" | "11155111" | "84532" | "72080" | undefined;
|
|
12
|
-
platform?: string | undefined;
|
|
13
|
-
campaignId?: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
output: {
|
|
18
|
-
chainId: number;
|
|
19
|
-
diamondAddress: `0x${string}`;
|
|
20
|
-
createdAt: string;
|
|
21
|
-
updatedAt: string;
|
|
22
|
-
transactionHash: `0x${string}`;
|
|
23
|
-
saleId: never;
|
|
24
|
-
amount: never;
|
|
25
|
-
fractionSale: {
|
|
26
|
-
chainId: number;
|
|
27
|
-
diamondAddress: `0x${string}`;
|
|
28
|
-
createdAt: string;
|
|
29
|
-
updatedAt: string;
|
|
30
|
-
transactionHash: `0x${string}`;
|
|
31
|
-
saleId: never;
|
|
32
|
-
nftId: never;
|
|
33
|
-
creator: `0x${string}`;
|
|
34
|
-
status: string;
|
|
35
|
-
fractionPrice: never;
|
|
36
|
-
otcPrice: never;
|
|
37
|
-
discountBp: never;
|
|
38
|
-
softCap: null;
|
|
39
|
-
hardCap: null;
|
|
40
|
-
softCapPerAccount: null;
|
|
41
|
-
hardCapPerAccount: null;
|
|
42
|
-
cliffDate: string | null;
|
|
43
|
-
totalVestingPeriod: null;
|
|
44
|
-
portionPeriod: null;
|
|
45
|
-
startDate: string | null;
|
|
46
|
-
endDate: string | null;
|
|
47
|
-
fractionsCreated: never;
|
|
48
|
-
fractionsAddress: `0x${string}`;
|
|
49
|
-
};
|
|
50
|
-
}[];
|
|
51
|
-
outputFormat: "json";
|
|
52
|
-
status: 200;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
}, "/", "/">>;
|
|
56
|
-
//# sourceMappingURL=searchWithdrawal.route.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"searchWithdrawal.route.d.ts","sourceRoot":"","sources":["../../../src/fractions/sales/searchWithdrawal.route.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAuD7B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"unlockWrappedAssets.route.d.ts","sourceRoot":"","sources":["../../../src/fractions/sales/unlockWrappedAssets.route.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;aAchC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"claimStatistics.route.d.ts","sourceRoot":"","sources":["../../../../src/fractions/sales/vesting/claimStatistics.route.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AAQxD,eAAO,MAAM,4BAA4B;;;;;iBAOL,CAAC;AAErC,eAAO,MAAM,6BAA6B;;;;;;;;;;iBAcL,CAAC;AAEtC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;aAyF5B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"claimVestedTokens.route.d.ts","sourceRoot":"","sources":["../../../../src/fractions/sales/vesting/claimVestedTokens.route.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAsB9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"editCliff.route.d.ts","sourceRoot":"","sources":["../../../../src/fractions/sales/vesting/editCliff.route.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAiBtB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"withdraw.route.d.ts","sourceRoot":"","sources":["../../../src/fractions/sales/withdraw.route.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;aASrB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getNonce.route.d.ts","sourceRoot":"","sources":["../../../src/fractions/sig/getNonce.route.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AAMxD,eAAO,MAAM,kBAAkB;;;;iBAI7B,CAAC;AAkBH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;aAiBrB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"networkStatistics.route.d.ts","sourceRoot":"","sources":["../../../src/fractions/statistics/networkStatistics.route.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AAGxD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAuIjD;;GAEG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;aA8BvB,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;aA8B/B,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;aA8BnB,CAAC;AA2BH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAkCjC,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare const GetPlatformController: import("../../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../../common/context.js").AppContext, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
2
|
-
"/": {
|
|
3
|
-
$get: {
|
|
4
|
-
input: {
|
|
5
|
-
query: {
|
|
6
|
-
chainId: "31337" | "11155111" | "84532";
|
|
7
|
-
address: string;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
output: {
|
|
11
|
-
chainId: "31337" | "11155111" | "84532";
|
|
12
|
-
transactionHash: `0x${string}`;
|
|
13
|
-
createdAt: string & import("zod").$brand<"IsoDateString">;
|
|
14
|
-
contractAddress: `0x${string}`;
|
|
15
|
-
adminAddress: `0x${string}`;
|
|
16
|
-
updatedAt: string & import("zod").$brand<"IsoDateString">;
|
|
17
|
-
};
|
|
18
|
-
outputFormat: "json";
|
|
19
|
-
status: 200;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
}, "/v0">, "/", "/">>;
|
|
23
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/staking/platforms/getPlatform/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;qBAEhC,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { z } from "@evergonlabs/tmi-protocol-utils/zod";
|
|
2
|
-
export declare const GetPlatformV0: import("../../../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../../../common/context").AppContext, {
|
|
3
|
-
"/": {
|
|
4
|
-
$get: {
|
|
5
|
-
input: {
|
|
6
|
-
query: {
|
|
7
|
-
chainId: "31337" | "11155111" | "84532";
|
|
8
|
-
address: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
output: {
|
|
12
|
-
chainId: "31337" | "11155111" | "84532";
|
|
13
|
-
transactionHash: `0x${string}`;
|
|
14
|
-
createdAt: string & z.core.$brand<"IsoDateString">;
|
|
15
|
-
contractAddress: `0x${string}`;
|
|
16
|
-
adminAddress: `0x${string}`;
|
|
17
|
-
updatedAt: string & z.core.$brand<"IsoDateString">;
|
|
18
|
-
};
|
|
19
|
-
outputFormat: "json";
|
|
20
|
-
status: 200;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
}, "/", "/">>;
|
|
24
|
-
//# sourceMappingURL=getPlatform.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getPlatform.d.ts","sourceRoot":"","sources":["../../../../../src/staking/platforms/getPlatform/v0/getPlatform.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AAWxD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;aAwExB,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export declare const SearchPlatformsController: import("../../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../../common/context.js").AppContext, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
2
|
-
"/": {
|
|
3
|
-
$post: {
|
|
4
|
-
input: {
|
|
5
|
-
json: {
|
|
6
|
-
page: {
|
|
7
|
-
skip: number;
|
|
8
|
-
limit: number;
|
|
9
|
-
};
|
|
10
|
-
filter: {
|
|
11
|
-
chainId?: "31337" | "11155111" | "84532" | undefined;
|
|
12
|
-
owner?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
output: {
|
|
17
|
-
chainId: "31337" | "11155111" | "84532";
|
|
18
|
-
transactionHash: `0x${string}`;
|
|
19
|
-
createdAt: string & import("zod").$brand<"IsoDateString">;
|
|
20
|
-
contractAddress: `0x${string}`;
|
|
21
|
-
adminAddress: `0x${string}`;
|
|
22
|
-
updatedAt: string & import("zod").$brand<"IsoDateString">;
|
|
23
|
-
}[];
|
|
24
|
-
outputFormat: "json";
|
|
25
|
-
status: 200;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
}, "/v0">, "/", "/">>;
|
|
29
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/staking/platforms/searchPlatforms/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAEpC,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { SearchPlatformsV0 } from "./v0/searchPlatforms.js";
|
|
2
|
-
import { createController } from "../../../common/controller.js";
|
|
3
|
-
export const SearchPlatformsController = createController({
|
|
4
|
-
build: (factory) => factory.createApp().route("/v0", SearchPlatformsV0.build(factory)),
|
|
5
|
-
});
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { z } from "@evergonlabs/tmi-protocol-utils/zod";
|
|
2
|
-
export declare const SearchPlatformsV0: import("../../../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../../../common/context").AppContext, {
|
|
3
|
-
"/": {
|
|
4
|
-
$post: {
|
|
5
|
-
input: {
|
|
6
|
-
json: {
|
|
7
|
-
page: {
|
|
8
|
-
skip: number;
|
|
9
|
-
limit: number;
|
|
10
|
-
};
|
|
11
|
-
filter: {
|
|
12
|
-
chainId?: "31337" | "11155111" | "84532" | undefined;
|
|
13
|
-
owner?: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
output: {
|
|
18
|
-
chainId: "31337" | "11155111" | "84532";
|
|
19
|
-
transactionHash: `0x${string}`;
|
|
20
|
-
createdAt: string & z.core.$brand<"IsoDateString">;
|
|
21
|
-
contractAddress: `0x${string}`;
|
|
22
|
-
adminAddress: `0x${string}`;
|
|
23
|
-
updatedAt: string & z.core.$brand<"IsoDateString">;
|
|
24
|
-
}[];
|
|
25
|
-
outputFormat: "json";
|
|
26
|
-
status: 200;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
}, "/", "/">>;
|
|
30
|
-
//# sourceMappingURL=searchPlatforms.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"searchPlatforms.d.ts","sourceRoot":"","sources":["../../../../../src/staking/platforms/searchPlatforms/v0/searchPlatforms.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AAWxD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;aAmD5B,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { and, eq } from "@ponder/client";
|
|
2
|
-
import { describeRoute } from "hono-openapi";
|
|
3
|
-
import { resolver, validator } from "hono-openapi";
|
|
4
|
-
import { z } from "@evergonlabs/tmi-protocol-utils/zod";
|
|
5
|
-
import { createController } from "../../../../common/controller.js";
|
|
6
|
-
import { AddressSchema, StakingChainId } from "../../../../common/index.js";
|
|
7
|
-
import { indexerSchemas } from "../../../../common/indexer/schemas.js";
|
|
8
|
-
import { PageSchema } from "../../../../common/models/page.js";
|
|
9
|
-
import { createTag } from "../../../../common/tag.js";
|
|
10
|
-
import { mapToPlatform, PlatformSchema } from "../../../../staking/platforms/common/platform.js";
|
|
11
|
-
const tag = createTag("Markets");
|
|
12
|
-
export const SearchPlatformsV0 = createController({
|
|
13
|
-
build: (factory) => factory.createApp().post("/", describeRoute({
|
|
14
|
-
summary: "Search platforms",
|
|
15
|
-
description: "Retrieve a list of platforms with filtering and sorting",
|
|
16
|
-
tags: [tag.tag],
|
|
17
|
-
responses: {
|
|
18
|
-
200: {
|
|
19
|
-
description: "Returns list of platforms by specified filter",
|
|
20
|
-
content: {
|
|
21
|
-
"application/json": {
|
|
22
|
-
schema: resolver(z.array(PlatformSchema)),
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
}), validator("json", z.object({
|
|
28
|
-
page: PageSchema,
|
|
29
|
-
filter: z.object({
|
|
30
|
-
chainId: StakingChainId.optional(),
|
|
31
|
-
owner: AddressSchema.optional(),
|
|
32
|
-
}),
|
|
33
|
-
})), async (c) => {
|
|
34
|
-
const { page, filter } = c.req.valid("json");
|
|
35
|
-
const result = await c
|
|
36
|
-
.get("indexerClient")
|
|
37
|
-
.db.select()
|
|
38
|
-
.from(indexerSchemas.diamonds)
|
|
39
|
-
.limit(page.limit)
|
|
40
|
-
.offset(page.skip)
|
|
41
|
-
.orderBy(indexerSchemas.diamonds.createdAt)
|
|
42
|
-
.where(and(filter.chainId ? eq(indexerSchemas.diamonds.chainId, Number(filter.chainId)) : undefined, filter.owner ? eq(indexerSchemas.diamonds.adminAddress, filter.owner) : undefined));
|
|
43
|
-
return c.json(result.map((x) => mapToPlatform(x)), 200);
|
|
44
|
-
}),
|
|
45
|
-
});
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export declare const GetPoolController: import("../../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../../common/context.js").AppContext, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
2
|
-
"/": {
|
|
3
|
-
$get: {
|
|
4
|
-
input: {
|
|
5
|
-
query: {
|
|
6
|
-
chainId: "31337" | "11155111" | "84532";
|
|
7
|
-
poolId: string;
|
|
8
|
-
platform: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
output: {
|
|
12
|
-
chainId: "31337" | "11155111" | "84532";
|
|
13
|
-
platform: `0x${string}`;
|
|
14
|
-
rewardsHandler: `0x${string}`;
|
|
15
|
-
assetHandler: `0x${string}`;
|
|
16
|
-
txHash: `0x${string}`;
|
|
17
|
-
poolId: string & import("zod").$brand<"Int256">;
|
|
18
|
-
createdAt: string & import("zod").$brand<"IsoDateString">;
|
|
19
|
-
};
|
|
20
|
-
outputFormat: "json";
|
|
21
|
-
status: 200;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
}, "/v0">, "/", "/">>;
|
|
25
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/staking/pools/getPool/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;qBAE5B,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { z } from "@evergonlabs/tmi-protocol-utils/zod";
|
|
2
|
-
export declare const GetPoolV0: import("../../../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../../../common/context").AppContext, {
|
|
3
|
-
"/": {
|
|
4
|
-
$get: {
|
|
5
|
-
input: {
|
|
6
|
-
query: {
|
|
7
|
-
chainId: "31337" | "11155111" | "84532";
|
|
8
|
-
poolId: string;
|
|
9
|
-
platform: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
output: {
|
|
13
|
-
chainId: "31337" | "11155111" | "84532";
|
|
14
|
-
platform: `0x${string}`;
|
|
15
|
-
rewardsHandler: `0x${string}`;
|
|
16
|
-
assetHandler: `0x${string}`;
|
|
17
|
-
txHash: `0x${string}`;
|
|
18
|
-
poolId: string & z.core.$brand<"Int256">;
|
|
19
|
-
createdAt: string & z.core.$brand<"IsoDateString">;
|
|
20
|
-
};
|
|
21
|
-
outputFormat: "json";
|
|
22
|
-
status: 200;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
}, "/", "/">>;
|
|
26
|
-
//# sourceMappingURL=getPool.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getPool.d.ts","sourceRoot":"","sources":["../../../../../src/staking/pools/getPool/v0/getPool.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AAWxD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;aAgFpB,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export declare const SearchPoolsController: import("../../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../../common/context.js").AppContext, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
2
|
-
"/": {
|
|
3
|
-
$post: {
|
|
4
|
-
input: {
|
|
5
|
-
json: {
|
|
6
|
-
page: {
|
|
7
|
-
skip: number;
|
|
8
|
-
limit: number;
|
|
9
|
-
};
|
|
10
|
-
filter: {
|
|
11
|
-
chainId?: "31337" | "11155111" | "84532" | undefined;
|
|
12
|
-
platform?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
output: {
|
|
17
|
-
chainId: "31337" | "11155111" | "84532";
|
|
18
|
-
platform: `0x${string}`;
|
|
19
|
-
rewardsHandler: `0x${string}`;
|
|
20
|
-
assetHandler: `0x${string}`;
|
|
21
|
-
txHash: `0x${string}`;
|
|
22
|
-
poolId: string & import("zod").$brand<"Int256">;
|
|
23
|
-
createdAt: string & import("zod").$brand<"IsoDateString">;
|
|
24
|
-
}[];
|
|
25
|
-
outputFormat: "json";
|
|
26
|
-
status: 200;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
}, "/v0">, "/", "/">>;
|
|
30
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/staking/pools/searchPools/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAEhC,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { z } from "@evergonlabs/tmi-protocol-utils/zod";
|
|
2
|
-
export declare const SearchPoolsV0: import("../../../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../../../common/context").AppContext, {
|
|
3
|
-
"/": {
|
|
4
|
-
$post: {
|
|
5
|
-
input: {
|
|
6
|
-
json: {
|
|
7
|
-
page: {
|
|
8
|
-
skip: number;
|
|
9
|
-
limit: number;
|
|
10
|
-
};
|
|
11
|
-
filter: {
|
|
12
|
-
chainId?: "31337" | "11155111" | "84532" | undefined;
|
|
13
|
-
platform?: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
output: {
|
|
18
|
-
chainId: "31337" | "11155111" | "84532";
|
|
19
|
-
platform: `0x${string}`;
|
|
20
|
-
rewardsHandler: `0x${string}`;
|
|
21
|
-
assetHandler: `0x${string}`;
|
|
22
|
-
txHash: `0x${string}`;
|
|
23
|
-
poolId: string & z.core.$brand<"Int256">;
|
|
24
|
-
createdAt: string & z.core.$brand<"IsoDateString">;
|
|
25
|
-
}[];
|
|
26
|
-
outputFormat: "json";
|
|
27
|
-
status: 200;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
}, "/", "/">>;
|
|
31
|
-
//# sourceMappingURL=searchPools.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"searchPools.d.ts","sourceRoot":"","sources":["../../../../../src/staking/pools/searchPools/v0/searchPools.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AAWxD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAmDxB,CAAC"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { and, eq } from "@ponder/client";
|
|
2
|
-
import { describeRoute } from "hono-openapi";
|
|
3
|
-
import { resolver, validator } from "hono-openapi";
|
|
4
|
-
import { z } from "@evergonlabs/tmi-protocol-utils/zod";
|
|
5
|
-
import { createController } from "../../../../common/controller.js";
|
|
6
|
-
import { PlatformContractAddress, StakingChainId } from "../../../../common/index.js";
|
|
7
|
-
import { indexerSchemas } from "../../../../common/indexer/schemas.js";
|
|
8
|
-
import { PageSchema } from "../../../../common/models/page.js";
|
|
9
|
-
import { createTag } from "../../../../common/tag.js";
|
|
10
|
-
import { mapToPool, PoolSchema } from "../../../../staking/pools/common/pool.js";
|
|
11
|
-
const tag = createTag("Pools");
|
|
12
|
-
export const SearchPoolsV0 = createController({
|
|
13
|
-
build: (factory) => factory.createApp().post("/", describeRoute({
|
|
14
|
-
summary: "Search pools",
|
|
15
|
-
description: "Retrieve a list of pools with filtering and sorting",
|
|
16
|
-
tags: [tag.tag],
|
|
17
|
-
responses: {
|
|
18
|
-
200: {
|
|
19
|
-
description: "Returns list of pools by specified filter",
|
|
20
|
-
content: {
|
|
21
|
-
"application/json": {
|
|
22
|
-
schema: resolver(z.array(PoolSchema)),
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
},
|
|
26
|
-
},
|
|
27
|
-
}), validator("json", z.object({
|
|
28
|
-
page: PageSchema,
|
|
29
|
-
filter: z.object({
|
|
30
|
-
chainId: StakingChainId.optional(),
|
|
31
|
-
platform: PlatformContractAddress.optional(),
|
|
32
|
-
}),
|
|
33
|
-
})), async (c) => {
|
|
34
|
-
const { page, filter } = c.req.valid("json");
|
|
35
|
-
const result = await c
|
|
36
|
-
.get("indexerClient")
|
|
37
|
-
.db.select()
|
|
38
|
-
.from(indexerSchemas.pools)
|
|
39
|
-
.limit(page.limit)
|
|
40
|
-
.offset(page.skip)
|
|
41
|
-
.orderBy(indexerSchemas.pools.createdAt)
|
|
42
|
-
.where(and(filter.chainId ? eq(indexerSchemas.pools.chainId, Number(filter.chainId)) : undefined, filter.platform ? eq(indexerSchemas.pools.diamondAddress, filter.platform) : undefined));
|
|
43
|
-
return c.json(result.map((x) => mapToPool(x)), 200);
|
|
44
|
-
}),
|
|
45
|
-
});
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare const GetRolesController: import("../../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../../common/context.js").AppContext, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
2
|
-
"/": {
|
|
3
|
-
$get: {
|
|
4
|
-
input: {};
|
|
5
|
-
output: ({
|
|
6
|
-
name: string;
|
|
7
|
-
value: `0x${string}`;
|
|
8
|
-
} | {
|
|
9
|
-
name: string;
|
|
10
|
-
value: `0x${string}`;
|
|
11
|
-
} | {
|
|
12
|
-
name: string;
|
|
13
|
-
value: `0x${string}`;
|
|
14
|
-
} | {
|
|
15
|
-
name: string;
|
|
16
|
-
value: `0x${string}`;
|
|
17
|
-
})[];
|
|
18
|
-
outputFormat: "json";
|
|
19
|
-
status: 200;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
}, "/v0">, "/", "/">>;
|
|
23
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/staking/roles/getRoles/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;qBAE7B,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare const GetRolesV0: import("../../../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../../../common/context").AppContext, {
|
|
2
|
-
"/": {
|
|
3
|
-
$get: {
|
|
4
|
-
input: {};
|
|
5
|
-
output: ({
|
|
6
|
-
name: string;
|
|
7
|
-
value: `0x${string}`;
|
|
8
|
-
} | {
|
|
9
|
-
name: string;
|
|
10
|
-
value: `0x${string}`;
|
|
11
|
-
} | {
|
|
12
|
-
name: string;
|
|
13
|
-
value: `0x${string}`;
|
|
14
|
-
} | {
|
|
15
|
-
name: string;
|
|
16
|
-
value: `0x${string}`;
|
|
17
|
-
})[];
|
|
18
|
-
outputFormat: "json";
|
|
19
|
-
status: 200;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
}, "/", "/">>;
|
|
23
|
-
//# sourceMappingURL=getRoles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getRoles.d.ts","sourceRoot":"","sources":["../../../../../src/staking/roles/getRoles/v0/getRoles.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;aAqBrB,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare const GrantRoleController: import("../../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../../common/context.js").AppContext, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
2
|
-
"/": {
|
|
3
|
-
$post: {
|
|
4
|
-
input: {
|
|
5
|
-
json: {
|
|
6
|
-
platform: string;
|
|
7
|
-
addresses: string[];
|
|
8
|
-
role: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
output: {
|
|
12
|
-
data: `0x${string}`;
|
|
13
|
-
to: `0x${string}`;
|
|
14
|
-
details: {
|
|
15
|
-
functionName: string;
|
|
16
|
-
address: `0x${string}`;
|
|
17
|
-
abi: any[];
|
|
18
|
-
args: any[];
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
outputFormat: "json";
|
|
22
|
-
status: 200;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
}, "/v0">, "/", "/">>;
|
|
26
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/staking/roles/grantRole/index.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;qBAE9B,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare const GrantRoleV0: import("../../../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../../../common/context").AppContext, {
|
|
2
|
-
"/": {
|
|
3
|
-
$post: {
|
|
4
|
-
input: {
|
|
5
|
-
json: {
|
|
6
|
-
platform: string;
|
|
7
|
-
addresses: string[];
|
|
8
|
-
role: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
output: {
|
|
12
|
-
data: `0x${string}`;
|
|
13
|
-
to: `0x${string}`;
|
|
14
|
-
details: {
|
|
15
|
-
functionName: string;
|
|
16
|
-
address: `0x${string}`;
|
|
17
|
-
abi: any[];
|
|
18
|
-
args: any[];
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
outputFormat: "json";
|
|
22
|
-
status: 200;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
}, "/", "/">>;
|
|
26
|
-
//# sourceMappingURL=grantRole.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"grantRole.d.ts","sourceRoot":"","sources":["../../../../../src/staking/roles/grantRole/v0/grantRole.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;aA0CtB,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export declare const SearchRoleEventsController: import("../../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../../common/context.js").AppContext, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
2
|
-
"/": {
|
|
3
|
-
$post: {
|
|
4
|
-
input: {
|
|
5
|
-
json: {
|
|
6
|
-
page: {
|
|
7
|
-
skip: number;
|
|
8
|
-
limit: number;
|
|
9
|
-
};
|
|
10
|
-
filter: {
|
|
11
|
-
chainId?: "31337" | "11155111" | "84532" | undefined;
|
|
12
|
-
owner?: string | undefined;
|
|
13
|
-
platform?: string | undefined;
|
|
14
|
-
poolId?: string | undefined;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
output: {
|
|
19
|
-
id: string;
|
|
20
|
-
roleId: `0x${string}`;
|
|
21
|
-
chainId: "31337" | "11155111" | "84532";
|
|
22
|
-
platform: `0x${string}`;
|
|
23
|
-
txHash: `0x${string}`;
|
|
24
|
-
owner: `0x${string}`;
|
|
25
|
-
isRevoked: boolean;
|
|
26
|
-
poolId?: (string & import("zod").$brand<"Int256">) | undefined;
|
|
27
|
-
}[];
|
|
28
|
-
outputFormat: "json";
|
|
29
|
-
status: 200;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
}, "/v0">, "/", "/">>;
|
|
33
|
-
//# sourceMappingURL=index.d.ts.map
|