@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
|
@@ -6,342 +6,108 @@ export declare const BuyBackConfigSchema: z.ZodObject<{
|
|
|
6
6
|
interestPercentage: z.ZodNumber;
|
|
7
7
|
liquidationLimitPercentage: z.ZodNumber;
|
|
8
8
|
marginCallLimitPercentage: z.ZodNumber;
|
|
9
|
-
},
|
|
10
|
-
durationSeconds: number;
|
|
11
|
-
interestPercentage: number;
|
|
12
|
-
liquidationLimitPercentage: number;
|
|
13
|
-
marginCallLimitPercentage: number;
|
|
14
|
-
}, {
|
|
15
|
-
durationSeconds: number;
|
|
16
|
-
interestPercentage: number;
|
|
17
|
-
liquidationLimitPercentage: number;
|
|
18
|
-
marginCallLimitPercentage: number;
|
|
19
|
-
}>;
|
|
9
|
+
}, z.core.$strip>;
|
|
20
10
|
export declare const CreateLendingFractionsRequestSchema: z.ZodObject<{
|
|
21
|
-
chainId: z.
|
|
22
|
-
market: z.ZodType<`0x${string}`, z.
|
|
11
|
+
chainId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodUnion<[z.ZodLiteral<1 | 11155111 | 31337 | 72080>, z.ZodLiteral<1 | 11155111 | 31337 | 72080>, ...z.ZodLiteral<1 | 11155111 | 31337 | 72080>[]]>>;
|
|
12
|
+
market: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
23
13
|
fractions: z.ZodObject<{
|
|
24
|
-
token: z.ZodOptional<z.ZodType<`0x${string}`, z.
|
|
14
|
+
token: z.ZodOptional<z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>>;
|
|
25
15
|
symbol: z.ZodString;
|
|
26
16
|
name: z.ZodString;
|
|
27
|
-
amount: z.
|
|
28
|
-
},
|
|
29
|
-
symbol: string;
|
|
30
|
-
name: string;
|
|
31
|
-
amount: bigint;
|
|
32
|
-
token?: `0x${string}` | undefined;
|
|
33
|
-
}, {
|
|
34
|
-
symbol: string;
|
|
35
|
-
name: string;
|
|
36
|
-
amount: bigint;
|
|
37
|
-
token?: `0x${string}` | undefined;
|
|
38
|
-
}>;
|
|
17
|
+
amount: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
39
19
|
timeBoundary: z.ZodObject<{
|
|
40
|
-
start: z.
|
|
41
|
-
end: z.
|
|
42
|
-
},
|
|
43
|
-
start: Date;
|
|
44
|
-
end: Date;
|
|
45
|
-
}, {
|
|
46
|
-
start: Date;
|
|
47
|
-
end: Date;
|
|
48
|
-
}>;
|
|
20
|
+
start: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "ISO", "out">, z.ZodTransform<Date, string & z.core.$brand<"ISO">>>;
|
|
21
|
+
end: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "ISO", "out">, z.ZodTransform<Date, string & z.core.$brand<"ISO">>>;
|
|
22
|
+
}, z.core.$strip>;
|
|
49
23
|
cap: z.ZodObject<{
|
|
50
|
-
soft: z.
|
|
51
|
-
hard: z.
|
|
52
|
-
softPerAccount: z.ZodOptional<z.
|
|
53
|
-
hardPerAccount: z.ZodOptional<z.
|
|
54
|
-
},
|
|
55
|
-
|
|
56
|
-
hard: bigint;
|
|
57
|
-
softPerAccount?: bigint | undefined;
|
|
58
|
-
hardPerAccount?: bigint | undefined;
|
|
59
|
-
}, {
|
|
60
|
-
soft: bigint;
|
|
61
|
-
hard: bigint;
|
|
62
|
-
softPerAccount?: bigint | undefined;
|
|
63
|
-
hardPerAccount?: bigint | undefined;
|
|
64
|
-
}>;
|
|
65
|
-
wrapped: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
24
|
+
soft: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
|
|
25
|
+
hard: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
|
|
26
|
+
softPerAccount: z.ZodOptional<z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>>;
|
|
27
|
+
hardPerAccount: z.ZodOptional<z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
wrapped: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
66
30
|
type: z.ZodLiteral<"ERC20">;
|
|
67
|
-
address: z.ZodType<`0x${string}`, z.
|
|
68
|
-
values: z.ZodArray<z.
|
|
69
|
-
},
|
|
70
|
-
type: "ERC20";
|
|
71
|
-
values: [bigint, ...bigint[]];
|
|
72
|
-
address: `0x${string}`;
|
|
73
|
-
}, {
|
|
74
|
-
type: "ERC20";
|
|
75
|
-
values: [bigint, ...bigint[]];
|
|
76
|
-
address: `0x${string}`;
|
|
77
|
-
}>, z.ZodObject<{
|
|
31
|
+
address: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
32
|
+
values: z.ZodArray<z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>>;
|
|
33
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
78
34
|
type: z.ZodLiteral<"ERC721">;
|
|
79
|
-
address: z.ZodType<`0x${string}`, z.
|
|
80
|
-
tokenIds: z.ZodArray<z.
|
|
81
|
-
},
|
|
82
|
-
type: "ERC721";
|
|
83
|
-
address: `0x${string}`;
|
|
84
|
-
tokenIds: [bigint, ...bigint[]];
|
|
85
|
-
}, {
|
|
86
|
-
type: "ERC721";
|
|
87
|
-
address: `0x${string}`;
|
|
88
|
-
tokenIds: [bigint, ...bigint[]];
|
|
89
|
-
}>, z.ZodObject<{
|
|
35
|
+
address: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
36
|
+
tokenIds: z.ZodArray<z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>>;
|
|
37
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
90
38
|
type: z.ZodLiteral<"ERC1155">;
|
|
91
|
-
address: z.ZodType<`0x${string}`, z.
|
|
92
|
-
tokenIds: z.ZodArray<z.
|
|
93
|
-
values: z.ZodArray<z.
|
|
94
|
-
},
|
|
95
|
-
type: "ERC1155";
|
|
96
|
-
values: [bigint, ...bigint[]];
|
|
97
|
-
address: `0x${string}`;
|
|
98
|
-
tokenIds: [bigint, ...bigint[]];
|
|
99
|
-
}, {
|
|
100
|
-
type: "ERC1155";
|
|
101
|
-
values: [bigint, ...bigint[]];
|
|
102
|
-
address: `0x${string}`;
|
|
103
|
-
tokenIds: [bigint, ...bigint[]];
|
|
104
|
-
}>]>, "atleastone">;
|
|
39
|
+
address: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
40
|
+
tokenIds: z.ZodArray<z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>>;
|
|
41
|
+
values: z.ZodArray<z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>>;
|
|
42
|
+
}, z.core.$strip>]>>;
|
|
105
43
|
funding: z.ZodArray<z.ZodObject<{
|
|
106
|
-
token: z.ZodType<`0x${string}`, z.
|
|
107
|
-
amountPerPacket: z.
|
|
108
|
-
},
|
|
109
|
-
amountPerPacket: bigint;
|
|
110
|
-
token: `0x${string}`;
|
|
111
|
-
}, {
|
|
112
|
-
amountPerPacket: bigint;
|
|
113
|
-
token: `0x${string}`;
|
|
114
|
-
}>, "atleastone">;
|
|
44
|
+
token: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
45
|
+
amountPerPacket: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
|
|
46
|
+
}, z.core.$strip>>;
|
|
115
47
|
discounts: z.ZodOptional<z.ZodObject<{
|
|
116
|
-
burnableTokenAddress: z.ZodType<`0x${string}`, z.
|
|
117
|
-
amountToBurn: z.
|
|
48
|
+
burnableTokenAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
49
|
+
amountToBurn: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
|
|
118
50
|
percentDiscount: z.ZodNumber;
|
|
119
|
-
},
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
percentDiscount: number;
|
|
123
|
-
}, {
|
|
124
|
-
burnableTokenAddress: `0x${string}`;
|
|
125
|
-
amountToBurn: bigint;
|
|
126
|
-
percentDiscount: number;
|
|
127
|
-
}>>;
|
|
128
|
-
refundAddress: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>;
|
|
129
|
-
amountOfPacketsPerFraction: z.ZodBigInt;
|
|
51
|
+
}, z.core.$strip>>;
|
|
52
|
+
refundAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
53
|
+
amountOfPacketsPerFraction: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
|
|
130
54
|
buyback: z.ZodObject<{
|
|
131
55
|
durationSeconds: z.ZodNumber;
|
|
132
56
|
interestPercentage: z.ZodNumber;
|
|
133
57
|
liquidationLimitPercentage: z.ZodNumber;
|
|
134
58
|
marginCallLimitPercentage: z.ZodNumber;
|
|
135
|
-
},
|
|
136
|
-
|
|
137
|
-
interestPercentage: number;
|
|
138
|
-
liquidationLimitPercentage: number;
|
|
139
|
-
marginCallLimitPercentage: number;
|
|
140
|
-
}, {
|
|
141
|
-
durationSeconds: number;
|
|
142
|
-
interestPercentage: number;
|
|
143
|
-
liquidationLimitPercentage: number;
|
|
144
|
-
marginCallLimitPercentage: number;
|
|
145
|
-
}>;
|
|
146
|
-
}, "strip", z.ZodTypeAny, {
|
|
147
|
-
chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
|
|
148
|
-
fractions: {
|
|
149
|
-
symbol: string;
|
|
150
|
-
name: string;
|
|
151
|
-
amount: bigint;
|
|
152
|
-
token?: `0x${string}` | undefined;
|
|
153
|
-
};
|
|
154
|
-
cap: {
|
|
155
|
-
soft: bigint;
|
|
156
|
-
hard: bigint;
|
|
157
|
-
softPerAccount?: bigint | undefined;
|
|
158
|
-
hardPerAccount?: bigint | undefined;
|
|
159
|
-
};
|
|
160
|
-
market: `0x${string}`;
|
|
161
|
-
timeBoundary: {
|
|
162
|
-
start: Date;
|
|
163
|
-
end: Date;
|
|
164
|
-
};
|
|
165
|
-
wrapped: [{
|
|
166
|
-
type: "ERC20";
|
|
167
|
-
values: [bigint, ...bigint[]];
|
|
168
|
-
address: `0x${string}`;
|
|
169
|
-
} | {
|
|
170
|
-
type: "ERC721";
|
|
171
|
-
address: `0x${string}`;
|
|
172
|
-
tokenIds: [bigint, ...bigint[]];
|
|
173
|
-
} | {
|
|
174
|
-
type: "ERC1155";
|
|
175
|
-
values: [bigint, ...bigint[]];
|
|
176
|
-
address: `0x${string}`;
|
|
177
|
-
tokenIds: [bigint, ...bigint[]];
|
|
178
|
-
}, ...({
|
|
179
|
-
type: "ERC20";
|
|
180
|
-
values: [bigint, ...bigint[]];
|
|
181
|
-
address: `0x${string}`;
|
|
182
|
-
} | {
|
|
183
|
-
type: "ERC721";
|
|
184
|
-
address: `0x${string}`;
|
|
185
|
-
tokenIds: [bigint, ...bigint[]];
|
|
186
|
-
} | {
|
|
187
|
-
type: "ERC1155";
|
|
188
|
-
values: [bigint, ...bigint[]];
|
|
189
|
-
address: `0x${string}`;
|
|
190
|
-
tokenIds: [bigint, ...bigint[]];
|
|
191
|
-
})[]];
|
|
192
|
-
funding: [{
|
|
193
|
-
amountPerPacket: bigint;
|
|
194
|
-
token: `0x${string}`;
|
|
195
|
-
}, ...{
|
|
196
|
-
amountPerPacket: bigint;
|
|
197
|
-
token: `0x${string}`;
|
|
198
|
-
}[]];
|
|
199
|
-
refundAddress: `0x${string}`;
|
|
200
|
-
amountOfPacketsPerFraction: bigint;
|
|
201
|
-
buyback: {
|
|
202
|
-
durationSeconds: number;
|
|
203
|
-
interestPercentage: number;
|
|
204
|
-
liquidationLimitPercentage: number;
|
|
205
|
-
marginCallLimitPercentage: number;
|
|
206
|
-
};
|
|
207
|
-
discounts?: {
|
|
208
|
-
burnableTokenAddress: `0x${string}`;
|
|
209
|
-
amountToBurn: bigint;
|
|
210
|
-
percentDiscount: number;
|
|
211
|
-
} | undefined;
|
|
212
|
-
}, {
|
|
213
|
-
chainId: import("@evergonlabs/tmi-protocol-fractions-sdk").TmiChainId;
|
|
214
|
-
fractions: {
|
|
215
|
-
symbol: string;
|
|
216
|
-
name: string;
|
|
217
|
-
amount: bigint;
|
|
218
|
-
token?: `0x${string}` | undefined;
|
|
219
|
-
};
|
|
220
|
-
cap: {
|
|
221
|
-
soft: bigint;
|
|
222
|
-
hard: bigint;
|
|
223
|
-
softPerAccount?: bigint | undefined;
|
|
224
|
-
hardPerAccount?: bigint | undefined;
|
|
225
|
-
};
|
|
226
|
-
market: `0x${string}`;
|
|
227
|
-
timeBoundary: {
|
|
228
|
-
start: Date;
|
|
229
|
-
end: Date;
|
|
230
|
-
};
|
|
231
|
-
wrapped: [{
|
|
232
|
-
type: "ERC20";
|
|
233
|
-
values: [bigint, ...bigint[]];
|
|
234
|
-
address: `0x${string}`;
|
|
235
|
-
} | {
|
|
236
|
-
type: "ERC721";
|
|
237
|
-
address: `0x${string}`;
|
|
238
|
-
tokenIds: [bigint, ...bigint[]];
|
|
239
|
-
} | {
|
|
240
|
-
type: "ERC1155";
|
|
241
|
-
values: [bigint, ...bigint[]];
|
|
242
|
-
address: `0x${string}`;
|
|
243
|
-
tokenIds: [bigint, ...bigint[]];
|
|
244
|
-
}, ...({
|
|
245
|
-
type: "ERC20";
|
|
246
|
-
values: [bigint, ...bigint[]];
|
|
247
|
-
address: `0x${string}`;
|
|
248
|
-
} | {
|
|
249
|
-
type: "ERC721";
|
|
250
|
-
address: `0x${string}`;
|
|
251
|
-
tokenIds: [bigint, ...bigint[]];
|
|
252
|
-
} | {
|
|
253
|
-
type: "ERC1155";
|
|
254
|
-
values: [bigint, ...bigint[]];
|
|
255
|
-
address: `0x${string}`;
|
|
256
|
-
tokenIds: [bigint, ...bigint[]];
|
|
257
|
-
})[]];
|
|
258
|
-
funding: [{
|
|
259
|
-
amountPerPacket: bigint;
|
|
260
|
-
token: `0x${string}`;
|
|
261
|
-
}, ...{
|
|
262
|
-
amountPerPacket: bigint;
|
|
263
|
-
token: `0x${string}`;
|
|
264
|
-
}[]];
|
|
265
|
-
refundAddress: `0x${string}`;
|
|
266
|
-
amountOfPacketsPerFraction: bigint;
|
|
267
|
-
buyback: {
|
|
268
|
-
durationSeconds: number;
|
|
269
|
-
interestPercentage: number;
|
|
270
|
-
liquidationLimitPercentage: number;
|
|
271
|
-
marginCallLimitPercentage: number;
|
|
272
|
-
};
|
|
273
|
-
discounts?: {
|
|
274
|
-
burnableTokenAddress: `0x${string}`;
|
|
275
|
-
amountToBurn: bigint;
|
|
276
|
-
percentDiscount: number;
|
|
277
|
-
} | undefined;
|
|
278
|
-
}>;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
}, z.core.$strip>;
|
|
279
61
|
export declare function createLendingSale<E extends Env>(factory: Factory<E>): [import("hono/types").H<any, string, {}, Promise<Response & import("hono").TypedResponse<{
|
|
280
62
|
data: `0x${string}`;
|
|
281
63
|
to: `0x${string}`;
|
|
282
64
|
details: {
|
|
283
|
-
address: `0x${string}`;
|
|
284
65
|
functionName: string;
|
|
66
|
+
address: `0x${string}`;
|
|
285
67
|
abi: any[];
|
|
286
68
|
args: any[];
|
|
287
69
|
};
|
|
288
70
|
}, import("hono/utils/http-status").ContentfulStatusCode, "json">>>, import("hono/types").H<Env, string, {
|
|
289
71
|
in: {
|
|
290
72
|
json: {
|
|
291
|
-
chainId:
|
|
73
|
+
chainId: unknown;
|
|
74
|
+
market: string;
|
|
292
75
|
fractions: {
|
|
293
76
|
symbol: string;
|
|
294
77
|
name: string;
|
|
295
|
-
amount:
|
|
296
|
-
token?:
|
|
297
|
-
};
|
|
298
|
-
cap: {
|
|
299
|
-
soft: bigint;
|
|
300
|
-
hard: bigint;
|
|
301
|
-
softPerAccount?: bigint | undefined;
|
|
302
|
-
hardPerAccount?: bigint | undefined;
|
|
78
|
+
amount: string;
|
|
79
|
+
token?: string | undefined;
|
|
303
80
|
};
|
|
304
|
-
market: `0x${string}`;
|
|
305
81
|
timeBoundary: {
|
|
306
|
-
start:
|
|
307
|
-
end:
|
|
82
|
+
start: string;
|
|
83
|
+
end: string;
|
|
308
84
|
};
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
tokenIds: [bigint, ...bigint[]];
|
|
317
|
-
} | {
|
|
318
|
-
type: "ERC1155";
|
|
319
|
-
values: [bigint, ...bigint[]];
|
|
320
|
-
address: `0x${string}`;
|
|
321
|
-
tokenIds: [bigint, ...bigint[]];
|
|
322
|
-
}, ...({
|
|
85
|
+
cap: {
|
|
86
|
+
soft: string;
|
|
87
|
+
hard: string;
|
|
88
|
+
softPerAccount?: string | undefined;
|
|
89
|
+
hardPerAccount?: string | undefined;
|
|
90
|
+
};
|
|
91
|
+
wrapped: ({
|
|
323
92
|
type: "ERC20";
|
|
324
|
-
|
|
325
|
-
|
|
93
|
+
address: string;
|
|
94
|
+
values: string[];
|
|
326
95
|
} | {
|
|
327
96
|
type: "ERC721";
|
|
328
|
-
address:
|
|
329
|
-
tokenIds: [
|
|
97
|
+
address: string;
|
|
98
|
+
tokenIds: string[];
|
|
330
99
|
} | {
|
|
331
100
|
type: "ERC1155";
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
})[]
|
|
336
|
-
funding:
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
}[]];
|
|
343
|
-
refundAddress: `0x${string}`;
|
|
344
|
-
amountOfPacketsPerFraction: bigint;
|
|
101
|
+
address: string;
|
|
102
|
+
tokenIds: string[];
|
|
103
|
+
values: string[];
|
|
104
|
+
})[];
|
|
105
|
+
funding: {
|
|
106
|
+
token: string;
|
|
107
|
+
amountPerPacket: string;
|
|
108
|
+
}[];
|
|
109
|
+
refundAddress: string;
|
|
110
|
+
amountOfPacketsPerFraction: string;
|
|
345
111
|
buyback: {
|
|
346
112
|
durationSeconds: number;
|
|
347
113
|
interestPercentage: number;
|
|
@@ -349,66 +115,50 @@ export declare function createLendingSale<E extends Env>(factory: Factory<E>): [
|
|
|
349
115
|
marginCallLimitPercentage: number;
|
|
350
116
|
};
|
|
351
117
|
discounts?: {
|
|
352
|
-
burnableTokenAddress:
|
|
353
|
-
amountToBurn:
|
|
118
|
+
burnableTokenAddress: string;
|
|
119
|
+
amountToBurn: string;
|
|
354
120
|
percentDiscount: number;
|
|
355
121
|
} | undefined;
|
|
356
122
|
};
|
|
357
123
|
};
|
|
358
124
|
out: {
|
|
359
125
|
json: {
|
|
360
|
-
chainId:
|
|
126
|
+
chainId: 1 | 11155111 | 31337 | 72080;
|
|
127
|
+
market: `0x${string}`;
|
|
361
128
|
fractions: {
|
|
362
129
|
symbol: string;
|
|
363
130
|
name: string;
|
|
364
131
|
amount: bigint;
|
|
365
132
|
token?: `0x${string}` | undefined;
|
|
366
133
|
};
|
|
134
|
+
timeBoundary: {
|
|
135
|
+
start: Date;
|
|
136
|
+
end: Date;
|
|
137
|
+
};
|
|
367
138
|
cap: {
|
|
368
139
|
soft: bigint;
|
|
369
140
|
hard: bigint;
|
|
370
141
|
softPerAccount?: bigint | undefined;
|
|
371
142
|
hardPerAccount?: bigint | undefined;
|
|
372
143
|
};
|
|
373
|
-
|
|
374
|
-
timeBoundary: {
|
|
375
|
-
start: Date;
|
|
376
|
-
end: Date;
|
|
377
|
-
};
|
|
378
|
-
wrapped: [{
|
|
144
|
+
wrapped: ({
|
|
379
145
|
type: "ERC20";
|
|
380
|
-
values: [bigint, ...bigint[]];
|
|
381
146
|
address: `0x${string}`;
|
|
147
|
+
values: bigint[];
|
|
382
148
|
} | {
|
|
383
149
|
type: "ERC721";
|
|
384
150
|
address: `0x${string}`;
|
|
385
|
-
tokenIds:
|
|
151
|
+
tokenIds: bigint[];
|
|
386
152
|
} | {
|
|
387
153
|
type: "ERC1155";
|
|
388
|
-
values: [bigint, ...bigint[]];
|
|
389
154
|
address: `0x${string}`;
|
|
390
|
-
tokenIds:
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
address: `0x${string}`;
|
|
395
|
-
} | {
|
|
396
|
-
type: "ERC721";
|
|
397
|
-
address: `0x${string}`;
|
|
398
|
-
tokenIds: [bigint, ...bigint[]];
|
|
399
|
-
} | {
|
|
400
|
-
type: "ERC1155";
|
|
401
|
-
values: [bigint, ...bigint[]];
|
|
402
|
-
address: `0x${string}`;
|
|
403
|
-
tokenIds: [bigint, ...bigint[]];
|
|
404
|
-
})[]];
|
|
405
|
-
funding: [{
|
|
406
|
-
amountPerPacket: bigint;
|
|
155
|
+
tokenIds: bigint[];
|
|
156
|
+
values: bigint[];
|
|
157
|
+
})[];
|
|
158
|
+
funding: {
|
|
407
159
|
token: `0x${string}`;
|
|
408
|
-
}, ...{
|
|
409
160
|
amountPerPacket: bigint;
|
|
410
|
-
|
|
411
|
-
}[]];
|
|
161
|
+
}[];
|
|
412
162
|
refundAddress: `0x${string}`;
|
|
413
163
|
amountOfPacketsPerFraction: bigint;
|
|
414
164
|
buyback: {
|
|
@@ -428,68 +178,52 @@ export declare function createLendingSale<E extends Env>(factory: Factory<E>): [
|
|
|
428
178
|
data: `0x${string}`;
|
|
429
179
|
to: `0x${string}`;
|
|
430
180
|
details: {
|
|
431
|
-
address: `0x${string}`;
|
|
432
181
|
functionName: string;
|
|
182
|
+
address: `0x${string}`;
|
|
433
183
|
abi: any[];
|
|
434
184
|
args: any[];
|
|
435
185
|
};
|
|
436
186
|
}, 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, {
|
|
437
187
|
in: {
|
|
438
188
|
json: {
|
|
439
|
-
chainId:
|
|
189
|
+
chainId: unknown;
|
|
190
|
+
market: string;
|
|
440
191
|
fractions: {
|
|
441
192
|
symbol: string;
|
|
442
193
|
name: string;
|
|
443
|
-
amount:
|
|
444
|
-
token?:
|
|
445
|
-
};
|
|
446
|
-
cap: {
|
|
447
|
-
soft: bigint;
|
|
448
|
-
hard: bigint;
|
|
449
|
-
softPerAccount?: bigint | undefined;
|
|
450
|
-
hardPerAccount?: bigint | undefined;
|
|
194
|
+
amount: string;
|
|
195
|
+
token?: string | undefined;
|
|
451
196
|
};
|
|
452
|
-
market: `0x${string}`;
|
|
453
197
|
timeBoundary: {
|
|
454
|
-
start:
|
|
455
|
-
end:
|
|
198
|
+
start: string;
|
|
199
|
+
end: string;
|
|
456
200
|
};
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
tokenIds: [bigint, ...bigint[]];
|
|
465
|
-
} | {
|
|
466
|
-
type: "ERC1155";
|
|
467
|
-
values: [bigint, ...bigint[]];
|
|
468
|
-
address: `0x${string}`;
|
|
469
|
-
tokenIds: [bigint, ...bigint[]];
|
|
470
|
-
}, ...({
|
|
201
|
+
cap: {
|
|
202
|
+
soft: string;
|
|
203
|
+
hard: string;
|
|
204
|
+
softPerAccount?: string | undefined;
|
|
205
|
+
hardPerAccount?: string | undefined;
|
|
206
|
+
};
|
|
207
|
+
wrapped: ({
|
|
471
208
|
type: "ERC20";
|
|
472
|
-
|
|
473
|
-
|
|
209
|
+
address: string;
|
|
210
|
+
values: string[];
|
|
474
211
|
} | {
|
|
475
212
|
type: "ERC721";
|
|
476
|
-
address:
|
|
477
|
-
tokenIds: [
|
|
213
|
+
address: string;
|
|
214
|
+
tokenIds: string[];
|
|
478
215
|
} | {
|
|
479
216
|
type: "ERC1155";
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
})[]
|
|
484
|
-
funding:
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
}[]];
|
|
491
|
-
refundAddress: `0x${string}`;
|
|
492
|
-
amountOfPacketsPerFraction: bigint;
|
|
217
|
+
address: string;
|
|
218
|
+
tokenIds: string[];
|
|
219
|
+
values: string[];
|
|
220
|
+
})[];
|
|
221
|
+
funding: {
|
|
222
|
+
token: string;
|
|
223
|
+
amountPerPacket: string;
|
|
224
|
+
}[];
|
|
225
|
+
refundAddress: string;
|
|
226
|
+
amountOfPacketsPerFraction: string;
|
|
493
227
|
buyback: {
|
|
494
228
|
durationSeconds: number;
|
|
495
229
|
interestPercentage: number;
|
|
@@ -497,66 +231,50 @@ export declare function createLendingSale<E extends Env>(factory: Factory<E>): [
|
|
|
497
231
|
marginCallLimitPercentage: number;
|
|
498
232
|
};
|
|
499
233
|
discounts?: {
|
|
500
|
-
burnableTokenAddress:
|
|
501
|
-
amountToBurn:
|
|
234
|
+
burnableTokenAddress: string;
|
|
235
|
+
amountToBurn: string;
|
|
502
236
|
percentDiscount: number;
|
|
503
237
|
} | undefined;
|
|
504
238
|
};
|
|
505
239
|
};
|
|
506
240
|
out: {
|
|
507
241
|
json: {
|
|
508
|
-
chainId:
|
|
242
|
+
chainId: 1 | 11155111 | 31337 | 72080;
|
|
243
|
+
market: `0x${string}`;
|
|
509
244
|
fractions: {
|
|
510
245
|
symbol: string;
|
|
511
246
|
name: string;
|
|
512
247
|
amount: bigint;
|
|
513
248
|
token?: `0x${string}` | undefined;
|
|
514
249
|
};
|
|
250
|
+
timeBoundary: {
|
|
251
|
+
start: Date;
|
|
252
|
+
end: Date;
|
|
253
|
+
};
|
|
515
254
|
cap: {
|
|
516
255
|
soft: bigint;
|
|
517
256
|
hard: bigint;
|
|
518
257
|
softPerAccount?: bigint | undefined;
|
|
519
258
|
hardPerAccount?: bigint | undefined;
|
|
520
259
|
};
|
|
521
|
-
|
|
522
|
-
timeBoundary: {
|
|
523
|
-
start: Date;
|
|
524
|
-
end: Date;
|
|
525
|
-
};
|
|
526
|
-
wrapped: [{
|
|
260
|
+
wrapped: ({
|
|
527
261
|
type: "ERC20";
|
|
528
|
-
values: [bigint, ...bigint[]];
|
|
529
262
|
address: `0x${string}`;
|
|
263
|
+
values: bigint[];
|
|
530
264
|
} | {
|
|
531
265
|
type: "ERC721";
|
|
532
266
|
address: `0x${string}`;
|
|
533
|
-
tokenIds:
|
|
267
|
+
tokenIds: bigint[];
|
|
534
268
|
} | {
|
|
535
269
|
type: "ERC1155";
|
|
536
|
-
values: [bigint, ...bigint[]];
|
|
537
270
|
address: `0x${string}`;
|
|
538
|
-
tokenIds:
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
address: `0x${string}`;
|
|
543
|
-
} | {
|
|
544
|
-
type: "ERC721";
|
|
545
|
-
address: `0x${string}`;
|
|
546
|
-
tokenIds: [bigint, ...bigint[]];
|
|
547
|
-
} | {
|
|
548
|
-
type: "ERC1155";
|
|
549
|
-
values: [bigint, ...bigint[]];
|
|
550
|
-
address: `0x${string}`;
|
|
551
|
-
tokenIds: [bigint, ...bigint[]];
|
|
552
|
-
})[]];
|
|
553
|
-
funding: [{
|
|
554
|
-
amountPerPacket: bigint;
|
|
271
|
+
tokenIds: bigint[];
|
|
272
|
+
values: bigint[];
|
|
273
|
+
})[];
|
|
274
|
+
funding: {
|
|
555
275
|
token: `0x${string}`;
|
|
556
|
-
}, ...{
|
|
557
276
|
amountPerPacket: bigint;
|
|
558
|
-
|
|
559
|
-
}[]];
|
|
277
|
+
}[];
|
|
560
278
|
refundAddress: `0x${string}`;
|
|
561
279
|
amountOfPacketsPerFraction: bigint;
|
|
562
280
|
buyback: {
|
|
@@ -576,8 +294,8 @@ export declare function createLendingSale<E extends Env>(factory: Factory<E>): [
|
|
|
576
294
|
data: `0x${string}`;
|
|
577
295
|
to: `0x${string}`;
|
|
578
296
|
details: {
|
|
579
|
-
address: `0x${string}`;
|
|
580
297
|
functionName: string;
|
|
298
|
+
address: `0x${string}`;
|
|
581
299
|
abi: any[];
|
|
582
300
|
args: any[];
|
|
583
301
|
};
|