@evergonlabs/tmi-protocol-api 0.11.0-rc.3 → 0.11.0-rc.4
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
package/dist/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAM,MAAM,aAAa,CAAC;AAMvD,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAM,MAAM,aAAa,CAAC;AAMvD,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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uB,CAAC;AACtC,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACvE,YAAY,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -48,17 +48,13 @@ export declare const FractionsApi: import("../common/controller.js").IApi<import
|
|
|
48
48
|
};
|
|
49
49
|
}, "/get"> | import("hono/types").MergeSchemaPath<{
|
|
50
50
|
"/": {
|
|
51
|
-
$
|
|
51
|
+
$get: {
|
|
52
52
|
input: {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
filter: {
|
|
59
|
-
chainId?: "1" | "31337" | "11155111" | "84532" | "72080" | undefined;
|
|
60
|
-
owner?: string | undefined;
|
|
61
|
-
};
|
|
53
|
+
query: {
|
|
54
|
+
skip: string | string[];
|
|
55
|
+
limit: string | string[];
|
|
56
|
+
chainId?: string | string[] | undefined;
|
|
57
|
+
owner?: string | string[] | undefined;
|
|
62
58
|
};
|
|
63
59
|
};
|
|
64
60
|
output: {
|
|
@@ -83,7 +79,7 @@ export declare const FractionsApi: import("../common/controller.js").IApi<import
|
|
|
83
79
|
updatedAt: string;
|
|
84
80
|
}[];
|
|
85
81
|
outputFormat: "json";
|
|
86
|
-
status:
|
|
82
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
87
83
|
};
|
|
88
84
|
};
|
|
89
85
|
}, "/search"> | import("hono/types").MergeSchemaPath<{
|
|
@@ -398,15 +394,15 @@ export declare const FractionsApi: import("../common/controller.js").IApi<import
|
|
|
398
394
|
};
|
|
399
395
|
};
|
|
400
396
|
output: {
|
|
401
|
-
campaignId: string
|
|
397
|
+
campaignId: string & import("zod").$brand<"Int256">;
|
|
402
398
|
creator: `0x${string}`;
|
|
403
|
-
nftId: string
|
|
404
|
-
fractionsCreated: string
|
|
399
|
+
nftId: string & import("zod").$brand<"Int256">;
|
|
400
|
+
fractionsCreated: string & import("zod").$brand<"Int256">;
|
|
405
401
|
fractionsAddress: `0x${string}`;
|
|
406
402
|
vaultAddress: `0x${string}` | undefined;
|
|
407
403
|
};
|
|
408
404
|
outputFormat: "json";
|
|
409
|
-
status:
|
|
405
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
410
406
|
};
|
|
411
407
|
};
|
|
412
408
|
}, "/getFractionsCreatedEvent"> | import("hono/types").MergeSchemaPath<{
|
|
@@ -627,22 +623,22 @@ export declare const FractionsApi: import("../common/controller.js").IApi<import
|
|
|
627
623
|
};
|
|
628
624
|
}, "/purchase"> | import("hono/types").MergeSchemaPath<{
|
|
629
625
|
"/": {
|
|
630
|
-
$
|
|
626
|
+
$get: {
|
|
631
627
|
input: {
|
|
632
|
-
|
|
628
|
+
query: {
|
|
629
|
+
chainId: "1" | "31337" | "11155111" | "84532" | "72080";
|
|
633
630
|
platform: string;
|
|
634
631
|
campaignId: string;
|
|
635
632
|
walletAddress: string;
|
|
636
|
-
chainId?: "1" | "31337" | "11155111" | "84532" | "72080" | undefined;
|
|
637
633
|
};
|
|
638
634
|
};
|
|
639
635
|
output: {
|
|
640
636
|
chainId: "1" | "31337" | "11155111" | "84532" | "72080";
|
|
641
637
|
platform: `0x${string}`;
|
|
642
|
-
campaignId: string
|
|
638
|
+
campaignId: string & import("zod").$brand<"Int256">;
|
|
643
639
|
statistics: {
|
|
644
|
-
priceId: string
|
|
645
|
-
fractionsSold: string
|
|
640
|
+
priceId: string & import("zod").$brand<"Int256">;
|
|
641
|
+
fractionsSold: string & import("zod").$brand<"Int256">;
|
|
646
642
|
purchases: number;
|
|
647
643
|
}[];
|
|
648
644
|
};
|
|
@@ -652,18 +648,14 @@ export declare const FractionsApi: import("../common/controller.js").IApi<import
|
|
|
652
648
|
};
|
|
653
649
|
}, "/purchase/statistics"> | import("hono/types").MergeSchemaPath<{
|
|
654
650
|
"/": {
|
|
655
|
-
$
|
|
651
|
+
$get: {
|
|
656
652
|
input: {
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
chainId?: "1" | "31337" | "11155111" | "84532" | "72080" | undefined;
|
|
664
|
-
platform?: string | undefined;
|
|
665
|
-
campaignId?: string | undefined;
|
|
666
|
-
};
|
|
653
|
+
query: {
|
|
654
|
+
skip: string | string[];
|
|
655
|
+
limit: string | string[];
|
|
656
|
+
chainId?: string | string[] | undefined;
|
|
657
|
+
platform?: string | string[] | undefined;
|
|
658
|
+
campaignId?: string | string[] | undefined;
|
|
667
659
|
};
|
|
668
660
|
};
|
|
669
661
|
output: {
|
|
@@ -937,9 +929,9 @@ export declare const FractionsApi: import("../common/controller.js").IApi<import
|
|
|
937
929
|
};
|
|
938
930
|
}, "/vesting/claim"> | import("hono/types").MergeSchemaPath<{
|
|
939
931
|
"/": {
|
|
940
|
-
$
|
|
932
|
+
$get: {
|
|
941
933
|
input: {
|
|
942
|
-
|
|
934
|
+
query: {
|
|
943
935
|
chainId: "1" | "31337" | "11155111" | "84532" | "72080";
|
|
944
936
|
platform: string;
|
|
945
937
|
campaignId: string;
|
|
@@ -971,31 +963,27 @@ export declare const FractionsApi: import("../common/controller.js").IApi<import
|
|
|
971
963
|
};
|
|
972
964
|
};
|
|
973
965
|
output: {
|
|
974
|
-
campaignId: string
|
|
966
|
+
campaignId: string & import("zod").$brand<"Int256">;
|
|
975
967
|
receiver: `0x${string}`;
|
|
976
|
-
burnId: string
|
|
977
|
-
nextBurnId: string | null;
|
|
978
|
-
amountOfFractionsBurnt: string
|
|
968
|
+
burnId: string & import("zod").$brand<"Int256">;
|
|
969
|
+
nextBurnId: (string & import("zod").$brand<"Int256">) | null;
|
|
970
|
+
amountOfFractionsBurnt: string & import("zod").$brand<"Int256">;
|
|
979
971
|
};
|
|
980
972
|
outputFormat: "json";
|
|
981
|
-
status:
|
|
973
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
982
974
|
};
|
|
983
975
|
};
|
|
984
976
|
}, "/vesting/getClaimVestedTokensEvent"> | import("hono/types").MergeSchemaPath<{
|
|
985
977
|
"/": {
|
|
986
|
-
$
|
|
978
|
+
$get: {
|
|
987
979
|
input: {
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
owner?: string | undefined;
|
|
996
|
-
platform?: string | undefined;
|
|
997
|
-
campaignId?: string | undefined;
|
|
998
|
-
};
|
|
980
|
+
query: {
|
|
981
|
+
skip: string | string[];
|
|
982
|
+
limit: string | string[];
|
|
983
|
+
chainId?: string | string[] | undefined;
|
|
984
|
+
owner?: string | string[] | undefined;
|
|
985
|
+
platform?: string | string[] | undefined;
|
|
986
|
+
campaignId?: string | string[] | undefined;
|
|
999
987
|
};
|
|
1000
988
|
};
|
|
1001
989
|
output: {
|
|
@@ -1070,19 +1058,15 @@ export declare const FractionsApi: import("../common/controller.js").IApi<import
|
|
|
1070
1058
|
};
|
|
1071
1059
|
}, "/search"> | import("hono/types").MergeSchemaPath<{
|
|
1072
1060
|
"/": {
|
|
1073
|
-
$
|
|
1061
|
+
$get: {
|
|
1074
1062
|
input: {
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
platform?: string | undefined;
|
|
1083
|
-
campaignId?: string | undefined;
|
|
1084
|
-
operationType?: import("@evergonlabs/tmi-protocol-indexer/schema").FractionSaleEventEnum | undefined;
|
|
1085
|
-
};
|
|
1063
|
+
query: {
|
|
1064
|
+
skip: string | string[];
|
|
1065
|
+
limit: string | string[];
|
|
1066
|
+
chainId?: string | string[] | undefined;
|
|
1067
|
+
platform?: string | string[] | undefined;
|
|
1068
|
+
campaignId?: string | string[] | undefined;
|
|
1069
|
+
operationType?: string | string[] | undefined;
|
|
1086
1070
|
};
|
|
1087
1071
|
};
|
|
1088
1072
|
output: {
|
|
@@ -1137,9 +1121,9 @@ export declare const FractionsApi: import("../common/controller.js").IApi<import
|
|
|
1137
1121
|
};
|
|
1138
1122
|
}, "/activity"> | import("hono/types").MergeSchemaPath<{
|
|
1139
1123
|
"/": {
|
|
1140
|
-
$
|
|
1124
|
+
$get: {
|
|
1141
1125
|
input: {
|
|
1142
|
-
|
|
1126
|
+
query: {
|
|
1143
1127
|
chainId: "1" | "31337" | "11155111" | "84532" | "72080";
|
|
1144
1128
|
platform: string;
|
|
1145
1129
|
campaignId: string;
|
|
@@ -1148,15 +1132,15 @@ export declare const FractionsApi: import("../common/controller.js").IApi<import
|
|
|
1148
1132
|
output: {
|
|
1149
1133
|
chainId: "1" | "31337" | "11155111" | "84532" | "72080";
|
|
1150
1134
|
platform: `0x${string}`;
|
|
1151
|
-
campaignId: string
|
|
1135
|
+
campaignId: string & import("zod").$brand<"Int256">;
|
|
1152
1136
|
statistics: {
|
|
1153
|
-
priceId: string
|
|
1154
|
-
fractionsSold: string
|
|
1137
|
+
priceId: string & import("zod").$brand<"Int256">;
|
|
1138
|
+
fractionsSold: string & import("zod").$brand<"Int256">;
|
|
1155
1139
|
purchases: number;
|
|
1156
1140
|
}[];
|
|
1157
1141
|
};
|
|
1158
1142
|
outputFormat: "json";
|
|
1159
|
-
status:
|
|
1143
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1160
1144
|
};
|
|
1161
1145
|
};
|
|
1162
1146
|
}, "/statistics"> | import("hono/types").MergeSchemaPath<{
|
|
@@ -1195,12 +1179,12 @@ export declare const FractionsApi: import("../common/controller.js").IApi<import
|
|
|
1195
1179
|
};
|
|
1196
1180
|
};
|
|
1197
1181
|
output: {
|
|
1198
|
-
campaignId: string
|
|
1182
|
+
campaignId: string & import("zod").$brand<"Int256">;
|
|
1199
1183
|
receiver: `0x${string}`;
|
|
1200
|
-
packetsReceived: string
|
|
1184
|
+
packetsReceived: string & import("zod").$brand<"Int256">;
|
|
1201
1185
|
};
|
|
1202
1186
|
outputFormat: "json";
|
|
1203
|
-
status:
|
|
1187
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1204
1188
|
};
|
|
1205
1189
|
};
|
|
1206
1190
|
}, "/getWithdrawEvent"> | import("hono/types").MergeSchemaPath<{
|
|
@@ -1232,7 +1216,7 @@ export declare const FractionsApi: import("../common/controller.js").IApi<import
|
|
|
1232
1216
|
vaultAddress: `0x${string}`;
|
|
1233
1217
|
};
|
|
1234
1218
|
outputFormat: "json";
|
|
1235
|
-
status:
|
|
1219
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1236
1220
|
};
|
|
1237
1221
|
};
|
|
1238
1222
|
}, "/getVaultAddress"> | import("hono/types").MergeSchemaPath<{
|
|
@@ -1269,7 +1253,7 @@ export declare const FractionsApi: import("../common/controller.js").IApi<import
|
|
|
1269
1253
|
};
|
|
1270
1254
|
};
|
|
1271
1255
|
output: {
|
|
1272
|
-
nonce: string
|
|
1256
|
+
nonce: string & import("zod").$brand<"Int256">;
|
|
1273
1257
|
};
|
|
1274
1258
|
outputFormat: "json";
|
|
1275
1259
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
@@ -1298,9 +1282,9 @@ export declare const FractionsApi: import("../common/controller.js").IApi<import
|
|
|
1298
1282
|
};
|
|
1299
1283
|
}, "/authData">, "/sig"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
1300
1284
|
"/": {
|
|
1301
|
-
$
|
|
1285
|
+
$get: {
|
|
1302
1286
|
input: {
|
|
1303
|
-
|
|
1287
|
+
query: {
|
|
1304
1288
|
chainId?: "1" | "31337" | "11155111" | "84532" | "72080" | undefined;
|
|
1305
1289
|
};
|
|
1306
1290
|
};
|
|
@@ -1321,9 +1305,9 @@ export declare const FractionsApi: import("../common/controller.js").IApi<import
|
|
|
1321
1305
|
};
|
|
1322
1306
|
}, "/holders"> | import("hono/types").MergeSchemaPath<{
|
|
1323
1307
|
"/": {
|
|
1324
|
-
$
|
|
1308
|
+
$get: {
|
|
1325
1309
|
input: {
|
|
1326
|
-
|
|
1310
|
+
query: {
|
|
1327
1311
|
chainId?: "1" | "31337" | "11155111" | "84532" | "72080" | undefined;
|
|
1328
1312
|
};
|
|
1329
1313
|
};
|
|
@@ -1344,9 +1328,9 @@ export declare const FractionsApi: import("../common/controller.js").IApi<import
|
|
|
1344
1328
|
};
|
|
1345
1329
|
}, "/sales"> | import("hono/types").MergeSchemaPath<{
|
|
1346
1330
|
"/": {
|
|
1347
|
-
$
|
|
1331
|
+
$get: {
|
|
1348
1332
|
input: {
|
|
1349
|
-
|
|
1333
|
+
query: {
|
|
1350
1334
|
chainId?: "1" | "31337" | "11155111" | "84532" | "72080" | undefined;
|
|
1351
1335
|
};
|
|
1352
1336
|
};
|
|
@@ -1367,42 +1351,42 @@ export declare const FractionsApi: import("../common/controller.js").IApi<import
|
|
|
1367
1351
|
};
|
|
1368
1352
|
}, "/ttv"> | import("hono/types").MergeSchemaPath<{
|
|
1369
1353
|
"/": {
|
|
1370
|
-
$
|
|
1354
|
+
$get: {
|
|
1371
1355
|
input: {
|
|
1372
|
-
|
|
1356
|
+
query: {
|
|
1373
1357
|
chainId?: "1" | "31337" | "11155111" | "84532" | "72080" | undefined;
|
|
1374
1358
|
};
|
|
1375
1359
|
};
|
|
1376
1360
|
output: {
|
|
1377
1361
|
total: {
|
|
1378
|
-
holders: string
|
|
1379
|
-
sales: string
|
|
1380
|
-
ttv: string
|
|
1362
|
+
holders: string;
|
|
1363
|
+
sales: string;
|
|
1364
|
+
ttv: string;
|
|
1381
1365
|
};
|
|
1382
1366
|
1: {
|
|
1383
|
-
holders: string
|
|
1384
|
-
sales: string
|
|
1385
|
-
ttv: string
|
|
1367
|
+
holders: string;
|
|
1368
|
+
sales: string;
|
|
1369
|
+
ttv: string;
|
|
1386
1370
|
};
|
|
1387
1371
|
31337: {
|
|
1388
|
-
holders: string
|
|
1389
|
-
sales: string
|
|
1390
|
-
ttv: string
|
|
1372
|
+
holders: string;
|
|
1373
|
+
sales: string;
|
|
1374
|
+
ttv: string;
|
|
1391
1375
|
};
|
|
1392
1376
|
11155111: {
|
|
1393
|
-
holders: string
|
|
1394
|
-
sales: string
|
|
1395
|
-
ttv: string
|
|
1377
|
+
holders: string;
|
|
1378
|
+
sales: string;
|
|
1379
|
+
ttv: string;
|
|
1396
1380
|
};
|
|
1397
1381
|
84532: {
|
|
1398
|
-
holders: string
|
|
1399
|
-
sales: string
|
|
1400
|
-
ttv: string
|
|
1382
|
+
holders: string;
|
|
1383
|
+
sales: string;
|
|
1384
|
+
ttv: string;
|
|
1401
1385
|
};
|
|
1402
1386
|
72080: {
|
|
1403
|
-
holders: string
|
|
1404
|
-
sales: string
|
|
1405
|
-
ttv: string
|
|
1387
|
+
holders: string;
|
|
1388
|
+
sales: string;
|
|
1389
|
+
ttv: string;
|
|
1406
1390
|
};
|
|
1407
1391
|
};
|
|
1408
1392
|
outputFormat: "json";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/fractions/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/fractions/index.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAWvB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { DiscountConfigSchema } from "@evergonlabs/tmi-protocol-fractions-sdk";
|
|
1
2
|
import { z } from "@evergonlabs/tmi-protocol-utils/zod";
|
|
2
|
-
import { DiscountConfigSchema } from "../schemas.js";
|
|
3
3
|
export declare const DeployMarketV0: import("../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../common/context.js").AppContext, {
|
|
4
4
|
"/": {
|
|
5
5
|
$post: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployMarket.d.ts","sourceRoot":"","sources":["../../../src/fractions/markets/deployMarket.ts"],"names":[],"mappings":"AASA,OAAO,
|
|
1
|
+
{"version":3,"file":"deployMarket.d.ts","sourceRoot":"","sources":["../../../src/fractions/markets/deployMarket.ts"],"names":[],"mappings":"AASA,OAAO,EAA6B,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAC1G,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AAwBxD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAezB,CAAC;AAoBH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAejC,CAAC;AAoBH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAe3C,CAAC;AAoBH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAiB9C,CAAC;AAEH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,GAAG,SAAS;;SAMxF"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { describeRoute } from "hono-openapi";
|
|
2
2
|
import { resolver, validator } from "hono-openapi";
|
|
3
|
-
import {
|
|
4
|
-
import { DeployMarketRequestSchema } from "
|
|
3
|
+
import { ContinousWithdrawGatedTemplate, ContinousWithdrawTemplate, createPlatform, StandardSaleGatedTemplate, StandardSaleTemplate, } from "@evergonlabs/tmi-protocol-fractions-sdk";
|
|
4
|
+
import { DeployMarketRequestSchema } from "@evergonlabs/tmi-protocol-fractions-sdk";
|
|
5
5
|
import { marketsTag } from "./utils.js";
|
|
6
6
|
import { createController } from "../../common/controller.js";
|
|
7
7
|
import { toTransaction, TransactionSchema } from "../../common/index.js";
|
|
@@ -23,7 +23,7 @@ const route = describeRoute({
|
|
|
23
23
|
export const DeployMarketV0 = createController({
|
|
24
24
|
build: (factory) => factory.createApp().post("/", route, validator("json", DeployMarketRequestSchema), async (c) => {
|
|
25
25
|
const { chainId, adminAddress, ownerAddress, cap, discount, fee } = c.req.valid("json");
|
|
26
|
-
const tx = createPlatform(
|
|
26
|
+
const tx = createPlatform(StandardSaleTemplate, {
|
|
27
27
|
chainId: chainId,
|
|
28
28
|
adminAddress: adminAddress,
|
|
29
29
|
ownerAddress: ownerAddress || adminAddress,
|
|
@@ -52,7 +52,7 @@ const compilotRoute = describeRoute({
|
|
|
52
52
|
export const DeployCompilotMarketV0 = createController({
|
|
53
53
|
build: (factory) => factory.createApp().post("/", compilotRoute, validator("json", DeployMarketRequestSchema), async (c) => {
|
|
54
54
|
const { chainId, adminAddress, ownerAddress, cap, discount, fee } = c.req.valid("json");
|
|
55
|
-
const tx = createPlatform(
|
|
55
|
+
const tx = createPlatform(StandardSaleGatedTemplate, {
|
|
56
56
|
chainId: chainId,
|
|
57
57
|
adminAddress: adminAddress,
|
|
58
58
|
ownerAddress: ownerAddress || adminAddress,
|
|
@@ -112,7 +112,7 @@ export const DeployContinuousWithdrawNidMarketV0 = createController({
|
|
|
112
112
|
.createApp()
|
|
113
113
|
.post("/", continuousWithdrawNidRoute, validator("json", DeployMarketRequestSchema), async (c) => {
|
|
114
114
|
const { chainId, adminAddress, ownerAddress, cap, discount, fee } = c.req.valid("json");
|
|
115
|
-
const tx = createPlatform(
|
|
115
|
+
const tx = createPlatform(ContinousWithdrawGatedTemplate, {
|
|
116
116
|
chainId: chainId,
|
|
117
117
|
adminAddress: adminAddress,
|
|
118
118
|
ownerAddress: ownerAddress || adminAddress,
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import { z } from "@evergonlabs/tmi-protocol-utils/zod";
|
|
2
|
+
export declare const GetDeployEventResponse: z.ZodObject<{
|
|
3
|
+
diamondAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
4
|
+
admin: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
5
|
+
wrapperAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
6
|
+
}, z.core.$strip>;
|
|
1
7
|
export declare const GetMarketDeployEventController: import("../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../common/context.js").AppContext, {
|
|
2
8
|
"/": {
|
|
3
9
|
$get: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDeployEvent.d.ts","sourceRoot":"","sources":["../../../src/fractions/markets/getDeployEvent.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getDeployEvent.d.ts","sourceRoot":"","sources":["../../../src/fractions/markets/getDeployEvent.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AAQxD,eAAO,MAAM,sBAAsB;;;;iBAMC,CAAC;AAErC,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;aAgCzC,CAAC"}
|
|
@@ -8,6 +8,13 @@ import { getPublicClient } from "../../common/blockchain.js";
|
|
|
8
8
|
import { createController } from "../../common/controller.js";
|
|
9
9
|
import { HttpError } from "../../common/http-error.js";
|
|
10
10
|
import { AddressSchema, SentTransactionParamsSchema } from "../../common/index.js";
|
|
11
|
+
export const GetDeployEventResponse = z
|
|
12
|
+
.object({
|
|
13
|
+
diamondAddress: AddressSchema,
|
|
14
|
+
admin: AddressSchema,
|
|
15
|
+
wrapperAddress: AddressSchema,
|
|
16
|
+
})
|
|
17
|
+
.openapi("GetDeployEventResponse");
|
|
11
18
|
export const GetMarketDeployEventController = createController({
|
|
12
19
|
build: (factory) => factory.createApp().get("/", describeRoute({
|
|
13
20
|
summary: "Get platform deploy event",
|
|
@@ -18,11 +25,7 @@ export const GetMarketDeployEventController = createController({
|
|
|
18
25
|
description: "Returns parsed event log",
|
|
19
26
|
content: {
|
|
20
27
|
"application/json": {
|
|
21
|
-
schema: resolver(
|
|
22
|
-
diamondAddress: AddressSchema,
|
|
23
|
-
admin: AddressSchema,
|
|
24
|
-
wrapperAddress: AddressSchema,
|
|
25
|
-
})),
|
|
28
|
+
schema: resolver(GetDeployEventResponse),
|
|
26
29
|
},
|
|
27
30
|
},
|
|
28
31
|
},
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import { z } from "@evergonlabs/tmi-protocol-utils/zod";
|
|
2
|
+
export declare const GetMarketQuery: z.ZodObject<{
|
|
3
|
+
chainId: z.ZodUnion<z.ZodLiteral<"1" | "31337" | "11155111" | "84532" | "72080">[]>;
|
|
4
|
+
address: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
5
|
+
}, z.core.$strip>;
|
|
1
6
|
export declare const GetMarketV0: import("../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../common/context.js").AppContext, {
|
|
2
7
|
"/": {
|
|
3
8
|
$get: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getMarket.d.ts","sourceRoot":"","sources":["../../../src/fractions/markets/getMarket.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getMarket.d.ts","sourceRoot":"","sources":["../../../src/fractions/markets/getMarket.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,qCAAqC,CAAC;AAOxD,eAAO,MAAM,cAAc;;;iBAKC,CAAC;AAE7B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAsDtB,CAAC"}
|
|
@@ -6,6 +6,12 @@ import { FractionsMarketSchema, mapToFractionsMarket, marketsTag } from "./utils
|
|
|
6
6
|
import { createController } from "../../common/controller.js";
|
|
7
7
|
import { ErrorSchema, FractionsChainId, PlatformContractAddress } from "../../common/index.js";
|
|
8
8
|
import { indexerSchemas } from "../../common/indexer/schemas.js";
|
|
9
|
+
export const GetMarketQuery = z
|
|
10
|
+
.object({
|
|
11
|
+
chainId: FractionsChainId.openapi({ param: { name: "chainId", in: "query" } }),
|
|
12
|
+
address: PlatformContractAddress.openapi({ param: { name: "address", in: "query" } }),
|
|
13
|
+
})
|
|
14
|
+
.openapi("GetMarketQuery");
|
|
9
15
|
export const GetMarketV0 = createController({
|
|
10
16
|
build: (factory) => factory.createApp().get("/", describeRoute({
|
|
11
17
|
summary: "Get market",
|
|
@@ -29,20 +35,7 @@ export const GetMarketV0 = createController({
|
|
|
29
35
|
},
|
|
30
36
|
},
|
|
31
37
|
},
|
|
32
|
-
}), validator("query",
|
|
33
|
-
chainId: FractionsChainId.openapi({
|
|
34
|
-
param: {
|
|
35
|
-
name: "chainId",
|
|
36
|
-
in: "query",
|
|
37
|
-
},
|
|
38
|
-
}),
|
|
39
|
-
address: PlatformContractAddress.openapi({
|
|
40
|
-
param: {
|
|
41
|
-
name: "address",
|
|
42
|
-
in: "query",
|
|
43
|
-
},
|
|
44
|
-
}),
|
|
45
|
-
})), async (c) => {
|
|
38
|
+
}), validator("query", GetMarketQuery), async (c) => {
|
|
46
39
|
const { chainId, address } = c.req.valid("query");
|
|
47
40
|
const { fractions: { fractionsMarkets }, } = indexerSchemas;
|
|
48
41
|
const market = await c.get("indexerClient").db.query.fractionsMarkets.findFirst({
|
|
@@ -48,17 +48,13 @@ export declare const MarketsController: import("../../common/controller.js").ICo
|
|
|
48
48
|
};
|
|
49
49
|
}, "/get"> | import("hono/types").MergeSchemaPath<{
|
|
50
50
|
"/": {
|
|
51
|
-
$
|
|
51
|
+
$get: {
|
|
52
52
|
input: {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
filter: {
|
|
59
|
-
chainId?: "1" | "31337" | "11155111" | "84532" | "72080" | undefined;
|
|
60
|
-
owner?: string | undefined;
|
|
61
|
-
};
|
|
53
|
+
query: {
|
|
54
|
+
skip: string | string[];
|
|
55
|
+
limit: string | string[];
|
|
56
|
+
chainId?: string | string[] | undefined;
|
|
57
|
+
owner?: string | string[] | undefined;
|
|
62
58
|
};
|
|
63
59
|
};
|
|
64
60
|
output: {
|
|
@@ -83,7 +79,7 @@ export declare const MarketsController: import("../../common/controller.js").ICo
|
|
|
83
79
|
updatedAt: string;
|
|
84
80
|
}[];
|
|
85
81
|
outputFormat: "json";
|
|
86
|
-
status:
|
|
82
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
87
83
|
};
|
|
88
84
|
};
|
|
89
85
|
}, "/search"> | import("hono/types").MergeSchemaPath<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/fractions/markets/index.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/fractions/markets/index.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+BAY5B,CAAC"}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
export declare const InitNftFractionsCompilotRequest: import("zod").ZodObject<{
|
|
2
|
+
market: import("zod").ZodPipe<import("zod").ZodString & import("zod").ZodType<`0x${string}`, string, import("zod/v4/core").$ZodTypeInternals<`0x${string}`, string>>, import("zod").ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
3
|
+
compilotSigner: import("zod").ZodOptional<import("zod").ZodPipe<import("zod").ZodString & import("zod").ZodType<`0x${string}`, string, import("zod/v4/core").$ZodTypeInternals<`0x${string}`, string>>, import("zod").ZodTransform<`0x${string}`, `0x${string}`>>>;
|
|
4
|
+
}, import("zod/v4/core").$strip>;
|
|
1
5
|
/**
|
|
2
6
|
* Controller for initializing ComPilot signer on NFT Fractions market
|
|
3
7
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initCompilot.d.ts","sourceRoot":"","sources":["../../../src/fractions/markets/initCompilot.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"initCompilot.d.ts","sourceRoot":"","sources":["../../../src/fractions/markets/initCompilot.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,+BAA+B;;;gCAE1C,CAAC;AAoBH;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;aASzB,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { describeRoute } from "hono-openapi";
|
|
2
2
|
import { resolver, validator } from "hono-openapi";
|
|
3
|
-
import { initCompilotSigner } from "@evergonlabs/tmi-protocol-fractions-sdk";
|
|
4
|
-
import { InitNftFractionsCompilotRequestSchema } from "../schemas.js";
|
|
3
|
+
import { initCompilotSigner, InitCompilotSignerConfigSchema } from "@evergonlabs/tmi-protocol-fractions-sdk";
|
|
5
4
|
import { marketsTag } from "./utils.js";
|
|
6
5
|
import { createController } from "../../common/controller.js";
|
|
7
|
-
import { DEFAULT_COMPILOT_SIGNER, toTransaction, TransactionSchema } from "../../common/index.js";
|
|
6
|
+
import { AddressSchema, DEFAULT_COMPILOT_SIGNER, toTransaction, TransactionSchema } from "../../common/index.js";
|
|
7
|
+
export const InitNftFractionsCompilotRequest = InitCompilotSignerConfigSchema.extend({
|
|
8
|
+
compilotSigner: AddressSchema.optional().describe("Optional: Override default ComPilot signer address"),
|
|
9
|
+
});
|
|
8
10
|
const route = describeRoute({
|
|
9
11
|
summary: "Initialize ComPilot signer for fractions shares market",
|
|
10
12
|
description: "Returns transaction data for initializing the ComPilot signer on a share fraction market. This must be called after deploying the market to enable compliance gating.",
|
|
@@ -24,7 +26,7 @@ const route = describeRoute({
|
|
|
24
26
|
* Controller for initializing ComPilot signer on NFT Fractions market
|
|
25
27
|
*/
|
|
26
28
|
export const InitCompilotV0 = createController({
|
|
27
|
-
build: (factory) => factory.createApp().get("/", route, validator("query",
|
|
29
|
+
build: (factory) => factory.createApp().get("/", route, validator("query", InitNftFractionsCompilotRequest), async (c) => {
|
|
28
30
|
const { market, compilotSigner } = c.req.valid("query");
|
|
29
31
|
const signer = compilotSigner ?? DEFAULT_COMPILOT_SIGNER;
|
|
30
32
|
const tx = initCompilotSigner({ market, compilotSigner: signer });
|