@evergonlabs/tmi-protocol-api 0.11.0-rc.0 → 0.11.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.d.ts +253 -878
- package/dist/app.d.ts.map +1 -1
- package/dist/app.js +1 -10
- package/dist/apps.d.ts +0 -6
- package/dist/apps.d.ts.map +1 -1
- package/dist/apps.js +0 -3
- package/dist/client.d.ts +260 -927
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +1 -9
- package/dist/common/blockchain.d.ts +173 -173
- package/dist/common/blockchain.d.ts.map +1 -1
- package/dist/common/config.d.ts +1 -1
- package/dist/common/config.d.ts.map +1 -1
- package/dist/common/config.js +1 -1
- package/dist/common/models/asset.d.ts +2 -2
- package/dist/common/models/asset.d.ts.map +1 -1
- package/dist/common/models/asset.js +2 -2
- package/dist/common/models/chainId.d.ts +6 -9
- package/dist/common/models/chainId.d.ts.map +1 -1
- package/dist/common/models/chainId.js +7 -17
- package/dist/common/models/deployTransaction.d.ts +1 -1
- package/dist/common/models/deployTransaction.d.ts.map +1 -1
- package/dist/common/models/deployTransaction.js +2 -2
- package/dist/common/models/erc721.d.ts +1 -1
- package/dist/common/models/erc721.d.ts.map +1 -1
- package/dist/common/models/erc721.js +1 -1
- package/dist/common/models/exports.d.ts +5 -5
- package/dist/common/models/exports.d.ts.map +1 -1
- package/dist/common/models/exports.js +5 -5
- package/dist/common/models/index.d.ts +1 -4
- package/dist/common/models/index.d.ts.map +1 -1
- package/dist/common/models/index.js +1 -4
- package/dist/common/models/page.d.ts +1 -1
- package/dist/common/models/page.d.ts.map +1 -1
- package/dist/common/models/page.js +1 -1
- package/dist/common/models/platform.d.ts +5 -5
- 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 +1 -1
- package/dist/common/models/routes.d.ts.map +1 -1
- package/dist/common/models/routes.js +1 -1
- package/dist/common/models/transaction.d.ts +2 -2
- package/dist/common/models/transaction.d.ts.map +1 -1
- package/dist/common/models/transaction.js +2 -2
- package/dist/fractions/index.d.ts +159 -111
- package/dist/fractions/index.d.ts.map +1 -1
- package/dist/fractions/index.js +0 -2
- package/dist/fractions/markets/{deployMarket.routes.d.ts → deployMarket.d.ts} +11 -11
- package/dist/fractions/markets/deployMarket.d.ts.map +1 -0
- package/dist/fractions/markets/{deployMarket.routes.js → deployMarket.js} +3 -2
- package/dist/fractions/markets/getDeployEvent.d.ts +2 -2
- package/dist/fractions/markets/getDeployEvent.d.ts.map +1 -1
- package/dist/fractions/markets/getDeployEvent.js +3 -2
- package/dist/fractions/markets/{getMarket/getMarket.d.ts → getMarket.d.ts} +8 -8
- package/dist/fractions/markets/getMarket.d.ts.map +1 -0
- package/dist/fractions/markets/{getMarket/getMarket.js → getMarket.js} +6 -8
- package/dist/fractions/markets/index.d.ts +187 -16
- package/dist/fractions/markets/index.d.ts.map +1 -1
- package/dist/fractions/markets/index.js +13 -6
- package/dist/fractions/markets/initCompilot.d.ts +28 -0
- package/dist/fractions/markets/initCompilot.d.ts.map +1 -0
- package/dist/fractions/markets/{initCompilot.routes.js → initCompilot.js} +7 -13
- package/dist/fractions/markets/{searchMarkets/searchMarkets.d.ts → searchMarkets.d.ts} +4 -4
- package/dist/fractions/markets/searchMarkets.d.ts.map +1 -0
- package/dist/fractions/markets/{searchMarkets/searchMarkets.js → searchMarkets.js} +7 -9
- package/dist/fractions/markets/{common/platform.d.ts → utils.d.ts} +10 -7
- package/dist/fractions/markets/utils.d.ts.map +1 -0
- package/dist/fractions/markets/{common/platform.js → utils.js} +7 -5
- package/dist/fractions/roles/getRoles.d.ts +1 -1
- package/dist/fractions/roles/getRoles.d.ts.map +1 -1
- package/dist/fractions/roles/getRoles.js +1 -1
- package/dist/fractions/roles/{grantRole.route.d.ts → grantRole.d.ts} +1 -2
- package/dist/fractions/roles/grantRole.d.ts.map +1 -0
- package/dist/fractions/roles/{grantRole.route.js → grantRole.js} +1 -1
- package/dist/fractions/roles/index.d.ts +0 -1
- package/dist/fractions/roles/index.d.ts.map +1 -1
- package/dist/fractions/roles/index.js +2 -2
- package/dist/fractions/sales/activityUtils.d.ts +4 -4
- package/dist/fractions/sales/activityUtils.d.ts.map +1 -1
- package/dist/fractions/sales/activityUtils.js +2 -2
- package/dist/fractions/sales/approveSale.route.d.ts +4 -7
- package/dist/fractions/sales/approveSale.route.d.ts.map +1 -1
- package/dist/fractions/sales/approveSale.route.js +4 -9
- package/dist/fractions/sales/approveWrapper.route.d.ts +2 -7
- package/dist/fractions/sales/approveWrapper.route.d.ts.map +1 -1
- package/dist/fractions/sales/approveWrapper.route.js +5 -9
- package/dist/fractions/sales/common/fractionsSale.d.ts +11 -11
- package/dist/fractions/sales/common/fractionsSale.d.ts.map +1 -1
- package/dist/fractions/sales/common/fractionsSale.js +3 -3
- package/dist/fractions/sales/completeSale.route.d.ts +4 -7
- package/dist/fractions/sales/completeSale.route.d.ts.map +1 -1
- package/dist/fractions/sales/completeSale.route.js +5 -10
- package/dist/fractions/sales/createFractions.route.d.ts +2 -3
- package/dist/fractions/sales/createFractions.route.d.ts.map +1 -1
- package/dist/fractions/sales/createFractions.route.js +2 -3
- package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts +5 -5
- package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts.map +1 -1
- package/dist/fractions/sales/getFractionSaleStatistics.route.js +1 -1
- package/dist/fractions/sales/getVaultAddress.d.ts +8 -8
- package/dist/fractions/sales/getVaultAddress.d.ts.map +1 -1
- package/dist/fractions/sales/getVaultAddress.js +3 -3
- package/dist/fractions/sales/getWithdrawEvent.d.ts +3 -3
- package/dist/fractions/sales/getWithdrawEvent.d.ts.map +1 -1
- package/dist/fractions/sales/getWithdrawEvent.js +1 -1
- package/dist/fractions/sales/index.d.ts +119 -70
- package/dist/fractions/sales/index.d.ts.map +1 -1
- package/dist/fractions/sales/index.js +5 -4
- package/dist/fractions/sales/parseFractionsCreatedEvent.d.ts +3 -3
- package/dist/fractions/sales/parseFractionsCreatedEvent.d.ts.map +1 -1
- package/dist/fractions/sales/parseFractionsCreatedEvent.js +1 -1
- package/dist/fractions/sales/purchase.route.d.ts +7 -12
- package/dist/fractions/sales/purchase.route.d.ts.map +1 -1
- package/dist/fractions/sales/purchase.route.js +4 -16
- package/dist/fractions/sales/purchaseStatistics.route.d.ts +2 -2
- package/dist/fractions/sales/purchaseStatistics.route.d.ts.map +1 -1
- package/dist/fractions/sales/purchaseStatistics.route.js +2 -2
- package/dist/fractions/sales/receiveFundsAfterNonFunded.route.d.ts +36 -14
- package/dist/fractions/sales/receiveFundsAfterNonFunded.route.d.ts.map +1 -1
- package/dist/fractions/sales/receiveFundsAfterNonFunded.route.js +35 -20
- package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts +5 -3
- 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 +12 -15
- package/dist/fractions/sales/recoverFractions.d.ts.map +1 -1
- package/dist/fractions/sales/recoverFractions.js +5 -16
- package/dist/fractions/sales/rejectFractions.d.ts +3 -8
- package/dist/fractions/sales/rejectFractions.d.ts.map +1 -1
- package/dist/fractions/sales/rejectFractions.js +5 -10
- package/dist/fractions/sales/searchActivity.route.d.ts +5 -5
- package/dist/fractions/sales/searchActivity.route.d.ts.map +1 -1
- package/dist/fractions/sales/searchActivity.route.js +2 -2
- package/dist/fractions/sales/searchSales/searchSales.d.ts +6 -6
- package/dist/fractions/sales/searchSales/searchSales.d.ts.map +1 -1
- package/dist/fractions/sales/searchSales/searchSales.js +2 -2
- package/dist/fractions/sales/searchWithdrawal.route.d.ts +1 -1
- package/dist/fractions/sales/searchWithdrawal.route.d.ts.map +1 -1
- package/dist/fractions/sales/searchWithdrawal.route.js +2 -2
- package/dist/fractions/sales/setFeeCapLimit.d.ts +4 -8
- package/dist/fractions/sales/setFeeCapLimit.d.ts.map +1 -1
- package/dist/fractions/sales/setFeeCapLimit.js +5 -11
- package/dist/fractions/sales/unlockWrappedAssets.route.d.ts +4 -6
- package/dist/fractions/sales/unlockWrappedAssets.route.d.ts.map +1 -1
- package/dist/fractions/sales/unlockWrappedAssets.route.js +5 -5
- package/dist/fractions/sales/vesting/claimStatistics.route.d.ts +8 -8
- package/dist/fractions/sales/vesting/claimStatistics.route.d.ts.map +1 -1
- package/dist/fractions/sales/vesting/claimStatistics.route.js +2 -2
- package/dist/fractions/sales/vesting/claimVestedTokens.route.d.ts +1 -8
- package/dist/fractions/sales/vesting/claimVestedTokens.route.d.ts.map +1 -1
- package/dist/fractions/sales/vesting/claimVestedTokens.route.js +2 -10
- package/dist/fractions/sales/vesting/editCliff.route.d.ts +4 -10
- package/dist/fractions/sales/vesting/editCliff.route.d.ts.map +1 -1
- package/dist/fractions/sales/vesting/editCliff.route.js +5 -12
- package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.d.ts +3 -3
- package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.d.ts.map +1 -1
- package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.js +1 -1
- package/dist/fractions/sales/withdraw.route.d.ts +4 -6
- package/dist/fractions/sales/withdraw.route.d.ts.map +1 -1
- package/dist/fractions/sales/withdraw.route.js +5 -5
- package/dist/fractions/schemas.d.ts +6 -0
- package/dist/fractions/schemas.d.ts.map +1 -0
- package/dist/fractions/schemas.js +6 -0
- package/dist/fractions/sig/getAuthData.d.ts +6 -6
- package/dist/fractions/sig/getAuthData.d.ts.map +1 -1
- package/dist/fractions/sig/getAuthData.js +4 -5
- package/dist/fractions/sig/getNonce.route.d.ts +4 -4
- package/dist/fractions/sig/getNonce.route.d.ts.map +1 -1
- package/dist/fractions/sig/getNonce.route.js +1 -1
- package/dist/fractions/sig/index.d.ts +2 -2
- package/dist/fractions/sig/index.d.ts.map +1 -1
- package/dist/fractions/sig/index.js +1 -1
- package/dist/fractions/statistics/index.d.ts +12 -12
- package/dist/fractions/statistics/index.d.ts.map +1 -1
- package/dist/fractions/statistics/index.js +1 -1
- package/dist/fractions/statistics/networkStatistics.route.d.ts +13 -13
- package/dist/fractions/statistics/networkStatistics.route.d.ts.map +1 -1
- package/dist/fractions/statistics/networkStatistics.route.js +6 -6
- package/dist/general/balanceClient.d.ts +1 -1
- package/dist/general/balanceClient.d.ts.map +1 -1
- package/dist/general/balanceClient.js +1 -1
- package/dist/general/common.d.ts +1 -1
- package/dist/general/common.d.ts.map +1 -1
- package/dist/general/common.js +1 -1
- package/dist/general/estimateGas.d.ts +1 -1
- package/dist/general/estimateGas.d.ts.map +1 -1
- package/dist/general/estimateGas.js +2 -3
- package/dist/general/getBalance.d.ts +2 -2
- package/dist/general/getBalance.d.ts.map +1 -1
- package/dist/general/getBalance.js +2 -3
- package/dist/general/getBalancesBatch.d.ts +1 -1
- package/dist/general/getBalancesBatch.d.ts.map +1 -1
- package/dist/general/getBalancesBatch.js +6 -5
- package/dist/general/index.d.ts +5 -5
- package/dist/general/searchBalances.d.ts +2 -2
- package/dist/general/searchBalances.d.ts.map +1 -1
- package/dist/general/searchBalances.js +6 -5
- package/dist/general/tag.d.ts +4 -0
- package/dist/general/tag.d.ts.map +1 -0
- package/dist/general/tag.js +2 -0
- package/dist/general/utils/tokenBalance/tokenBalance.d.ts +1 -1
- package/dist/general/utils/tokenBalance/tokenBalance.d.ts.map +1 -1
- package/dist/general/utils/tokenBalance/tokenBalance.js +1 -1
- package/dist/issuance/common/factories.base.d.ts +17 -23
- package/dist/issuance/common/factories.base.d.ts.map +1 -1
- package/dist/issuance/common/factories.base.js +3 -2
- package/dist/issuance/common/factories.d.ts +2 -1
- package/dist/issuance/common/factories.d.ts.map +1 -1
- package/dist/issuance/common/factories.js +8 -2
- package/dist/issuance/erc1155/burn.d.ts +3 -3
- package/dist/issuance/erc1155/burn.d.ts.map +1 -1
- package/dist/issuance/erc1155/burn.js +5 -5
- package/dist/issuance/erc1155/default/deploy.d.ts +3 -3
- package/dist/issuance/erc1155/default/deploy.d.ts.map +1 -1
- package/dist/issuance/erc1155/default/deploy.js +3 -3
- package/dist/issuance/erc1155/default/initialize.d.ts +1 -1
- package/dist/issuance/erc1155/default/initialize.d.ts.map +1 -1
- package/dist/issuance/erc1155/default/initialize.js +2 -2
- package/dist/issuance/erc1155/default/parseDeployEvent.d.ts +2 -2
- package/dist/issuance/erc1155/default/parseDeployEvent.d.ts.map +1 -1
- package/dist/issuance/erc1155/default/parseDeployEvent.js +5 -15
- package/dist/issuance/erc1155/gated/deploy.d.ts +3 -3
- package/dist/issuance/erc1155/gated/deploy.d.ts.map +1 -1
- package/dist/issuance/erc1155/gated/deploy.js +3 -3
- package/dist/issuance/erc1155/gated/initialize.d.ts +1 -1
- package/dist/issuance/erc1155/gated/initialize.d.ts.map +1 -1
- package/dist/issuance/erc1155/gated/initialize.js +2 -2
- package/dist/issuance/erc1155/gated/parseDeployEvent.d.ts +2 -2
- package/dist/issuance/erc1155/gated/parseDeployEvent.d.ts.map +1 -1
- package/dist/issuance/erc1155/gated/parseDeployEvent.js +5 -15
- package/dist/issuance/erc1155/getMintedTokenId.d.ts +2 -2
- package/dist/issuance/erc1155/getMintedTokenId.d.ts.map +1 -1
- package/dist/issuance/erc1155/getMintedTokenId.js +5 -15
- package/dist/issuance/erc1155/grantRole.d.ts +1 -1
- package/dist/issuance/erc1155/grantRole.d.ts.map +1 -1
- package/dist/issuance/erc1155/grantRole.js +2 -2
- package/dist/issuance/erc1155/index.d.ts +8 -8
- package/dist/issuance/erc1155/index.d.ts.map +1 -1
- package/dist/issuance/erc1155/index.js +1 -1
- package/dist/issuance/erc1155/mint.d.ts +2 -2
- package/dist/issuance/erc1155/mint.d.ts.map +1 -1
- package/dist/issuance/erc1155/mint.js +4 -4
- package/dist/issuance/erc1155/recover.d.ts +3 -3
- package/dist/issuance/erc1155/recover.d.ts.map +1 -1
- package/dist/issuance/erc1155/recover.js +5 -5
- package/dist/issuance/erc1155/renounceRole.d.ts +1 -1
- package/dist/issuance/erc1155/renounceRole.d.ts.map +1 -1
- package/dist/issuance/erc1155/renounceRole.js +2 -2
- package/dist/issuance/erc1155/revokeRole.d.ts +1 -1
- package/dist/issuance/erc1155/revokeRole.d.ts.map +1 -1
- package/dist/issuance/erc1155/revokeRole.js +2 -2
- package/dist/issuance/erc1155/setApprovalForAll.d.ts +1 -1
- package/dist/issuance/erc1155/setApprovalForAll.d.ts.map +1 -1
- package/dist/issuance/erc1155/setApprovalForAll.js +2 -2
- package/dist/issuance/erc1155/setBaseURI.d.ts +1 -1
- package/dist/issuance/erc1155/setBaseURI.d.ts.map +1 -1
- package/dist/issuance/erc1155/setBaseURI.js +2 -2
- package/dist/issuance/erc1155/setTokenURI.d.ts +2 -2
- package/dist/issuance/erc1155/setTokenURI.d.ts.map +1 -1
- package/dist/issuance/erc1155/setTokenURI.js +4 -4
- package/dist/issuance/erc20/approve.d.ts +2 -2
- package/dist/issuance/erc20/approve.d.ts.map +1 -1
- package/dist/issuance/erc20/approve.js +4 -4
- package/dist/issuance/erc20/burn.d.ts +2 -2
- package/dist/issuance/erc20/burn.d.ts.map +1 -1
- package/dist/issuance/erc20/burn.js +4 -4
- package/dist/issuance/erc20/default/deploy.d.ts +4 -4
- package/dist/issuance/erc20/default/deploy.d.ts.map +1 -1
- package/dist/issuance/erc20/default/deploy.js +5 -5
- package/dist/issuance/erc20/default/initialize.d.ts +2 -2
- package/dist/issuance/erc20/default/initialize.d.ts.map +1 -1
- package/dist/issuance/erc20/default/initialize.js +4 -4
- package/dist/issuance/erc20/default/parseDeployEvent.d.ts +2 -2
- package/dist/issuance/erc20/default/parseDeployEvent.d.ts.map +1 -1
- package/dist/issuance/erc20/default/parseDeployEvent.js +5 -15
- package/dist/issuance/erc20/gated/deploy.d.ts +4 -4
- package/dist/issuance/erc20/gated/deploy.d.ts.map +1 -1
- package/dist/issuance/erc20/gated/deploy.js +5 -5
- package/dist/issuance/erc20/gated/initialize.d.ts +2 -2
- package/dist/issuance/erc20/gated/initialize.d.ts.map +1 -1
- package/dist/issuance/erc20/gated/initialize.js +4 -4
- package/dist/issuance/erc20/gated/parseDeployEvent.d.ts +2 -2
- package/dist/issuance/erc20/gated/parseDeployEvent.d.ts.map +1 -1
- package/dist/issuance/erc20/gated/parseDeployEvent.js +5 -15
- package/dist/issuance/erc20/gatedSimple/deploy.d.ts.map +1 -1
- package/dist/issuance/erc20/gatedSimple/deploy.js +1 -1
- package/dist/issuance/erc20/gatedSimple/getInitData.d.ts +2 -2
- package/dist/issuance/erc20/gatedSimple/getInitData.d.ts.map +1 -1
- package/dist/issuance/erc20/gatedSimple/getInitData.js +4 -4
- package/dist/issuance/erc20/gatedSimple/parseDeployEvent.d.ts +2 -2
- package/dist/issuance/erc20/gatedSimple/parseDeployEvent.d.ts.map +1 -1
- package/dist/issuance/erc20/gatedSimple/parseDeployEvent.js +5 -15
- package/dist/issuance/erc20/grantRole.d.ts +1 -1
- package/dist/issuance/erc20/grantRole.d.ts.map +1 -1
- package/dist/issuance/erc20/grantRole.js +2 -2
- package/dist/issuance/erc20/index.d.ts +8 -8
- package/dist/issuance/erc20/index.d.ts.map +1 -1
- package/dist/issuance/erc20/index.js +1 -1
- package/dist/issuance/erc20/mint.d.ts +2 -2
- package/dist/issuance/erc20/mint.d.ts.map +1 -1
- package/dist/issuance/erc20/mint.js +4 -4
- package/dist/issuance/erc20/recover.d.ts +2 -2
- package/dist/issuance/erc20/recover.d.ts.map +1 -1
- package/dist/issuance/erc20/recover.js +4 -4
- package/dist/issuance/erc20/renounceRole.d.ts +1 -1
- package/dist/issuance/erc20/renounceRole.d.ts.map +1 -1
- package/dist/issuance/erc20/renounceRole.js +2 -2
- package/dist/issuance/erc20/revokeRole.d.ts +1 -1
- package/dist/issuance/erc20/revokeRole.d.ts.map +1 -1
- package/dist/issuance/erc20/revokeRole.js +2 -2
- package/dist/issuance/erc20/transfer.d.ts +2 -2
- package/dist/issuance/erc20/transfer.d.ts.map +1 -1
- package/dist/issuance/erc20/transfer.js +4 -4
- package/dist/issuance/erc20/transferFrom.d.ts +2 -2
- package/dist/issuance/erc20/transferFrom.d.ts.map +1 -1
- package/dist/issuance/erc20/transferFrom.js +4 -4
- package/dist/issuance/erc721/approve.d.ts +2 -2
- package/dist/issuance/erc721/approve.d.ts.map +1 -1
- package/dist/issuance/erc721/approve.js +4 -4
- package/dist/issuance/erc721/burn.d.ts +2 -2
- package/dist/issuance/erc721/burn.d.ts.map +1 -1
- package/dist/issuance/erc721/burn.js +4 -4
- package/dist/issuance/erc721/default/deploy.d.ts +3 -3
- package/dist/issuance/erc721/default/deploy.d.ts.map +1 -1
- package/dist/issuance/erc721/default/deploy.js +3 -3
- package/dist/issuance/erc721/default/initialize.d.ts +1 -1
- package/dist/issuance/erc721/default/initialize.d.ts.map +1 -1
- package/dist/issuance/erc721/default/initialize.js +2 -2
- package/dist/issuance/erc721/default/parseDeployEvent.d.ts +2 -2
- package/dist/issuance/erc721/default/parseDeployEvent.d.ts.map +1 -1
- package/dist/issuance/erc721/default/parseDeployEvent.js +5 -15
- package/dist/issuance/erc721/gated/deploy.d.ts +3 -3
- package/dist/issuance/erc721/gated/deploy.d.ts.map +1 -1
- package/dist/issuance/erc721/gated/deploy.js +3 -3
- package/dist/issuance/erc721/gated/initialize.d.ts +1 -1
- package/dist/issuance/erc721/gated/initialize.d.ts.map +1 -1
- package/dist/issuance/erc721/gated/initialize.js +2 -2
- package/dist/issuance/erc721/gated/parseDeployEvent.d.ts +2 -2
- package/dist/issuance/erc721/gated/parseDeployEvent.d.ts.map +1 -1
- package/dist/issuance/erc721/gated/parseDeployEvent.js +5 -15
- package/dist/issuance/erc721/getMintedTokenId.d.ts +2 -2
- package/dist/issuance/erc721/getMintedTokenId.d.ts.map +1 -1
- package/dist/issuance/erc721/getMintedTokenId.js +5 -15
- package/dist/issuance/erc721/grantRole.d.ts +1 -1
- package/dist/issuance/erc721/grantRole.d.ts.map +1 -1
- package/dist/issuance/erc721/grantRole.js +2 -2
- package/dist/issuance/erc721/index.d.ts +8 -8
- package/dist/issuance/erc721/index.d.ts.map +1 -1
- package/dist/issuance/erc721/index.js +1 -1
- package/dist/issuance/erc721/mint.d.ts +1 -1
- package/dist/issuance/erc721/mint.d.ts.map +1 -1
- package/dist/issuance/erc721/mint.js +2 -2
- package/dist/issuance/erc721/recover.d.ts +2 -2
- package/dist/issuance/erc721/recover.d.ts.map +1 -1
- package/dist/issuance/erc721/recover.js +4 -4
- package/dist/issuance/erc721/renounceRole.d.ts +1 -1
- package/dist/issuance/erc721/renounceRole.d.ts.map +1 -1
- package/dist/issuance/erc721/renounceRole.js +2 -2
- package/dist/issuance/erc721/revokeRole.d.ts +1 -1
- package/dist/issuance/erc721/revokeRole.d.ts.map +1 -1
- package/dist/issuance/erc721/revokeRole.js +2 -2
- package/dist/issuance/erc721/setBaseURI.d.ts +1 -1
- package/dist/issuance/erc721/setBaseURI.d.ts.map +1 -1
- package/dist/issuance/erc721/setBaseURI.js +2 -2
- package/dist/issuance/erc721/setTokenURI.d.ts +2 -2
- package/dist/issuance/erc721/setTokenURI.d.ts.map +1 -1
- package/dist/issuance/erc721/setTokenURI.js +4 -4
- package/dist/issuance/erc721/transferFrom.d.ts +2 -2
- package/dist/issuance/erc721/transferFrom.d.ts.map +1 -1
- package/dist/issuance/erc721/transferFrom.js +4 -4
- package/dist/issuance/index.d.ts +24 -24
- package/dist/issuance/proxy/deploy.d.ts +1 -1
- package/dist/issuance/proxy/deploy.d.ts.map +1 -1
- package/dist/issuance/proxy/deploy.js +2 -2
- package/dist/issuance/proxy/index.d.ts.map +1 -1
- package/dist/issuance/proxy/index.js +1 -1
- package/dist/issuance/proxy/upgrade.d.ts +1 -1
- package/dist/issuance/proxy/upgrade.d.ts.map +1 -1
- package/dist/issuance/proxy/upgrade.js +2 -2
- package/dist/issuance/schemas.d.ts +43 -0
- package/dist/issuance/schemas.d.ts.map +1 -0
- package/dist/issuance/schemas.js +46 -0
- package/dist/next/app.d.ts +708 -0
- package/dist/next/{fractions/index.d.ts.map → app.d.ts.map} +1 -1
- package/dist/next/app.js +33 -0
- package/dist/next/apps.d.ts +18 -0
- package/dist/next/apps.d.ts.map +1 -0
- package/dist/next/apps.js +11 -0
- package/dist/next/client.d.ts +704 -0
- package/dist/next/client.d.ts.map +1 -0
- package/dist/next/client.js +13 -0
- package/dist/next/lending/buyback.d.ts +28 -0
- package/dist/next/lending/buyback.d.ts.map +1 -0
- package/dist/next/{fractions/lending/buyback/buyback.routes.js → lending/buyback.js} +8 -7
- package/dist/next/lending/createSale.d.ts +71 -0
- package/dist/next/lending/createSale.d.ts.map +1 -0
- package/dist/next/lending/createSale.js +31 -0
- package/dist/next/{fractions/lending/deployMarket/lending.routes.d.ts → lending/deployMarket.d.ts} +4 -4
- package/dist/next/lending/deployMarket.d.ts.map +1 -0
- package/dist/next/{fractions/lending/deployMarket/lending.routes.js → lending/deployMarket.js} +8 -5
- package/dist/next/{fractions/lending → lending}/index.d.ts +23 -18
- package/dist/next/{fractions/lending → lending}/index.d.ts.map +1 -1
- package/dist/next/lending/index.js +17 -0
- package/dist/next/lending/schemas.d.ts +2 -0
- package/dist/next/lending/schemas.d.ts.map +1 -0
- package/dist/next/lending/schemas.js +3 -0
- package/dist/next/{fractions/vestingRedemptionDynamic/approveCampaign.routes.d.ts → lending/setCollateralPrice.d.ts} +7 -4
- package/dist/next/lending/setCollateralPrice.d.ts.map +1 -0
- package/dist/next/{fractions/lending/setCollateralPrice/setCollateralPrice.routes.js → lending/setCollateralPrice.js} +10 -7
- package/dist/next/lending/tag.d.ts +4 -0
- package/dist/next/lending/tag.d.ts.map +1 -0
- package/dist/next/lending/tag.js +2 -0
- package/dist/next/{fractions/sales/createNftFractions.routes.d.ts → nftFractions/createNftFractions.d.ts} +3 -3
- package/dist/next/nftFractions/createNftFractions.d.ts.map +1 -0
- package/dist/next/{fractions/sales/createNftFractions.routes.js → nftFractions/createNftFractions.js} +8 -18
- package/dist/next/{fractions/platforms/default/deployNftFractionsMarket.routes.d.ts → nftFractions/deployNftFractionsMarket.d.ts} +4 -4
- package/dist/next/nftFractions/deployNftFractionsMarket.d.ts.map +1 -0
- package/dist/next/{fractions/platforms/default/deployNftFractionsMarket.routes.js → nftFractions/deployNftFractionsMarket.js} +5 -4
- package/dist/next/{fractions/platforms/gated/deployNftFractionsMarket.routes.d.ts → nftFractions/deployNftFractionsMarketGated.d.ts} +5 -5
- package/dist/next/nftFractions/deployNftFractionsMarketGated.d.ts.map +1 -0
- package/dist/next/{fractions/platforms/gated/deployNftFractionsMarket.routes.js → nftFractions/deployNftFractionsMarketGated.js} +5 -4
- package/dist/next/nftFractions/index.d.ts +182 -0
- package/dist/{fractions/platforms → next/nftFractions}/index.d.ts.map +1 -1
- package/dist/next/nftFractions/index.js +17 -0
- package/dist/next/nftFractions/parseNftFractionsCreatedEvent.d.ts +23 -0
- package/dist/next/nftFractions/parseNftFractionsCreatedEvent.d.ts.map +1 -0
- package/dist/next/{fractions/sales/parseFractionsCreatedEvent.js → nftFractions/parseNftFractionsCreatedEvent.js} +15 -18
- package/dist/next/nftFractions/schemas.d.ts +2 -0
- package/dist/next/nftFractions/schemas.d.ts.map +1 -0
- package/dist/next/nftFractions/schemas.js +1 -0
- package/dist/next/nftFractions/tag.d.ts +4 -0
- package/dist/next/nftFractions/tag.d.ts.map +1 -0
- package/dist/next/nftFractions/tag.js +2 -0
- package/dist/next/schemas.d.ts +4 -0
- package/dist/next/schemas.d.ts.map +1 -0
- package/dist/next/schemas.js +3 -0
- package/dist/next/{fractions/vestingRedemptionDynamic/setEpochPrice.routes.d.ts → vestingRedemptionDynamic/approveCampaign.d.ts} +6 -5
- package/dist/next/vestingRedemptionDynamic/approveCampaign.d.ts.map +1 -0
- package/dist/next/{fractions/vestingRedemptionDynamic/approveCampaign.routes.js → vestingRedemptionDynamic/approveCampaign.js} +10 -14
- package/dist/next/{fractions/vestingRedemptionDynamic/createCampaign.routes.d.ts → vestingRedemptionDynamic/createCampaign.d.ts} +3 -3
- package/dist/next/vestingRedemptionDynamic/createCampaign.d.ts.map +1 -0
- package/dist/next/{fractions/vestingRedemptionDynamic/createCampaign.routes.js → vestingRedemptionDynamic/createCampaign.js} +8 -25
- package/dist/next/{fractions/vestingRedemptionDynamic/deployMarket.routes.d.ts → vestingRedemptionDynamic/deployMarket.d.ts} +3 -3
- package/dist/next/vestingRedemptionDynamic/deployMarket.d.ts.map +1 -0
- package/dist/next/{fractions/vestingRedemptionDynamic/deployMarket.routes.js → vestingRedemptionDynamic/deployMarket.js} +9 -13
- package/dist/next/vestingRedemptionDynamic/epochPurchase.d.ts +28 -0
- package/dist/next/vestingRedemptionDynamic/epochPurchase.d.ts.map +1 -0
- package/dist/next/vestingRedemptionDynamic/epochPurchase.js +34 -0
- package/dist/next/vestingRedemptionDynamic/exchangeNftForFractions.d.ts +28 -0
- package/dist/next/vestingRedemptionDynamic/exchangeNftForFractions.d.ts.map +1 -0
- package/dist/next/vestingRedemptionDynamic/exchangeNftForFractions.js +34 -0
- package/dist/next/vestingRedemptionDynamic/getCurrentEpoch.d.ts +21 -0
- package/dist/next/vestingRedemptionDynamic/getCurrentEpoch.d.ts.map +1 -0
- package/dist/next/{fractions/vestingRedemptionDynamic/getCurrentEpoch.routes.js → vestingRedemptionDynamic/getCurrentEpoch.js} +16 -25
- package/dist/next/vestingRedemptionDynamic/getEpochPurchaseEvent.d.ts +24 -0
- package/dist/next/vestingRedemptionDynamic/getEpochPurchaseEvent.d.ts.map +1 -0
- package/dist/next/{fractions/vestingRedemptionDynamic/getEpochPurchaseEvent.routes.js → vestingRedemptionDynamic/getEpochPurchaseEvent.js} +23 -24
- package/dist/next/vestingRedemptionDynamic/getPurchasePriceForEpoch.d.ts +22 -0
- package/dist/next/vestingRedemptionDynamic/getPurchasePriceForEpoch.d.ts.map +1 -0
- package/dist/next/vestingRedemptionDynamic/getPurchasePriceForEpoch.js +45 -0
- package/dist/next/vestingRedemptionDynamic/getWithdrawalRequestedEvent.d.ts +22 -0
- package/dist/next/vestingRedemptionDynamic/getWithdrawalRequestedEvent.d.ts.map +1 -0
- package/dist/next/{fractions/vestingRedemptionDynamic/getWithdrawalRequestedEvent.routes.js → vestingRedemptionDynamic/getWithdrawalRequestedEvent.js} +21 -22
- package/dist/next/{fractions/vestingRedemptionDynamic → vestingRedemptionDynamic}/index.d.ts +62 -46
- package/dist/next/{fractions/vestingRedemptionDynamic → vestingRedemptionDynamic}/index.d.ts.map +1 -1
- package/dist/next/{fractions/vestingRedemptionDynamic → vestingRedemptionDynamic}/index.js +16 -12
- package/dist/next/vestingRedemptionDynamic/requestWithdrawal.d.ts +28 -0
- package/dist/next/vestingRedemptionDynamic/requestWithdrawal.d.ts.map +1 -0
- package/dist/next/vestingRedemptionDynamic/requestWithdrawal.js +33 -0
- package/dist/next/vestingRedemptionDynamic/schemas.d.ts +2 -0
- package/dist/next/vestingRedemptionDynamic/schemas.d.ts.map +1 -0
- package/dist/next/vestingRedemptionDynamic/schemas.js +1 -0
- package/dist/next/{fractions/lending/buyback/buyback.routes.d.ts → vestingRedemptionDynamic/setEpochPrice.d.ts} +7 -6
- package/dist/next/vestingRedemptionDynamic/setEpochPrice.d.ts.map +1 -0
- package/dist/next/vestingRedemptionDynamic/setEpochPrice.js +34 -0
- package/dist/next/vestingRedemptionDynamic/tag.d.ts +4 -0
- package/dist/next/vestingRedemptionDynamic/tag.d.ts.map +1 -0
- package/dist/next/vestingRedemptionDynamic/tag.js +2 -0
- package/dist/next/{fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts → vestingRedemptionDynamic/withdrawFunds.d.ts} +7 -5
- package/dist/next/vestingRedemptionDynamic/withdrawFunds.d.ts.map +1 -0
- package/dist/next/vestingRedemptionDynamic/withdrawFunds.js +34 -0
- package/dist/schemas.d.ts +3 -0
- package/dist/schemas.d.ts.map +1 -0
- package/dist/schemas.js +2 -0
- package/dist/staking/index.d.ts +38 -38
- package/dist/staking/platforms/common/platform.d.ts +4 -4
- package/dist/staking/platforms/common/platform.d.ts.map +1 -1
- package/dist/staking/platforms/common/platform.js +3 -3
- package/dist/staking/platforms/getPlatform/index.d.ts +5 -5
- package/dist/staking/platforms/getPlatform/index.d.ts.map +1 -1
- package/dist/staking/platforms/getPlatform/index.js +1 -1
- package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts +7 -7
- package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts.map +1 -1
- package/dist/staking/platforms/getPlatform/v0/getPlatform.js +2 -2
- package/dist/staking/platforms/index.d.ts +9 -9
- package/dist/staking/platforms/index.d.ts.map +1 -1
- package/dist/staking/platforms/index.js +1 -1
- package/dist/staking/platforms/searchPlatforms/index.d.ts +4 -4
- package/dist/staking/platforms/searchPlatforms/index.d.ts.map +1 -1
- package/dist/staking/platforms/searchPlatforms/index.js +1 -1
- package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts +6 -6
- package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts.map +1 -1
- package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.js +2 -2
- package/dist/staking/pools/common/pool.d.ts +4 -4
- package/dist/staking/pools/common/pool.d.ts.map +1 -1
- package/dist/staking/pools/common/pool.js +6 -5
- package/dist/staking/pools/getPool/index.d.ts +6 -6
- package/dist/staking/pools/getPool/index.d.ts.map +1 -1
- package/dist/staking/pools/getPool/index.js +1 -1
- package/dist/staking/pools/getPool/v0/getPool.d.ts +8 -8
- package/dist/staking/pools/getPool/v0/getPool.d.ts.map +1 -1
- package/dist/staking/pools/getPool/v0/getPool.js +3 -3
- package/dist/staking/pools/index.d.ts +10 -10
- package/dist/staking/pools/index.d.ts.map +1 -1
- package/dist/staking/pools/index.js +1 -1
- package/dist/staking/pools/searchPools/index.d.ts +4 -4
- package/dist/staking/pools/searchPools/index.d.ts.map +1 -1
- package/dist/staking/pools/searchPools/index.js +1 -1
- package/dist/staking/pools/searchPools/v0/searchPools.d.ts +6 -6
- package/dist/staking/pools/searchPools/v0/searchPools.d.ts.map +1 -1
- package/dist/staking/pools/searchPools/v0/searchPools.js +2 -2
- package/dist/staking/roles/common/role.d.ts +1 -1
- package/dist/staking/roles/common/role.d.ts.map +1 -1
- package/dist/staking/roles/common/role.js +1 -1
- package/dist/staking/roles/common/roleAssignment.d.ts +5 -5
- package/dist/staking/roles/common/roleAssignment.d.ts.map +1 -1
- package/dist/staking/roles/common/roleAssignment.js +3 -3
- package/dist/staking/roles/common/roleEvent.d.ts +3 -3
- package/dist/staking/roles/common/roleEvent.d.ts.map +1 -1
- package/dist/staking/roles/common/roleEvent.js +2 -2
- package/dist/staking/roles/getRoles/index.d.ts.map +1 -1
- package/dist/staking/roles/getRoles/index.js +1 -1
- package/dist/staking/roles/getRoles/v0/getRoles.d.ts +1 -1
- package/dist/staking/roles/getRoles/v0/getRoles.d.ts.map +1 -1
- package/dist/staking/roles/getRoles/v0/getRoles.js +2 -2
- package/dist/staking/roles/grantRole/index.d.ts.map +1 -1
- package/dist/staking/roles/grantRole/index.js +1 -1
- package/dist/staking/roles/grantRole/v0/grantRole.d.ts +1 -1
- package/dist/staking/roles/grantRole/v0/grantRole.d.ts.map +1 -1
- package/dist/staking/roles/grantRole/v0/grantRole.js +1 -1
- package/dist/staking/roles/index.d.ts +8 -8
- package/dist/staking/roles/index.d.ts.map +1 -1
- package/dist/staking/roles/index.js +1 -1
- package/dist/staking/roles/searchRoleEvents/index.d.ts +3 -3
- package/dist/staking/roles/searchRoleEvents/index.d.ts.map +1 -1
- package/dist/staking/roles/searchRoleEvents/index.js +1 -1
- package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts +5 -4
- package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts.map +1 -1
- package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.js +2 -2
- package/dist/staking/roles/searchRoles/index.d.ts +5 -5
- package/dist/staking/roles/searchRoles/index.d.ts.map +1 -1
- package/dist/staking/roles/searchRoles/index.js +1 -1
- package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts +7 -7
- package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts.map +1 -1
- package/dist/staking/roles/searchRoles/v0/searchRoles.js +3 -3
- package/dist/staking/stakes/common/stake.d.ts +8 -8
- package/dist/staking/stakes/common/stake.d.ts.map +1 -1
- package/dist/staking/stakes/common/stake.js +5 -5
- package/dist/staking/stakes/common/stakeEvent.d.ts +5 -5
- package/dist/staking/stakes/common/stakeEvent.d.ts.map +1 -1
- package/dist/staking/stakes/common/stakeEvent.js +2 -2
- package/dist/staking/stakes/getStake/index.d.ts +4 -4
- package/dist/staking/stakes/getStake/index.d.ts.map +1 -1
- package/dist/staking/stakes/getStake/index.js +1 -1
- package/dist/staking/stakes/getStake/v0/getStake.d.ts +5 -5
- package/dist/staking/stakes/getStake/v0/getStake.d.ts.map +1 -1
- package/dist/staking/stakes/getStake/v0/getStake.js +3 -3
- package/dist/staking/stakes/index.d.ts +11 -11
- package/dist/staking/stakes/index.d.ts.map +1 -1
- package/dist/staking/stakes/index.js +1 -1
- package/dist/staking/stakes/searchStakeEvents/index.d.ts +5 -5
- package/dist/staking/stakes/searchStakeEvents/index.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakeEvents/index.js +1 -1
- package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts +7 -7
- package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.js +6 -5
- package/dist/staking/stakes/searchStakes/index.d.ts +2 -2
- package/dist/staking/stakes/searchStakes/index.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakes/index.js +1 -1
- package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts +3 -3
- package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakes/v0/searchStakes.js +2 -2
- package/dist/stakingTemplates/index.d.ts +27 -27
- package/dist/stakingTemplates/templates/common/amount.d.ts +4 -4
- package/dist/stakingTemplates/templates/common/amount.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/amount.js +5 -5
- package/dist/stakingTemplates/templates/common/amountMult.d.ts +2 -2
- package/dist/stakingTemplates/templates/common/amountMult.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/amountMult.js +3 -5
- package/dist/stakingTemplates/templates/common/erc20Input.d.ts +2 -2
- package/dist/stakingTemplates/templates/common/erc20Input.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/erc20Input.js +3 -3
- package/dist/stakingTemplates/templates/common/erc20Reward.d.ts +2 -2
- package/dist/stakingTemplates/templates/common/erc20Reward.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/erc20Reward.js +3 -3
- package/dist/stakingTemplates/templates/common/getCreatePoolEvent.d.ts +3 -3
- package/dist/stakingTemplates/templates/common/getCreatePoolEvent.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/getCreatePoolEvent.js +2 -2
- package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.d.ts +3 -3
- package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.js +2 -2
- package/dist/stakingTemplates/templates/common/getReward.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/getReward.js +3 -2
- package/dist/stakingTemplates/templates/common/getStakeEvent.d.ts +2 -2
- package/dist/stakingTemplates/templates/common/getStakeEvent.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/getStakeEvent.js +1 -1
- package/dist/stakingTemplates/templates/common/lock.d.ts +3 -3
- package/dist/stakingTemplates/templates/common/lock.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/lock.js +6 -6
- package/dist/stakingTemplates/templates/common/lockMult.d.ts +2 -2
- package/dist/stakingTemplates/templates/common/lockMult.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/lockMult.js +3 -5
- package/dist/stakingTemplates/templates/common/partialUnstake.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/partialUnstake.js +3 -3
- package/dist/stakingTemplates/templates/common/rewardDistribution.d.ts +3 -3
- package/dist/stakingTemplates/templates/common/rewardDistribution.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/rewardDistribution.js +4 -4
- package/dist/stakingTemplates/templates/common/templates.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/time.d.ts +1 -1
- package/dist/stakingTemplates/templates/common/time.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/time.js +1 -1
- package/dist/stakingTemplates/templates/common/unstake.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/unstake.js +1 -1
- package/dist/stakingTemplates/templates/reputation/index.d.ts +9 -9
- package/dist/stakingTemplates/templates/reputation/index.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputation/index.js +1 -1
- package/dist/stakingTemplates/templates/reputation/v0/createPlatform.d.ts +1 -1
- package/dist/stakingTemplates/templates/reputation/v0/createPlatform.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputation/v0/createPlatform.js +2 -2
- package/dist/stakingTemplates/templates/reputation/v0/createPool.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputation/v0/createPool.js +8 -8
- package/dist/stakingTemplates/templates/reputation/v0/index.d.ts +9 -9
- package/dist/stakingTemplates/templates/reputation/v0/index.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputation/v0/index.js +7 -7
- package/dist/stakingTemplates/templates/reputation/v0/restake.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputation/v0/restake.js +4 -4
- package/dist/stakingTemplates/templates/reputation/v0/stake.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputation/v0/stake.js +4 -4
- package/dist/stakingTemplates/templates/reputationLock/index.d.ts +9 -9
- package/dist/stakingTemplates/templates/reputationLock/index.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputationLock/index.js +1 -1
- package/dist/stakingTemplates/templates/reputationLock/v0/createPlatform.d.ts +1 -1
- package/dist/stakingTemplates/templates/reputationLock/v0/createPlatform.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputationLock/v0/createPlatform.js +2 -2
- package/dist/stakingTemplates/templates/reputationLock/v0/createPool.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputationLock/v0/createPool.js +10 -10
- package/dist/stakingTemplates/templates/reputationLock/v0/index.d.ts +9 -9
- package/dist/stakingTemplates/templates/reputationLock/v0/index.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputationLock/v0/index.js +7 -7
- package/dist/stakingTemplates/templates/reputationLock/v0/restake.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputationLock/v0/restake.js +5 -5
- package/dist/stakingTemplates/templates/reputationLock/v0/stake.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputationLock/v0/stake.js +5 -5
- package/dist/stakingTemplates/templates/rwa/index.d.ts +9 -9
- package/dist/stakingTemplates/templates/rwa/index.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/rwa/index.js +1 -1
- package/dist/stakingTemplates/templates/rwa/v0/createPlatform.d.ts +1 -1
- package/dist/stakingTemplates/templates/rwa/v0/createPlatform.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/rwa/v0/createPlatform.js +2 -2
- package/dist/stakingTemplates/templates/rwa/v0/createPool.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/rwa/v0/createPool.js +7 -7
- package/dist/stakingTemplates/templates/rwa/v0/distributeRewards.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/rwa/v0/distributeRewards.js +4 -4
- package/dist/stakingTemplates/templates/rwa/v0/index.d.ts +9 -9
- package/dist/stakingTemplates/templates/rwa/v0/index.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/rwa/v0/index.js +7 -7
- package/dist/stakingTemplates/templates/rwa/v0/restake.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/rwa/v0/restake.js +4 -4
- package/dist/stakingTemplates/templates/rwa/v0/stake.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/rwa/v0/stake.js +4 -4
- package/package.json +32 -13
- package/dist/common/int256.d.ts +0 -3
- package/dist/common/int256.d.ts.map +0 -1
- package/dist/common/int256.js +0 -12
- package/dist/common/models/base/chainId.d.ts +0 -8
- package/dist/common/models/base/chainId.d.ts.map +0 -1
- package/dist/common/models/base/chainId.js +0 -11
- package/dist/common/models/base/date.d.ts +0 -6
- package/dist/common/models/base/date.d.ts.map +0 -1
- package/dist/common/models/base/date.js +0 -13
- package/dist/common/models/base/deployTransaction.d.ts +0 -8
- package/dist/common/models/base/deployTransaction.d.ts.map +0 -1
- package/dist/common/models/base/deployTransaction.js +0 -7
- package/dist/common/models/base/page.d.ts +0 -7
- package/dist/common/models/base/page.d.ts.map +0 -1
- package/dist/common/models/base/page.js +0 -5
- package/dist/common/models/base/transaction.d.ts +0 -13
- package/dist/common/models/base/transaction.d.ts.map +0 -1
- package/dist/common/models/base/transaction.js +0 -12
- package/dist/common/models/base/viem.d.ts +0 -6
- package/dist/common/models/base/viem.d.ts.map +0 -1
- package/dist/common/models/base/viem.js +0 -5
- package/dist/common/models/date.d.ts +0 -2
- package/dist/common/models/date.d.ts.map +0 -1
- package/dist/common/models/date.js +0 -4
- package/dist/common/models/percent.d.ts +0 -3
- package/dist/common/models/percent.d.ts.map +0 -1
- package/dist/common/models/percent.js +0 -6
- package/dist/common/models/saleId.d.ts +0 -6
- package/dist/common/models/saleId.d.ts.map +0 -1
- package/dist/common/models/saleId.js +0 -7
- package/dist/common/models/viem.d.ts +0 -6
- package/dist/common/models/viem.d.ts.map +0 -1
- package/dist/common/models/viem.js +0 -22
- package/dist/fractions/markets/common/platform.d.ts.map +0 -1
- package/dist/fractions/markets/deployMarket.routes.d.ts.map +0 -1
- package/dist/fractions/markets/deployMarket.schema.d.ts +0 -33
- package/dist/fractions/markets/deployMarket.schema.d.ts.map +0 -1
- package/dist/fractions/markets/deployMarket.schema.js +0 -28
- package/dist/fractions/markets/getMarket/getMarket.d.ts.map +0 -1
- package/dist/fractions/markets/getMarket/index.d.ts +0 -50
- package/dist/fractions/markets/getMarket/index.d.ts.map +0 -1
- package/dist/fractions/markets/getMarket/index.js +0 -5
- package/dist/fractions/markets/initCompilot.routes.d.ts +0 -36
- package/dist/fractions/markets/initCompilot.routes.d.ts.map +0 -1
- package/dist/fractions/markets/searchMarkets/index.d.ts +0 -42
- package/dist/fractions/markets/searchMarkets/index.d.ts.map +0 -1
- package/dist/fractions/markets/searchMarkets/index.js +0 -5
- package/dist/fractions/markets/searchMarkets/searchMarkets.d.ts.map +0 -1
- package/dist/fractions/platforms/index.d.ts +0 -174
- package/dist/fractions/platforms/index.js +0 -13
- package/dist/fractions/roles/grantRole.route.d.ts.map +0 -1
- package/dist/fractions/roles/grantRole.schema.d.ts +0 -16
- package/dist/fractions/roles/grantRole.schema.d.ts.map +0 -1
- package/dist/fractions/roles/grantRole.schema.js +0 -14
- package/dist/fractions/sales/createFractions.schema.d.ts +0 -123
- package/dist/fractions/sales/createFractions.schema.d.ts.map +0 -1
- package/dist/fractions/sales/createFractions.schema.js +0 -80
- package/dist/next/fractions/index.d.ts +0 -671
- package/dist/next/fractions/index.js +0 -15
- package/dist/next/fractions/lending/buyback/buyback.routes.d.ts.map +0 -1
- package/dist/next/fractions/lending/buyback/buyback.schema.d.ts +0 -8
- package/dist/next/fractions/lending/buyback/buyback.schema.d.ts.map +0 -1
- package/dist/next/fractions/lending/buyback/buyback.schema.js +0 -13
- package/dist/next/fractions/lending/createLendingSale.d.ts +0 -130
- package/dist/next/fractions/lending/createLendingSale.d.ts.map +0 -1
- package/dist/next/fractions/lending/createLendingSale.js +0 -82
- package/dist/next/fractions/lending/deployMarket/lending.routes.d.ts.map +0 -1
- package/dist/next/fractions/lending/index.js +0 -15
- package/dist/next/fractions/lending/schemas.d.ts +0 -25
- package/dist/next/fractions/lending/schemas.d.ts.map +0 -1
- package/dist/next/fractions/lending/schemas.js +0 -21
- package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts.map +0 -1
- package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts +0 -7
- package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts.map +0 -1
- package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.schema.js +0 -11
- package/dist/next/fractions/platforms/default/deployNftFractionsMarket.routes.d.ts.map +0 -1
- package/dist/next/fractions/platforms/default/deployNftFractionsMarket.schema.d.ts +0 -25
- package/dist/next/fractions/platforms/default/deployNftFractionsMarket.schema.d.ts.map +0 -1
- package/dist/next/fractions/platforms/default/deployNftFractionsMarket.schema.js +0 -23
- package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.routes.d.ts.map +0 -1
- package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.schema.d.ts +0 -26
- package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.schema.d.ts.map +0 -1
- package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.schema.js +0 -24
- package/dist/next/fractions/platforms/index.d.ts +0 -69
- package/dist/next/fractions/platforms/index.d.ts.map +0 -1
- package/dist/next/fractions/platforms/index.js +0 -9
- package/dist/next/fractions/sales/createNftFractions.routes.d.ts.map +0 -1
- package/dist/next/fractions/sales/createNftFractions.schema.d.ts +0 -88
- package/dist/next/fractions/sales/createNftFractions.schema.d.ts.map +0 -1
- package/dist/next/fractions/sales/createNftFractions.schema.js +0 -61
- package/dist/next/fractions/sales/index.d.ts +0 -112
- package/dist/next/fractions/sales/index.d.ts.map +0 -1
- package/dist/next/fractions/sales/index.js +0 -11
- package/dist/next/fractions/sales/parseFractionsCreatedEvent.d.ts +0 -23
- package/dist/next/fractions/sales/parseFractionsCreatedEvent.d.ts.map +0 -1
- package/dist/next/fractions/vestingRedemptionDynamic/approveCampaign.routes.d.ts.map +0 -1
- package/dist/next/fractions/vestingRedemptionDynamic/createCampaign.routes.d.ts.map +0 -1
- package/dist/next/fractions/vestingRedemptionDynamic/createCampaign.schema.d.ts +0 -43
- package/dist/next/fractions/vestingRedemptionDynamic/createCampaign.schema.d.ts.map +0 -1
- package/dist/next/fractions/vestingRedemptionDynamic/createCampaign.schema.js +0 -48
- package/dist/next/fractions/vestingRedemptionDynamic/deployMarket.routes.d.ts.map +0 -1
- package/dist/next/fractions/vestingRedemptionDynamic/deployMarket.schema.d.ts +0 -23
- package/dist/next/fractions/vestingRedemptionDynamic/deployMarket.schema.d.ts.map +0 -1
- package/dist/next/fractions/vestingRedemptionDynamic/deployMarket.schema.js +0 -29
- package/dist/next/fractions/vestingRedemptionDynamic/epochPurchase.routes.d.ts +0 -51
- package/dist/next/fractions/vestingRedemptionDynamic/epochPurchase.routes.d.ts.map +0 -1
- package/dist/next/fractions/vestingRedemptionDynamic/epochPurchase.routes.js +0 -74
- package/dist/next/fractions/vestingRedemptionDynamic/epochWithdrawal.routes.d.ts +0 -51
- package/dist/next/fractions/vestingRedemptionDynamic/epochWithdrawal.routes.d.ts.map +0 -1
- package/dist/next/fractions/vestingRedemptionDynamic/epochWithdrawal.routes.js +0 -75
- package/dist/next/fractions/vestingRedemptionDynamic/getCurrentEpoch.routes.d.ts +0 -19
- package/dist/next/fractions/vestingRedemptionDynamic/getCurrentEpoch.routes.d.ts.map +0 -1
- package/dist/next/fractions/vestingRedemptionDynamic/getEpochPurchaseEvent.routes.d.ts +0 -23
- package/dist/next/fractions/vestingRedemptionDynamic/getEpochPurchaseEvent.routes.d.ts.map +0 -1
- package/dist/next/fractions/vestingRedemptionDynamic/getPurchasePriceForEpoch.routes.d.ts +0 -20
- package/dist/next/fractions/vestingRedemptionDynamic/getPurchasePriceForEpoch.routes.d.ts.map +0 -1
- package/dist/next/fractions/vestingRedemptionDynamic/getPurchasePriceForEpoch.routes.js +0 -59
- package/dist/next/fractions/vestingRedemptionDynamic/getWithdrawalRequestedEvent.routes.d.ts +0 -21
- package/dist/next/fractions/vestingRedemptionDynamic/getWithdrawalRequestedEvent.routes.d.ts.map +0 -1
- package/dist/next/fractions/vestingRedemptionDynamic/setEpochPrice.routes.d.ts.map +0 -1
- package/dist/next/fractions/vestingRedemptionDynamic/setEpochPrice.routes.js +0 -41
|
@@ -1,671 +0,0 @@
|
|
|
1
|
-
export declare const NextFractionsApi: import("../../common/controller.js").IApi<import("hono/hono-base").HonoBase<import("../../common/context.js").AppContext, import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
2
|
-
"/": {
|
|
3
|
-
$post: {
|
|
4
|
-
input: {
|
|
5
|
-
json: {
|
|
6
|
-
chainId: unknown;
|
|
7
|
-
adminAddress: string;
|
|
8
|
-
acceptedFundingTokens: string[];
|
|
9
|
-
ownerAddress?: string | undefined;
|
|
10
|
-
cap?: {
|
|
11
|
-
maxHardCap: string;
|
|
12
|
-
} | undefined;
|
|
13
|
-
fee?: {
|
|
14
|
-
percent: number;
|
|
15
|
-
collectorAddress: string;
|
|
16
|
-
feeAdmin: string;
|
|
17
|
-
} | undefined;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
output: {
|
|
21
|
-
data: `0x${string}`;
|
|
22
|
-
to: `0x${string}`;
|
|
23
|
-
details: {
|
|
24
|
-
functionName: string;
|
|
25
|
-
address: `0x${string}`;
|
|
26
|
-
abi: any[];
|
|
27
|
-
args: any[];
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
outputFormat: "json";
|
|
31
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
}, "/deployNftFractions"> | import("hono/types").MergeSchemaPath<{
|
|
35
|
-
"/": {
|
|
36
|
-
$post: {
|
|
37
|
-
input: {
|
|
38
|
-
json: {
|
|
39
|
-
chainId: unknown;
|
|
40
|
-
adminAddress: string;
|
|
41
|
-
acceptedFundingTokens: string[];
|
|
42
|
-
ownerAddress?: string | undefined;
|
|
43
|
-
compilotSignerAddress?: string | undefined;
|
|
44
|
-
cap?: {
|
|
45
|
-
maxHardCap: string;
|
|
46
|
-
} | undefined;
|
|
47
|
-
fee?: {
|
|
48
|
-
percent: number;
|
|
49
|
-
collectorAddress: string;
|
|
50
|
-
feeAdmin: string;
|
|
51
|
-
} | undefined;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
output: {
|
|
55
|
-
data: `0x${string}`;
|
|
56
|
-
to: `0x${string}`;
|
|
57
|
-
details: {
|
|
58
|
-
functionName: string;
|
|
59
|
-
address: `0x${string}`;
|
|
60
|
-
abi: any[];
|
|
61
|
-
args: any[];
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
outputFormat: "json";
|
|
65
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
}, "/deployNftFractionsGated">, "/platforms"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
69
|
-
"/": {
|
|
70
|
-
$post: {
|
|
71
|
-
input: {
|
|
72
|
-
json: {
|
|
73
|
-
market: string;
|
|
74
|
-
campaignId: string;
|
|
75
|
-
chainId: unknown;
|
|
76
|
-
amountToBuy: string;
|
|
77
|
-
applyDiscount: boolean;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
output: {
|
|
81
|
-
data: `0x${string}`;
|
|
82
|
-
to: `0x${string}`;
|
|
83
|
-
details: {
|
|
84
|
-
functionName: string;
|
|
85
|
-
address: `0x${string}`;
|
|
86
|
-
abi: any[];
|
|
87
|
-
args: any[];
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
outputFormat: "json";
|
|
91
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
}, "/purchase"> | import("hono/types").MergeSchemaPath<{
|
|
95
|
-
"/": {
|
|
96
|
-
$post: {
|
|
97
|
-
input: {
|
|
98
|
-
json: {
|
|
99
|
-
chainId: unknown;
|
|
100
|
-
market: string;
|
|
101
|
-
wrapped: ({
|
|
102
|
-
type: "ERC20";
|
|
103
|
-
address: string;
|
|
104
|
-
values: string[];
|
|
105
|
-
} | {
|
|
106
|
-
type: "ERC721";
|
|
107
|
-
address: string;
|
|
108
|
-
tokenIds: string[];
|
|
109
|
-
} | {
|
|
110
|
-
type: "ERC1155";
|
|
111
|
-
address: string;
|
|
112
|
-
tokenIds: string[];
|
|
113
|
-
values: string[];
|
|
114
|
-
})[];
|
|
115
|
-
fractions: {
|
|
116
|
-
name: string;
|
|
117
|
-
symbol: string;
|
|
118
|
-
amount: string;
|
|
119
|
-
};
|
|
120
|
-
timeBoundary: {
|
|
121
|
-
start: string;
|
|
122
|
-
end: string;
|
|
123
|
-
};
|
|
124
|
-
cap: {
|
|
125
|
-
soft: string;
|
|
126
|
-
hard: string;
|
|
127
|
-
softPerAccount?: string | undefined;
|
|
128
|
-
hardPerAccount?: string | undefined;
|
|
129
|
-
};
|
|
130
|
-
funding: {
|
|
131
|
-
token: string;
|
|
132
|
-
amountPerPacket: string;
|
|
133
|
-
}[];
|
|
134
|
-
amountOfPacketsPerFraction: string;
|
|
135
|
-
refundAddress: string;
|
|
136
|
-
vesting?: {
|
|
137
|
-
cliff: string;
|
|
138
|
-
totalVestingPeriod: number;
|
|
139
|
-
portionPeriod: number;
|
|
140
|
-
} | undefined;
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
output: {
|
|
144
|
-
data: `0x${string}`;
|
|
145
|
-
to: `0x${string}`;
|
|
146
|
-
details: {
|
|
147
|
-
functionName: string;
|
|
148
|
-
address: `0x${string}`;
|
|
149
|
-
abi: any[];
|
|
150
|
-
args: any[];
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
outputFormat: "json";
|
|
154
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
155
|
-
};
|
|
156
|
-
};
|
|
157
|
-
}, "/nftFractions"> | import("hono/types").MergeSchemaPath<{
|
|
158
|
-
"/": {
|
|
159
|
-
$get: {
|
|
160
|
-
input: {
|
|
161
|
-
query: {
|
|
162
|
-
chainId: string | string[];
|
|
163
|
-
hash: string | string[];
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
output: {
|
|
167
|
-
campaignId: string;
|
|
168
|
-
creator: `0x${string}`;
|
|
169
|
-
nftId: string;
|
|
170
|
-
fractionsCreated: string;
|
|
171
|
-
fractionsAddress: `0x${string}`;
|
|
172
|
-
vaultAddress: `0x${string}` | undefined;
|
|
173
|
-
};
|
|
174
|
-
outputFormat: "json";
|
|
175
|
-
status: 200;
|
|
176
|
-
};
|
|
177
|
-
};
|
|
178
|
-
}, "/getFractionsCreatedEvent">, "/sales"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
179
|
-
"/": {
|
|
180
|
-
$post: {
|
|
181
|
-
input: {
|
|
182
|
-
json: {
|
|
183
|
-
market: string;
|
|
184
|
-
campaignId: string;
|
|
185
|
-
chainId: unknown;
|
|
186
|
-
amountToBuy: string;
|
|
187
|
-
applyDiscount: boolean;
|
|
188
|
-
};
|
|
189
|
-
};
|
|
190
|
-
output: {
|
|
191
|
-
data: `0x${string}`;
|
|
192
|
-
to: `0x${string}`;
|
|
193
|
-
details: {
|
|
194
|
-
functionName: string;
|
|
195
|
-
address: `0x${string}`;
|
|
196
|
-
abi: any[];
|
|
197
|
-
args: any[];
|
|
198
|
-
};
|
|
199
|
-
};
|
|
200
|
-
outputFormat: "json";
|
|
201
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
202
|
-
};
|
|
203
|
-
};
|
|
204
|
-
}, "/purchase"> | import("hono/types").MergeSchemaPath<{
|
|
205
|
-
"/": {
|
|
206
|
-
$post: {
|
|
207
|
-
input: {
|
|
208
|
-
json: {
|
|
209
|
-
chainId: unknown;
|
|
210
|
-
adminAddress: string;
|
|
211
|
-
minInterest: number;
|
|
212
|
-
maxInterest: number;
|
|
213
|
-
minDuration: string;
|
|
214
|
-
maxDuration: string;
|
|
215
|
-
minimumProportionOverObligation: string;
|
|
216
|
-
ownerAddress?: string | undefined;
|
|
217
|
-
discount?: {
|
|
218
|
-
burnForDiscount: {
|
|
219
|
-
burnableTokenAddress: string;
|
|
220
|
-
};
|
|
221
|
-
} | undefined;
|
|
222
|
-
cap?: {
|
|
223
|
-
maxHardCap: string;
|
|
224
|
-
} | undefined;
|
|
225
|
-
fee?: {
|
|
226
|
-
percent: number;
|
|
227
|
-
collectorAddress: string;
|
|
228
|
-
feeAdmin: string;
|
|
229
|
-
} | undefined;
|
|
230
|
-
};
|
|
231
|
-
};
|
|
232
|
-
output: {
|
|
233
|
-
data: `0x${string}`;
|
|
234
|
-
to: `0x${string}`;
|
|
235
|
-
details: {
|
|
236
|
-
functionName: string;
|
|
237
|
-
address: `0x${string}`;
|
|
238
|
-
abi: any[];
|
|
239
|
-
args: any[];
|
|
240
|
-
};
|
|
241
|
-
};
|
|
242
|
-
outputFormat: "json";
|
|
243
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
244
|
-
};
|
|
245
|
-
};
|
|
246
|
-
}, "/deploy"> | import("hono/types").MergeSchemaPath<{
|
|
247
|
-
"/": {
|
|
248
|
-
$post: {
|
|
249
|
-
input: {
|
|
250
|
-
json: {
|
|
251
|
-
chainId: unknown;
|
|
252
|
-
market: string;
|
|
253
|
-
fractions: {
|
|
254
|
-
symbol: string;
|
|
255
|
-
name: string;
|
|
256
|
-
amount: string;
|
|
257
|
-
token?: string | undefined;
|
|
258
|
-
};
|
|
259
|
-
timeBoundary: {
|
|
260
|
-
start: string;
|
|
261
|
-
end: string;
|
|
262
|
-
};
|
|
263
|
-
cap: {
|
|
264
|
-
soft: string;
|
|
265
|
-
hard: string;
|
|
266
|
-
softPerAccount?: string | undefined;
|
|
267
|
-
hardPerAccount?: string | undefined;
|
|
268
|
-
};
|
|
269
|
-
wrapped: ({
|
|
270
|
-
type: "ERC20";
|
|
271
|
-
address: string;
|
|
272
|
-
values: string[];
|
|
273
|
-
} | {
|
|
274
|
-
type: "ERC721";
|
|
275
|
-
address: string;
|
|
276
|
-
tokenIds: string[];
|
|
277
|
-
} | {
|
|
278
|
-
type: "ERC1155";
|
|
279
|
-
address: string;
|
|
280
|
-
tokenIds: string[];
|
|
281
|
-
values: string[];
|
|
282
|
-
})[];
|
|
283
|
-
funding: {
|
|
284
|
-
token: string;
|
|
285
|
-
amountPerPacket: string;
|
|
286
|
-
}[];
|
|
287
|
-
refundAddress: string;
|
|
288
|
-
amountOfPacketsPerFraction: string;
|
|
289
|
-
buyback: {
|
|
290
|
-
durationSeconds: number;
|
|
291
|
-
interestPercentage: number;
|
|
292
|
-
liquidationLimitPercentage: number;
|
|
293
|
-
marginCallLimitPercentage: number;
|
|
294
|
-
};
|
|
295
|
-
discounts?: {
|
|
296
|
-
burnableTokenAddress: string;
|
|
297
|
-
amountToBurn: string;
|
|
298
|
-
percentDiscount: number;
|
|
299
|
-
} | undefined;
|
|
300
|
-
};
|
|
301
|
-
};
|
|
302
|
-
output: {
|
|
303
|
-
data: `0x${string}`;
|
|
304
|
-
to: `0x${string}`;
|
|
305
|
-
details: {
|
|
306
|
-
functionName: string;
|
|
307
|
-
address: `0x${string}`;
|
|
308
|
-
abi: any[];
|
|
309
|
-
args: any[];
|
|
310
|
-
};
|
|
311
|
-
};
|
|
312
|
-
outputFormat: "json";
|
|
313
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
314
|
-
};
|
|
315
|
-
};
|
|
316
|
-
}, "/createSale"> | import("hono/types").MergeSchemaPath<{
|
|
317
|
-
"/": {
|
|
318
|
-
$post: {
|
|
319
|
-
input: {
|
|
320
|
-
json: {
|
|
321
|
-
collateralPriceInFundingPackets: string;
|
|
322
|
-
market: string;
|
|
323
|
-
campaignId: string;
|
|
324
|
-
};
|
|
325
|
-
};
|
|
326
|
-
output: {
|
|
327
|
-
data: `0x${string}`;
|
|
328
|
-
to: `0x${string}`;
|
|
329
|
-
details: {
|
|
330
|
-
functionName: string;
|
|
331
|
-
address: `0x${string}`;
|
|
332
|
-
abi: any[];
|
|
333
|
-
args: any[];
|
|
334
|
-
};
|
|
335
|
-
};
|
|
336
|
-
outputFormat: "json";
|
|
337
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
338
|
-
};
|
|
339
|
-
};
|
|
340
|
-
}, "/setCollateralPrice"> | import("hono/types").MergeSchemaPath<{
|
|
341
|
-
"/": {
|
|
342
|
-
$post: {
|
|
343
|
-
input: {
|
|
344
|
-
json: {
|
|
345
|
-
chainId: unknown;
|
|
346
|
-
buybackPacketsAmount: string;
|
|
347
|
-
market: string;
|
|
348
|
-
campaignId: string;
|
|
349
|
-
};
|
|
350
|
-
};
|
|
351
|
-
output: {
|
|
352
|
-
data: `0x${string}`;
|
|
353
|
-
to: `0x${string}`;
|
|
354
|
-
details: {
|
|
355
|
-
functionName: string;
|
|
356
|
-
address: `0x${string}`;
|
|
357
|
-
abi: any[];
|
|
358
|
-
args: any[];
|
|
359
|
-
};
|
|
360
|
-
};
|
|
361
|
-
outputFormat: "json";
|
|
362
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
363
|
-
};
|
|
364
|
-
};
|
|
365
|
-
}, "/buyback">, "/lending"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
366
|
-
"/": {
|
|
367
|
-
$post: {
|
|
368
|
-
input: {
|
|
369
|
-
json: {
|
|
370
|
-
chainId: unknown;
|
|
371
|
-
adminAddress: string;
|
|
372
|
-
acceptedFundingTokens: string[];
|
|
373
|
-
ownerAddress?: string | undefined;
|
|
374
|
-
platformEntryFee?: {
|
|
375
|
-
collectorAddress: string;
|
|
376
|
-
basisPoints: number;
|
|
377
|
-
} | undefined;
|
|
378
|
-
platformExitFee?: {
|
|
379
|
-
collectorAddress: string;
|
|
380
|
-
basisPoints: number;
|
|
381
|
-
} | undefined;
|
|
382
|
-
receiptNft?: {
|
|
383
|
-
baseName: string;
|
|
384
|
-
baseSymbol: string;
|
|
385
|
-
} | undefined;
|
|
386
|
-
};
|
|
387
|
-
};
|
|
388
|
-
output: {
|
|
389
|
-
data: `0x${string}`;
|
|
390
|
-
to: `0x${string}`;
|
|
391
|
-
details: {
|
|
392
|
-
functionName: string;
|
|
393
|
-
address: `0x${string}`;
|
|
394
|
-
abi: any[];
|
|
395
|
-
args: any[];
|
|
396
|
-
};
|
|
397
|
-
};
|
|
398
|
-
outputFormat: "json";
|
|
399
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
400
|
-
};
|
|
401
|
-
};
|
|
402
|
-
}, "/deployMarket"> | import("hono/types").MergeSchemaPath<{
|
|
403
|
-
"/": {
|
|
404
|
-
$post: {
|
|
405
|
-
input: {
|
|
406
|
-
json: {
|
|
407
|
-
chainId: unknown;
|
|
408
|
-
market: string;
|
|
409
|
-
nft: {
|
|
410
|
-
contractAddress: string;
|
|
411
|
-
tokenId: string;
|
|
412
|
-
};
|
|
413
|
-
fractions: {
|
|
414
|
-
name: string;
|
|
415
|
-
symbol: string;
|
|
416
|
-
};
|
|
417
|
-
refundAddress: string;
|
|
418
|
-
funding: {
|
|
419
|
-
token: string;
|
|
420
|
-
amountPerPacket: string;
|
|
421
|
-
};
|
|
422
|
-
startDate: string;
|
|
423
|
-
softCapPerPurchase: string;
|
|
424
|
-
hardCapPerAccount: string;
|
|
425
|
-
fundsReceiver: string;
|
|
426
|
-
priceSetter: string;
|
|
427
|
-
fundsProvider: string;
|
|
428
|
-
issuerEntryFee?: {
|
|
429
|
-
collectorAddress: string;
|
|
430
|
-
proportion: string;
|
|
431
|
-
} | undefined;
|
|
432
|
-
issuerExitFee?: {
|
|
433
|
-
collectorAddress: string;
|
|
434
|
-
proportion: string;
|
|
435
|
-
} | undefined;
|
|
436
|
-
};
|
|
437
|
-
};
|
|
438
|
-
output: {
|
|
439
|
-
data: `0x${string}`;
|
|
440
|
-
to: `0x${string}`;
|
|
441
|
-
details: {
|
|
442
|
-
functionName: string;
|
|
443
|
-
address: `0x${string}`;
|
|
444
|
-
abi: any[];
|
|
445
|
-
args: any[];
|
|
446
|
-
};
|
|
447
|
-
};
|
|
448
|
-
outputFormat: "json";
|
|
449
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
450
|
-
};
|
|
451
|
-
};
|
|
452
|
-
}, "/createCampaign"> | import("hono/types").MergeSchemaPath<{
|
|
453
|
-
"/": {
|
|
454
|
-
$post: {
|
|
455
|
-
input: {
|
|
456
|
-
json: {
|
|
457
|
-
market: string;
|
|
458
|
-
campaignId: string;
|
|
459
|
-
};
|
|
460
|
-
};
|
|
461
|
-
output: {
|
|
462
|
-
data: `0x${string}`;
|
|
463
|
-
to: `0x${string}`;
|
|
464
|
-
details: {
|
|
465
|
-
functionName: string;
|
|
466
|
-
address: `0x${string}`;
|
|
467
|
-
abi: any[];
|
|
468
|
-
args: any[];
|
|
469
|
-
};
|
|
470
|
-
};
|
|
471
|
-
outputFormat: "json";
|
|
472
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
473
|
-
};
|
|
474
|
-
};
|
|
475
|
-
}, "/approveCampaign"> | import("hono/types").MergeSchemaPath<{
|
|
476
|
-
"/": {
|
|
477
|
-
$post: {
|
|
478
|
-
input: {
|
|
479
|
-
json: {
|
|
480
|
-
market: string;
|
|
481
|
-
campaignId: string;
|
|
482
|
-
price: string;
|
|
483
|
-
};
|
|
484
|
-
};
|
|
485
|
-
output: {
|
|
486
|
-
data: `0x${string}`;
|
|
487
|
-
to: `0x${string}`;
|
|
488
|
-
details: {
|
|
489
|
-
functionName: string;
|
|
490
|
-
address: `0x${string}`;
|
|
491
|
-
abi: any[];
|
|
492
|
-
args: any[];
|
|
493
|
-
};
|
|
494
|
-
};
|
|
495
|
-
outputFormat: "json";
|
|
496
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
497
|
-
};
|
|
498
|
-
};
|
|
499
|
-
}, "/setEpochPrice"> | import("hono/types").MergeSchemaPath<{
|
|
500
|
-
"/": {
|
|
501
|
-
$get: {
|
|
502
|
-
input: {
|
|
503
|
-
query: {
|
|
504
|
-
chainId: string | string[];
|
|
505
|
-
market: string | string[];
|
|
506
|
-
campaignId: string | string[];
|
|
507
|
-
};
|
|
508
|
-
};
|
|
509
|
-
output: {
|
|
510
|
-
currentEpoch: string;
|
|
511
|
-
};
|
|
512
|
-
outputFormat: "json";
|
|
513
|
-
status: 200;
|
|
514
|
-
};
|
|
515
|
-
};
|
|
516
|
-
}, "/getCurrentEpoch"> | import("hono/types").MergeSchemaPath<{
|
|
517
|
-
"/": {
|
|
518
|
-
$get: {
|
|
519
|
-
input: {
|
|
520
|
-
query: {
|
|
521
|
-
chainId: string | string[];
|
|
522
|
-
market: string | string[];
|
|
523
|
-
campaignId: string | string[];
|
|
524
|
-
epoch: string | string[];
|
|
525
|
-
};
|
|
526
|
-
};
|
|
527
|
-
output: {
|
|
528
|
-
price: string;
|
|
529
|
-
};
|
|
530
|
-
outputFormat: "json";
|
|
531
|
-
status: 200;
|
|
532
|
-
};
|
|
533
|
-
};
|
|
534
|
-
}, "/getPurchasePriceForEpoch"> | import("hono/types").MergeSchemaPath<{
|
|
535
|
-
"/": {
|
|
536
|
-
$post: {
|
|
537
|
-
input: {
|
|
538
|
-
json: {
|
|
539
|
-
market: string;
|
|
540
|
-
campaignId: string;
|
|
541
|
-
amountToProvide: string;
|
|
542
|
-
};
|
|
543
|
-
};
|
|
544
|
-
output: {
|
|
545
|
-
data: `0x${string}`;
|
|
546
|
-
to: `0x${string}`;
|
|
547
|
-
details: {
|
|
548
|
-
functionName: string;
|
|
549
|
-
address: `0x${string}`;
|
|
550
|
-
abi: any[];
|
|
551
|
-
args: any[];
|
|
552
|
-
};
|
|
553
|
-
};
|
|
554
|
-
outputFormat: "json";
|
|
555
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
556
|
-
};
|
|
557
|
-
};
|
|
558
|
-
}, "/purchase"> | import("hono/types").MergeSchemaPath<{
|
|
559
|
-
"/": {
|
|
560
|
-
$get: {
|
|
561
|
-
input: {
|
|
562
|
-
query: {
|
|
563
|
-
chainId: string | string[];
|
|
564
|
-
hash: string | string[];
|
|
565
|
-
};
|
|
566
|
-
};
|
|
567
|
-
output: {
|
|
568
|
-
campaignId: string;
|
|
569
|
-
nftId: string;
|
|
570
|
-
purchaser: `0x${string}`;
|
|
571
|
-
amountProvided: string;
|
|
572
|
-
amountAfterFees: string;
|
|
573
|
-
epochPurchased: string;
|
|
574
|
-
};
|
|
575
|
-
outputFormat: "json";
|
|
576
|
-
status: 200;
|
|
577
|
-
};
|
|
578
|
-
};
|
|
579
|
-
}, "/getEpochPurchaseEvent"> | import("hono/types").MergeSchemaPath<{
|
|
580
|
-
"/": {
|
|
581
|
-
$post: {
|
|
582
|
-
input: {
|
|
583
|
-
json: {
|
|
584
|
-
market: string;
|
|
585
|
-
campaignId: string;
|
|
586
|
-
nftId: string;
|
|
587
|
-
};
|
|
588
|
-
};
|
|
589
|
-
output: {
|
|
590
|
-
data: `0x${string}`;
|
|
591
|
-
to: `0x${string}`;
|
|
592
|
-
details: {
|
|
593
|
-
functionName: string;
|
|
594
|
-
address: `0x${string}`;
|
|
595
|
-
abi: any[];
|
|
596
|
-
args: any[];
|
|
597
|
-
};
|
|
598
|
-
};
|
|
599
|
-
outputFormat: "json";
|
|
600
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
601
|
-
};
|
|
602
|
-
};
|
|
603
|
-
}, "/exchangeNftForFractions"> | import("hono/types").MergeSchemaPath<{
|
|
604
|
-
"/": {
|
|
605
|
-
$post: {
|
|
606
|
-
input: {
|
|
607
|
-
json: {
|
|
608
|
-
market: string;
|
|
609
|
-
campaignId: string;
|
|
610
|
-
amountOfFractions: string;
|
|
611
|
-
};
|
|
612
|
-
};
|
|
613
|
-
output: {
|
|
614
|
-
data: `0x${string}`;
|
|
615
|
-
to: `0x${string}`;
|
|
616
|
-
details: {
|
|
617
|
-
functionName: string;
|
|
618
|
-
address: `0x${string}`;
|
|
619
|
-
abi: any[];
|
|
620
|
-
args: any[];
|
|
621
|
-
};
|
|
622
|
-
};
|
|
623
|
-
outputFormat: "json";
|
|
624
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
625
|
-
};
|
|
626
|
-
};
|
|
627
|
-
}, "/requestWithdrawal"> | import("hono/types").MergeSchemaPath<{
|
|
628
|
-
"/": {
|
|
629
|
-
$get: {
|
|
630
|
-
input: {
|
|
631
|
-
query: {
|
|
632
|
-
chainId: string | string[];
|
|
633
|
-
hash: string | string[];
|
|
634
|
-
};
|
|
635
|
-
};
|
|
636
|
-
output: {
|
|
637
|
-
campaignId: string;
|
|
638
|
-
nftId: string;
|
|
639
|
-
requester: `0x${string}`;
|
|
640
|
-
amountOfFractions: string;
|
|
641
|
-
};
|
|
642
|
-
outputFormat: "json";
|
|
643
|
-
status: 200;
|
|
644
|
-
};
|
|
645
|
-
};
|
|
646
|
-
}, "/getWithdrawalRequestedEvent"> | import("hono/types").MergeSchemaPath<{
|
|
647
|
-
"/": {
|
|
648
|
-
$post: {
|
|
649
|
-
input: {
|
|
650
|
-
json: {
|
|
651
|
-
market: string;
|
|
652
|
-
campaignId: string;
|
|
653
|
-
nftId: string;
|
|
654
|
-
};
|
|
655
|
-
};
|
|
656
|
-
output: {
|
|
657
|
-
data: `0x${string}`;
|
|
658
|
-
to: `0x${string}`;
|
|
659
|
-
details: {
|
|
660
|
-
functionName: string;
|
|
661
|
-
address: `0x${string}`;
|
|
662
|
-
abi: any[];
|
|
663
|
-
args: any[];
|
|
664
|
-
};
|
|
665
|
-
};
|
|
666
|
-
outputFormat: "json";
|
|
667
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
668
|
-
};
|
|
669
|
-
};
|
|
670
|
-
}, "/withdraw">, "/vestingRedemptionDynamic">, "/", "/">>;
|
|
671
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { createApi } from "../../common/controller.js";
|
|
2
|
-
import { LendingController } from "./lending/index.js";
|
|
3
|
-
import { PlatformsController } from "./platforms/index.js";
|
|
4
|
-
import { SalesController } from "./sales/index.js";
|
|
5
|
-
import { VestingRedemptionDynamicController } from "./vestingRedemptionDynamic/index.js";
|
|
6
|
-
export const NextFractionsApi = createApi({
|
|
7
|
-
title: "Next Fraction API",
|
|
8
|
-
description: "NFT Fractions and Financing markets (next-gen SDK)",
|
|
9
|
-
build: (factory) => factory
|
|
10
|
-
.createApp()
|
|
11
|
-
.route("/platforms", PlatformsController.build(factory))
|
|
12
|
-
.route("/sales", SalesController.build(factory))
|
|
13
|
-
.route("/lending", LendingController.build(factory))
|
|
14
|
-
.route("/vestingRedemptionDynamic", VestingRedemptionDynamicController.build(factory)),
|
|
15
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buyback.routes.d.ts","sourceRoot":"","sources":["../../../../../src/next/fractions/lending/buyback/buyback.routes.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;aASpB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const BuybackRequestSchema: z.ZodObject<{
|
|
3
|
-
chainId: z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodUnion<[z.ZodLiteral<1 | 11155111 | 31337 | 84532 | 72080>, z.ZodLiteral<1 | 11155111 | 31337 | 84532 | 72080>, ...z.ZodLiteral<1 | 11155111 | 31337 | 84532 | 72080>[]]>>;
|
|
4
|
-
buybackPacketsAmount: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
|
|
5
|
-
market: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
6
|
-
campaignId: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
|
|
7
|
-
}, z.core.$strip>;
|
|
8
|
-
//# sourceMappingURL=buyback.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buyback.schema.d.ts","sourceRoot":"","sources":["../../../../../src/next/fractions/lending/buyback/buyback.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,oBAAoB;;;;;iBAQC,CAAC"}
|