@evergonlabs/tmi-protocol-api 0.5.0 → 0.8.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/README.md +169 -0
- package/dist/app.d.ts +3301 -2851
- package/dist/app.d.ts.map +1 -1
- package/dist/app.js +36 -23
- package/dist/apps.d.ts +30 -0
- package/dist/apps.d.ts.map +1 -0
- package/dist/apps.js +16 -0
- package/dist/client.d.ts +2170 -1996
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +23 -2
- package/dist/common/blockchain.d.ts +26 -26
- package/dist/common/blockchain.d.ts.map +1 -1
- package/dist/common/blockchain.js +6 -10
- package/dist/common/config.d.ts +6 -27
- package/dist/common/config.d.ts.map +1 -1
- package/dist/common/config.js +2 -11
- package/dist/common/context.d.ts +2 -2
- package/dist/common/context.d.ts.map +1 -1
- package/dist/common/controller.d.ts +12 -0
- package/dist/common/controller.d.ts.map +1 -0
- package/dist/common/controller.js +6 -0
- package/dist/common/exports.d.ts +3 -0
- package/dist/common/exports.d.ts.map +1 -0
- package/dist/common/exports.js +2 -0
- package/dist/common/http-error.d.ts +1 -1
- package/dist/common/http-error.d.ts.map +1 -1
- package/dist/common/indexer/client.d.ts +138 -2
- package/dist/common/indexer/client.d.ts.map +1 -1
- package/dist/common/indexer/schemas.d.ts +69 -1
- package/dist/common/indexer/schemas.d.ts.map +1 -1
- package/dist/common/indexer/schemas.js +1 -1
- package/dist/common/int256.d.ts +3 -0
- package/dist/common/int256.d.ts.map +1 -0
- package/dist/common/int256.js +12 -0
- package/dist/common/models/asset.d.ts +5 -23
- package/dist/common/models/asset.d.ts.map +1 -1
- package/dist/common/models/asset.js +4 -6
- package/dist/common/models/base/chainId.d.ts +8 -0
- package/dist/common/models/base/chainId.d.ts.map +1 -0
- package/dist/common/models/base/chainId.js +11 -0
- package/dist/common/models/base/deployTransaction.d.ts +8 -0
- package/dist/common/models/base/deployTransaction.d.ts.map +1 -0
- package/dist/common/models/base/deployTransaction.js +7 -0
- package/dist/common/models/base/page.d.ts +7 -0
- package/dist/common/models/base/page.d.ts.map +1 -0
- package/dist/common/models/base/page.js +5 -0
- package/dist/common/models/base/transaction.d.ts +13 -0
- package/dist/common/models/base/transaction.d.ts.map +1 -0
- package/dist/common/models/base/transaction.js +12 -0
- package/dist/common/models/base/viem.d.ts +6 -0
- package/dist/common/models/base/viem.d.ts.map +1 -0
- package/dist/common/models/base/viem.js +5 -0
- package/dist/common/models/chainId.d.ts +7 -7
- package/dist/common/models/chainId.d.ts.map +1 -1
- package/dist/common/models/chainId.js +27 -12
- package/dist/common/models/compilot.d.ts +3 -0
- package/dist/common/models/compilot.d.ts.map +1 -0
- package/dist/common/models/compilot.js +1 -0
- package/dist/common/models/date.d.ts +5 -2
- package/dist/common/models/date.d.ts.map +1 -1
- package/dist/common/models/date.js +13 -5
- package/dist/common/models/deployTransaction.d.ts +8 -0
- package/dist/common/models/deployTransaction.d.ts.map +1 -0
- package/dist/common/models/deployTransaction.js +12 -0
- package/dist/common/models/erc721.d.ts +3 -11
- package/dist/common/models/erc721.d.ts.map +1 -1
- package/dist/common/models/erc721.js +2 -4
- package/dist/common/models/exports.d.ts +5 -0
- package/dist/common/models/exports.d.ts.map +1 -0
- package/dist/common/models/exports.js +4 -0
- package/dist/common/models/index.d.ts +7 -4
- package/dist/common/models/index.d.ts.map +1 -1
- package/dist/common/models/index.js +7 -4
- package/dist/common/models/page.d.ts +3 -8
- package/dist/common/models/page.d.ts.map +1 -1
- package/dist/common/models/page.js +2 -5
- package/dist/common/models/platform.d.ts +19 -6
- package/dist/common/models/platform.d.ts.map +1 -1
- package/dist/common/models/platform.js +6 -6
- package/dist/common/models/routes.d.ts +2 -10
- package/dist/common/models/routes.d.ts.map +1 -1
- package/dist/common/models/routes.js +1 -1
- package/dist/common/models/saleId.d.ts +3 -9
- package/dist/common/models/saleId.d.ts.map +1 -1
- package/dist/common/models/saleId.js +2 -1
- package/dist/common/models/transaction.d.ts +20 -81
- package/dist/common/models/transaction.d.ts.map +1 -1
- package/dist/common/models/transaction.js +13 -21
- package/dist/common/models/viem.d.ts +5 -3
- package/dist/common/models/viem.d.ts.map +1 -1
- package/dist/common/models/viem.js +6 -1
- package/dist/common/roles/erc20-gated-roles.d.ts +4 -2
- package/dist/common/roles/erc20-gated-roles.d.ts.map +1 -1
- package/dist/common/roles/erc20-gated-roles.js +3 -1
- package/dist/common/roles/erc721-factory-roles.d.ts +8 -0
- package/dist/common/roles/erc721-factory-roles.d.ts.map +1 -0
- package/dist/common/roles/erc721-factory-roles.js +13 -0
- package/dist/common/roles/exports.d.ts +3 -0
- package/dist/common/roles/exports.d.ts.map +1 -0
- package/dist/common/roles/exports.js +2 -0
- package/dist/factory.d.ts +11 -0
- package/dist/factory.d.ts.map +1 -0
- package/dist/factory.js +19 -0
- package/dist/fractions/activity/searchActivity.route.d.ts +7 -7
- package/dist/fractions/activity/searchActivity.route.js +2 -2
- package/dist/fractions/activity/utils.d.ts +3 -3
- package/dist/fractions/activity/utils.js +2 -2
- package/dist/fractions/createFractions/v0/createFractions.route.d.ts +4 -4
- package/dist/fractions/createFractions/v0/createFractions.route.d.ts.map +1 -1
- package/dist/fractions/createFractions/v0/createFractions.route.js +3 -16
- package/dist/fractions/createFractions/v0/createFractions.schema.d.ts +14 -3
- package/dist/fractions/createFractions/v0/createFractions.schema.d.ts.map +1 -1
- package/dist/fractions/createFractions/v0/createFractions.schema.js +13 -2
- package/dist/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts +2 -2
- package/dist/fractions/deployMarket/v0/deployMarket.routes.d.ts +36 -22
- package/dist/fractions/deployMarket/v0/deployMarket.routes.d.ts.map +1 -1
- package/dist/fractions/deployMarket/v0/deployMarket.routes.js +30 -32
- package/dist/fractions/deployMarket/v0/deployMarket.schema.d.ts +6 -3
- package/dist/fractions/deployMarket/v0/deployMarket.schema.d.ts.map +1 -1
- package/dist/fractions/deployMarket/v0/deployMarket.schema.js +5 -2
- package/dist/fractions/fractions/approveWrapper.route.d.ts +88 -0
- package/dist/fractions/fractions/approveWrapper.route.d.ts.map +1 -0
- package/dist/fractions/fractions/approveWrapper.route.js +92 -0
- package/dist/fractions/fractions/index.d.ts +72 -0
- package/dist/fractions/fractions/index.d.ts.map +1 -0
- package/dist/fractions/fractions/index.js +9 -0
- package/dist/fractions/gating/v0/getAuthData.d.ts +7 -7
- package/dist/fractions/gating/v0/getAuthData.js +2 -2
- package/dist/fractions/gating/v0/getNonce.route.d.ts +7 -7
- package/dist/fractions/gating/v0/getNonce.route.js +2 -2
- package/dist/fractions/grantRole/v0/grantRole.route.d.ts +4 -4
- package/dist/fractions/grantRole/v0/grantRole.schema.d.ts +3 -3
- package/dist/fractions/grantRole/v0/grantRole.schema.js +2 -2
- package/dist/fractions/index.d.ts +1106 -1148
- package/dist/fractions/index.d.ts.map +1 -1
- package/dist/fractions/index.js +20 -105
- package/dist/fractions/markets/common/platform.d.ts +23 -75
- package/dist/fractions/markets/common/platform.d.ts.map +1 -1
- package/dist/fractions/markets/common/platform.js +11 -13
- package/dist/fractions/markets/getDeployEvent.d.ts +17 -39
- package/dist/fractions/markets/getDeployEvent.d.ts.map +1 -1
- package/dist/fractions/markets/getDeployEvent.js +10 -9
- package/dist/fractions/markets/getMarket/getMarket.d.ts +30 -0
- package/dist/fractions/markets/getMarket/getMarket.d.ts.map +1 -0
- package/dist/fractions/markets/getMarket/getMarket.js +65 -0
- package/dist/fractions/markets/getMarket/index.d.ts +4 -27
- package/dist/fractions/markets/getMarket/index.d.ts.map +1 -1
- package/dist/fractions/markets/getMarket/index.js +5 -4
- package/dist/fractions/markets/getMarket/v0/getMarket.d.ts +14 -14
- package/dist/fractions/markets/getMarket/v0/getMarket.js +2 -2
- package/dist/fractions/markets/index.d.ts +12 -54
- package/dist/fractions/markets/index.d.ts.map +1 -1
- package/dist/fractions/markets/index.js +10 -11
- package/dist/fractions/markets/searchMarkets/index.d.ts +7 -30
- package/dist/fractions/markets/searchMarkets/index.d.ts.map +1 -1
- package/dist/fractions/markets/searchMarkets/index.js +5 -4
- package/dist/fractions/markets/searchMarkets/searchMarkets.d.ts +22 -0
- package/dist/fractions/markets/searchMarkets/searchMarkets.d.ts.map +1 -0
- package/dist/fractions/markets/searchMarkets/searchMarkets.js +45 -0
- package/dist/fractions/markets/searchMarkets/v0/searchMarkets.d.ts +13 -13
- package/dist/fractions/markets/searchMarkets/v0/searchMarkets.js +2 -2
- package/dist/fractions/nftfractions/index.d.ts +6 -0
- package/dist/fractions/nftfractions/index.d.ts.map +1 -0
- package/dist/fractions/nftfractions/index.js +5 -0
- package/dist/fractions/nftfractions/v0/createNftFractions.routes.d.ts +192 -0
- package/dist/fractions/nftfractions/v0/createNftFractions.routes.d.ts.map +1 -0
- package/dist/fractions/nftfractions/v0/createNftFractions.routes.js +58 -0
- package/dist/fractions/nftfractions/v0/createNftFractions.schema.d.ts +245 -0
- package/dist/fractions/nftfractions/v0/createNftFractions.schema.d.ts.map +1 -0
- package/dist/fractions/nftfractions/v0/createNftFractions.schema.js +65 -0
- package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.routes.d.ts +96 -0
- package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.routes.d.ts.map +1 -0
- package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.routes.js +52 -0
- package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.schema.d.ts +70 -0
- package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.schema.d.ts.map +1 -0
- package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.schema.js +28 -0
- package/dist/fractions/nftfractions/v0/initCompilot.routes.d.ts +74 -0
- package/dist/fractions/nftfractions/v0/initCompilot.routes.d.ts.map +1 -0
- package/dist/fractions/nftfractions/v0/initCompilot.routes.js +41 -0
- package/dist/fractions/platforms/deployMarket.routes.d.ts +158 -0
- package/dist/fractions/platforms/deployMarket.routes.d.ts.map +1 -0
- package/dist/fractions/platforms/deployMarket.routes.js +131 -0
- package/dist/fractions/platforms/deployMarket.schema.d.ts +33 -0
- package/dist/fractions/platforms/deployMarket.schema.d.ts.map +1 -0
- package/dist/fractions/platforms/deployMarket.schema.js +28 -0
- package/dist/fractions/platforms/deployNftFractionsMarket.routes.d.ts +96 -0
- package/dist/fractions/platforms/deployNftFractionsMarket.routes.d.ts.map +1 -0
- package/dist/fractions/platforms/deployNftFractionsMarket.routes.js +52 -0
- package/dist/fractions/platforms/deployNftFractionsMarket.schema.d.ts +30 -0
- package/dist/fractions/platforms/deployNftFractionsMarket.schema.d.ts.map +1 -0
- package/dist/fractions/platforms/deployNftFractionsMarket.schema.js +29 -0
- package/dist/fractions/platforms/index.d.ts +196 -0
- package/dist/fractions/platforms/index.d.ts.map +1 -0
- package/dist/fractions/platforms/index.js +15 -0
- package/dist/fractions/platforms/initCompilot.routes.d.ts +36 -0
- package/dist/fractions/platforms/initCompilot.routes.d.ts.map +1 -0
- package/dist/fractions/platforms/initCompilot.routes.js +40 -0
- package/dist/fractions/platforms/initNid.route.d.ts +28 -0
- package/dist/fractions/platforms/initNid.route.d.ts.map +1 -0
- package/dist/fractions/platforms/initNid.route.js +32 -0
- package/dist/fractions/purchase/v0/purchase.route.d.ts +7 -7
- package/dist/fractions/purchase/v0/purchase.route.js +2 -2
- package/dist/fractions/purchase/v0/statistics.route.d.ts +7 -7
- package/dist/fractions/purchase/v0/statistics.route.js +2 -2
- package/dist/fractions/roles/getRoles.d.ts +23 -0
- package/dist/fractions/roles/getRoles.d.ts.map +1 -0
- package/dist/fractions/roles/getRoles.js +42 -0
- package/dist/fractions/roles/grantRole.route.d.ts +27 -0
- package/dist/fractions/roles/grantRole.route.d.ts.map +1 -0
- package/dist/fractions/roles/grantRole.route.js +34 -0
- package/dist/fractions/roles/grantRole.schema.d.ts +16 -0
- package/dist/fractions/roles/grantRole.schema.d.ts.map +1 -0
- package/dist/fractions/roles/grantRole.schema.js +14 -0
- package/dist/fractions/roles/index.d.ts +48 -0
- package/dist/fractions/roles/index.d.ts.map +1 -0
- package/dist/fractions/roles/index.js +9 -0
- package/dist/fractions/sales/activityUtils.d.ts +49 -0
- package/dist/fractions/sales/activityUtils.d.ts.map +1 -0
- package/dist/fractions/sales/activityUtils.js +68 -0
- package/dist/fractions/sales/approveSale.route.d.ts +30 -0
- package/dist/fractions/sales/approveSale.route.d.ts.map +1 -0
- package/dist/fractions/sales/approveSale.route.js +35 -0
- package/dist/fractions/sales/common/fractionsSale.d.ts +50 -326
- package/dist/fractions/sales/common/fractionsSale.d.ts.map +1 -1
- package/dist/fractions/sales/common/fractionsSale.js +64 -79
- package/dist/fractions/sales/completeSale.route.d.ts +30 -0
- package/dist/fractions/sales/completeSale.route.d.ts.map +1 -0
- package/dist/fractions/sales/completeSale.route.js +35 -0
- package/dist/fractions/sales/createFractions.route.d.ts +71 -0
- package/dist/fractions/sales/createFractions.route.d.ts.map +1 -0
- package/dist/fractions/sales/createFractions.route.js +51 -0
- package/dist/fractions/sales/createFractions.schema.d.ts +123 -0
- package/dist/fractions/sales/createFractions.schema.d.ts.map +1 -0
- package/dist/fractions/sales/createFractions.schema.js +80 -0
- package/dist/fractions/sales/createNftFractions.routes.d.ts +180 -0
- package/dist/fractions/sales/createNftFractions.routes.d.ts.map +1 -0
- package/dist/fractions/sales/createNftFractions.routes.js +58 -0
- package/dist/fractions/sales/createNftFractions.schema.d.ts +85 -0
- package/dist/fractions/sales/createNftFractions.schema.d.ts.map +1 -0
- package/dist/fractions/sales/createNftFractions.schema.js +67 -0
- package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts +31 -92
- package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts.map +1 -1
- package/dist/fractions/sales/getFractionSaleStatistics.route.js +12 -13
- package/dist/fractions/sales/getVaultAddress.d.ts +31 -49
- package/dist/fractions/sales/getVaultAddress.d.ts.map +1 -1
- package/dist/fractions/sales/getVaultAddress.js +11 -10
- package/dist/fractions/sales/getWithdrawEvent.d.ts +17 -39
- package/dist/fractions/sales/getWithdrawEvent.d.ts.map +1 -1
- package/dist/fractions/sales/getWithdrawEvent.js +13 -11
- package/dist/fractions/sales/index.d.ts +760 -0
- package/dist/fractions/sales/index.d.ts.map +1 -0
- package/dist/fractions/sales/index.js +52 -0
- package/dist/fractions/sales/parseFractionsCreatedEvent.d.ts +23 -0
- package/dist/fractions/sales/parseFractionsCreatedEvent.d.ts.map +1 -0
- package/dist/fractions/sales/parseFractionsCreatedEvent.js +59 -0
- package/dist/fractions/sales/purchase.route.d.ts +36 -0
- package/dist/fractions/sales/purchase.route.d.ts.map +1 -0
- package/dist/fractions/sales/purchase.route.js +42 -0
- package/dist/fractions/sales/purchaseStatistics.route.d.ts +27 -0
- package/dist/fractions/sales/purchaseStatistics.route.d.ts.map +1 -0
- package/dist/fractions/sales/purchaseStatistics.route.js +53 -0
- package/dist/fractions/sales/receiveFundsAfterNonFunded.route.d.ts +56 -140
- package/dist/fractions/sales/receiveFundsAfterNonFunded.route.d.ts.map +1 -1
- package/dist/fractions/sales/receiveFundsAfterNonFunded.route.js +19 -15
- package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts +22 -54
- package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts.map +1 -1
- package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.js +6 -5
- package/dist/fractions/sales/recoverFractions.d.ts +65 -103
- package/dist/fractions/sales/recoverFractions.d.ts.map +1 -1
- package/dist/fractions/sales/recoverFractions.js +13 -11
- package/dist/fractions/sales/rejectFractions.d.ts +49 -75
- package/dist/fractions/sales/rejectFractions.d.ts.map +1 -1
- package/dist/fractions/sales/rejectFractions.js +12 -8
- package/dist/fractions/sales/searchActivity.route.d.ts +67 -86
- package/dist/fractions/sales/searchActivity.route.d.ts.map +1 -1
- package/dist/fractions/sales/searchActivity.route.js +27 -37
- package/dist/fractions/sales/searchSales/searchSales.d.ts +24 -0
- package/dist/fractions/sales/searchSales/searchSales.d.ts.map +1 -0
- package/dist/fractions/sales/searchSales/searchSales.js +50 -0
- package/dist/fractions/sales/searchSales/v0/searchSales.d.ts +16 -16
- package/dist/fractions/sales/searchSales/v0/searchSales.js +2 -2
- package/dist/fractions/sales/searchWithdrawal.route.d.ts +20 -55
- package/dist/fractions/sales/searchWithdrawal.route.d.ts.map +1 -1
- package/dist/fractions/sales/searchWithdrawal.route.js +10 -9
- package/dist/fractions/sales/setFeeCapLimit.d.ts +27 -70
- package/dist/fractions/sales/setFeeCapLimit.d.ts.map +1 -1
- package/dist/fractions/sales/setFeeCapLimit.js +12 -8
- package/dist/fractions/sales/unlockWrappedAssets.route.d.ts +26 -65
- package/dist/fractions/sales/unlockWrappedAssets.route.d.ts.map +1 -1
- package/dist/fractions/sales/unlockWrappedAssets.route.js +10 -11
- package/dist/fractions/sales/vesting/claimStatistics.route.d.ts +36 -0
- package/dist/fractions/sales/vesting/claimStatistics.route.d.ts.map +1 -0
- package/dist/fractions/sales/vesting/claimStatistics.route.js +87 -0
- package/dist/fractions/sales/vesting/claimVestedTokens.route.d.ts +62 -0
- package/dist/fractions/sales/vesting/claimVestedTokens.route.d.ts.map +1 -0
- package/dist/fractions/sales/vesting/claimVestedTokens.route.js +45 -0
- package/dist/fractions/sales/vesting/editCliff.route.d.ts +58 -0
- package/dist/fractions/sales/vesting/editCliff.route.d.ts.map +1 -0
- package/dist/fractions/sales/vesting/editCliff.route.js +45 -0
- package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.d.ts +22 -0
- package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.d.ts.map +1 -0
- package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.js +58 -0
- package/dist/fractions/sales/vesting/v0/claimStatistics.route.d.ts +10 -10
- package/dist/fractions/sales/vesting/v0/claimStatistics.route.js +3 -3
- package/dist/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts +2 -2
- package/dist/fractions/sales/withdraw.route.d.ts +29 -0
- package/dist/fractions/sales/withdraw.route.d.ts.map +1 -0
- package/dist/fractions/sales/withdraw.route.js +30 -0
- package/dist/fractions/sig/getAuthData.d.ts +40 -0
- package/dist/fractions/sig/getAuthData.d.ts.map +1 -0
- package/dist/fractions/sig/getAuthData.js +52 -0
- package/dist/fractions/sig/getNonce.route.d.ts +25 -0
- package/dist/fractions/sig/getNonce.route.d.ts.map +1 -0
- package/dist/fractions/sig/getNonce.route.js +43 -0
- package/dist/fractions/sig/index.d.ts +40 -0
- package/dist/fractions/sig/index.d.ts.map +1 -0
- package/dist/fractions/sig/index.js +6 -0
- package/dist/fractions/statistics/index.d.ts +107 -0
- package/dist/fractions/statistics/index.d.ts.map +1 -0
- package/dist/fractions/statistics/index.js +10 -0
- package/dist/fractions/statistics/networkStatistics.route.d.ts +121 -0
- package/dist/fractions/statistics/networkStatistics.route.d.ts.map +1 -0
- package/dist/fractions/statistics/networkStatistics.route.js +222 -0
- package/dist/general/balanceClient.d.ts +19 -58
- package/dist/general/balanceClient.d.ts.map +1 -1
- package/dist/general/balanceClient.js +3 -3
- package/dist/general/common.d.ts +11 -74
- package/dist/general/common.d.ts.map +1 -1
- package/dist/general/common.js +7 -11
- package/dist/general/estimateGas.d.ts +18 -45
- package/dist/general/estimateGas.d.ts.map +1 -1
- package/dist/general/estimateGas.js +32 -30
- package/dist/general/getBalance.d.ts +16 -37
- package/dist/general/getBalance.d.ts.map +1 -1
- package/dist/general/getBalance.js +30 -26
- package/dist/general/getBalancesBatch.d.ts +22 -56
- package/dist/general/getBalancesBatch.d.ts.map +1 -1
- package/dist/general/getBalancesBatch.js +24 -20
- package/dist/general/index.d.ts +74 -83
- package/dist/general/index.d.ts.map +1 -1
- package/dist/general/index.js +14 -19
- package/dist/general/searchBalances.d.ts +27 -67
- package/dist/general/searchBalances.d.ts.map +1 -1
- package/dist/general/searchBalances.js +25 -21
- package/dist/general/utils/tokenBalance/tokenBalance.d.ts +17 -33
- package/dist/general/utils/tokenBalance/tokenBalance.d.ts.map +1 -1
- package/dist/general/utils/tokenBalance/tokenBalance.js +5 -5
- package/dist/issuance/approve.js +1 -1
- package/dist/issuance/burn.js +1 -1
- package/dist/issuance/common/exports.d.ts +2 -0
- package/dist/issuance/common/exports.d.ts.map +1 -0
- package/dist/issuance/common/exports.js +1 -0
- package/dist/issuance/common/factories.d.ts +167 -0
- package/dist/issuance/common/factories.d.ts.map +1 -0
- package/dist/issuance/common/factories.js +15 -0
- package/dist/issuance/deploy.d.ts +12 -12
- package/dist/issuance/deploy.d.ts.map +1 -1
- package/dist/issuance/deploy.js +21 -8
- package/dist/issuance/erc20/approve.d.ts +32 -0
- package/dist/issuance/erc20/approve.d.ts.map +1 -0
- package/dist/issuance/erc20/approve.js +38 -0
- package/dist/issuance/erc20/burn.d.ts +32 -0
- package/dist/issuance/erc20/burn.d.ts.map +1 -0
- package/dist/issuance/erc20/burn.js +38 -0
- package/dist/issuance/erc20/deploy.d.ts +38 -0
- package/dist/issuance/erc20/deploy.d.ts.map +1 -0
- package/dist/issuance/erc20/deploy.js +52 -0
- package/dist/issuance/erc20/deployGated.d.ts +40 -0
- package/dist/issuance/erc20/deployGated.d.ts.map +1 -0
- package/dist/issuance/erc20/deployGated.js +58 -0
- package/dist/issuance/erc20/getInitData.d.ts +59 -0
- package/dist/issuance/erc20/getInitData.d.ts.map +1 -0
- package/dist/issuance/erc20/getInitData.js +49 -0
- package/dist/issuance/erc20/grantRole.d.ts +33 -0
- package/dist/issuance/erc20/grantRole.d.ts.map +1 -0
- package/dist/issuance/erc20/grantRole.js +41 -0
- package/dist/issuance/erc20/index.d.ts +324 -0
- package/dist/issuance/erc20/index.d.ts.map +1 -0
- package/dist/issuance/erc20/index.js +31 -0
- package/dist/issuance/erc20/initialize.d.ts +40 -0
- package/dist/issuance/erc20/initialize.d.ts.map +1 -0
- package/dist/issuance/erc20/initialize.js +45 -0
- package/dist/issuance/erc20/mint.d.ts +32 -0
- package/dist/issuance/erc20/mint.d.ts.map +1 -0
- package/dist/issuance/erc20/mint.js +38 -0
- package/dist/issuance/erc20/parseErc20DeployEvent.d.ts +23 -0
- package/dist/issuance/erc20/parseErc20DeployEvent.d.ts.map +1 -0
- package/dist/issuance/erc20/parseErc20DeployEvent.js +79 -0
- package/dist/issuance/erc20/recover.d.ts +34 -0
- package/dist/issuance/erc20/recover.d.ts.map +1 -0
- package/dist/issuance/erc20/recover.js +39 -0
- package/dist/issuance/erc20/renounceRole.d.ts +33 -0
- package/dist/issuance/erc20/renounceRole.d.ts.map +1 -0
- package/dist/issuance/erc20/renounceRole.js +41 -0
- package/dist/issuance/erc20/revokeRole.d.ts +33 -0
- package/dist/issuance/erc20/revokeRole.d.ts.map +1 -0
- package/dist/issuance/erc20/revokeRole.js +41 -0
- package/dist/issuance/erc20/transfer.d.ts +32 -0
- package/dist/issuance/erc20/transfer.d.ts.map +1 -0
- package/dist/issuance/erc20/transfer.js +38 -0
- package/dist/issuance/erc20/transferFrom.d.ts +34 -0
- package/dist/issuance/erc20/transferFrom.d.ts.map +1 -0
- package/dist/issuance/erc20/transferFrom.js +39 -0
- package/dist/issuance/erc721/approve.d.ts +32 -0
- package/dist/issuance/erc721/approve.d.ts.map +1 -0
- package/dist/issuance/erc721/approve.js +38 -0
- package/dist/issuance/erc721/burn.d.ts +30 -0
- package/dist/issuance/erc721/burn.d.ts.map +1 -0
- package/dist/issuance/erc721/burn.js +37 -0
- package/dist/issuance/erc721/deploy.d.ts +38 -0
- package/dist/issuance/erc721/deploy.d.ts.map +1 -0
- package/dist/issuance/erc721/deploy.js +51 -0
- package/dist/issuance/erc721/deployGated.d.ts +40 -0
- package/dist/issuance/erc721/deployGated.d.ts.map +1 -0
- package/dist/issuance/erc721/deployGated.js +58 -0
- package/dist/issuance/erc721/getInitData.d.ts +49 -0
- package/dist/issuance/erc721/getInitData.d.ts.map +1 -0
- package/dist/issuance/erc721/getInitData.js +51 -0
- package/dist/issuance/erc721/grantRole.d.ts +33 -0
- package/dist/issuance/erc721/grantRole.d.ts.map +1 -0
- package/dist/issuance/erc721/grantRole.js +41 -0
- package/dist/issuance/erc721/index.d.ts +345 -0
- package/dist/issuance/erc721/index.d.ts.map +1 -0
- package/dist/issuance/erc721/index.js +33 -0
- package/dist/issuance/erc721/initialize.d.ts +38 -0
- package/dist/issuance/erc721/initialize.d.ts.map +1 -0
- package/dist/issuance/erc721/initialize.js +40 -0
- package/dist/issuance/erc721/mint.d.ts +32 -0
- package/dist/issuance/erc721/mint.d.ts.map +1 -0
- package/dist/issuance/erc721/mint.js +38 -0
- package/dist/issuance/erc721/parseErc721DeployEvent.d.ts +23 -0
- package/dist/issuance/erc721/parseErc721DeployEvent.d.ts.map +1 -0
- package/dist/issuance/erc721/parseErc721DeployEvent.js +78 -0
- package/dist/issuance/erc721/recover.d.ts +34 -0
- package/dist/issuance/erc721/recover.d.ts.map +1 -0
- package/dist/issuance/erc721/recover.js +39 -0
- package/dist/issuance/erc721/renounceRole.d.ts +33 -0
- package/dist/issuance/erc721/renounceRole.d.ts.map +1 -0
- package/dist/issuance/erc721/renounceRole.js +41 -0
- package/dist/issuance/erc721/revokeRole.d.ts +33 -0
- package/dist/issuance/erc721/revokeRole.d.ts.map +1 -0
- package/dist/issuance/erc721/revokeRole.js +41 -0
- package/dist/issuance/erc721/setBaseURI.d.ts +30 -0
- package/dist/issuance/erc721/setBaseURI.d.ts.map +1 -0
- package/dist/issuance/erc721/setBaseURI.js +36 -0
- package/dist/issuance/erc721/setTokenURI.d.ts +32 -0
- package/dist/issuance/erc721/setTokenURI.d.ts.map +1 -0
- package/dist/issuance/erc721/setTokenURI.js +38 -0
- package/dist/issuance/erc721/transferFrom.d.ts +34 -0
- package/dist/issuance/erc721/transferFrom.d.ts.map +1 -0
- package/dist/issuance/erc721/transferFrom.js +39 -0
- package/dist/issuance/exports.d.ts +2 -0
- package/dist/issuance/exports.d.ts.map +1 -0
- package/dist/issuance/exports.js +1 -0
- package/dist/issuance/getInitData.d.ts +67 -10
- package/dist/issuance/getInitData.d.ts.map +1 -1
- package/dist/issuance/getInitData.js +52 -1
- package/dist/issuance/grantRole.js +1 -1
- package/dist/issuance/index.d.ts +682 -259
- package/dist/issuance/index.d.ts.map +1 -1
- package/dist/issuance/index.js +12 -33
- package/dist/issuance/mint.js +1 -1
- package/dist/issuance/proxy/deploy.d.ts +41 -0
- package/dist/issuance/proxy/deploy.d.ts.map +1 -0
- package/dist/issuance/proxy/deploy.js +68 -0
- package/dist/issuance/proxy/index.d.ts +59 -0
- package/dist/issuance/proxy/index.d.ts.map +1 -0
- package/dist/issuance/proxy/index.js +10 -0
- package/dist/issuance/proxy/upgrade.d.ts +34 -0
- package/dist/issuance/proxy/upgrade.d.ts.map +1 -0
- package/dist/issuance/proxy/upgrade.js +46 -0
- package/dist/issuance/recover.js +1 -1
- package/dist/issuance/renounceRole.js +1 -1
- package/dist/issuance/transfer.js +1 -1
- package/dist/next/fractions/index.d.ts +275 -0
- package/dist/next/fractions/index.d.ts.map +1 -0
- package/dist/next/fractions/index.js +13 -0
- package/dist/next/fractions/lending/buyback/buyback.routes.d.ts +27 -0
- package/dist/next/fractions/lending/buyback/buyback.routes.d.ts.map +1 -0
- package/dist/next/fractions/lending/buyback/buyback.routes.js +28 -0
- package/dist/next/fractions/lending/buyback/buyback.schema.d.ts +8 -0
- package/dist/next/fractions/lending/buyback/buyback.schema.d.ts.map +1 -0
- package/dist/next/fractions/lending/buyback/buyback.schema.js +13 -0
- package/dist/next/fractions/lending/createLendingSale.d.ts +130 -0
- package/dist/next/fractions/lending/createLendingSale.d.ts.map +1 -0
- package/dist/next/fractions/lending/createLendingSale.js +82 -0
- package/dist/next/fractions/lending/deployMarket/lending.routes.d.ts +44 -0
- package/dist/next/fractions/lending/deployMarket/lending.routes.d.ts.map +1 -0
- package/dist/next/fractions/lending/deployMarket/lending.routes.js +40 -0
- package/dist/next/fractions/lending/index.d.ts +188 -0
- package/dist/next/fractions/lending/index.d.ts.map +1 -0
- package/dist/next/fractions/lending/index.js +15 -0
- package/dist/next/fractions/lending/purchase/directPurchase.route.d.ts +33 -0
- package/dist/next/fractions/lending/purchase/directPurchase.route.d.ts.map +1 -0
- package/dist/next/fractions/lending/purchase/directPurchase.route.js +34 -0
- package/dist/next/fractions/lending/schemas.d.ts +25 -0
- package/dist/next/fractions/lending/schemas.d.ts.map +1 -0
- package/dist/next/fractions/lending/schemas.js +21 -0
- package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts +26 -0
- package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts.map +1 -0
- package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.routes.js +28 -0
- package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts +7 -0
- package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts.map +1 -0
- package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.schema.js +11 -0
- package/dist/next/fractions/platforms/deployNftFractionsMarket.routes.d.ts +39 -0
- package/dist/next/fractions/platforms/deployNftFractionsMarket.routes.d.ts.map +1 -0
- package/dist/next/fractions/platforms/deployNftFractionsMarket.routes.js +40 -0
- package/dist/next/fractions/platforms/deployNftFractionsMarket.schema.d.ts +26 -0
- package/dist/next/fractions/platforms/deployNftFractionsMarket.schema.d.ts.map +1 -0
- package/dist/next/fractions/platforms/deployNftFractionsMarket.schema.js +24 -0
- package/dist/next/fractions/platforms/index.d.ts +36 -0
- package/dist/next/fractions/platforms/index.d.ts.map +1 -0
- package/dist/next/fractions/platforms/index.js +5 -0
- package/dist/next/fractions/sales/createNftFractions.routes.d.ts +58 -0
- package/dist/next/fractions/sales/createNftFractions.routes.d.ts.map +1 -0
- package/dist/next/fractions/sales/createNftFractions.routes.js +59 -0
- package/dist/next/fractions/sales/createNftFractions.schema.d.ts +85 -0
- package/dist/next/fractions/sales/createNftFractions.schema.d.ts.map +1 -0
- package/dist/next/fractions/sales/createNftFractions.schema.js +67 -0
- package/dist/next/fractions/sales/index.d.ts +55 -0
- package/dist/next/fractions/sales/index.d.ts.map +1 -0
- package/dist/next/fractions/sales/index.js +5 -0
- package/dist/staking/index.d.ts +193 -202
- package/dist/staking/index.d.ts.map +1 -1
- package/dist/staking/index.js +14 -19
- package/dist/staking/platforms/common/platform.d.ts +7 -21
- package/dist/staking/platforms/common/platform.d.ts.map +1 -1
- package/dist/staking/platforms/common/platform.js +6 -8
- package/dist/staking/platforms/getPlatform/index.d.ts +9 -12
- package/dist/staking/platforms/getPlatform/index.d.ts.map +1 -1
- package/dist/staking/platforms/getPlatform/index.js +5 -4
- package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts +21 -49
- package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts.map +1 -1
- package/dist/staking/platforms/getPlatform/v0/getPlatform.js +20 -10
- package/dist/staking/platforms/index.d.ts +19 -21
- package/dist/staking/platforms/index.d.ts.map +1 -1
- package/dist/staking/platforms/index.js +8 -9
- package/dist/staking/platforms/searchPlatforms/index.d.ts +11 -14
- package/dist/staking/platforms/searchPlatforms/index.d.ts.map +1 -1
- package/dist/staking/platforms/searchPlatforms/index.js +5 -4
- package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts +27 -73
- package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts.map +1 -1
- package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.js +12 -9
- package/dist/staking/pools/common/pool.d.ts +9 -25
- package/dist/staking/pools/common/pool.d.ts.map +1 -1
- package/dist/staking/pools/common/pool.js +5 -7
- package/dist/staking/pools/getPool/index.d.ts +4 -7
- package/dist/staking/pools/getPool/index.d.ts.map +1 -1
- package/dist/staking/pools/getPool/index.js +5 -4
- package/dist/staking/pools/getPool/v0/getPool.d.ts +14 -32
- package/dist/staking/pools/getPool/v0/getPool.d.ts.map +1 -1
- package/dist/staking/pools/getPool/v0/getPool.js +20 -9
- package/dist/staking/pools/index.d.ts +10 -12
- package/dist/staking/pools/index.d.ts.map +1 -1
- package/dist/staking/pools/index.js +8 -9
- package/dist/staking/pools/searchPools/index.d.ts +7 -10
- package/dist/staking/pools/searchPools/index.d.ts.map +1 -1
- package/dist/staking/pools/searchPools/index.js +5 -4
- package/dist/staking/pools/searchPools/v0/searchPools.d.ts +19 -52
- package/dist/staking/pools/searchPools/v0/searchPools.d.ts.map +1 -1
- package/dist/staking/pools/searchPools/v0/searchPools.js +11 -8
- package/dist/staking/roles/common/role.d.ts +4 -10
- package/dist/staking/roles/common/role.d.ts.map +1 -1
- package/dist/staking/roles/common/role.js +2 -4
- package/dist/staking/roles/common/roleAssignment.d.ts +9 -25
- package/dist/staking/roles/common/roleAssignment.d.ts.map +1 -1
- package/dist/staking/roles/common/roleAssignment.js +5 -7
- package/dist/staking/roles/common/roleEvent.d.ts +8 -26
- package/dist/staking/roles/common/roleEvent.d.ts.map +1 -1
- package/dist/staking/roles/common/roleEvent.js +3 -5
- package/dist/staking/roles/getRoles/index.d.ts +3 -6
- package/dist/staking/roles/getRoles/index.d.ts.map +1 -1
- package/dist/staking/roles/getRoles/index.js +5 -4
- package/dist/staking/roles/getRoles/v0/getRoles.d.ts +22 -28
- package/dist/staking/roles/getRoles/v0/getRoles.d.ts.map +1 -1
- package/dist/staking/roles/getRoles/v0/getRoles.js +9 -6
- package/dist/staking/roles/grantRole/index.d.ts +7 -10
- package/dist/staking/roles/grantRole/index.d.ts.map +1 -1
- package/dist/staking/roles/grantRole/index.js +5 -4
- package/dist/staking/roles/grantRole/v0/grantRole.d.ts +23 -60
- package/dist/staking/roles/grantRole/v0/grantRole.d.ts.map +1 -1
- package/dist/staking/roles/grantRole/v0/grantRole.js +9 -6
- package/dist/staking/roles/index.d.ts +25 -27
- package/dist/staking/roles/index.d.ts.map +1 -1
- package/dist/staking/roles/index.js +12 -13
- package/dist/staking/roles/searchRoleEvents/index.d.ts +9 -12
- package/dist/staking/roles/searchRoleEvents/index.d.ts.map +1 -1
- package/dist/staking/roles/searchRoleEvents/index.js +5 -4
- package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts +21 -60
- package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts.map +1 -1
- package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.js +11 -8
- package/dist/staking/roles/searchRoles/index.d.ts +9 -12
- package/dist/staking/roles/searchRoles/index.d.ts.map +1 -1
- package/dist/staking/roles/searchRoles/index.js +5 -4
- package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts +21 -60
- package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts.map +1 -1
- package/dist/staking/roles/searchRoles/v0/searchRoles.js +17 -11
- package/dist/staking/stakes/common/stake.d.ts +14 -40
- package/dist/staking/stakes/common/stake.d.ts.map +1 -1
- package/dist/staking/stakes/common/stake.js +18 -20
- package/dist/staking/stakes/common/stakeEvent.d.ts +9 -27
- package/dist/staking/stakes/common/stakeEvent.d.ts.map +1 -1
- package/dist/staking/stakes/common/stakeEvent.js +4 -6
- package/dist/staking/stakes/getStake/index.d.ts +4 -7
- package/dist/staking/stakes/getStake/index.d.ts.map +1 -1
- package/dist/staking/stakes/getStake/index.js +5 -4
- package/dist/staking/stakes/getStake/v0/getStake.d.ts +14 -32
- package/dist/staking/stakes/getStake/v0/getStake.d.ts.map +1 -1
- package/dist/staking/stakes/getStake/v0/getStake.js +19 -9
- package/dist/staking/stakes/index.d.ts +20 -22
- package/dist/staking/stakes/index.d.ts.map +1 -1
- package/dist/staking/stakes/index.js +10 -11
- package/dist/staking/stakes/searchStakeEvents/index.d.ts +9 -12
- package/dist/staking/stakes/searchStakeEvents/index.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakeEvents/index.js +5 -4
- package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts +21 -60
- package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.js +13 -9
- package/dist/staking/stakes/searchStakes/index.d.ts +9 -12
- package/dist/staking/stakes/searchStakes/index.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakes/index.js +5 -4
- package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts +21 -60
- package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakes/v0/searchStakes.js +13 -27
- package/dist/staking-templates/index.d.ts +100 -100
- package/dist/staking-templates/index.js +1 -1
- package/dist/staking-templates/templates/common/amount.d.ts +5 -11
- package/dist/staking-templates/templates/common/amount.d.ts.map +1 -1
- package/dist/staking-templates/templates/common/amount.js +6 -8
- package/dist/staking-templates/templates/common/amountMult.d.ts +2 -2
- package/dist/staking-templates/templates/common/amountMult.d.ts.map +1 -1
- package/dist/staking-templates/templates/common/amountMult.js +3 -4
- package/dist/staking-templates/templates/common/erc20Input.d.ts +4 -10
- package/dist/staking-templates/templates/common/erc20Input.d.ts.map +1 -1
- package/dist/staking-templates/templates/common/erc20Input.js +4 -6
- package/dist/staking-templates/templates/common/erc20Reward.d.ts +4 -10
- package/dist/staking-templates/templates/common/erc20Reward.d.ts.map +1 -1
- package/dist/staking-templates/templates/common/erc20Reward.js +4 -7
- package/dist/staking-templates/templates/common/getCreatePoolEvent.d.ts +2 -2
- package/dist/staking-templates/templates/common/getCreatePoolEvent.d.ts.map +1 -1
- package/dist/staking-templates/templates/common/getCreatePoolEvent.js +3 -3
- package/dist/staking-templates/templates/common/getPlatformDeployEvent.d.ts +2 -2
- package/dist/staking-templates/templates/common/getPlatformDeployEvent.js +4 -4
- package/dist/staking-templates/templates/common/getReward.d.ts +10 -10
- package/dist/staking-templates/templates/common/getReward.d.ts.map +1 -1
- package/dist/staking-templates/templates/common/getReward.js +2 -2
- package/dist/staking-templates/templates/common/getStakeEvent.d.ts +3 -3
- package/dist/staking-templates/templates/common/getStakeEvent.d.ts.map +1 -1
- package/dist/staking-templates/templates/common/getStakeEvent.js +4 -4
- package/dist/staking-templates/templates/common/lock.d.ts +4 -10
- package/dist/staking-templates/templates/common/lock.d.ts.map +1 -1
- package/dist/staking-templates/templates/common/lock.js +5 -7
- package/dist/staking-templates/templates/common/lockMult.d.ts +2 -2
- package/dist/staking-templates/templates/common/lockMult.d.ts.map +1 -1
- package/dist/staking-templates/templates/common/lockMult.js +3 -4
- package/dist/staking-templates/templates/common/partialUnstake.d.ts +12 -12
- package/dist/staking-templates/templates/common/partialUnstake.d.ts.map +1 -1
- package/dist/staking-templates/templates/common/partialUnstake.js +4 -4
- package/dist/staking-templates/templates/common/rewardDistribution.d.ts +5 -11
- package/dist/staking-templates/templates/common/rewardDistribution.d.ts.map +1 -1
- package/dist/staking-templates/templates/common/rewardDistribution.js +5 -8
- package/dist/staking-templates/templates/common/time.d.ts +1 -1
- package/dist/staking-templates/templates/common/time.d.ts.map +1 -1
- package/dist/staking-templates/templates/common/time.js +2 -2
- package/dist/staking-templates/templates/common/unstake.d.ts +10 -10
- package/dist/staking-templates/templates/common/unstake.d.ts.map +1 -1
- package/dist/staking-templates/templates/common/unstake.js +2 -2
- package/dist/staking-templates/templates/reputation/index.d.ts +30 -30
- package/dist/staking-templates/templates/reputation/v0/createPlatform.d.ts +11 -11
- package/dist/staking-templates/templates/reputation/v0/createPlatform.js +3 -3
- package/dist/staking-templates/templates/reputation/v0/createPool.d.ts +24 -24
- package/dist/staking-templates/templates/reputation/v0/createPool.d.ts.map +1 -1
- package/dist/staking-templates/templates/reputation/v0/createPool.js +6 -6
- package/dist/staking-templates/templates/reputation/v0/index.d.ts +30 -30
- package/dist/staking-templates/templates/reputation/v0/index.js +5 -5
- package/dist/staking-templates/templates/reputation/v0/restake.d.ts +11 -11
- package/dist/staking-templates/templates/reputation/v0/restake.js +4 -4
- package/dist/staking-templates/templates/reputation/v0/stake.d.ts +12 -12
- package/dist/staking-templates/templates/reputation/v0/stake.d.ts.map +1 -1
- package/dist/staking-templates/templates/reputation/v0/stake.js +5 -5
- package/dist/staking-templates/templates/reputationLock/index.d.ts +37 -37
- package/dist/staking-templates/templates/reputationLock/v0/createPlatform.d.ts +11 -11
- package/dist/staking-templates/templates/reputationLock/v0/createPlatform.js +3 -3
- package/dist/staking-templates/templates/reputationLock/v0/createPool.d.ts +36 -36
- package/dist/staking-templates/templates/reputationLock/v0/createPool.d.ts.map +1 -1
- package/dist/staking-templates/templates/reputationLock/v0/createPool.js +7 -7
- package/dist/staking-templates/templates/reputationLock/v0/index.d.ts +37 -37
- package/dist/staking-templates/templates/reputationLock/v0/index.js +5 -5
- package/dist/staking-templates/templates/reputationLock/v0/restake.d.ts +13 -13
- package/dist/staking-templates/templates/reputationLock/v0/restake.js +5 -5
- package/dist/staking-templates/templates/reputationLock/v0/stake.d.ts +14 -14
- package/dist/staking-templates/templates/reputationLock/v0/stake.d.ts.map +1 -1
- package/dist/staking-templates/templates/reputationLock/v0/stake.js +5 -5
- package/dist/staking-templates/templates/rwa/index.d.ts +33 -33
- package/dist/staking-templates/templates/rwa/v0/createPlatform.d.ts +11 -11
- package/dist/staking-templates/templates/rwa/v0/createPlatform.js +3 -3
- package/dist/staking-templates/templates/rwa/v0/createPool.d.ts +20 -20
- package/dist/staking-templates/templates/rwa/v0/createPool.d.ts.map +1 -1
- package/dist/staking-templates/templates/rwa/v0/createPool.js +4 -4
- package/dist/staking-templates/templates/rwa/v0/distributeRewards.d.ts +12 -12
- package/dist/staking-templates/templates/rwa/v0/distributeRewards.d.ts.map +1 -1
- package/dist/staking-templates/templates/rwa/v0/distributeRewards.js +4 -4
- package/dist/staking-templates/templates/rwa/v0/index.d.ts +33 -33
- package/dist/staking-templates/templates/rwa/v0/index.js +5 -5
- package/dist/staking-templates/templates/rwa/v0/restake.d.ts +11 -11
- package/dist/staking-templates/templates/rwa/v0/restake.js +4 -4
- package/dist/staking-templates/templates/rwa/v0/stake.d.ts +12 -12
- package/dist/staking-templates/templates/rwa/v0/stake.d.ts.map +1 -1
- package/dist/staking-templates/templates/rwa/v0/stake.js +5 -5
- package/dist/stakingTemplates/index.d.ts +723 -0
- package/dist/stakingTemplates/index.d.ts.map +1 -0
- package/dist/stakingTemplates/index.js +13 -0
- package/dist/stakingTemplates/templates/common/amount.d.ts +7 -0
- package/dist/stakingTemplates/templates/common/amount.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/common/amount.js +15 -0
- package/dist/stakingTemplates/templates/common/amountMult.d.ts +3 -0
- package/dist/stakingTemplates/templates/common/amountMult.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/common/amountMult.js +24 -0
- package/dist/stakingTemplates/templates/common/erc20Input.d.ts +6 -0
- package/dist/stakingTemplates/templates/common/erc20Input.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/common/erc20Input.js +16 -0
- package/dist/stakingTemplates/templates/common/erc20Reward.d.ts +6 -0
- package/dist/stakingTemplates/templates/common/erc20Reward.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/common/erc20Reward.js +15 -0
- package/dist/stakingTemplates/templates/common/getCreatePoolEvent.d.ts +17 -0
- package/dist/stakingTemplates/templates/common/getCreatePoolEvent.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/common/getCreatePoolEvent.js +51 -0
- package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.d.ts +20 -0
- package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.js +49 -0
- package/dist/stakingTemplates/templates/common/getReward.d.ts +26 -0
- package/dist/stakingTemplates/templates/common/getReward.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/common/getReward.js +37 -0
- package/dist/stakingTemplates/templates/common/getStakeEvent.d.ts +17 -0
- package/dist/stakingTemplates/templates/common/getStakeEvent.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/common/getStakeEvent.js +55 -0
- package/dist/stakingTemplates/templates/common/lock.d.ts +6 -0
- package/dist/stakingTemplates/templates/common/lock.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/common/lock.js +18 -0
- package/dist/stakingTemplates/templates/common/lockMult.d.ts +3 -0
- package/dist/stakingTemplates/templates/common/lockMult.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/common/lockMult.js +16 -0
- package/dist/stakingTemplates/templates/common/partialUnstake.d.ts +27 -0
- package/dist/stakingTemplates/templates/common/partialUnstake.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/common/partialUnstake.js +42 -0
- package/dist/stakingTemplates/templates/common/rewardDistribution.d.ts +7 -0
- package/dist/stakingTemplates/templates/common/rewardDistribution.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/common/rewardDistribution.js +16 -0
- package/dist/stakingTemplates/templates/common/templates.d.ts +61 -0
- package/dist/stakingTemplates/templates/common/templates.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/common/templates.js +8 -0
- package/dist/stakingTemplates/templates/common/time.d.ts +2 -0
- package/dist/stakingTemplates/templates/common/time.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/common/time.js +4 -0
- package/dist/stakingTemplates/templates/common/unstake.d.ts +26 -0
- package/dist/stakingTemplates/templates/common/unstake.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/common/unstake.js +37 -0
- package/dist/stakingTemplates/templates/reputation/common.d.ts +23 -0
- package/dist/stakingTemplates/templates/reputation/common.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputation/common.js +3 -0
- package/dist/stakingTemplates/templates/reputation/index.d.ts +231 -0
- package/dist/stakingTemplates/templates/reputation/index.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputation/index.js +5 -0
- package/dist/stakingTemplates/templates/reputation/v0/createPlatform.d.ts +31 -0
- package/dist/stakingTemplates/templates/reputation/v0/createPlatform.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputation/v0/createPlatform.js +57 -0
- package/dist/stakingTemplates/templates/reputation/v0/createPool.d.ts +39 -0
- package/dist/stakingTemplates/templates/reputation/v0/createPool.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputation/v0/createPool.js +86 -0
- package/dist/stakingTemplates/templates/reputation/v0/index.d.ts +231 -0
- package/dist/stakingTemplates/templates/reputation/v0/index.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputation/v0/index.js +26 -0
- package/dist/stakingTemplates/templates/reputation/v0/restake.d.ts +26 -0
- package/dist/stakingTemplates/templates/reputation/v0/restake.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputation/v0/restake.js +41 -0
- package/dist/stakingTemplates/templates/reputation/v0/stake.d.ts +26 -0
- package/dist/stakingTemplates/templates/reputation/v0/stake.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputation/v0/stake.js +46 -0
- package/dist/stakingTemplates/templates/reputationLock/common.d.ts +23 -0
- package/dist/stakingTemplates/templates/reputationLock/common.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputationLock/common.js +3 -0
- package/dist/stakingTemplates/templates/reputationLock/index.d.ts +242 -0
- package/dist/stakingTemplates/templates/reputationLock/index.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputationLock/index.js +5 -0
- package/dist/stakingTemplates/templates/reputationLock/v0/createPlatform.d.ts +31 -0
- package/dist/stakingTemplates/templates/reputationLock/v0/createPlatform.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputationLock/v0/createPlatform.js +57 -0
- package/dist/stakingTemplates/templates/reputationLock/v0/createPool.d.ts +48 -0
- package/dist/stakingTemplates/templates/reputationLock/v0/createPool.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputationLock/v0/createPool.js +100 -0
- package/dist/stakingTemplates/templates/reputationLock/v0/index.d.ts +242 -0
- package/dist/stakingTemplates/templates/reputationLock/v0/index.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputationLock/v0/index.js +26 -0
- package/dist/stakingTemplates/templates/reputationLock/v0/restake.d.ts +27 -0
- package/dist/stakingTemplates/templates/reputationLock/v0/restake.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputationLock/v0/restake.js +45 -0
- package/dist/stakingTemplates/templates/reputationLock/v0/stake.d.ts +27 -0
- package/dist/stakingTemplates/templates/reputationLock/v0/stake.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/reputationLock/v0/stake.js +47 -0
- package/dist/stakingTemplates/templates/rwa/common.d.ts +23 -0
- package/dist/stakingTemplates/templates/rwa/common.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/rwa/common.js +3 -0
- package/dist/stakingTemplates/templates/rwa/index.d.ts +254 -0
- package/dist/stakingTemplates/templates/rwa/index.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/rwa/index.js +5 -0
- package/dist/stakingTemplates/templates/rwa/v0/createPlatform.d.ts +31 -0
- package/dist/stakingTemplates/templates/rwa/v0/createPlatform.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/rwa/v0/createPlatform.js +57 -0
- package/dist/stakingTemplates/templates/rwa/v0/createPool.d.ts +38 -0
- package/dist/stakingTemplates/templates/rwa/v0/createPool.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/rwa/v0/createPool.js +80 -0
- package/dist/stakingTemplates/templates/rwa/v0/distributeRewards.d.ts +26 -0
- package/dist/stakingTemplates/templates/rwa/v0/distributeRewards.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/rwa/v0/distributeRewards.js +42 -0
- package/dist/stakingTemplates/templates/rwa/v0/index.d.ts +254 -0
- package/dist/stakingTemplates/templates/rwa/v0/index.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/rwa/v0/index.js +28 -0
- package/dist/stakingTemplates/templates/rwa/v0/restake.d.ts +26 -0
- package/dist/stakingTemplates/templates/rwa/v0/restake.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/rwa/v0/restake.js +41 -0
- package/dist/stakingTemplates/templates/rwa/v0/stake.d.ts +26 -0
- package/dist/stakingTemplates/templates/rwa/v0/stake.d.ts.map +1 -0
- package/dist/stakingTemplates/templates/rwa/v0/stake.js +46 -0
- package/dist/v0/fractions/index.d.ts +76 -15
- package/dist/v0/fractions/index.d.ts.map +1 -1
- package/dist/v0/fractions/networkStatistics.route.d.ts +208 -87
- package/dist/v0/fractions/networkStatistics.route.d.ts.map +1 -1
- package/dist/v0/fractions/networkStatistics.route.js +99 -228
- package/dist/v1/fractions/lending/buyback/buyback.routes.d.ts +17 -17
- package/dist/v1/fractions/lending/buyback/buyback.routes.js +2 -2
- package/dist/v1/fractions/lending/buyback/buyback.schema.d.ts +5 -16
- package/dist/v1/fractions/lending/buyback/buyback.schema.d.ts.map +1 -1
- package/dist/v1/fractions/lending/buyback/buyback.schema.js +5 -4
- package/dist/v1/fractions/lending/createLendingSale.d.ts +124 -406
- package/dist/v1/fractions/lending/createLendingSale.d.ts.map +1 -1
- package/dist/v1/fractions/lending/createLendingSale.js +20 -22
- package/dist/v1/fractions/lending/deployMarket/lending.routes.d.ts +37 -41
- package/dist/v1/fractions/lending/deployMarket/lending.routes.d.ts.map +1 -1
- package/dist/v1/fractions/lending/deployMarket/lending.routes.js +13 -7
- package/dist/v1/fractions/lending/index.d.ts +55 -72
- package/dist/v1/fractions/lending/index.d.ts.map +1 -1
- package/dist/v1/fractions/lending/index.js +2 -2
- package/dist/v1/fractions/lending/purchase/directPurchase.route.d.ts +23 -34
- package/dist/v1/fractions/lending/purchase/directPurchase.route.d.ts.map +1 -1
- package/dist/v1/fractions/lending/purchase/directPurchase.route.js +9 -12
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts +13 -13
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.js +2 -2
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts +4 -13
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts.map +1 -1
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.js +3 -2
- package/dist/v1/fractions/schemas.d.ts +14 -102
- package/dist/v1/fractions/schemas.d.ts.map +1 -1
- package/dist/v1/fractions/schemas.js +13 -28
- package/package.json +23 -19
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../../src/common/roles/exports.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { IAppConfig } from "./common/config.js";
|
|
2
|
+
import type { AppContext } from "./common/context.js";
|
|
3
|
+
export declare function createRoot(config?: IAppConfig): {
|
|
4
|
+
factory: import("hono/factory").Factory<AppContext, string>;
|
|
5
|
+
app: import("hono/hono-base").HonoBase<AppContext, {
|
|
6
|
+
"/*": {};
|
|
7
|
+
}, "/">;
|
|
8
|
+
};
|
|
9
|
+
export type IRoot = ReturnType<typeof createRoot>;
|
|
10
|
+
export type IFactory = IRoot["factory"];
|
|
11
|
+
//# sourceMappingURL=factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../src/factory.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGtD,wBAAgB,UAAU,CAAC,MAAM,CAAC,EAAE,UAAU;;;;;EAI7C;AAED,MAAM,MAAM,KAAK,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAClD,MAAM,MAAM,QAAQ,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC"}
|
package/dist/factory.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Hono } from "hono";
|
|
2
|
+
import { cors } from "hono/cors";
|
|
3
|
+
import { createFactory } from "hono/factory";
|
|
4
|
+
import { logger } from "hono/logger";
|
|
5
|
+
import { injectIndexerClient } from "./common/middleware/indexer.js";
|
|
6
|
+
export function createRoot(config) {
|
|
7
|
+
const app = withMiddlewares(new Hono(), config);
|
|
8
|
+
const factory = createFactory();
|
|
9
|
+
return { factory, app };
|
|
10
|
+
}
|
|
11
|
+
function withMiddlewares(app, config) {
|
|
12
|
+
if (config) {
|
|
13
|
+
app.use(async (c, next) => {
|
|
14
|
+
c.env = { config };
|
|
15
|
+
await next();
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
return app.use("/*", cors()).use("/*", logger()).use("/*", injectIndexerClient());
|
|
19
|
+
}
|
|
@@ -2,7 +2,7 @@ import { Factory } from "hono/factory";
|
|
|
2
2
|
import { FractionSaleEventEnum } from "@evergonlabs/tmi-protocol-indexer/schema";
|
|
3
3
|
import { AppContext } from "../../common/context.js";
|
|
4
4
|
export declare function createSearchActivityV0App(factory: Factory<AppContext>): [import("hono/types").H<any, string, {}, Promise<Response & import("hono").TypedResponse<{
|
|
5
|
-
chainId:
|
|
5
|
+
chainId: 1 | 31337 | 11155111 | 72080;
|
|
6
6
|
createdAt: string;
|
|
7
7
|
updatedAt: string;
|
|
8
8
|
campaignId: string;
|
|
@@ -50,7 +50,7 @@ export declare function createSearchActivityV0App(factory: Factory<AppContext>):
|
|
|
50
50
|
in: {
|
|
51
51
|
json: {
|
|
52
52
|
filter: {
|
|
53
|
-
chainId?:
|
|
53
|
+
chainId?: 1 | 31337 | 11155111 | "31337" | "11155111" | "1" | 72080 | "72080" | undefined;
|
|
54
54
|
campaignId?: string | number | bigint | undefined;
|
|
55
55
|
platform?: `0x${string}` | undefined;
|
|
56
56
|
operationType?: FractionSaleEventEnum | undefined;
|
|
@@ -64,7 +64,7 @@ export declare function createSearchActivityV0App(factory: Factory<AppContext>):
|
|
|
64
64
|
out: {
|
|
65
65
|
json: {
|
|
66
66
|
filter: {
|
|
67
|
-
chainId?:
|
|
67
|
+
chainId?: 1 | 31337 | 11155111 | 72080 | undefined;
|
|
68
68
|
campaignId?: bigint | undefined;
|
|
69
69
|
platform?: `0x${string}` | undefined;
|
|
70
70
|
operationType?: FractionSaleEventEnum | undefined;
|
|
@@ -76,7 +76,7 @@ export declare function createSearchActivityV0App(factory: Factory<AppContext>):
|
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
78
|
}, Promise<Response & import("hono").TypedResponse<{
|
|
79
|
-
chainId:
|
|
79
|
+
chainId: 1 | 31337 | 11155111 | 72080;
|
|
80
80
|
createdAt: string;
|
|
81
81
|
updatedAt: string;
|
|
82
82
|
campaignId: string;
|
|
@@ -124,7 +124,7 @@ export declare function createSearchActivityV0App(factory: Factory<AppContext>):
|
|
|
124
124
|
in: {
|
|
125
125
|
json: {
|
|
126
126
|
filter: {
|
|
127
|
-
chainId?:
|
|
127
|
+
chainId?: 1 | 31337 | 11155111 | "31337" | "11155111" | "1" | 72080 | "72080" | undefined;
|
|
128
128
|
campaignId?: string | number | bigint | undefined;
|
|
129
129
|
platform?: `0x${string}` | undefined;
|
|
130
130
|
operationType?: FractionSaleEventEnum | undefined;
|
|
@@ -138,7 +138,7 @@ export declare function createSearchActivityV0App(factory: Factory<AppContext>):
|
|
|
138
138
|
out: {
|
|
139
139
|
json: {
|
|
140
140
|
filter: {
|
|
141
|
-
chainId?:
|
|
141
|
+
chainId?: 1 | 31337 | 11155111 | 72080 | undefined;
|
|
142
142
|
campaignId?: bigint | undefined;
|
|
143
143
|
platform?: `0x${string}` | undefined;
|
|
144
144
|
operationType?: FractionSaleEventEnum | undefined;
|
|
@@ -150,7 +150,7 @@ export declare function createSearchActivityV0App(factory: Factory<AppContext>):
|
|
|
150
150
|
};
|
|
151
151
|
};
|
|
152
152
|
}, Promise<Response & import("hono").TypedResponse<{
|
|
153
|
-
chainId:
|
|
153
|
+
chainId: 1 | 31337 | 11155111 | 72080;
|
|
154
154
|
createdAt: string;
|
|
155
155
|
updatedAt: string;
|
|
156
156
|
campaignId: string;
|
|
@@ -5,7 +5,7 @@ import { z } from "../../common/zod.js";
|
|
|
5
5
|
import { indexerSchemas } from "../../common/indexer/schemas.js";
|
|
6
6
|
import { PageSchema } from "../../common/models/page.js";
|
|
7
7
|
import { FractionSaleEventEnum } from "@evergonlabs/tmi-protocol-indexer/schema";
|
|
8
|
-
import { PlatformContractAddress, CampaignIdSchema,
|
|
8
|
+
import { PlatformContractAddress, CampaignIdSchema, FractionsChainId } from "../../common/index.js";
|
|
9
9
|
import { FractionActivityEntrySchema } from "./utils.js";
|
|
10
10
|
export function createSearchActivityV0App(factory) {
|
|
11
11
|
return factory.createHandlers(describeRoute({
|
|
@@ -25,7 +25,7 @@ export function createSearchActivityV0App(factory) {
|
|
|
25
25
|
}), validator("json", z.object({
|
|
26
26
|
page: PageSchema,
|
|
27
27
|
filter: z.object({
|
|
28
|
-
chainId:
|
|
28
|
+
chainId: FractionsChainId.optional(),
|
|
29
29
|
platform: PlatformContractAddress.optional(),
|
|
30
30
|
campaignId: CampaignIdSchema.optional(),
|
|
31
31
|
operationType: z.nativeEnum(FractionSaleEventEnum).optional(),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { FractionSaleEventEnum, FractionSaleStatusEnum } from "@evergonlabs/tmi-protocol-indexer/schema";
|
|
3
3
|
export declare const FractionActivityEntrySchema: z.ZodObject<{
|
|
4
|
-
chainId: z.ZodType<
|
|
4
|
+
chainId: z.ZodPipeline<z.ZodEffects<z.ZodType<1 | 31337 | 11155111 | "31337" | "11155111" | "1" | 72080 | "72080", z.ZodTypeDef, 1 | 31337 | 11155111 | "31337" | "11155111" | "1" | 72080 | "72080">, 1 | 31337 | 11155111 | 72080, 1 | 31337 | 11155111 | "31337" | "11155111" | "1" | 72080 | "72080">, z.ZodType<1 | 31337 | 11155111 | 72080, z.ZodTypeDef, 1 | 31337 | 11155111 | 72080>>;
|
|
5
5
|
platform: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
|
|
6
6
|
campaignId: z.ZodString;
|
|
7
7
|
transactionHash: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
|
|
@@ -135,7 +135,7 @@ export declare const FractionActivityEntrySchema: z.ZodObject<{
|
|
|
135
135
|
receiver: string;
|
|
136
136
|
}>]>;
|
|
137
137
|
}, "strip", z.ZodTypeAny, {
|
|
138
|
-
chainId:
|
|
138
|
+
chainId: 1 | 31337 | 11155111 | 72080;
|
|
139
139
|
createdAt: Date;
|
|
140
140
|
updatedAt: Date;
|
|
141
141
|
campaignId: string;
|
|
@@ -180,7 +180,7 @@ export declare const FractionActivityEntrySchema: z.ZodObject<{
|
|
|
180
180
|
};
|
|
181
181
|
platform: `0x${string}`;
|
|
182
182
|
}, {
|
|
183
|
-
chainId:
|
|
183
|
+
chainId: 1 | 31337 | 11155111 | "31337" | "11155111" | "1" | 72080 | "72080";
|
|
184
184
|
createdAt: Date;
|
|
185
185
|
updatedAt: Date;
|
|
186
186
|
campaignId: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { AddressSchema, TransactionHashSchema } from "@evergonlabs/tmi-utils/models";
|
|
3
3
|
import { FractionSaleEventEnum, FractionSaleStatusEnum } from "@evergonlabs/tmi-protocol-indexer/schema";
|
|
4
|
-
import { PlatformContractAddress,
|
|
4
|
+
import { PlatformContractAddress, FractionsChainId } from "../../common/index.js";
|
|
5
5
|
const baseSchema = z.object({
|
|
6
|
-
chainId:
|
|
6
|
+
chainId: FractionsChainId,
|
|
7
7
|
platform: PlatformContractAddress,
|
|
8
8
|
campaignId: z.coerce.string(),
|
|
9
9
|
transactionHash: TransactionHashSchema,
|
|
@@ -12,7 +12,7 @@ export declare function createFractionsTransactionV0<E extends Env>(factory: Fac
|
|
|
12
12
|
}, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<Env, string, {
|
|
13
13
|
in: {
|
|
14
14
|
json: {
|
|
15
|
-
chainId:
|
|
15
|
+
chainId: 1 | 31337 | 11155111 | "31337" | "11155111" | "1" | 72080 | "72080";
|
|
16
16
|
fractions: {
|
|
17
17
|
symbol: string;
|
|
18
18
|
name: string;
|
|
@@ -80,7 +80,7 @@ export declare function createFractionsTransactionV0<E extends Env>(factory: Fac
|
|
|
80
80
|
};
|
|
81
81
|
out: {
|
|
82
82
|
json: {
|
|
83
|
-
chainId:
|
|
83
|
+
chainId: 1 | 31337 | 11155111 | 72080;
|
|
84
84
|
fractions: {
|
|
85
85
|
symbol: string;
|
|
86
86
|
name: string;
|
|
@@ -158,7 +158,7 @@ export declare function createFractionsTransactionV0<E extends Env>(factory: Fac
|
|
|
158
158
|
}, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
|
|
159
159
|
in: {
|
|
160
160
|
json: {
|
|
161
|
-
chainId:
|
|
161
|
+
chainId: 1 | 31337 | 11155111 | "31337" | "11155111" | "1" | 72080 | "72080";
|
|
162
162
|
fractions: {
|
|
163
163
|
symbol: string;
|
|
164
164
|
name: string;
|
|
@@ -226,7 +226,7 @@ export declare function createFractionsTransactionV0<E extends Env>(factory: Fac
|
|
|
226
226
|
};
|
|
227
227
|
out: {
|
|
228
228
|
json: {
|
|
229
|
-
chainId:
|
|
229
|
+
chainId: 1 | 31337 | 11155111 | 72080;
|
|
230
230
|
fractions: {
|
|
231
231
|
symbol: string;
|
|
232
232
|
name: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createFractions.route.d.ts","sourceRoot":"","sources":["../../../../src/fractions/createFractions/v0/createFractions.route.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"createFractions.route.d.ts","sourceRoot":"","sources":["../../../../src/fractions/createFractions/v0/createFractions.route.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAqBvC,wBAAgB,4BAA4B,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEA+C9E"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { describeRoute } from "hono-openapi";
|
|
2
|
-
import { CreateFractionsRequestSchema } from "./createFractions.schema.js";
|
|
2
|
+
import { CreateFractionsRequestSchema, createWrapped } from "./createFractions.schema.js";
|
|
3
3
|
import { resolver, validator } from "hono-openapi/zod";
|
|
4
|
-
import { buildCreateFractionsTx
|
|
4
|
+
import { buildCreateFractionsTx } from "@evergonlabs/tmi-protocol-fractions-sdk";
|
|
5
5
|
import { toTransaction, TransactionSchema } from "../../../common/index.js";
|
|
6
6
|
const route = describeRoute({
|
|
7
7
|
summary: "Create fractions",
|
|
@@ -21,20 +21,7 @@ const route = describeRoute({
|
|
|
21
21
|
export function createFractionsTransactionV0(factory) {
|
|
22
22
|
return factory.createHandlers(route, validator("json", CreateFractionsRequestSchema.openapi({ ref: "CreateFractionsRequestSchema" })), async (c) => {
|
|
23
23
|
const { chainId, market, wrapped, funding, fractions, timeBoundary, cap, vesting, amountOfPacketsPerFraction, refundAddress, discounts, } = c.req.valid("json");
|
|
24
|
-
const wrappedTokens = wrapped.map(
|
|
25
|
-
if (token.type === "ERC20") {
|
|
26
|
-
return new WrappedERC20(token.address, token.values[0]);
|
|
27
|
-
}
|
|
28
|
-
else if (token.type === "ERC721") {
|
|
29
|
-
return new WrappedERC721(token.address, token.tokenIds);
|
|
30
|
-
}
|
|
31
|
-
else if (token.type === "ERC1155") {
|
|
32
|
-
return new WrappedERC1155(token.address, token.tokenIds, token.values);
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
throw new Error(`Unsupported token type: ${JSON.stringify(token)}`);
|
|
36
|
-
}
|
|
37
|
-
});
|
|
24
|
+
const wrappedTokens = wrapped.map(createWrapped);
|
|
38
25
|
const fractionsConfig = {
|
|
39
26
|
chainId: chainId,
|
|
40
27
|
market: market,
|
|
@@ -160,7 +160,7 @@ export declare const VestingSchema: z.ZodObject<{
|
|
|
160
160
|
cliff: Date;
|
|
161
161
|
}>;
|
|
162
162
|
export declare const CreateFractionsRequestSchema: z.ZodObject<{
|
|
163
|
-
chainId: z.ZodType<
|
|
163
|
+
chainId: z.ZodPipeline<z.ZodEffects<z.ZodType<1 | 31337 | 11155111 | "31337" | "11155111" | "1" | 72080 | "72080", z.ZodTypeDef, 1 | 31337 | 11155111 | "31337" | "11155111" | "1" | 72080 | "72080">, 1 | 31337 | 11155111 | 72080, 1 | 31337 | 11155111 | "31337" | "11155111" | "1" | 72080 | "72080">, z.ZodType<1 | 31337 | 11155111 | 72080, z.ZodTypeDef, 1 | 31337 | 11155111 | 72080>>;
|
|
164
164
|
market: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
|
|
165
165
|
fractions: z.ZodObject<{
|
|
166
166
|
token: z.ZodOptional<z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
@@ -283,7 +283,7 @@ export declare const CreateFractionsRequestSchema: z.ZodObject<{
|
|
|
283
283
|
refundAddress: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
|
|
284
284
|
amountOfPacketsPerFraction: z.ZodBigInt;
|
|
285
285
|
}, "strip", z.ZodTypeAny, {
|
|
286
|
-
chainId:
|
|
286
|
+
chainId: 1 | 31337 | 11155111 | 72080;
|
|
287
287
|
fractions: {
|
|
288
288
|
symbol: string;
|
|
289
289
|
name: string;
|
|
@@ -348,7 +348,7 @@ export declare const CreateFractionsRequestSchema: z.ZodObject<{
|
|
|
348
348
|
cliff: Date;
|
|
349
349
|
} | undefined;
|
|
350
350
|
}, {
|
|
351
|
-
chainId:
|
|
351
|
+
chainId: 1 | 31337 | 11155111 | "31337" | "11155111" | "1" | 72080 | "72080";
|
|
352
352
|
fractions: {
|
|
353
353
|
symbol: string;
|
|
354
354
|
name: string;
|
|
@@ -413,4 +413,15 @@ export declare const CreateFractionsRequestSchema: z.ZodObject<{
|
|
|
413
413
|
cliff: Date;
|
|
414
414
|
} | undefined;
|
|
415
415
|
}>;
|
|
416
|
+
export declare function createWrapped(token: z.infer<typeof WrappedTokenTypeSchema>): {
|
|
417
|
+
type: import("@evergonlabs/tmi-protocol-types/evm").TokenTypeEnum;
|
|
418
|
+
tokenAddress: `0x${string}`;
|
|
419
|
+
amount: bigint;
|
|
420
|
+
toParams: () => readonly [readonly [`0x${string}`], readonly [bigint], readonly [bigint], readonly [bigint]];
|
|
421
|
+
} | {
|
|
422
|
+
type: import("@evergonlabs/tmi-protocol-types/evm").TokenTypeEnum;
|
|
423
|
+
tokenAddress: `0x${string}`;
|
|
424
|
+
tokenIds: bigint[];
|
|
425
|
+
toParams: () => readonly [`0x${string}`[], bigint[], bigint[], bigint[]];
|
|
426
|
+
};
|
|
416
427
|
//# sourceMappingURL=createFractions.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createFractions.schema.d.ts","sourceRoot":"","sources":["../../../../src/fractions/createFractions/v0/createFractions.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"createFractions.schema.d.ts","sourceRoot":"","sources":["../../../../src/fractions/createFractions/v0/createFractions.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,kBAAkB;;;;;;;;;EAG7B,CAAC;AAGH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;EAK/B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;EAI3B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;EAI5B,CAAC;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;EAK7B,CAAC;AAGH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAqE,CAAC;AAGzG,eAAO,MAAM,aAAa;;;;;;;;;EAGxB,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;EAKzB,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAIhC,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;EAIxB,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYvC,CAAC;AAEH,wBAAgB,aAAa,CAAC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC;;;;;;;;;;EAS1E"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
import {
|
|
2
|
+
import { createWrappedErc20, createWrappedErc721, createWrappedErc1155 } from "@evergonlabs/tmi-protocol-fractions-sdk";
|
|
3
|
+
import { AddressSchema, FractionsChainId } from "../../../common/index.js";
|
|
3
4
|
import { PercentageSchema } from "../../../common/models/index.js";
|
|
4
5
|
// TimeBoundarySchema: Represents a time range with start and end dates
|
|
5
6
|
export const TimeBoundarySchema = z.object({
|
|
@@ -53,7 +54,7 @@ export const VestingSchema = z.object({
|
|
|
53
54
|
portionPeriod: z.number().positive(),
|
|
54
55
|
});
|
|
55
56
|
export const CreateFractionsRequestSchema = z.object({
|
|
56
|
-
chainId:
|
|
57
|
+
chainId: FractionsChainId,
|
|
57
58
|
market: AddressSchema,
|
|
58
59
|
fractions: FractionSchema,
|
|
59
60
|
timeBoundary: TimeBoundarySchema,
|
|
@@ -65,3 +66,13 @@ export const CreateFractionsRequestSchema = z.object({
|
|
|
65
66
|
refundAddress: AddressSchema,
|
|
66
67
|
amountOfPacketsPerFraction: z.coerce.bigint().positive(),
|
|
67
68
|
});
|
|
69
|
+
export function createWrapped(token) {
|
|
70
|
+
switch (token.type) {
|
|
71
|
+
case "ERC20":
|
|
72
|
+
return createWrappedErc20(token.address, token.values[0]);
|
|
73
|
+
case "ERC721":
|
|
74
|
+
return createWrappedErc721(token.address, token.tokenIds);
|
|
75
|
+
case "ERC1155":
|
|
76
|
+
return createWrappedErc1155(token.address, token.tokenIds, token.values);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -16,7 +16,7 @@ export declare function createGetFractionsCreatedEventRoute<E extends Env>(facto
|
|
|
16
16
|
};
|
|
17
17
|
out: {
|
|
18
18
|
query: {
|
|
19
|
-
chainId:
|
|
19
|
+
chainId: 1 | 31337 | 11155111 | 72080;
|
|
20
20
|
hash: `0x${string}`;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
@@ -36,7 +36,7 @@ export declare function createGetFractionsCreatedEventRoute<E extends Env>(facto
|
|
|
36
36
|
};
|
|
37
37
|
out: {
|
|
38
38
|
query: {
|
|
39
|
-
chainId:
|
|
39
|
+
chainId: 1 | 31337 | 11155111 | 72080;
|
|
40
40
|
hash: `0x${string}`;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { Address } from "viem";
|
|
1
3
|
import { DiscountConfigSchema } from "./deployMarket.schema.js";
|
|
2
4
|
import { Env } from "hono";
|
|
3
5
|
import { Factory } from "hono/factory";
|
|
4
|
-
import { z } from "zod";
|
|
5
|
-
import { Address } from "viem";
|
|
6
6
|
export declare function createDeployMarketTransactionV0<E extends Env>(factory: Factory<E>): [import("hono/types").H<any, string, {}, Promise<Response & import("hono").TypedResponse<{
|
|
7
7
|
data: `0x${string}`;
|
|
8
8
|
to: `0x${string}`;
|
|
@@ -15,8 +15,9 @@ export declare function createDeployMarketTransactionV0<E extends Env>(factory:
|
|
|
15
15
|
}, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<Env, string, {
|
|
16
16
|
in: {
|
|
17
17
|
json: {
|
|
18
|
-
chainId:
|
|
18
|
+
chainId: 1 | 31337 | 11155111 | "31337" | "11155111" | "1" | 72080 | "72080";
|
|
19
19
|
adminAddress: `0x${string}`;
|
|
20
|
+
ownerAddress?: `0x${string}` | undefined;
|
|
20
21
|
discount?: {
|
|
21
22
|
burnForDiscount: {
|
|
22
23
|
burnableTokenAddress: `0x${string}`;
|
|
@@ -29,8 +30,9 @@ export declare function createDeployMarketTransactionV0<E extends Env>(factory:
|
|
|
29
30
|
};
|
|
30
31
|
out: {
|
|
31
32
|
json: {
|
|
32
|
-
chainId:
|
|
33
|
+
chainId: 1 | 31337 | 11155111 | 72080;
|
|
33
34
|
adminAddress: `0x${string}`;
|
|
35
|
+
ownerAddress?: `0x${string}` | undefined;
|
|
34
36
|
discount?: {
|
|
35
37
|
burnForDiscount: {
|
|
36
38
|
burnableTokenAddress: `0x${string}`;
|
|
@@ -53,8 +55,9 @@ export declare function createDeployMarketTransactionV0<E extends Env>(factory:
|
|
|
53
55
|
}, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
|
|
54
56
|
in: {
|
|
55
57
|
json: {
|
|
56
|
-
chainId:
|
|
58
|
+
chainId: 1 | 31337 | 11155111 | "31337" | "11155111" | "1" | 72080 | "72080";
|
|
57
59
|
adminAddress: `0x${string}`;
|
|
60
|
+
ownerAddress?: `0x${string}` | undefined;
|
|
58
61
|
discount?: {
|
|
59
62
|
burnForDiscount: {
|
|
60
63
|
burnableTokenAddress: `0x${string}`;
|
|
@@ -67,8 +70,9 @@ export declare function createDeployMarketTransactionV0<E extends Env>(factory:
|
|
|
67
70
|
};
|
|
68
71
|
out: {
|
|
69
72
|
json: {
|
|
70
|
-
chainId:
|
|
73
|
+
chainId: 1 | 31337 | 11155111 | 72080;
|
|
71
74
|
adminAddress: `0x${string}`;
|
|
75
|
+
ownerAddress?: `0x${string}` | undefined;
|
|
72
76
|
discount?: {
|
|
73
77
|
burnForDiscount: {
|
|
74
78
|
burnableTokenAddress: `0x${string}`;
|
|
@@ -101,8 +105,9 @@ export declare function createDeployCompilotMarketTransactionV0<E extends Env>(f
|
|
|
101
105
|
}, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<Env, string, {
|
|
102
106
|
in: {
|
|
103
107
|
json: {
|
|
104
|
-
chainId:
|
|
108
|
+
chainId: 1 | 31337 | 11155111 | "31337" | "11155111" | "1" | 72080 | "72080";
|
|
105
109
|
adminAddress: `0x${string}`;
|
|
110
|
+
ownerAddress?: `0x${string}` | undefined;
|
|
106
111
|
discount?: {
|
|
107
112
|
burnForDiscount: {
|
|
108
113
|
burnableTokenAddress: `0x${string}`;
|
|
@@ -115,8 +120,9 @@ export declare function createDeployCompilotMarketTransactionV0<E extends Env>(f
|
|
|
115
120
|
};
|
|
116
121
|
out: {
|
|
117
122
|
json: {
|
|
118
|
-
chainId:
|
|
123
|
+
chainId: 1 | 31337 | 11155111 | 72080;
|
|
119
124
|
adminAddress: `0x${string}`;
|
|
125
|
+
ownerAddress?: `0x${string}` | undefined;
|
|
120
126
|
discount?: {
|
|
121
127
|
burnForDiscount: {
|
|
122
128
|
burnableTokenAddress: `0x${string}`;
|
|
@@ -139,8 +145,9 @@ export declare function createDeployCompilotMarketTransactionV0<E extends Env>(f
|
|
|
139
145
|
}, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
|
|
140
146
|
in: {
|
|
141
147
|
json: {
|
|
142
|
-
chainId:
|
|
148
|
+
chainId: 1 | 31337 | 11155111 | "31337" | "11155111" | "1" | 72080 | "72080";
|
|
143
149
|
adminAddress: `0x${string}`;
|
|
150
|
+
ownerAddress?: `0x${string}` | undefined;
|
|
144
151
|
discount?: {
|
|
145
152
|
burnForDiscount: {
|
|
146
153
|
burnableTokenAddress: `0x${string}`;
|
|
@@ -153,8 +160,9 @@ export declare function createDeployCompilotMarketTransactionV0<E extends Env>(f
|
|
|
153
160
|
};
|
|
154
161
|
out: {
|
|
155
162
|
json: {
|
|
156
|
-
chainId:
|
|
163
|
+
chainId: 1 | 31337 | 11155111 | 72080;
|
|
157
164
|
adminAddress: `0x${string}`;
|
|
165
|
+
ownerAddress?: `0x${string}` | undefined;
|
|
158
166
|
discount?: {
|
|
159
167
|
burnForDiscount: {
|
|
160
168
|
burnableTokenAddress: `0x${string}`;
|
|
@@ -187,8 +195,9 @@ export declare function createDeployContinuousWithdrawMarketTransactionV0<E exte
|
|
|
187
195
|
}, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<Env, string, {
|
|
188
196
|
in: {
|
|
189
197
|
json: {
|
|
190
|
-
chainId:
|
|
198
|
+
chainId: 1 | 31337 | 11155111 | "31337" | "11155111" | "1" | 72080 | "72080";
|
|
191
199
|
adminAddress: `0x${string}`;
|
|
200
|
+
ownerAddress?: `0x${string}` | undefined;
|
|
192
201
|
discount?: {
|
|
193
202
|
burnForDiscount: {
|
|
194
203
|
burnableTokenAddress: `0x${string}`;
|
|
@@ -201,8 +210,9 @@ export declare function createDeployContinuousWithdrawMarketTransactionV0<E exte
|
|
|
201
210
|
};
|
|
202
211
|
out: {
|
|
203
212
|
json: {
|
|
204
|
-
chainId:
|
|
213
|
+
chainId: 1 | 31337 | 11155111 | 72080;
|
|
205
214
|
adminAddress: `0x${string}`;
|
|
215
|
+
ownerAddress?: `0x${string}` | undefined;
|
|
206
216
|
discount?: {
|
|
207
217
|
burnForDiscount: {
|
|
208
218
|
burnableTokenAddress: `0x${string}`;
|
|
@@ -225,8 +235,9 @@ export declare function createDeployContinuousWithdrawMarketTransactionV0<E exte
|
|
|
225
235
|
}, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
|
|
226
236
|
in: {
|
|
227
237
|
json: {
|
|
228
|
-
chainId:
|
|
238
|
+
chainId: 1 | 31337 | 11155111 | "31337" | "11155111" | "1" | 72080 | "72080";
|
|
229
239
|
adminAddress: `0x${string}`;
|
|
240
|
+
ownerAddress?: `0x${string}` | undefined;
|
|
230
241
|
discount?: {
|
|
231
242
|
burnForDiscount: {
|
|
232
243
|
burnableTokenAddress: `0x${string}`;
|
|
@@ -239,8 +250,9 @@ export declare function createDeployContinuousWithdrawMarketTransactionV0<E exte
|
|
|
239
250
|
};
|
|
240
251
|
out: {
|
|
241
252
|
json: {
|
|
242
|
-
chainId:
|
|
253
|
+
chainId: 1 | 31337 | 11155111 | 72080;
|
|
243
254
|
adminAddress: `0x${string}`;
|
|
255
|
+
ownerAddress?: `0x${string}` | undefined;
|
|
244
256
|
discount?: {
|
|
245
257
|
burnForDiscount: {
|
|
246
258
|
burnableTokenAddress: `0x${string}`;
|
|
@@ -273,8 +285,9 @@ export declare function createDeployContinuousWithdrawNidMarketTransactionV0<E e
|
|
|
273
285
|
}, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<Env, string, {
|
|
274
286
|
in: {
|
|
275
287
|
json: {
|
|
276
|
-
chainId:
|
|
288
|
+
chainId: 1 | 31337 | 11155111 | "31337" | "11155111" | "1" | 72080 | "72080";
|
|
277
289
|
adminAddress: `0x${string}`;
|
|
290
|
+
ownerAddress?: `0x${string}` | undefined;
|
|
278
291
|
discount?: {
|
|
279
292
|
burnForDiscount: {
|
|
280
293
|
burnableTokenAddress: `0x${string}`;
|
|
@@ -287,8 +300,9 @@ export declare function createDeployContinuousWithdrawNidMarketTransactionV0<E e
|
|
|
287
300
|
};
|
|
288
301
|
out: {
|
|
289
302
|
json: {
|
|
290
|
-
chainId:
|
|
303
|
+
chainId: 1 | 31337 | 11155111 | 72080;
|
|
291
304
|
adminAddress: `0x${string}`;
|
|
305
|
+
ownerAddress?: `0x${string}` | undefined;
|
|
292
306
|
discount?: {
|
|
293
307
|
burnForDiscount: {
|
|
294
308
|
burnableTokenAddress: `0x${string}`;
|
|
@@ -311,8 +325,9 @@ export declare function createDeployContinuousWithdrawNidMarketTransactionV0<E e
|
|
|
311
325
|
}, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<import("hono/utils/types").IfAnyThenEmptyObject<E extends Env ? Env extends E ? {} : E : E> & {}, string, {
|
|
312
326
|
in: {
|
|
313
327
|
json: {
|
|
314
|
-
chainId:
|
|
328
|
+
chainId: 1 | 31337 | 11155111 | "31337" | "11155111" | "1" | 72080 | "72080";
|
|
315
329
|
adminAddress: `0x${string}`;
|
|
330
|
+
ownerAddress?: `0x${string}` | undefined;
|
|
316
331
|
discount?: {
|
|
317
332
|
burnForDiscount: {
|
|
318
333
|
burnableTokenAddress: `0x${string}`;
|
|
@@ -325,8 +340,9 @@ export declare function createDeployContinuousWithdrawNidMarketTransactionV0<E e
|
|
|
325
340
|
};
|
|
326
341
|
out: {
|
|
327
342
|
json: {
|
|
328
|
-
chainId:
|
|
343
|
+
chainId: 1 | 31337 | 11155111 | 72080;
|
|
329
344
|
adminAddress: `0x${string}`;
|
|
345
|
+
ownerAddress?: `0x${string}` | undefined;
|
|
330
346
|
discount?: {
|
|
331
347
|
burnForDiscount: {
|
|
332
348
|
burnableTokenAddress: `0x${string}`;
|
|
@@ -348,10 +364,8 @@ export declare function createDeployContinuousWithdrawNidMarketTransactionV0<E e
|
|
|
348
364
|
};
|
|
349
365
|
}, import("hono/utils/http-status").ContentfulStatusCode, "json">>>];
|
|
350
366
|
export declare function discountConfig(discount: z.infer<typeof DiscountConfigSchema> | undefined): {
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
};
|
|
354
|
-
} | undefined;
|
|
367
|
+
burnableToken: `0x${string}`;
|
|
368
|
+
} | null;
|
|
355
369
|
export declare function getFeeConfig(): {
|
|
356
370
|
percent: number;
|
|
357
371
|
collectorAddress: Address;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployMarket.routes.d.ts","sourceRoot":"","sources":["../../../../src/fractions/deployMarket/v0/deployMarket.routes.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"deployMarket.routes.d.ts","sourceRoot":"","sources":["../../../../src/fractions/deployMarket/v0/deployMarket.routes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,OAAO,EAAe,MAAM,MAAM,CAAC;AAC5C,OAAO,EAA6B,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAE3F,OAAO,EAAE,GAAG,EAAE,MAAM,MAAM,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AA4BvC,wBAAgB,+BAA+B,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAcjF;AAkBD,wBAAgB,uCAAuC,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAczF;AAkBD,wBAAgB,iDAAiD,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEAcnG;AAkBD,wBAAgB,oDAAoD,CAAC,CAAC,SAAS,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qEActG;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,GAAG,SAAS;;SAMxF;AAGD,wBAAgB,YAAY;;sBAGmD,OAAO;cAC3B,OAAO;EAEjE"}
|