@evergonlabs/tmi-protocol-api 0.8.1 → 0.10.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.d.ts +570 -94
- package/dist/app.d.ts.map +1 -1
- package/dist/client.d.ts +704 -206
- package/dist/client.d.ts.map +1 -1
- package/dist/common/middleware/indexer.d.ts +1 -1
- package/dist/common/middleware/indexer.d.ts.map +1 -1
- package/dist/common/models/base/date.d.ts +6 -0
- package/dist/common/models/base/date.d.ts.map +1 -0
- package/dist/common/models/base/date.js +13 -0
- package/dist/common/models/date.d.ts +1 -5
- package/dist/common/models/date.d.ts.map +1 -1
- package/dist/common/models/date.js +4 -13
- package/dist/common/models/exports.d.ts +1 -0
- package/dist/common/models/exports.d.ts.map +1 -1
- package/dist/common/models/exports.js +1 -0
- package/dist/common/models/index.d.ts +1 -0
- package/dist/common/models/index.d.ts.map +1 -1
- package/dist/common/models/index.js +1 -0
- package/dist/factory.d.ts +1 -3
- package/dist/factory.d.ts.map +1 -1
- package/dist/fractions/fractions/approveWrapper.route.d.ts +3 -3
- package/dist/fractions/fractions/approveWrapper.route.d.ts.map +1 -1
- package/dist/fractions/fractions/index.d.ts +1 -1
- package/dist/fractions/fractions/index.d.ts.map +1 -1
- package/dist/fractions/index.d.ts +154 -6
- package/dist/fractions/index.d.ts.map +1 -1
- package/dist/fractions/markets/common/platform.d.ts.map +1 -1
- package/dist/fractions/markets/common/platform.js +2 -1
- package/dist/fractions/markets/getDeployEvent.d.ts +1 -1
- package/dist/fractions/markets/getDeployEvent.d.ts.map +1 -1
- package/dist/fractions/markets/getMarket/getMarket.d.ts +22 -2
- package/dist/fractions/markets/getMarket/getMarket.d.ts.map +1 -1
- package/dist/fractions/markets/getMarket/index.d.ts +22 -2
- package/dist/fractions/markets/getMarket/index.d.ts.map +1 -1
- package/dist/fractions/markets/index.d.ts +43 -3
- package/dist/fractions/markets/index.d.ts.map +1 -1
- package/dist/fractions/markets/searchMarkets/index.d.ts +22 -2
- package/dist/fractions/markets/searchMarkets/index.d.ts.map +1 -1
- package/dist/fractions/markets/searchMarkets/searchMarkets.d.ts +22 -2
- package/dist/fractions/markets/searchMarkets/searchMarkets.d.ts.map +1 -1
- package/dist/fractions/platforms/deployMarket.routes.d.ts +4 -4
- package/dist/fractions/platforms/deployMarket.routes.d.ts.map +1 -1
- package/dist/fractions/platforms/index.d.ts +1 -1
- package/dist/fractions/platforms/index.d.ts.map +1 -1
- package/dist/fractions/platforms/initCompilot.routes.d.ts +1 -1
- package/dist/fractions/platforms/initCompilot.routes.d.ts.map +1 -1
- package/dist/fractions/platforms/initNid.route.d.ts +1 -1
- package/dist/fractions/platforms/initNid.route.d.ts.map +1 -1
- package/dist/fractions/roles/getRoles.d.ts +1 -1
- package/dist/fractions/roles/getRoles.d.ts.map +1 -1
- package/dist/fractions/roles/grantRole.route.d.ts +1 -1
- package/dist/fractions/roles/grantRole.route.d.ts.map +1 -1
- package/dist/fractions/roles/index.d.ts +1 -1
- package/dist/fractions/roles/index.d.ts.map +1 -1
- package/dist/fractions/sales/approveSale.route.d.ts +1 -1
- package/dist/fractions/sales/approveSale.route.d.ts.map +1 -1
- package/dist/fractions/sales/common/fractionsSale.d.ts.map +1 -1
- package/dist/fractions/sales/common/fractionsSale.js +2 -1
- package/dist/fractions/sales/completeSale.route.d.ts +1 -1
- package/dist/fractions/sales/completeSale.route.d.ts.map +1 -1
- package/dist/fractions/sales/createFractions.route.d.ts +1 -1
- package/dist/fractions/sales/createFractions.route.d.ts.map +1 -1
- package/dist/fractions/sales/createFractions.schema.js +1 -1
- package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts +1 -1
- package/dist/fractions/sales/getFractionSaleStatistics.route.d.ts.map +1 -1
- package/dist/fractions/sales/getVaultAddress.d.ts +1 -1
- package/dist/fractions/sales/getVaultAddress.d.ts.map +1 -1
- package/dist/fractions/sales/getWithdrawEvent.d.ts +1 -1
- package/dist/fractions/sales/getWithdrawEvent.d.ts.map +1 -1
- package/dist/fractions/sales/index.d.ts +112 -4
- package/dist/fractions/sales/index.d.ts.map +1 -1
- package/dist/fractions/sales/parseFractionsCreatedEvent.d.ts +1 -1
- package/dist/fractions/sales/parseFractionsCreatedEvent.d.ts.map +1 -1
- package/dist/fractions/sales/purchase.route.d.ts +1 -1
- package/dist/fractions/sales/purchase.route.d.ts.map +1 -1
- package/dist/fractions/sales/purchaseStatistics.route.d.ts +1 -1
- package/dist/fractions/sales/purchaseStatistics.route.d.ts.map +1 -1
- package/dist/fractions/sales/receiveFundsAfterNonFunded.route.d.ts +2 -2
- package/dist/fractions/sales/receiveFundsAfterNonFunded.route.d.ts.map +1 -1
- package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts +1 -1
- package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts.map +1 -1
- package/dist/fractions/sales/recoverFractions.d.ts +1 -1
- package/dist/fractions/sales/recoverFractions.d.ts.map +1 -1
- package/dist/fractions/sales/rejectFractions.d.ts +1 -1
- package/dist/fractions/sales/rejectFractions.d.ts.map +1 -1
- package/dist/fractions/sales/searchActivity.route.d.ts +1 -1
- package/dist/fractions/sales/searchActivity.route.d.ts.map +1 -1
- package/dist/fractions/sales/searchSales/searchSales.d.ts +67 -2
- package/dist/fractions/sales/searchSales/searchSales.d.ts.map +1 -1
- package/dist/fractions/sales/searchWithdrawal.route.d.ts +35 -2
- package/dist/fractions/sales/searchWithdrawal.route.d.ts.map +1 -1
- package/dist/fractions/sales/setFeeCapLimit.d.ts +1 -1
- package/dist/fractions/sales/setFeeCapLimit.d.ts.map +1 -1
- package/dist/fractions/sales/unlockWrappedAssets.route.d.ts +1 -1
- package/dist/fractions/sales/unlockWrappedAssets.route.d.ts.map +1 -1
- package/dist/fractions/sales/vesting/claimStatistics.route.d.ts +12 -2
- package/dist/fractions/sales/vesting/claimStatistics.route.d.ts.map +1 -1
- package/dist/fractions/sales/vesting/claimVestedTokens.route.d.ts +1 -1
- package/dist/fractions/sales/vesting/claimVestedTokens.route.d.ts.map +1 -1
- package/dist/fractions/sales/vesting/editCliff.route.d.ts +1 -1
- package/dist/fractions/sales/vesting/editCliff.route.d.ts.map +1 -1
- package/dist/fractions/sales/vesting/editCliff.route.js +1 -1
- package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.d.ts +1 -1
- package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.d.ts.map +1 -1
- package/dist/fractions/sales/withdraw.route.d.ts +1 -1
- package/dist/fractions/sales/withdraw.route.d.ts.map +1 -1
- package/dist/fractions/sig/getAuthData.d.ts +1 -1
- package/dist/fractions/sig/getAuthData.d.ts.map +1 -1
- package/dist/fractions/sig/getNonce.route.d.ts +1 -1
- package/dist/fractions/sig/getNonce.route.d.ts.map +1 -1
- package/dist/fractions/sig/index.d.ts +1 -1
- package/dist/fractions/sig/index.d.ts.map +1 -1
- package/dist/fractions/statistics/index.d.ts +1 -1
- package/dist/fractions/statistics/index.d.ts.map +1 -1
- package/dist/fractions/statistics/networkStatistics.route.d.ts +4 -4
- package/dist/fractions/statistics/networkStatistics.route.d.ts.map +1 -1
- package/dist/general/estimateGas.d.ts +1 -1
- package/dist/general/estimateGas.d.ts.map +1 -1
- package/dist/general/getBalance.d.ts +1 -1
- package/dist/general/getBalance.d.ts.map +1 -1
- package/dist/general/getBalancesBatch.d.ts +1 -1
- package/dist/general/getBalancesBatch.d.ts.map +1 -1
- package/dist/general/index.d.ts +1 -1
- package/dist/general/index.d.ts.map +1 -1
- package/dist/general/searchBalances.d.ts +1 -1
- package/dist/general/searchBalances.d.ts.map +1 -1
- package/dist/issuance/common/exports.d.ts +1 -1
- package/dist/issuance/common/exports.d.ts.map +1 -1
- package/dist/issuance/common/exports.js +1 -1
- package/dist/issuance/common/factories.base.d.ts +167 -0
- package/dist/issuance/common/factories.base.d.ts.map +1 -0
- package/dist/issuance/common/factories.base.js +15 -0
- package/dist/issuance/common/factories.d.ts +1 -166
- package/dist/issuance/common/factories.d.ts.map +1 -1
- package/dist/issuance/common/factories.js +2 -15
- package/dist/issuance/erc20/approve.d.ts +1 -1
- package/dist/issuance/erc20/approve.d.ts.map +1 -1
- package/dist/issuance/erc20/burn.d.ts +1 -1
- package/dist/issuance/erc20/burn.d.ts.map +1 -1
- package/dist/issuance/erc20/{deploy.d.ts → default/deploy.d.ts} +2 -2
- package/dist/issuance/erc20/default/deploy.d.ts.map +1 -0
- package/dist/issuance/erc20/{deploy.js → default/deploy.js} +6 -4
- package/dist/issuance/erc20/default/initialize.d.ts +38 -0
- package/dist/issuance/erc20/default/initialize.d.ts.map +1 -0
- package/dist/issuance/erc20/default/initialize.js +43 -0
- package/dist/issuance/erc20/default/parseDeployEvent.d.ts +23 -0
- package/dist/issuance/erc20/default/parseDeployEvent.d.ts.map +1 -0
- package/dist/issuance/erc20/{parseErc20DeployEvent.js → default/parseDeployEvent.js} +11 -11
- package/dist/issuance/erc20/{deployGated.d.ts → gated/deploy.d.ts} +3 -3
- package/dist/issuance/erc20/gated/deploy.d.ts.map +1 -0
- package/dist/issuance/erc20/{deployGated.js → gated/deploy.js} +7 -5
- package/dist/issuance/erc20/{initialize.d.ts → gated/initialize.d.ts} +3 -3
- package/dist/issuance/erc20/gated/initialize.d.ts.map +1 -0
- package/dist/issuance/erc20/{initialize.js → gated/initialize.js} +7 -7
- package/dist/issuance/erc20/{parseErc20DeployEvent.d.ts → gated/parseDeployEvent.d.ts} +3 -3
- package/dist/issuance/erc20/gated/parseDeployEvent.d.ts.map +1 -0
- package/dist/issuance/erc20/gated/parseDeployEvent.js +79 -0
- package/dist/issuance/erc20/gatedSimple/deploy.d.ts +15 -0
- package/dist/issuance/erc20/gatedSimple/deploy.d.ts.map +1 -0
- package/dist/issuance/erc20/gatedSimple/deploy.js +28 -0
- package/dist/issuance/erc20/gatedSimple/getInitData.d.ts +32 -0
- package/dist/issuance/erc20/gatedSimple/getInitData.d.ts.map +1 -0
- package/dist/issuance/erc20/{getInitData.js → gatedSimple/getInitData.js} +8 -6
- package/dist/issuance/erc20/gatedSimple/parseDeployEvent.d.ts +18 -0
- package/dist/issuance/erc20/gatedSimple/parseDeployEvent.d.ts.map +1 -0
- package/dist/issuance/erc20/gatedSimple/parseDeployEvent.js +63 -0
- package/dist/issuance/erc20/grantRole.d.ts +1 -1
- package/dist/issuance/erc20/grantRole.d.ts.map +1 -1
- package/dist/issuance/erc20/index.d.ts +126 -30
- package/dist/issuance/erc20/index.d.ts.map +1 -1
- package/dist/issuance/erc20/index.js +21 -7
- package/dist/issuance/erc20/mint.d.ts +1 -1
- package/dist/issuance/erc20/mint.d.ts.map +1 -1
- package/dist/issuance/erc20/recover.d.ts +1 -1
- package/dist/issuance/erc20/recover.d.ts.map +1 -1
- package/dist/issuance/erc20/renounceRole.d.ts +1 -1
- package/dist/issuance/erc20/renounceRole.d.ts.map +1 -1
- package/dist/issuance/erc20/revokeRole.d.ts +1 -1
- package/dist/issuance/erc20/revokeRole.d.ts.map +1 -1
- package/dist/issuance/erc20/transfer.d.ts +1 -1
- package/dist/issuance/erc20/transfer.d.ts.map +1 -1
- package/dist/issuance/erc20/transferFrom.d.ts +1 -1
- package/dist/issuance/erc20/transferFrom.d.ts.map +1 -1
- package/dist/issuance/erc721/approve.d.ts +1 -1
- package/dist/issuance/erc721/approve.d.ts.map +1 -1
- package/dist/issuance/erc721/burn.d.ts +1 -1
- package/dist/issuance/erc721/burn.d.ts.map +1 -1
- package/dist/issuance/erc721/{deploy.d.ts → default/deploy.d.ts} +2 -2
- package/dist/issuance/erc721/default/deploy.d.ts.map +1 -0
- package/dist/issuance/erc721/{deploy.js → default/deploy.js} +6 -4
- package/dist/issuance/erc721/{initialize.d.ts → default/initialize.d.ts} +2 -2
- package/dist/issuance/erc721/default/initialize.d.ts.map +1 -0
- package/dist/issuance/erc721/{initialize.js → default/initialize.js} +3 -3
- package/dist/issuance/erc721/default/parseDeployEvent.d.ts +23 -0
- package/dist/issuance/erc721/default/parseDeployEvent.d.ts.map +1 -0
- package/dist/issuance/erc721/{parseErc721DeployEvent.js → default/parseDeployEvent.js} +10 -10
- package/dist/issuance/erc721/{deployGated.d.ts → gated/deploy.d.ts} +3 -3
- package/dist/issuance/erc721/gated/deploy.d.ts.map +1 -0
- package/dist/issuance/erc721/{deployGated.js → gated/deploy.js} +7 -5
- package/dist/issuance/erc721/gated/initialize.d.ts +40 -0
- package/dist/issuance/erc721/gated/initialize.d.ts.map +1 -0
- package/dist/issuance/erc721/gated/initialize.js +44 -0
- package/dist/issuance/erc721/{parseErc721DeployEvent.d.ts → gated/parseDeployEvent.d.ts} +3 -3
- package/dist/issuance/erc721/gated/parseDeployEvent.d.ts.map +1 -0
- package/dist/issuance/erc721/gated/parseDeployEvent.js +78 -0
- package/dist/issuance/erc721/grantRole.d.ts +1 -1
- package/dist/issuance/erc721/grantRole.d.ts.map +1 -1
- package/dist/issuance/erc721/index.d.ts +78 -29
- package/dist/issuance/erc721/index.d.ts.map +1 -1
- package/dist/issuance/erc721/index.js +14 -7
- package/dist/issuance/erc721/mint.d.ts +1 -1
- package/dist/issuance/erc721/mint.d.ts.map +1 -1
- package/dist/issuance/erc721/recover.d.ts +1 -1
- package/dist/issuance/erc721/recover.d.ts.map +1 -1
- package/dist/issuance/erc721/renounceRole.d.ts +1 -1
- package/dist/issuance/erc721/renounceRole.d.ts.map +1 -1
- package/dist/issuance/erc721/revokeRole.d.ts +1 -1
- package/dist/issuance/erc721/revokeRole.d.ts.map +1 -1
- package/dist/issuance/erc721/setBaseURI.d.ts +1 -1
- package/dist/issuance/erc721/setBaseURI.d.ts.map +1 -1
- package/dist/issuance/erc721/setTokenURI.d.ts +1 -1
- package/dist/issuance/erc721/setTokenURI.d.ts.map +1 -1
- package/dist/issuance/erc721/transferFrom.d.ts +1 -1
- package/dist/issuance/erc721/transferFrom.d.ts.map +1 -1
- package/dist/issuance/index.d.ts +186 -41
- package/dist/issuance/index.d.ts.map +1 -1
- package/dist/issuance/proxy/deploy.d.ts +2 -2
- package/dist/issuance/proxy/deploy.d.ts.map +1 -1
- package/dist/issuance/proxy/index.d.ts +1 -1
- package/dist/issuance/proxy/index.d.ts.map +1 -1
- package/dist/issuance/proxy/upgrade.d.ts +1 -1
- package/dist/issuance/proxy/upgrade.d.ts.map +1 -1
- package/dist/next/fractions/index.d.ts +109 -28
- package/dist/next/fractions/index.d.ts.map +1 -1
- package/dist/next/fractions/lending/buyback/buyback.routes.d.ts +1 -1
- package/dist/next/fractions/lending/buyback/buyback.routes.d.ts.map +1 -1
- package/dist/next/fractions/lending/createLendingSale.d.ts +1 -1
- package/dist/next/fractions/lending/createLendingSale.d.ts.map +1 -1
- package/dist/next/fractions/lending/deployMarket/lending.routes.d.ts +1 -1
- package/dist/next/fractions/lending/deployMarket/lending.routes.d.ts.map +1 -1
- package/dist/next/fractions/lending/index.d.ts +27 -26
- package/dist/next/fractions/lending/index.d.ts.map +1 -1
- package/dist/next/fractions/lending/index.js +2 -2
- package/dist/next/fractions/lending/purchase/directPurchase.route.d.ts +1 -1
- package/dist/next/fractions/lending/purchase/directPurchase.route.d.ts.map +1 -1
- package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts +1 -1
- package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts.map +1 -1
- package/dist/next/fractions/platforms/default/deployNftFractionsMarket.routes.d.ts +38 -0
- package/dist/next/fractions/platforms/default/deployNftFractionsMarket.routes.d.ts.map +1 -0
- package/dist/next/fractions/platforms/default/deployNftFractionsMarket.routes.js +39 -0
- package/dist/next/fractions/platforms/default/deployNftFractionsMarket.schema.d.ts +25 -0
- package/dist/next/fractions/platforms/default/deployNftFractionsMarket.schema.d.ts.map +1 -0
- package/dist/{fractions/nftfractions/v0 → next/fractions/platforms/default}/deployNftFractionsMarket.schema.js +7 -12
- package/dist/next/fractions/platforms/deployNftFractionsMarket.routes.d.ts +1 -1
- package/dist/next/fractions/platforms/deployNftFractionsMarket.routes.d.ts.map +1 -1
- package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.routes.d.ts +39 -0
- package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.routes.d.ts.map +1 -0
- package/dist/{fractions/platforms → next/fractions/platforms/gated}/deployNftFractionsMarket.routes.js +11 -23
- package/dist/{fractions/platforms → next/fractions/platforms/gated}/deployNftFractionsMarket.schema.d.ts +4 -8
- package/dist/next/fractions/platforms/gated/deployNftFractionsMarket.schema.d.ts.map +1 -0
- package/dist/{fractions/platforms → next/fractions/platforms/gated}/deployNftFractionsMarket.schema.js +6 -11
- package/dist/next/fractions/platforms/index.d.ts +34 -1
- package/dist/next/fractions/platforms/index.d.ts.map +1 -1
- package/dist/next/fractions/platforms/index.js +6 -2
- package/dist/next/fractions/sales/createNftFractions.routes.d.ts +1 -1
- package/dist/next/fractions/sales/createNftFractions.routes.d.ts.map +1 -1
- package/dist/next/fractions/sales/createNftFractions.schema.js +1 -1
- package/dist/next/fractions/sales/index.d.ts +48 -1
- package/dist/next/fractions/sales/index.d.ts.map +1 -1
- package/dist/next/fractions/sales/index.js +7 -1
- package/dist/next/fractions/sales/parseFractionsCreatedEvent.d.ts +23 -0
- package/dist/next/fractions/sales/parseFractionsCreatedEvent.d.ts.map +1 -0
- package/dist/{src/fractions/createFractions/v0 → next/fractions/sales}/parseFractionsCreatedEvent.js +27 -19
- package/dist/next/fractions/sales/purchase.routes.d.ts +27 -0
- package/dist/next/fractions/sales/purchase.routes.d.ts.map +1 -0
- package/dist/next/fractions/sales/purchase.routes.js +37 -0
- package/dist/staking/index.d.ts +76 -8
- package/dist/staking/index.d.ts.map +1 -1
- package/dist/staking/platforms/common/platform.d.ts.map +1 -1
- package/dist/staking/platforms/common/platform.js +2 -1
- package/dist/staking/platforms/getPlatform/index.d.ts +1 -1
- package/dist/staking/platforms/getPlatform/index.d.ts.map +1 -1
- package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts +1 -1
- package/dist/staking/platforms/getPlatform/v0/getPlatform.d.ts.map +1 -1
- package/dist/staking/platforms/index.d.ts +1 -1
- package/dist/staking/platforms/index.d.ts.map +1 -1
- package/dist/staking/platforms/searchPlatforms/index.d.ts +1 -1
- package/dist/staking/platforms/searchPlatforms/index.d.ts.map +1 -1
- package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts +1 -1
- package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts.map +1 -1
- package/dist/staking/pools/common/pool.d.ts.map +1 -1
- package/dist/staking/pools/common/pool.js +2 -1
- package/dist/staking/pools/getPool/index.d.ts +10 -2
- package/dist/staking/pools/getPool/index.d.ts.map +1 -1
- package/dist/staking/pools/getPool/v0/getPool.d.ts +11 -2
- package/dist/staking/pools/getPool/v0/getPool.d.ts.map +1 -1
- package/dist/staking/pools/index.d.ts +19 -3
- package/dist/staking/pools/index.d.ts.map +1 -1
- package/dist/staking/pools/searchPools/index.d.ts +10 -2
- package/dist/staking/pools/searchPools/index.d.ts.map +1 -1
- package/dist/staking/pools/searchPools/v0/searchPools.d.ts +11 -2
- package/dist/staking/pools/searchPools/v0/searchPools.d.ts.map +1 -1
- package/dist/staking/roles/getRoles/index.d.ts +1 -1
- package/dist/staking/roles/getRoles/index.d.ts.map +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/grantRole/index.d.ts +1 -1
- package/dist/staking/roles/grantRole/index.d.ts.map +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/index.d.ts +20 -3
- package/dist/staking/roles/index.d.ts.map +1 -1
- package/dist/staking/roles/searchRoleEvents/index.d.ts +11 -2
- package/dist/staking/roles/searchRoleEvents/index.d.ts.map +1 -1
- package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts +11 -2
- package/dist/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts.map +1 -1
- package/dist/staking/roles/searchRoles/index.d.ts +10 -2
- package/dist/staking/roles/searchRoles/index.d.ts.map +1 -1
- package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts +11 -2
- package/dist/staking/roles/searchRoles/v0/searchRoles.d.ts.map +1 -1
- package/dist/staking/roles/searchRoles/v0/searchRoles.js +1 -1
- package/dist/staking/stakes/common/stake.d.ts.map +1 -1
- package/dist/staking/stakes/common/stake.js +2 -1
- package/dist/staking/stakes/getStake/index.d.ts +15 -2
- package/dist/staking/stakes/getStake/index.d.ts.map +1 -1
- package/dist/staking/stakes/getStake/v0/getStake.d.ts +15 -2
- package/dist/staking/stakes/getStake/v0/getStake.d.ts.map +1 -1
- package/dist/staking/stakes/index.d.ts +39 -4
- package/dist/staking/stakes/index.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakeEvents/index.d.ts +11 -2
- package/dist/staking/stakes/searchStakeEvents/index.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts +12 -2
- package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakeEvents/v0/searchStakeEvents.js +1 -1
- package/dist/staking/stakes/searchStakes/index.d.ts +15 -2
- package/dist/staking/stakes/searchStakes/index.d.ts.map +1 -1
- package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts +15 -2
- package/dist/staking/stakes/searchStakes/v0/searchStakes.d.ts.map +1 -1
- package/dist/stakingTemplates/index.d.ts +43 -7
- package/dist/stakingTemplates/index.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/getCreatePoolEvent.d.ts +6 -2
- package/dist/stakingTemplates/templates/common/getCreatePoolEvent.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.d.ts +1 -1
- package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/getReward.d.ts +1 -1
- package/dist/stakingTemplates/templates/common/getReward.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/getStakeEvent.d.ts +10 -2
- package/dist/stakingTemplates/templates/common/getStakeEvent.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/partialUnstake.d.ts +1 -1
- package/dist/stakingTemplates/templates/common/partialUnstake.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/common/time.js +1 -1
- package/dist/stakingTemplates/templates/common/unstake.d.ts +1 -1
- package/dist/stakingTemplates/templates/common/unstake.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputation/index.d.ts +15 -3
- package/dist/stakingTemplates/templates/reputation/index.d.ts.map +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/createPool.d.ts +1 -1
- package/dist/stakingTemplates/templates/reputation/v0/createPool.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputation/v0/index.d.ts +15 -3
- package/dist/stakingTemplates/templates/reputation/v0/index.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputation/v0/restake.d.ts +1 -1
- package/dist/stakingTemplates/templates/reputation/v0/restake.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputation/v0/stake.d.ts +1 -1
- package/dist/stakingTemplates/templates/reputation/v0/stake.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputationLock/index.d.ts +15 -3
- package/dist/stakingTemplates/templates/reputationLock/index.d.ts.map +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/createPool.d.ts +1 -1
- package/dist/stakingTemplates/templates/reputationLock/v0/createPool.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputationLock/v0/index.d.ts +15 -3
- package/dist/stakingTemplates/templates/reputationLock/v0/index.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputationLock/v0/restake.d.ts +1 -1
- package/dist/stakingTemplates/templates/reputationLock/v0/restake.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/reputationLock/v0/stake.d.ts +1 -1
- package/dist/stakingTemplates/templates/reputationLock/v0/stake.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/rwa/index.d.ts +15 -3
- package/dist/stakingTemplates/templates/rwa/index.d.ts.map +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/createPool.d.ts +1 -1
- package/dist/stakingTemplates/templates/rwa/v0/createPool.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/rwa/v0/distributeRewards.d.ts +1 -1
- package/dist/stakingTemplates/templates/rwa/v0/distributeRewards.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/rwa/v0/index.d.ts +15 -3
- package/dist/stakingTemplates/templates/rwa/v0/index.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/rwa/v0/restake.d.ts +1 -1
- package/dist/stakingTemplates/templates/rwa/v0/restake.d.ts.map +1 -1
- package/dist/stakingTemplates/templates/rwa/v0/stake.d.ts +1 -1
- package/dist/stakingTemplates/templates/rwa/v0/stake.d.ts.map +1 -1
- package/package.json +17 -16
- package/dist/common/abis/erc20Whitelisted.d.ts +0 -316
- package/dist/common/abis/erc20Whitelisted.d.ts.map +0 -1
- package/dist/common/abis/erc20Whitelisted.js +0 -1139
- package/dist/common/indexer/index.d.ts +0 -4044
- package/dist/common/indexer/index.d.ts.map +0 -1
- package/dist/common/indexer/index.js +0 -3
- package/dist/common/models/numOrStr.d.ts +0 -7
- package/dist/common/models/numOrStr.d.ts.map +0 -1
- package/dist/common/models/numOrStr.js +0 -11
- package/dist/common/zod.d.ts +0 -3
- package/dist/common/zod.d.ts.map +0 -1
- package/dist/common/zod.js +0 -2
- package/dist/fractions/activity/searchActivity.route.d.ts +0 -198
- package/dist/fractions/activity/searchActivity.route.d.ts.map +0 -1
- package/dist/fractions/activity/searchActivity.route.js +0 -53
- package/dist/fractions/activity/utils.d.ts +0 -228
- package/dist/fractions/activity/utils.d.ts.map +0 -1
- package/dist/fractions/activity/utils.js +0 -68
- package/dist/fractions/approveSale/v0/approveSale.route.d.ts +0 -68
- package/dist/fractions/approveSale/v0/approveSale.route.d.ts.map +0 -1
- package/dist/fractions/approveSale/v0/approveSale.route.js +0 -31
- package/dist/fractions/approveWrapper/v0/approveWrapper.route.d.ts +0 -203
- package/dist/fractions/approveWrapper/v0/approveWrapper.route.d.ts.map +0 -1
- package/dist/fractions/approveWrapper/v0/approveWrapper.route.js +0 -84
- package/dist/fractions/completeSale/v0/completeSale.route.d.ts +0 -68
- package/dist/fractions/completeSale/v0/completeSale.route.d.ts.map +0 -1
- package/dist/fractions/completeSale/v0/completeSale.route.js +0 -31
- package/dist/fractions/createFractions/v0/createFractions.route.d.ts +0 -305
- package/dist/fractions/createFractions/v0/createFractions.route.d.ts.map +0 -1
- package/dist/fractions/createFractions/v0/createFractions.route.js +0 -48
- package/dist/fractions/createFractions/v0/createFractions.schema.d.ts +0 -427
- package/dist/fractions/createFractions/v0/createFractions.schema.d.ts.map +0 -1
- package/dist/fractions/createFractions/v0/createFractions.schema.js +0 -78
- package/dist/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts +0 -51
- package/dist/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts.map +0 -1
- package/dist/fractions/createFractions/v0/parseFractionsCreatedEvent.js +0 -58
- package/dist/fractions/deployMarket/v0/deployMarket.routes.d.ts +0 -374
- package/dist/fractions/deployMarket/v0/deployMarket.routes.d.ts.map +0 -1
- package/dist/fractions/deployMarket/v0/deployMarket.routes.js +0 -138
- package/dist/fractions/deployMarket/v0/deployMarket.schema.d.ts +0 -86
- package/dist/fractions/deployMarket/v0/deployMarket.schema.d.ts.map +0 -1
- package/dist/fractions/deployMarket/v0/deployMarket.schema.js +0 -24
- package/dist/fractions/deployMarket/v0/index.d.ts +0 -3
- package/dist/fractions/deployMarket/v0/index.d.ts.map +0 -1
- package/dist/fractions/deployMarket/v0/index.js +0 -2
- package/dist/fractions/deployMarket/v0/initNid.route.d.ts +0 -61
- package/dist/fractions/deployMarket/v0/initNid.route.d.ts.map +0 -1
- package/dist/fractions/deployMarket/v0/initNid.route.js +0 -31
- package/dist/fractions/gating/v0/getAuthData.d.ts +0 -86
- package/dist/fractions/gating/v0/getAuthData.d.ts.map +0 -1
- package/dist/fractions/gating/v0/getAuthData.js +0 -48
- package/dist/fractions/gating/v0/getNonce.route.d.ts +0 -54
- package/dist/fractions/gating/v0/getNonce.route.d.ts.map +0 -1
- package/dist/fractions/gating/v0/getNonce.route.js +0 -40
- package/dist/fractions/grantRole/v0/grantRole.route.d.ts +0 -65
- package/dist/fractions/grantRole/v0/grantRole.route.d.ts.map +0 -1
- package/dist/fractions/grantRole/v0/grantRole.route.js +0 -31
- package/dist/fractions/grantRole/v0/grantRole.schema.d.ts +0 -26
- package/dist/fractions/grantRole/v0/grantRole.schema.d.ts.map +0 -1
- package/dist/fractions/grantRole/v0/grantRole.schema.js +0 -14
- package/dist/fractions/markets/getMarket/v0/getMarket.d.ts +0 -103
- package/dist/fractions/markets/getMarket/v0/getMarket.d.ts.map +0 -1
- package/dist/fractions/markets/getMarket/v0/getMarket.js +0 -62
- package/dist/fractions/markets/searchMarkets/v0/searchMarkets.d.ts +0 -115
- package/dist/fractions/markets/searchMarkets/v0/searchMarkets.d.ts.map +0 -1
- package/dist/fractions/markets/searchMarkets/v0/searchMarkets.js +0 -42
- package/dist/fractions/nftfractions/index.d.ts +0 -6
- package/dist/fractions/nftfractions/index.d.ts.map +0 -1
- package/dist/fractions/nftfractions/index.js +0 -5
- package/dist/fractions/nftfractions/v0/createNftFractions.routes.d.ts +0 -192
- package/dist/fractions/nftfractions/v0/createNftFractions.routes.d.ts.map +0 -1
- package/dist/fractions/nftfractions/v0/createNftFractions.routes.js +0 -58
- package/dist/fractions/nftfractions/v0/createNftFractions.schema.d.ts +0 -245
- package/dist/fractions/nftfractions/v0/createNftFractions.schema.d.ts.map +0 -1
- package/dist/fractions/nftfractions/v0/createNftFractions.schema.js +0 -65
- package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.routes.d.ts +0 -96
- package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.routes.d.ts.map +0 -1
- package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.routes.js +0 -52
- package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.schema.d.ts +0 -70
- package/dist/fractions/nftfractions/v0/deployNftFractionsMarket.schema.d.ts.map +0 -1
- package/dist/fractions/nftfractions/v0/initCompilot.routes.d.ts +0 -74
- package/dist/fractions/nftfractions/v0/initCompilot.routes.d.ts.map +0 -1
- package/dist/fractions/nftfractions/v0/initCompilot.routes.js +0 -41
- package/dist/fractions/platforms/deployNftFractionsMarket.routes.d.ts +0 -96
- package/dist/fractions/platforms/deployNftFractionsMarket.routes.d.ts.map +0 -1
- package/dist/fractions/platforms/deployNftFractionsMarket.schema.d.ts.map +0 -1
- package/dist/fractions/purchase/v0/purchase.route.d.ts +0 -89
- package/dist/fractions/purchase/v0/purchase.route.d.ts.map +0 -1
- package/dist/fractions/purchase/v0/purchase.route.js +0 -41
- package/dist/fractions/purchase/v0/statistics.route.d.ts +0 -65
- package/dist/fractions/purchase/v0/statistics.route.d.ts.map +0 -1
- package/dist/fractions/purchase/v0/statistics.route.js +0 -52
- package/dist/fractions/roles/getRoles/v0/getRoles.d.ts +0 -28
- package/dist/fractions/roles/getRoles/v0/getRoles.d.ts.map +0 -1
- package/dist/fractions/roles/getRoles/v0/getRoles.js +0 -41
- package/dist/fractions/sales/createNftFractions.routes.d.ts +0 -180
- package/dist/fractions/sales/createNftFractions.routes.d.ts.map +0 -1
- package/dist/fractions/sales/createNftFractions.routes.js +0 -58
- package/dist/fractions/sales/createNftFractions.schema.d.ts +0 -85
- package/dist/fractions/sales/createNftFractions.schema.d.ts.map +0 -1
- package/dist/fractions/sales/createNftFractions.schema.js +0 -67
- package/dist/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts +0 -89
- package/dist/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts.map +0 -1
- package/dist/fractions/sales/searchSaleEvents/v0/searchSaleEvents.js +0 -82
- package/dist/fractions/sales/searchSales/v0/searchSales.d.ts +0 -257
- package/dist/fractions/sales/searchSales/v0/searchSales.d.ts.map +0 -1
- package/dist/fractions/sales/searchSales/v0/searchSales.js +0 -49
- package/dist/fractions/sales/vesting/v0/claimStatistics.route.d.ts +0 -92
- package/dist/fractions/sales/vesting/v0/claimStatistics.route.d.ts.map +0 -1
- package/dist/fractions/sales/vesting/v0/claimStatistics.route.js +0 -90
- package/dist/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts +0 -94
- package/dist/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts.map +0 -1
- package/dist/fractions/sales/vesting/v0/claimVestedTokens.route.js +0 -41
- package/dist/fractions/sales/vesting/v0/editCliff.route.d.ts +0 -87
- package/dist/fractions/sales/vesting/v0/editCliff.route.d.ts.map +0 -1
- package/dist/fractions/sales/vesting/v0/editCliff.route.js +0 -40
- package/dist/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts +0 -48
- package/dist/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts.map +0 -1
- package/dist/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.js +0 -57
- package/dist/fractions/withdraw/v0/withdraw.route.d.ts +0 -68
- package/dist/fractions/withdraw/v0/withdraw.route.d.ts.map +0 -1
- package/dist/fractions/withdraw/v0/withdraw.route.js +0 -31
- package/dist/general/balance-client.d.ts +0 -13
- package/dist/general/balance-client.d.ts.map +0 -1
- package/dist/general/balance-client.js +0 -26
- package/dist/issuance/approve.d.ts +0 -75
- package/dist/issuance/approve.d.ts.map +0 -1
- package/dist/issuance/approve.js +0 -36
- package/dist/issuance/burn.d.ts +0 -75
- package/dist/issuance/burn.d.ts.map +0 -1
- package/dist/issuance/burn.js +0 -36
- package/dist/issuance/common.d.ts +0 -2
- package/dist/issuance/common.d.ts.map +0 -1
- package/dist/issuance/common.js +0 -1
- package/dist/issuance/deploy.d.ts +0 -158
- package/dist/issuance/deploy.d.ts.map +0 -1
- package/dist/issuance/deploy.js +0 -227
- package/dist/issuance/erc20/deploy.d.ts.map +0 -1
- package/dist/issuance/erc20/deployGated.d.ts.map +0 -1
- package/dist/issuance/erc20/getInitData.d.ts +0 -59
- package/dist/issuance/erc20/getInitData.d.ts.map +0 -1
- package/dist/issuance/erc20/initialize.d.ts.map +0 -1
- package/dist/issuance/erc20/parseErc20DeployEvent.d.ts.map +0 -1
- package/dist/issuance/erc721/deploy.d.ts.map +0 -1
- package/dist/issuance/erc721/deployGated.d.ts.map +0 -1
- package/dist/issuance/erc721/getInitData.d.ts +0 -49
- package/dist/issuance/erc721/getInitData.d.ts.map +0 -1
- package/dist/issuance/erc721/getInitData.js +0 -51
- package/dist/issuance/erc721/initialize.d.ts.map +0 -1
- package/dist/issuance/erc721/parseErc721DeployEvent.d.ts.map +0 -1
- package/dist/issuance/getInitData.d.ts +0 -132
- package/dist/issuance/getInitData.d.ts.map +0 -1
- package/dist/issuance/getInitData.js +0 -104
- package/dist/issuance/grantRole.d.ts +0 -76
- package/dist/issuance/grantRole.d.ts.map +0 -1
- package/dist/issuance/grantRole.js +0 -42
- package/dist/issuance/mint.d.ts +0 -75
- package/dist/issuance/mint.d.ts.map +0 -1
- package/dist/issuance/mint.js +0 -36
- package/dist/issuance/recover.d.ts +0 -82
- package/dist/issuance/recover.d.ts.map +0 -1
- package/dist/issuance/recover.js +0 -38
- package/dist/issuance/renounceRole.d.ts +0 -76
- package/dist/issuance/renounceRole.d.ts.map +0 -1
- package/dist/issuance/renounceRole.js +0 -42
- package/dist/issuance/transfer.d.ts +0 -75
- package/dist/issuance/transfer.d.ts.map +0 -1
- package/dist/issuance/transfer.js +0 -36
- package/dist/issuance/upgrade.d.ts +0 -82
- package/dist/issuance/upgrade.d.ts.map +0 -1
- package/dist/issuance/upgrade.js +0 -45
- package/dist/package.json +0 -78
- package/dist/src/app.d.ts +0 -2194
- package/dist/src/app.d.ts.map +0 -1
- package/dist/src/app.js +0 -18
- package/dist/src/client.d.ts +0 -2690
- package/dist/src/client.d.ts.map +0 -1
- package/dist/src/client.js +0 -4
- package/dist/src/common/abis/erc20Whitelisted.d.ts +0 -4
- package/dist/src/common/abis/erc20Whitelisted.d.ts.map +0 -1
- package/dist/src/common/abis/erc20Whitelisted.js +0 -4
- package/dist/src/common/app.d.ts +0 -9
- package/dist/src/common/app.d.ts.map +0 -1
- package/dist/src/common/app.js +0 -3
- package/dist/src/common/blockchain.d.ts +0 -9528
- package/dist/src/common/blockchain.d.ts.map +0 -1
- package/dist/src/common/blockchain.js +0 -40
- package/dist/src/common/config.d.ts +0 -21
- package/dist/src/common/config.d.ts.map +0 -1
- package/dist/src/common/config.js +0 -33
- package/dist/src/common/http-error.d.ts +0 -7
- package/dist/src/common/http-error.d.ts.map +0 -1
- package/dist/src/common/http-error.js +0 -7
- package/dist/src/common/index.d.ts +0 -2
- package/dist/src/common/index.d.ts.map +0 -1
- package/dist/src/common/index.js +0 -1
- package/dist/src/common/indexer/client.d.ts +0 -1191
- package/dist/src/common/indexer/client.d.ts.map +0 -1
- package/dist/src/common/indexer/client.js +0 -7
- package/dist/src/common/indexer/index.d.ts +0 -1191
- package/dist/src/common/indexer/index.d.ts.map +0 -1
- package/dist/src/common/indexer/index.js +0 -3
- package/dist/src/common/indexer/schemas.d.ts +0 -1191
- package/dist/src/common/indexer/schemas.d.ts.map +0 -1
- package/dist/src/common/indexer/schemas.js +0 -14
- package/dist/src/common/models/chainId.d.ts +0 -5
- package/dist/src/common/models/chainId.d.ts.map +0 -1
- package/dist/src/common/models/chainId.js +0 -23
- package/dist/src/common/models/date.d.ts +0 -3
- package/dist/src/common/models/date.d.ts.map +0 -1
- package/dist/src/common/models/date.js +0 -5
- package/dist/src/common/models/erc721.d.ts +0 -15
- package/dist/src/common/models/erc721.d.ts.map +0 -1
- package/dist/src/common/models/erc721.js +0 -21
- package/dist/src/common/models/index.d.ts +0 -7
- package/dist/src/common/models/index.d.ts.map +0 -1
- package/dist/src/common/models/index.js +0 -6
- package/dist/src/common/models/page.d.ts +0 -12
- package/dist/src/common/models/page.d.ts.map +0 -1
- package/dist/src/common/models/page.js +0 -15
- package/dist/src/common/models/percent.d.ts +0 -3
- package/dist/src/common/models/percent.d.ts.map +0 -1
- package/dist/src/common/models/percent.js +0 -6
- package/dist/src/common/models/platform.d.ts +0 -4
- package/dist/src/common/models/platform.d.ts.map +0 -1
- package/dist/src/common/models/platform.js +0 -13
- package/dist/src/common/models/routes.d.ts +0 -16
- package/dist/src/common/models/routes.d.ts.map +0 -1
- package/dist/src/common/models/routes.js +0 -13
- package/dist/src/common/models/saleId.d.ts +0 -12
- package/dist/src/common/models/saleId.d.ts.map +0 -1
- package/dist/src/common/models/saleId.js +0 -6
- package/dist/src/common/models/transaction.d.ts +0 -90
- package/dist/src/common/models/transaction.d.ts.map +0 -1
- package/dist/src/common/models/transaction.js +0 -57
- package/dist/src/common/models/viem.d.ts +0 -4
- package/dist/src/common/models/viem.d.ts.map +0 -1
- package/dist/src/common/models/viem.js +0 -15
- package/dist/src/common/openapi.d.ts +0 -4
- package/dist/src/common/openapi.d.ts.map +0 -1
- package/dist/src/common/openapi.js +0 -40
- package/dist/src/common/tag.d.ts +0 -7
- package/dist/src/common/tag.d.ts.map +0 -1
- package/dist/src/common/tag.js +0 -5
- package/dist/src/common/version.d.ts +0 -2
- package/dist/src/common/version.d.ts.map +0 -1
- package/dist/src/common/version.js +0 -2
- package/dist/src/common/zod.d.ts +0 -3
- package/dist/src/common/zod.d.ts.map +0 -1
- package/dist/src/common/zod.js +0 -2
- package/dist/src/error.d.ts +0 -3
- package/dist/src/error.d.ts.map +0 -1
- package/dist/src/error.js +0 -16
- package/dist/src/fractions/approveSale/v0/approveSale.route.d.ts +0 -68
- package/dist/src/fractions/approveSale/v0/approveSale.route.d.ts.map +0 -1
- package/dist/src/fractions/approveSale/v0/approveSale.route.js +0 -31
- package/dist/src/fractions/approveWrapper/v0/approveWrapper.route.d.ts +0 -203
- package/dist/src/fractions/approveWrapper/v0/approveWrapper.route.d.ts.map +0 -1
- package/dist/src/fractions/approveWrapper/v0/approveWrapper.route.js +0 -84
- package/dist/src/fractions/completeSale/v0/completeSale.route.d.ts +0 -68
- package/dist/src/fractions/completeSale/v0/completeSale.route.d.ts.map +0 -1
- package/dist/src/fractions/completeSale/v0/completeSale.route.js +0 -31
- package/dist/src/fractions/createFractions/v0/createFractions.route.d.ts +0 -305
- package/dist/src/fractions/createFractions/v0/createFractions.route.d.ts.map +0 -1
- package/dist/src/fractions/createFractions/v0/createFractions.route.js +0 -61
- package/dist/src/fractions/createFractions/v0/createFractions.schema.d.ts +0 -416
- package/dist/src/fractions/createFractions/v0/createFractions.schema.d.ts.map +0 -1
- package/dist/src/fractions/createFractions/v0/createFractions.schema.js +0 -67
- package/dist/src/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts +0 -51
- package/dist/src/fractions/createFractions/v0/parseFractionsCreatedEvent.d.ts.map +0 -1
- package/dist/src/fractions/deployMarket/v0/deployMarket.routes.d.ts +0 -297
- package/dist/src/fractions/deployMarket/v0/deployMarket.routes.d.ts.map +0 -1
- package/dist/src/fractions/deployMarket/v0/deployMarket.routes.js +0 -98
- package/dist/src/fractions/deployMarket/v0/deployMarket.schema.d.ts +0 -96
- package/dist/src/fractions/deployMarket/v0/deployMarket.schema.d.ts.map +0 -1
- package/dist/src/fractions/deployMarket/v0/deployMarket.schema.js +0 -21
- package/dist/src/fractions/gating/index.d.ts +0 -2
- package/dist/src/fractions/gating/index.d.ts.map +0 -1
- package/dist/src/fractions/gating/index.js +0 -0
- package/dist/src/fractions/gating/v0/getAuthData.d.ts +0 -86
- package/dist/src/fractions/gating/v0/getAuthData.d.ts.map +0 -1
- package/dist/src/fractions/gating/v0/getAuthData.js +0 -48
- package/dist/src/fractions/gating/v0/getNonce.route.d.ts +0 -54
- package/dist/src/fractions/gating/v0/getNonce.route.d.ts.map +0 -1
- package/dist/src/fractions/gating/v0/getNonce.route.js +0 -40
- package/dist/src/fractions/grantRole/v0/grantRole.route.d.ts +0 -65
- package/dist/src/fractions/grantRole/v0/grantRole.route.d.ts.map +0 -1
- package/dist/src/fractions/grantRole/v0/grantRole.route.js +0 -31
- package/dist/src/fractions/grantRole/v0/grantRole.schema.d.ts +0 -26
- package/dist/src/fractions/grantRole/v0/grantRole.schema.d.ts.map +0 -1
- package/dist/src/fractions/grantRole/v0/grantRole.schema.js +0 -14
- package/dist/src/fractions/index.d.ts +0 -968
- package/dist/src/fractions/index.d.ts.map +0 -1
- package/dist/src/fractions/index.js +0 -91
- package/dist/src/fractions/markets/common/platform.d.ts +0 -26
- package/dist/src/fractions/markets/common/platform.d.ts.map +0 -1
- package/dist/src/fractions/markets/common/platform.js +0 -26
- package/dist/src/fractions/markets/getDeployEvent.d.ts +0 -42
- package/dist/src/fractions/markets/getDeployEvent.d.ts.map +0 -1
- package/dist/src/fractions/markets/getDeployEvent.js +0 -47
- package/dist/src/fractions/markets/getMarket/index.d.ts +0 -40
- package/dist/src/fractions/markets/getMarket/index.d.ts.map +0 -1
- package/dist/src/fractions/markets/getMarket/index.js +0 -4
- package/dist/src/fractions/markets/getMarket/v0/getMarket.d.ts +0 -64
- package/dist/src/fractions/markets/getMarket/v0/getMarket.d.ts.map +0 -1
- package/dist/src/fractions/markets/getMarket/v0/getMarket.js +0 -63
- package/dist/src/fractions/markets/index.d.ts +0 -84
- package/dist/src/fractions/markets/index.d.ts.map +0 -1
- package/dist/src/fractions/markets/index.js +0 -12
- package/dist/src/fractions/markets/searchMarkets/index.d.ts +0 -32
- package/dist/src/fractions/markets/searchMarkets/index.d.ts.map +0 -1
- package/dist/src/fractions/markets/searchMarkets/index.js +0 -4
- package/dist/src/fractions/markets/searchMarkets/v0/searchMarkets.d.ts +0 -76
- package/dist/src/fractions/markets/searchMarkets/v0/searchMarkets.d.ts.map +0 -1
- package/dist/src/fractions/markets/searchMarkets/v0/searchMarkets.js +0 -42
- package/dist/src/fractions/purchase/v0/purchase.route.d.ts +0 -89
- package/dist/src/fractions/purchase/v0/purchase.route.d.ts.map +0 -1
- package/dist/src/fractions/purchase/v0/purchase.route.js +0 -41
- package/dist/src/fractions/roles/getRoles/v0/getRoles.d.ts +0 -28
- package/dist/src/fractions/roles/getRoles/v0/getRoles.d.ts.map +0 -1
- package/dist/src/fractions/roles/getRoles/v0/getRoles.js +0 -41
- package/dist/src/fractions/sales/getVaultAddress.d.ts +0 -52
- package/dist/src/fractions/sales/getVaultAddress.d.ts.map +0 -1
- package/dist/src/fractions/sales/getVaultAddress.js +0 -61
- package/dist/src/fractions/sales/getWithdrawEvent.d.ts +0 -42
- package/dist/src/fractions/sales/getWithdrawEvent.d.ts.map +0 -1
- package/dist/src/fractions/sales/getWithdrawEvent.js +0 -52
- package/dist/src/fractions/sales/index.d.ts +0 -10
- package/dist/src/fractions/sales/index.d.ts.map +0 -1
- package/dist/src/fractions/sales/index.js +0 -10
- package/dist/src/fractions/sales/receiveFundsAfterNonFunded.route.d.ts +0 -144
- package/dist/src/fractions/sales/receiveFundsAfterNonFunded.route.d.ts.map +0 -1
- package/dist/src/fractions/sales/receiveFundsAfterNonFunded.route.js +0 -59
- package/dist/src/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts +0 -57
- package/dist/src/fractions/sales/receiveNonPurchasedWrappedAssets.route.d.ts.map +0 -1
- package/dist/src/fractions/sales/receiveNonPurchasedWrappedAssets.route.js +0 -27
- package/dist/src/fractions/sales/recoverFractions.d.ts +0 -108
- package/dist/src/fractions/sales/recoverFractions.d.ts.map +0 -1
- package/dist/src/fractions/sales/recoverFractions.js +0 -45
- package/dist/src/fractions/sales/rejectFractions.d.ts +0 -80
- package/dist/src/fractions/sales/rejectFractions.d.ts.map +0 -1
- package/dist/src/fractions/sales/rejectFractions.js +0 -39
- package/dist/src/fractions/sales/searchSaleEvents/index.d.ts +0 -2
- package/dist/src/fractions/sales/searchSaleEvents/index.d.ts.map +0 -1
- package/dist/src/fractions/sales/searchSaleEvents/index.js +0 -0
- package/dist/src/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts +0 -89
- package/dist/src/fractions/sales/searchSaleEvents/v0/searchSaleEvents.d.ts.map +0 -1
- package/dist/src/fractions/sales/searchSaleEvents/v0/searchSaleEvents.js +0 -82
- package/dist/src/fractions/sales/setFeeCapLimit.d.ts +0 -75
- package/dist/src/fractions/sales/setFeeCapLimit.d.ts.map +0 -1
- package/dist/src/fractions/sales/setFeeCapLimit.js +0 -32
- package/dist/src/fractions/sales/unlockWrappedAssets.route.d.ts +0 -68
- package/dist/src/fractions/sales/unlockWrappedAssets.route.d.ts.map +0 -1
- package/dist/src/fractions/sales/unlockWrappedAssets.route.js +0 -31
- package/dist/src/fractions/sales/vesting/index.d.ts +0 -2
- package/dist/src/fractions/sales/vesting/index.d.ts.map +0 -1
- package/dist/src/fractions/sales/vesting/index.js +0 -0
- package/dist/src/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts +0 -94
- package/dist/src/fractions/sales/vesting/v0/claimVestedTokens.route.d.ts.map +0 -1
- package/dist/src/fractions/sales/vesting/v0/claimVestedTokens.route.js +0 -41
- package/dist/src/fractions/sales/vesting/v0/editCliff.route.d.ts +0 -87
- package/dist/src/fractions/sales/vesting/v0/editCliff.route.d.ts.map +0 -1
- package/dist/src/fractions/sales/vesting/v0/editCliff.route.js +0 -40
- package/dist/src/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts +0 -48
- package/dist/src/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.d.ts.map +0 -1
- package/dist/src/fractions/sales/vesting/v0/parseClaimVestedTokensEvent.js +0 -58
- package/dist/src/fractions/withdraw/v0/withdraw.route.d.ts +0 -68
- package/dist/src/fractions/withdraw/v0/withdraw.route.d.ts.map +0 -1
- package/dist/src/fractions/withdraw/v0/withdraw.route.js +0 -31
- package/dist/src/general/balance-client.d.ts +0 -13
- package/dist/src/general/balance-client.d.ts.map +0 -1
- package/dist/src/general/balance-client.js +0 -26
- package/dist/src/general/common.d.ts +0 -94
- package/dist/src/general/common.d.ts.map +0 -1
- package/dist/src/general/common.js +0 -35
- package/dist/src/general/estimateGas.d.ts +0 -52
- package/dist/src/general/estimateGas.d.ts.map +0 -1
- package/dist/src/general/estimateGas.js +0 -64
- package/dist/src/general/getBalance.d.ts +0 -44
- package/dist/src/general/getBalance.d.ts.map +0 -1
- package/dist/src/general/getBalance.js +0 -43
- package/dist/src/general/getBalancesBatch.d.ts +0 -59
- package/dist/src/general/getBalancesBatch.d.ts.map +0 -1
- package/dist/src/general/getBalancesBatch.js +0 -34
- package/dist/src/general/index.d.ts +0 -100
- package/dist/src/general/index.d.ts.map +0 -1
- package/dist/src/general/index.js +0 -20
- package/dist/src/general/searchBalances.d.ts +0 -78
- package/dist/src/general/searchBalances.d.ts.map +0 -1
- package/dist/src/general/searchBalances.js +0 -49
- package/dist/src/issuance/approve.d.ts +0 -75
- package/dist/src/issuance/approve.d.ts.map +0 -1
- package/dist/src/issuance/approve.js +0 -36
- package/dist/src/issuance/burn.d.ts +0 -75
- package/dist/src/issuance/burn.d.ts.map +0 -1
- package/dist/src/issuance/burn.js +0 -36
- package/dist/src/issuance/deploy.d.ts +0 -88
- package/dist/src/issuance/deploy.d.ts.map +0 -1
- package/dist/src/issuance/deploy.js +0 -91
- package/dist/src/issuance/grantRole.d.ts +0 -78
- package/dist/src/issuance/grantRole.d.ts.map +0 -1
- package/dist/src/issuance/grantRole.js +0 -50
- package/dist/src/issuance/index.d.ts +0 -165
- package/dist/src/issuance/index.d.ts.map +0 -1
- package/dist/src/issuance/index.js +0 -23
- package/dist/src/issuance/mint.d.ts +0 -75
- package/dist/src/issuance/mint.d.ts.map +0 -1
- package/dist/src/issuance/mint.js +0 -36
- package/dist/src/issuance/transfer.d.ts +0 -75
- package/dist/src/issuance/transfer.d.ts.map +0 -1
- package/dist/src/issuance/transfer.js +0 -36
- package/dist/src/serve.d.ts +0 -2
- package/dist/src/serve.d.ts.map +0 -1
- package/dist/src/serve.js +0 -33
- package/dist/src/staking/index.d.ts +0 -242
- package/dist/src/staking/index.d.ts.map +0 -1
- package/dist/src/staking/index.js +0 -20
- package/dist/src/staking/platforms/common/platform.d.ts +0 -26
- package/dist/src/staking/platforms/common/platform.d.ts.map +0 -1
- package/dist/src/staking/platforms/common/platform.js +0 -26
- package/dist/src/staking/platforms/common/platformNotFound.d.ts +0 -9
- package/dist/src/staking/platforms/common/platformNotFound.d.ts.map +0 -1
- package/dist/src/staking/platforms/common/platformNotFound.js +0 -13
- package/dist/src/staking/platforms/getPlatform/index.d.ts +0 -26
- package/dist/src/staking/platforms/getPlatform/index.d.ts.map +0 -1
- package/dist/src/staking/platforms/getPlatform/index.js +0 -4
- package/dist/src/staking/platforms/getPlatform/v0/getPlatform.d.ts +0 -52
- package/dist/src/staking/platforms/getPlatform/v0/getPlatform.d.ts.map +0 -1
- package/dist/src/staking/platforms/getPlatform/v0/getPlatform.js +0 -58
- package/dist/src/staking/platforms/index.d.ts +0 -52
- package/dist/src/staking/platforms/index.d.ts.map +0 -1
- package/dist/src/staking/platforms/index.js +0 -10
- package/dist/src/staking/platforms/searchPlatforms/index.d.ts +0 -32
- package/dist/src/staking/platforms/searchPlatforms/index.d.ts.map +0 -1
- package/dist/src/staking/platforms/searchPlatforms/index.js +0 -4
- package/dist/src/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts +0 -76
- package/dist/src/staking/platforms/searchPlatforms/v0/searchPlatforms.d.ts.map +0 -1
- package/dist/src/staking/platforms/searchPlatforms/v0/searchPlatforms.js +0 -42
- package/dist/src/staking/pools/common/pool.d.ts +0 -29
- package/dist/src/staking/pools/common/pool.d.ts.map +0 -1
- package/dist/src/staking/pools/common/pool.js +0 -28
- package/dist/src/staking/pools/common/poolNotFound.d.ts +0 -10
- package/dist/src/staking/pools/common/poolNotFound.d.ts.map +0 -1
- package/dist/src/staking/pools/common/poolNotFound.js +0 -14
- package/dist/src/staking/pools/getPool/index.d.ts +0 -20
- package/dist/src/staking/pools/getPool/index.d.ts.map +0 -1
- package/dist/src/staking/pools/getPool/index.js +0 -4
- package/dist/src/staking/pools/getPool/v0/getPool.d.ts +0 -35
- package/dist/src/staking/pools/getPool/v0/getPool.d.ts.map +0 -1
- package/dist/src/staking/pools/getPool/v0/getPool.js +0 -64
- package/dist/src/staking/pools/index.d.ts +0 -39
- package/dist/src/staking/pools/index.d.ts.map +0 -1
- package/dist/src/staking/pools/index.js +0 -10
- package/dist/src/staking/pools/searchPools/index.d.ts +0 -25
- package/dist/src/staking/pools/searchPools/index.d.ts.map +0 -1
- package/dist/src/staking/pools/searchPools/index.js +0 -4
- package/dist/src/staking/pools/searchPools/v0/searchPools.d.ts +0 -55
- package/dist/src/staking/pools/searchPools/v0/searchPools.d.ts.map +0 -1
- package/dist/src/staking/pools/searchPools/v0/searchPools.js +0 -42
- package/dist/src/staking/roles/common/role.d.ts +0 -13
- package/dist/src/staking/roles/common/role.d.ts.map +0 -1
- package/dist/src/staking/roles/common/role.js +0 -18
- package/dist/src/staking/roles/common/roleAssignment.d.ts +0 -27
- package/dist/src/staking/roles/common/roleAssignment.d.ts.map +0 -1
- package/dist/src/staking/roles/common/roleAssignment.js +0 -21
- package/dist/src/staking/roles/common/roleEvent.d.ts +0 -30
- package/dist/src/staking/roles/common/roleEvent.d.ts.map +0 -1
- package/dist/src/staking/roles/common/roleEvent.js +0 -23
- package/dist/src/staking/roles/getRoles/index.d.ts +0 -26
- package/dist/src/staking/roles/getRoles/index.d.ts.map +0 -1
- package/dist/src/staking/roles/getRoles/index.js +0 -4
- package/dist/src/staking/roles/getRoles/v0/getRoles.d.ts +0 -29
- package/dist/src/staking/roles/getRoles/v0/getRoles.d.ts.map +0 -1
- package/dist/src/staking/roles/getRoles/v0/getRoles.js +0 -41
- package/dist/src/staking/roles/grantRole/index.d.ts +0 -29
- package/dist/src/staking/roles/grantRole/index.d.ts.map +0 -1
- package/dist/src/staking/roles/grantRole/index.js +0 -4
- package/dist/src/staking/roles/grantRole/v0/grantRole.d.ts +0 -63
- package/dist/src/staking/roles/grantRole/v0/grantRole.d.ts.map +0 -1
- package/dist/src/staking/roles/grantRole/v0/grantRole.js +0 -40
- package/dist/src/staking/roles/index.d.ts +0 -93
- package/dist/src/staking/roles/index.d.ts.map +0 -1
- package/dist/src/staking/roles/index.js +0 -14
- package/dist/src/staking/roles/searchRoleEvents/index.d.ts +0 -27
- package/dist/src/staking/roles/searchRoleEvents/index.d.ts.map +0 -1
- package/dist/src/staking/roles/searchRoleEvents/index.js +0 -4
- package/dist/src/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts +0 -63
- package/dist/src/staking/roles/searchRoleEvents/v0/searchRoleEvents.d.ts.map +0 -1
- package/dist/src/staking/roles/searchRoleEvents/v0/searchRoleEvents.js +0 -58
- package/dist/src/staking/roles/searchRoles/index.d.ts +0 -27
- package/dist/src/staking/roles/searchRoles/index.d.ts.map +0 -1
- package/dist/src/staking/roles/searchRoles/index.js +0 -4
- package/dist/src/staking/roles/searchRoles/v0/searchRoles.d.ts +0 -63
- package/dist/src/staking/roles/searchRoles/v0/searchRoles.d.ts.map +0 -1
- package/dist/src/staking/roles/searchRoles/v0/searchRoles.js +0 -56
- package/dist/src/staking/stakes/common/stake.d.ts +0 -44
- package/dist/src/staking/stakes/common/stake.d.ts.map +0 -1
- package/dist/src/staking/stakes/common/stake.js +0 -45
- package/dist/src/staking/stakes/common/stakeEvent.d.ts +0 -30
- package/dist/src/staking/stakes/common/stakeEvent.d.ts.map +0 -1
- package/dist/src/staking/stakes/common/stakeEvent.js +0 -24
- package/dist/src/staking/stakes/common/stakeNotFound.d.ts +0 -9
- package/dist/src/staking/stakes/common/stakeNotFound.d.ts.map +0 -1
- package/dist/src/staking/stakes/common/stakeNotFound.js +0 -13
- package/dist/src/staking/stakes/getStake/index.d.ts +0 -20
- package/dist/src/staking/stakes/getStake/index.d.ts.map +0 -1
- package/dist/src/staking/stakes/getStake/index.js +0 -4
- package/dist/src/staking/stakes/getStake/v0/getStake.d.ts +0 -35
- package/dist/src/staking/stakes/getStake/v0/getStake.d.ts.map +0 -1
- package/dist/src/staking/stakes/getStake/v0/getStake.js +0 -64
- package/dist/src/staking/stakes/index.d.ts +0 -63
- package/dist/src/staking/stakes/index.d.ts.map +0 -1
- package/dist/src/staking/stakes/index.js +0 -12
- package/dist/src/staking/stakes/searchStakeEvents/index.d.ts +0 -27
- package/dist/src/staking/stakes/searchStakeEvents/index.d.ts.map +0 -1
- package/dist/src/staking/stakes/searchStakeEvents/index.js +0 -4
- package/dist/src/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts +0 -63
- package/dist/src/staking/stakes/searchStakeEvents/v0/searchStakeEvents.d.ts.map +0 -1
- package/dist/src/staking/stakes/searchStakeEvents/v0/searchStakeEvents.js +0 -59
- package/dist/src/staking/stakes/searchStakes/index.d.ts +0 -27
- package/dist/src/staking/stakes/searchStakes/index.d.ts.map +0 -1
- package/dist/src/staking/stakes/searchStakes/index.js +0 -4
- package/dist/src/staking/stakes/searchStakes/v0/searchStakes.d.ts +0 -63
- package/dist/src/staking/stakes/searchStakes/v0/searchStakes.d.ts.map +0 -1
- package/dist/src/staking/stakes/searchStakes/v0/searchStakes.js +0 -61
- package/dist/src/staking-templates/index.d.ts +0 -732
- package/dist/src/staking-templates/index.d.ts.map +0 -1
- package/dist/src/staking-templates/index.js +0 -18
- package/dist/src/staking-templates/templates/common/amount.d.ts +0 -13
- package/dist/src/staking-templates/templates/common/amount.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/common/amount.js +0 -17
- package/dist/src/staking-templates/templates/common/amountMult.d.ts +0 -3
- package/dist/src/staking-templates/templates/common/amountMult.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/common/amountMult.js +0 -23
- package/dist/src/staking-templates/templates/common/erc20Input.d.ts +0 -12
- package/dist/src/staking-templates/templates/common/erc20Input.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/common/erc20Input.js +0 -16
- package/dist/src/staking-templates/templates/common/erc20Reward.d.ts +0 -12
- package/dist/src/staking-templates/templates/common/erc20Reward.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/common/erc20Reward.js +0 -16
- package/dist/src/staking-templates/templates/common/getCreatePoolEvent.d.ts +0 -31
- package/dist/src/staking-templates/templates/common/getCreatePoolEvent.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/common/getCreatePoolEvent.js +0 -47
- package/dist/src/staking-templates/templates/common/getPlatformDeployEvent.d.ts +0 -40
- package/dist/src/staking-templates/templates/common/getPlatformDeployEvent.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/common/getPlatformDeployEvent.js +0 -46
- package/dist/src/staking-templates/templates/common/getReward.d.ts +0 -58
- package/dist/src/staking-templates/templates/common/getReward.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/common/getReward.js +0 -34
- package/dist/src/staking-templates/templates/common/getStakeEvent.d.ts +0 -31
- package/dist/src/staking-templates/templates/common/getStakeEvent.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/common/getStakeEvent.js +0 -51
- package/dist/src/staking-templates/templates/common/lock.d.ts +0 -12
- package/dist/src/staking-templates/templates/common/lock.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/common/lock.js +0 -20
- package/dist/src/staking-templates/templates/common/lockMult.d.ts +0 -3
- package/dist/src/staking-templates/templates/common/lockMult.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/common/lockMult.js +0 -15
- package/dist/src/staking-templates/templates/common/partialUnstake.d.ts +0 -62
- package/dist/src/staking-templates/templates/common/partialUnstake.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/common/partialUnstake.js +0 -39
- package/dist/src/staking-templates/templates/common/rewardDistribution.d.ts +0 -13
- package/dist/src/staking-templates/templates/common/rewardDistribution.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/common/rewardDistribution.js +0 -19
- package/dist/src/staking-templates/templates/common/templates.d.ts +0 -61
- package/dist/src/staking-templates/templates/common/templates.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/common/templates.js +0 -8
- package/dist/src/staking-templates/templates/common/time.d.ts +0 -2
- package/dist/src/staking-templates/templates/common/time.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/common/time.js +0 -4
- package/dist/src/staking-templates/templates/common/unstake.d.ts +0 -58
- package/dist/src/staking-templates/templates/common/unstake.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/common/unstake.js +0 -34
- package/dist/src/staking-templates/templates/reputation/common.d.ts +0 -23
- package/dist/src/staking-templates/templates/reputation/common.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/reputation/common.js +0 -3
- package/dist/src/staking-templates/templates/reputation/index.d.ts +0 -233
- package/dist/src/staking-templates/templates/reputation/index.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/reputation/index.js +0 -4
- package/dist/src/staking-templates/templates/reputation/v0/createPlatform.d.ts +0 -81
- package/dist/src/staking-templates/templates/reputation/v0/createPlatform.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/reputation/v0/createPlatform.js +0 -56
- package/dist/src/staking-templates/templates/reputation/v0/createPool.d.ts +0 -113
- package/dist/src/staking-templates/templates/reputation/v0/createPool.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/reputation/v0/createPool.js +0 -85
- package/dist/src/staking-templates/templates/reputation/v0/index.d.ts +0 -233
- package/dist/src/staking-templates/templates/reputation/v0/index.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/reputation/v0/index.js +0 -25
- package/dist/src/staking-templates/templates/reputation/v0/restake.d.ts +0 -61
- package/dist/src/staking-templates/templates/reputation/v0/restake.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/reputation/v0/restake.js +0 -40
- package/dist/src/staking-templates/templates/reputation/v0/stake.d.ts +0 -61
- package/dist/src/staking-templates/templates/reputation/v0/stake.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/reputation/v0/stake.js +0 -45
- package/dist/src/staking-templates/templates/reputationLock/common.d.ts +0 -23
- package/dist/src/staking-templates/templates/reputationLock/common.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/reputationLock/common.js +0 -3
- package/dist/src/staking-templates/templates/reputationLock/index.d.ts +0 -244
- package/dist/src/staking-templates/templates/reputationLock/index.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/reputationLock/index.js +0 -4
- package/dist/src/staking-templates/templates/reputationLock/v0/createPlatform.d.ts +0 -81
- package/dist/src/staking-templates/templates/reputationLock/v0/createPlatform.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/reputationLock/v0/createPlatform.js +0 -56
- package/dist/src/staking-templates/templates/reputationLock/v0/createPool.d.ts +0 -149
- package/dist/src/staking-templates/templates/reputationLock/v0/createPool.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/reputationLock/v0/createPool.js +0 -99
- package/dist/src/staking-templates/templates/reputationLock/v0/index.d.ts +0 -244
- package/dist/src/staking-templates/templates/reputationLock/v0/index.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/reputationLock/v0/index.js +0 -25
- package/dist/src/staking-templates/templates/reputationLock/v0/restake.d.ts +0 -65
- package/dist/src/staking-templates/templates/reputationLock/v0/restake.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/reputationLock/v0/restake.js +0 -44
- package/dist/src/staking-templates/templates/reputationLock/v0/stake.d.ts +0 -65
- package/dist/src/staking-templates/templates/reputationLock/v0/stake.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/reputationLock/v0/stake.js +0 -46
- package/dist/src/staking-templates/templates/rwa/common.d.ts +0 -23
- package/dist/src/staking-templates/templates/rwa/common.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/rwa/common.js +0 -3
- package/dist/src/staking-templates/templates/rwa/index.d.ts +0 -256
- package/dist/src/staking-templates/templates/rwa/index.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/rwa/index.js +0 -4
- package/dist/src/staking-templates/templates/rwa/v0/createPlatform.d.ts +0 -81
- package/dist/src/staking-templates/templates/rwa/v0/createPlatform.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/rwa/v0/createPlatform.js +0 -56
- package/dist/src/staking-templates/templates/rwa/v0/createPool.d.ts +0 -109
- package/dist/src/staking-templates/templates/rwa/v0/createPool.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/rwa/v0/createPool.js +0 -79
- package/dist/src/staking-templates/templates/rwa/v0/index.d.ts +0 -256
- package/dist/src/staking-templates/templates/rwa/v0/index.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/rwa/v0/index.js +0 -27
- package/dist/src/staking-templates/templates/rwa/v0/notifyRewards.d.ts +0 -61
- package/dist/src/staking-templates/templates/rwa/v0/notifyRewards.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/rwa/v0/notifyRewards.js +0 -41
- package/dist/src/staking-templates/templates/rwa/v0/restake.d.ts +0 -61
- package/dist/src/staking-templates/templates/rwa/v0/restake.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/rwa/v0/restake.js +0 -40
- package/dist/src/staking-templates/templates/rwa/v0/stake.d.ts +0 -61
- package/dist/src/staking-templates/templates/rwa/v0/stake.d.ts.map +0 -1
- package/dist/src/staking-templates/templates/rwa/v0/stake.js +0 -45
- package/dist/staking/platforms/common/platformNotFound.d.ts +0 -9
- package/dist/staking/platforms/common/platformNotFound.d.ts.map +0 -1
- package/dist/staking/platforms/common/platformNotFound.js +0 -13
- package/dist/staking/pools/common/poolNotFound.d.ts +0 -10
- package/dist/staking/pools/common/poolNotFound.d.ts.map +0 -1
- package/dist/staking/pools/common/poolNotFound.js +0 -14
- package/dist/staking/stakes/common/stakeNotFound.d.ts +0 -9
- package/dist/staking/stakes/common/stakeNotFound.d.ts.map +0 -1
- package/dist/staking/stakes/common/stakeNotFound.js +0 -13
- package/dist/staking-templates/index.d.ts +0 -732
- package/dist/staking-templates/index.d.ts.map +0 -1
- package/dist/staking-templates/index.js +0 -18
- package/dist/staking-templates/templates/common/amount.d.ts +0 -7
- package/dist/staking-templates/templates/common/amount.d.ts.map +0 -1
- package/dist/staking-templates/templates/common/amount.js +0 -15
- package/dist/staking-templates/templates/common/amountMult.d.ts +0 -3
- package/dist/staking-templates/templates/common/amountMult.d.ts.map +0 -1
- package/dist/staking-templates/templates/common/amountMult.js +0 -22
- package/dist/staking-templates/templates/common/erc20Input.d.ts +0 -6
- package/dist/staking-templates/templates/common/erc20Input.d.ts.map +0 -1
- package/dist/staking-templates/templates/common/erc20Input.js +0 -14
- package/dist/staking-templates/templates/common/erc20Reward.d.ts +0 -6
- package/dist/staking-templates/templates/common/erc20Reward.d.ts.map +0 -1
- package/dist/staking-templates/templates/common/erc20Reward.js +0 -13
- package/dist/staking-templates/templates/common/getCreatePoolEvent.d.ts +0 -31
- package/dist/staking-templates/templates/common/getCreatePoolEvent.d.ts.map +0 -1
- package/dist/staking-templates/templates/common/getCreatePoolEvent.js +0 -47
- package/dist/staking-templates/templates/common/getPlatformDeployEvent.d.ts +0 -40
- package/dist/staking-templates/templates/common/getPlatformDeployEvent.d.ts.map +0 -1
- package/dist/staking-templates/templates/common/getPlatformDeployEvent.js +0 -46
- package/dist/staking-templates/templates/common/getReward.d.ts +0 -58
- package/dist/staking-templates/templates/common/getReward.d.ts.map +0 -1
- package/dist/staking-templates/templates/common/getReward.js +0 -34
- package/dist/staking-templates/templates/common/getStakeEvent.d.ts +0 -31
- package/dist/staking-templates/templates/common/getStakeEvent.d.ts.map +0 -1
- package/dist/staking-templates/templates/common/getStakeEvent.js +0 -51
- package/dist/staking-templates/templates/common/lock.d.ts +0 -6
- package/dist/staking-templates/templates/common/lock.d.ts.map +0 -1
- package/dist/staking-templates/templates/common/lock.js +0 -18
- package/dist/staking-templates/templates/common/lockMult.d.ts +0 -3
- package/dist/staking-templates/templates/common/lockMult.d.ts.map +0 -1
- package/dist/staking-templates/templates/common/lockMult.js +0 -14
- package/dist/staking-templates/templates/common/partialUnstake.d.ts +0 -62
- package/dist/staking-templates/templates/common/partialUnstake.d.ts.map +0 -1
- package/dist/staking-templates/templates/common/partialUnstake.js +0 -39
- package/dist/staking-templates/templates/common/rewardDistribution.d.ts +0 -7
- package/dist/staking-templates/templates/common/rewardDistribution.d.ts.map +0 -1
- package/dist/staking-templates/templates/common/rewardDistribution.js +0 -16
- package/dist/staking-templates/templates/common/templates.d.ts +0 -61
- package/dist/staking-templates/templates/common/templates.d.ts.map +0 -1
- package/dist/staking-templates/templates/common/templates.js +0 -8
- package/dist/staking-templates/templates/common/time.d.ts +0 -2
- package/dist/staking-templates/templates/common/time.d.ts.map +0 -1
- package/dist/staking-templates/templates/common/time.js +0 -4
- package/dist/staking-templates/templates/common/unstake.d.ts +0 -58
- package/dist/staking-templates/templates/common/unstake.d.ts.map +0 -1
- package/dist/staking-templates/templates/common/unstake.js +0 -34
- package/dist/staking-templates/templates/reputation/common.d.ts +0 -23
- package/dist/staking-templates/templates/reputation/common.d.ts.map +0 -1
- package/dist/staking-templates/templates/reputation/common.js +0 -3
- package/dist/staking-templates/templates/reputation/index.d.ts +0 -233
- package/dist/staking-templates/templates/reputation/index.d.ts.map +0 -1
- package/dist/staking-templates/templates/reputation/index.js +0 -4
- package/dist/staking-templates/templates/reputation/v0/createPlatform.d.ts +0 -81
- package/dist/staking-templates/templates/reputation/v0/createPlatform.d.ts.map +0 -1
- package/dist/staking-templates/templates/reputation/v0/createPlatform.js +0 -56
- package/dist/staking-templates/templates/reputation/v0/createPool.d.ts +0 -113
- package/dist/staking-templates/templates/reputation/v0/createPool.d.ts.map +0 -1
- package/dist/staking-templates/templates/reputation/v0/createPool.js +0 -85
- package/dist/staking-templates/templates/reputation/v0/index.d.ts +0 -233
- package/dist/staking-templates/templates/reputation/v0/index.d.ts.map +0 -1
- package/dist/staking-templates/templates/reputation/v0/index.js +0 -25
- package/dist/staking-templates/templates/reputation/v0/restake.d.ts +0 -61
- package/dist/staking-templates/templates/reputation/v0/restake.d.ts.map +0 -1
- package/dist/staking-templates/templates/reputation/v0/restake.js +0 -40
- package/dist/staking-templates/templates/reputation/v0/stake.d.ts +0 -61
- package/dist/staking-templates/templates/reputation/v0/stake.d.ts.map +0 -1
- package/dist/staking-templates/templates/reputation/v0/stake.js +0 -45
- package/dist/staking-templates/templates/reputationLock/common.d.ts +0 -23
- package/dist/staking-templates/templates/reputationLock/common.d.ts.map +0 -1
- package/dist/staking-templates/templates/reputationLock/common.js +0 -3
- package/dist/staking-templates/templates/reputationLock/index.d.ts +0 -244
- package/dist/staking-templates/templates/reputationLock/index.d.ts.map +0 -1
- package/dist/staking-templates/templates/reputationLock/index.js +0 -4
- package/dist/staking-templates/templates/reputationLock/v0/createPlatform.d.ts +0 -81
- package/dist/staking-templates/templates/reputationLock/v0/createPlatform.d.ts.map +0 -1
- package/dist/staking-templates/templates/reputationLock/v0/createPlatform.js +0 -56
- package/dist/staking-templates/templates/reputationLock/v0/createPool.d.ts +0 -149
- package/dist/staking-templates/templates/reputationLock/v0/createPool.d.ts.map +0 -1
- package/dist/staking-templates/templates/reputationLock/v0/createPool.js +0 -99
- package/dist/staking-templates/templates/reputationLock/v0/index.d.ts +0 -244
- package/dist/staking-templates/templates/reputationLock/v0/index.d.ts.map +0 -1
- package/dist/staking-templates/templates/reputationLock/v0/index.js +0 -25
- package/dist/staking-templates/templates/reputationLock/v0/restake.d.ts +0 -65
- package/dist/staking-templates/templates/reputationLock/v0/restake.d.ts.map +0 -1
- package/dist/staking-templates/templates/reputationLock/v0/restake.js +0 -44
- package/dist/staking-templates/templates/reputationLock/v0/stake.d.ts +0 -65
- package/dist/staking-templates/templates/reputationLock/v0/stake.d.ts.map +0 -1
- package/dist/staking-templates/templates/reputationLock/v0/stake.js +0 -46
- package/dist/staking-templates/templates/rwa/common.d.ts +0 -23
- package/dist/staking-templates/templates/rwa/common.d.ts.map +0 -1
- package/dist/staking-templates/templates/rwa/common.js +0 -3
- package/dist/staking-templates/templates/rwa/index.d.ts +0 -256
- package/dist/staking-templates/templates/rwa/index.d.ts.map +0 -1
- package/dist/staking-templates/templates/rwa/index.js +0 -4
- package/dist/staking-templates/templates/rwa/v0/createPlatform.d.ts +0 -81
- package/dist/staking-templates/templates/rwa/v0/createPlatform.d.ts.map +0 -1
- package/dist/staking-templates/templates/rwa/v0/createPlatform.js +0 -56
- package/dist/staking-templates/templates/rwa/v0/createPool.d.ts +0 -109
- package/dist/staking-templates/templates/rwa/v0/createPool.d.ts.map +0 -1
- package/dist/staking-templates/templates/rwa/v0/createPool.js +0 -79
- package/dist/staking-templates/templates/rwa/v0/distributeRewards.d.ts +0 -61
- package/dist/staking-templates/templates/rwa/v0/distributeRewards.d.ts.map +0 -1
- package/dist/staking-templates/templates/rwa/v0/distributeRewards.js +0 -41
- package/dist/staking-templates/templates/rwa/v0/index.d.ts +0 -256
- package/dist/staking-templates/templates/rwa/v0/index.d.ts.map +0 -1
- package/dist/staking-templates/templates/rwa/v0/index.js +0 -27
- package/dist/staking-templates/templates/rwa/v0/notifyRewards.d.ts +0 -61
- package/dist/staking-templates/templates/rwa/v0/notifyRewards.d.ts.map +0 -1
- package/dist/staking-templates/templates/rwa/v0/notifyRewards.js +0 -41
- package/dist/staking-templates/templates/rwa/v0/restake.d.ts +0 -61
- package/dist/staking-templates/templates/rwa/v0/restake.d.ts.map +0 -1
- package/dist/staking-templates/templates/rwa/v0/restake.js +0 -40
- package/dist/staking-templates/templates/rwa/v0/stake.d.ts +0 -61
- package/dist/staking-templates/templates/rwa/v0/stake.d.ts.map +0 -1
- package/dist/staking-templates/templates/rwa/v0/stake.js +0 -45
- package/dist/v0/fractions/index.d.ts +0 -129
- package/dist/v0/fractions/index.d.ts.map +0 -1
- package/dist/v0/fractions/index.js +0 -9
- package/dist/v0/fractions/networkStatistics.route.d.ts +0 -297
- package/dist/v0/fractions/networkStatistics.route.d.ts.map +0 -1
- package/dist/v0/fractions/networkStatistics.route.js +0 -225
- package/dist/v1/fractions/lending/buyback/buyback.routes.d.ts +0 -65
- package/dist/v1/fractions/lending/buyback/buyback.routes.d.ts.map +0 -1
- package/dist/v1/fractions/lending/buyback/buyback.routes.js +0 -27
- package/dist/v1/fractions/lending/buyback/buyback.schema.d.ts +0 -8
- package/dist/v1/fractions/lending/buyback/buyback.schema.d.ts.map +0 -1
- package/dist/v1/fractions/lending/buyback/buyback.schema.js +0 -13
- package/dist/v1/fractions/lending/createLendingSale.d.ts +0 -303
- package/dist/v1/fractions/lending/createLendingSale.d.ts.map +0 -1
- package/dist/v1/fractions/lending/createLendingSale.js +0 -79
- package/dist/v1/fractions/lending/deployMarket/lending.routes.d.ts +0 -113
- package/dist/v1/fractions/lending/deployMarket/lending.routes.d.ts.map +0 -1
- package/dist/v1/fractions/lending/deployMarket/lending.routes.js +0 -41
- package/dist/v1/fractions/lending/index.d.ts +0 -192
- package/dist/v1/fractions/lending/index.d.ts.map +0 -1
- package/dist/v1/fractions/lending/index.js +0 -22
- package/dist/v1/fractions/lending/purchase/directPurchase.route.d.ts +0 -71
- package/dist/v1/fractions/lending/purchase/directPurchase.route.d.ts.map +0 -1
- package/dist/v1/fractions/lending/purchase/directPurchase.route.js +0 -31
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts +0 -61
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.d.ts.map +0 -1
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.routes.js +0 -27
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts +0 -7
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.d.ts.map +0 -1
- package/dist/v1/fractions/lending/setCollateralPrice/setCollateralPrice.schema.js +0 -11
- package/dist/v1/fractions/schemas.d.ts +0 -20
- package/dist/v1/fractions/schemas.d.ts.map +0 -1
- package/dist/v1/fractions/schemas.js +0 -20
|
@@ -1,168 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
Schema: import("zod").ZodUnion<[import("zod").ZodLiteral<11155111 | 72080>, import("zod").ZodLiteral<11155111 | 72080>, ...import("zod").ZodLiteral<11155111 | 72080>[]]>;
|
|
3
|
-
chains: ({
|
|
4
|
-
blockExplorers: {
|
|
5
|
-
readonly default: {
|
|
6
|
-
readonly name: "Etherscan";
|
|
7
|
-
readonly url: "https://sepolia.etherscan.io";
|
|
8
|
-
readonly apiUrl: "https://api-sepolia.etherscan.io/api";
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
contracts: {
|
|
12
|
-
readonly multicall3: {
|
|
13
|
-
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
14
|
-
readonly blockCreated: 751532;
|
|
15
|
-
};
|
|
16
|
-
readonly ensRegistry: {
|
|
17
|
-
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
18
|
-
};
|
|
19
|
-
readonly ensUniversalResolver: {
|
|
20
|
-
readonly address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC";
|
|
21
|
-
readonly blockCreated: 5317080;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
id: 11155111;
|
|
25
|
-
name: "Sepolia";
|
|
26
|
-
nativeCurrency: {
|
|
27
|
-
readonly name: "Sepolia Ether";
|
|
28
|
-
readonly symbol: "ETH";
|
|
29
|
-
readonly decimals: 18;
|
|
30
|
-
};
|
|
31
|
-
rpcUrls: {
|
|
32
|
-
readonly default: {
|
|
33
|
-
readonly http: readonly ["https://sepolia.drpc.org"];
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
sourceId?: number | undefined;
|
|
37
|
-
testnet: true;
|
|
38
|
-
custom?: Record<string, unknown> | undefined;
|
|
39
|
-
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
40
|
-
formatters?: undefined;
|
|
41
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
42
|
-
} | {
|
|
43
|
-
blockExplorers: {
|
|
44
|
-
readonly default: {
|
|
45
|
-
readonly name: "Nexera Blockscout";
|
|
46
|
-
readonly url: "https://explorer.testnet.nexera.network/";
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
contracts: {};
|
|
50
|
-
id: 72080;
|
|
51
|
-
name: "Nexera Testnet";
|
|
52
|
-
nativeCurrency: {
|
|
53
|
-
readonly decimals: 18;
|
|
54
|
-
readonly name: "Nexera";
|
|
55
|
-
readonly symbol: "tNXRA";
|
|
56
|
-
};
|
|
57
|
-
rpcUrls: {
|
|
58
|
-
readonly default: {
|
|
59
|
-
readonly http: readonly ["https://rpc.testnet.nexera.network"];
|
|
60
|
-
};
|
|
61
|
-
readonly public: {
|
|
62
|
-
readonly http: readonly ["https://rpc.testnet.nexera.network"];
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
sourceId?: number | undefined | undefined;
|
|
66
|
-
testnet?: boolean | undefined | undefined;
|
|
67
|
-
custom?: Record<string, unknown> | undefined;
|
|
68
|
-
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
69
|
-
formatters?: undefined;
|
|
70
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
71
|
-
})[];
|
|
72
|
-
chainIds: (11155111 | 72080)[];
|
|
73
|
-
isSupported: (chainId: number) => chainId is 11155111 | 72080;
|
|
74
|
-
get: <T extends 11155111 | 72080>(chainId: T) => Extract<{
|
|
75
|
-
blockExplorers: {
|
|
76
|
-
readonly default: {
|
|
77
|
-
readonly name: "Etherscan";
|
|
78
|
-
readonly url: "https://sepolia.etherscan.io";
|
|
79
|
-
readonly apiUrl: "https://api-sepolia.etherscan.io/api";
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
contracts: {
|
|
83
|
-
readonly multicall3: {
|
|
84
|
-
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
85
|
-
readonly blockCreated: 751532;
|
|
86
|
-
};
|
|
87
|
-
readonly ensRegistry: {
|
|
88
|
-
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
89
|
-
};
|
|
90
|
-
readonly ensUniversalResolver: {
|
|
91
|
-
readonly address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC";
|
|
92
|
-
readonly blockCreated: 5317080;
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
id: 11155111;
|
|
96
|
-
name: "Sepolia";
|
|
97
|
-
nativeCurrency: {
|
|
98
|
-
readonly name: "Sepolia Ether";
|
|
99
|
-
readonly symbol: "ETH";
|
|
100
|
-
readonly decimals: 18;
|
|
101
|
-
};
|
|
102
|
-
rpcUrls: {
|
|
103
|
-
readonly default: {
|
|
104
|
-
readonly http: readonly ["https://sepolia.drpc.org"];
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
sourceId?: number | undefined;
|
|
108
|
-
testnet: true;
|
|
109
|
-
custom?: Record<string, unknown> | undefined;
|
|
110
|
-
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
111
|
-
formatters?: undefined;
|
|
112
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
113
|
-
}, {
|
|
114
|
-
id: T;
|
|
115
|
-
}> | Extract<{
|
|
116
|
-
blockExplorers: {
|
|
117
|
-
readonly default: {
|
|
118
|
-
readonly name: "Nexera Blockscout";
|
|
119
|
-
readonly url: "https://explorer.testnet.nexera.network/";
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
contracts: {};
|
|
123
|
-
id: 72080;
|
|
124
|
-
name: "Nexera Testnet";
|
|
125
|
-
nativeCurrency: {
|
|
126
|
-
readonly decimals: 18;
|
|
127
|
-
readonly name: "Nexera";
|
|
128
|
-
readonly symbol: "tNXRA";
|
|
129
|
-
};
|
|
130
|
-
rpcUrls: {
|
|
131
|
-
readonly default: {
|
|
132
|
-
readonly http: readonly ["https://rpc.testnet.nexera.network"];
|
|
133
|
-
};
|
|
134
|
-
readonly public: {
|
|
135
|
-
readonly http: readonly ["https://rpc.testnet.nexera.network"];
|
|
136
|
-
};
|
|
137
|
-
};
|
|
138
|
-
sourceId?: number | undefined | undefined;
|
|
139
|
-
testnet?: boolean | undefined | undefined;
|
|
140
|
-
custom?: Record<string, unknown> | undefined;
|
|
141
|
-
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
142
|
-
formatters?: undefined;
|
|
143
|
-
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
144
|
-
}, {
|
|
145
|
-
id: T;
|
|
146
|
-
}>;
|
|
147
|
-
};
|
|
1
|
+
export { FactoryChainId, factoryChainIds, getFactories, type IFactoryChainId } from "./factories.base.js";
|
|
148
2
|
export declare const FactoryChainIdQuery: import("zod").ZodPipe<import("zod").ZodTransform<unknown, unknown>, import("zod").ZodUnion<[import("zod").ZodLiteral<11155111 | 72080>, import("zod").ZodLiteral<11155111 | 72080>, ...import("zod").ZodLiteral<11155111 | 72080>[]]>>;
|
|
149
|
-
export declare const factoryChainIds: (11155111 | 72080)[];
|
|
150
|
-
export type IFactoryChainId = (typeof factoryChainIds)[number];
|
|
151
|
-
export declare function getFactories<T extends IFactoryChainId>(id: T): {
|
|
152
|
-
readonly DiamondFactory: "0x4be118d8a3a6f1490162e134E7419284827dbdBb";
|
|
153
|
-
readonly ERC1155GatedPausableRecoverableFactory: "0xe6727c1489F20a0b6d72A8D077BF14c7Ec495a94";
|
|
154
|
-
readonly ERC1155PausableRecoverableFactory: "0x14c2373FdE3a3dE21855376aF6420275cEB42320";
|
|
155
|
-
readonly ERC20GatedPausableRecoverableFactory: "0xee78B77c389770133573413A1606cA6db3941016";
|
|
156
|
-
readonly ERC20PausableRecoverableFactory: "0x2C81bb09947C16879f2a1C9380693FA628124515";
|
|
157
|
-
readonly ERC721GatedPausableRecoverableFactory: "0x04728c4C6130AB25844822F0ad940313daA5FF14";
|
|
158
|
-
readonly ERC721PausableRecoverableFactory: "0xA5048d05d8613db40C4eC0cFa08f9f1dCf916dDe";
|
|
159
|
-
} | {
|
|
160
|
-
readonly DiamondFactory: "0x141c8f5BC8f7895E800518dc799f3D6e419b30Ac";
|
|
161
|
-
readonly ERC1155GatedPausableRecoverableFactory: "0xD21c194D6ac21A199223Aaa5d2b241a6f74117F0";
|
|
162
|
-
readonly ERC1155PausableRecoverableFactory: "0x5A981Bc93Bc434906C5DfbBb4B3fB7D0b8763854";
|
|
163
|
-
readonly ERC20GatedPausableRecoverableFactory: "0x12B91A2B8e99bf04C05885d71EB17d934d8c779d";
|
|
164
|
-
readonly ERC20PausableRecoverableFactory: "0xa66f033EB5C6D054cab1a2A41b39a1bDD9db2c16";
|
|
165
|
-
readonly ERC721GatedPausableRecoverableFactory: "0xd3b4B5f94f9E715987b5060a56C2575a56f5Bb08";
|
|
166
|
-
readonly ERC721PausableRecoverableFactory: "0xce97D17948bE18ef92490Da8AeB85c7ebC3c8694";
|
|
167
|
-
};
|
|
168
3
|
//# sourceMappingURL=factories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factories.d.ts","sourceRoot":"","sources":["../../../src/issuance/common/factories.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"factories.d.ts","sourceRoot":"","sources":["../../../src/issuance/common/factories.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,YAAY,EAAE,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE1G,eAAO,MAAM,mBAAmB,wOAAsC,CAAC"}
|
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
import { sepolia } from "viem/chains";
|
|
2
|
-
import { constants } from "@evergonlabs/tmi-factories-sdk";
|
|
3
|
-
import { nexeraTestnet } from "@evergonlabs/tmi-protocol-types/evm";
|
|
4
|
-
import { createSupportedChains } from "@evergonlabs/tmi-utils/models";
|
|
5
|
-
import { HttpError } from "../../common/http-error.js";
|
|
6
1
|
import { createChainIdSchema } from "../../common/models/chainId.js";
|
|
7
|
-
|
|
2
|
+
import { FactoryChainId } from "./factories.base.js";
|
|
3
|
+
export { FactoryChainId, factoryChainIds, getFactories } from "./factories.base.js";
|
|
8
4
|
export const FactoryChainIdQuery = createChainIdSchema(FactoryChainId);
|
|
9
|
-
export const factoryChainIds = FactoryChainId.chainIds;
|
|
10
|
-
export function getFactories(id) {
|
|
11
|
-
if (id in constants.factoryAddresses) {
|
|
12
|
-
return constants.factoryAddresses[id];
|
|
13
|
-
}
|
|
14
|
-
throw new HttpError(400, {
|
|
15
|
-
message: "This chain id is not supported yet",
|
|
16
|
-
});
|
|
17
|
-
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"approve.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/approve.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,yBAAyB;;;;iBAIpC,CAAC;AAkBH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"approve.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/approve.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,yBAAyB;;;;iBAIpC,CAAC;AAkBH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;aAc5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"burn.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/burn.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,sBAAsB;;;;iBAIjC,CAAC;AAkBH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"burn.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/burn.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,sBAAsB;;;;iBAIjC,CAAC;AAkBH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;aAczB,CAAC"}
|
|
@@ -7,7 +7,7 @@ export declare const DeployErc20RequestSchema: z.ZodObject<{
|
|
|
7
7
|
defaultTokenAdmin: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
8
8
|
minter: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
9
9
|
}, z.core.$strip>;
|
|
10
|
-
export declare const CreateErc20Token: import("
|
|
10
|
+
export declare const CreateErc20Token: import("../../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../../common/context.js").AppContext, {
|
|
11
11
|
"/": {
|
|
12
12
|
$post: {
|
|
13
13
|
input: {
|
|
@@ -34,5 +34,5 @@ export declare const CreateErc20Token: import("../../common/controller.js").ICon
|
|
|
34
34
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
35
35
|
};
|
|
36
36
|
};
|
|
37
|
-
}, "/">>;
|
|
37
|
+
}, "/", "/">>;
|
|
38
38
|
//# sourceMappingURL=deploy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/default/deploy.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,wBAAwB;;;;;;;iBAOnC,CAAC;AA6BH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;aAe3B,CAAC"}
|
|
@@ -2,10 +2,10 @@ import { describeRoute } from "hono-openapi";
|
|
|
2
2
|
import { resolver, validator } from "hono-openapi";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { abis } from "@evergonlabs/tmi-factories-sdk";
|
|
5
|
-
import { createController } from "
|
|
6
|
-
import { AddressSchema, toTransaction, TransactionSchema } from "
|
|
7
|
-
import { Int256BigInt } from "
|
|
8
|
-
import { FactoryChainId, getFactories } from "
|
|
5
|
+
import { createController } from "../../../common/controller.js";
|
|
6
|
+
import { AddressSchema, toTransaction, TransactionSchema } from "../../../common/index.js";
|
|
7
|
+
import { Int256BigInt } from "../../../common/int256.js";
|
|
8
|
+
import { FactoryChainId, getFactories } from "../../common/factories.js";
|
|
9
9
|
export const DeployErc20RequestSchema = z.object({
|
|
10
10
|
chainId: FactoryChainId.Schema,
|
|
11
11
|
tokenName: z.string().nonempty().openapi({ description: "Name of the ERC20 token" }),
|
|
@@ -18,6 +18,8 @@ const deployErc20Route = describeRoute({
|
|
|
18
18
|
summary: "Deploy ERC20 via Factory",
|
|
19
19
|
description: `Returns transaction data for deploying a new ERC20 token via the factory contract.
|
|
20
20
|
|
|
21
|
+
**Note: This contract is not audited.**
|
|
22
|
+
|
|
21
23
|
Calls deployAndInitializeProxy on the ERC20PausableRecoverableFactory to atomically deploy and initialize a new token proxy.
|
|
22
24
|
|
|
23
25
|
The deployed token supports:
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const InitializeDefaultErc20RequestSchema: z.ZodObject<{
|
|
3
|
+
tokenAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
symbol: z.ZodString;
|
|
6
|
+
cap: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
|
|
7
|
+
defaultAdmin: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
8
|
+
minter: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
export declare const InitializeDefaultErc20: import("../../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../../common/context.js").AppContext, {
|
|
11
|
+
"/": {
|
|
12
|
+
$post: {
|
|
13
|
+
input: {
|
|
14
|
+
json: {
|
|
15
|
+
tokenAddress: string;
|
|
16
|
+
name: string;
|
|
17
|
+
symbol: string;
|
|
18
|
+
cap: string;
|
|
19
|
+
defaultAdmin: string;
|
|
20
|
+
minter: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
output: {
|
|
24
|
+
data: `0x${string}`;
|
|
25
|
+
to: `0x${string}`;
|
|
26
|
+
details: {
|
|
27
|
+
functionName: string;
|
|
28
|
+
address: `0x${string}`;
|
|
29
|
+
abi: any[];
|
|
30
|
+
args: any[];
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
outputFormat: "json";
|
|
34
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
}, "/", "/">>;
|
|
38
|
+
//# sourceMappingURL=initialize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"initialize.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/default/initialize.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,mCAAmC;;;;;;;iBAO9C,CAAC;AAkBH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;aAgBjC,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { describeRoute } from "hono-openapi";
|
|
2
|
+
import { resolver, validator } from "hono-openapi";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
import { abis } from "@evergonlabs/tmi-factories-sdk";
|
|
5
|
+
import { createController } from "../../../common/controller.js";
|
|
6
|
+
import { AddressSchema, toTransaction, TransactionSchema } from "../../../common/index.js";
|
|
7
|
+
import { Int256BigInt } from "../../../common/int256.js";
|
|
8
|
+
export const InitializeDefaultErc20RequestSchema = z.object({
|
|
9
|
+
tokenAddress: AddressSchema,
|
|
10
|
+
name: z.string().nonempty().openapi({ description: "Name of the ERC20 token" }),
|
|
11
|
+
symbol: z.string().nonempty().openapi({ description: "Symbol of the ERC20 token" }),
|
|
12
|
+
cap: Int256BigInt(z.bigint().nonnegative()),
|
|
13
|
+
defaultAdmin: AddressSchema.openapi({ description: "Address to receive DEFAULT_ADMIN_ROLE" }),
|
|
14
|
+
minter: AddressSchema.openapi({ description: "Address to receive MINTER_ROLE" }),
|
|
15
|
+
});
|
|
16
|
+
const initializeRoute = describeRoute({
|
|
17
|
+
summary: "Initialize ERC20",
|
|
18
|
+
description: "Returns transaction data for initializing an ERC20 token proxy contract",
|
|
19
|
+
tags: ["Issuance"],
|
|
20
|
+
responses: {
|
|
21
|
+
200: {
|
|
22
|
+
description: "Returns transaction data for initializing an ERC20",
|
|
23
|
+
content: {
|
|
24
|
+
"application/json": {
|
|
25
|
+
schema: resolver(TransactionSchema),
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
export const InitializeDefaultErc20 = createController({
|
|
32
|
+
build: (factory) => factory
|
|
33
|
+
.createApp()
|
|
34
|
+
.post("/", initializeRoute, validator("json", InitializeDefaultErc20RequestSchema), async (c) => {
|
|
35
|
+
const { tokenAddress, name, symbol, cap, defaultAdmin, minter } = c.req.valid("json");
|
|
36
|
+
return c.json(toTransaction({
|
|
37
|
+
address: tokenAddress,
|
|
38
|
+
abi: abis.erc20PausableRecoverableUpgradeableAbi,
|
|
39
|
+
functionName: "initialize",
|
|
40
|
+
args: [name, symbol, BigInt(cap), defaultAdmin, minter],
|
|
41
|
+
}));
|
|
42
|
+
}),
|
|
43
|
+
});
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const ParseDefaultErc20DeployEvent: import("../../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../../common/context.js").AppContext, {
|
|
2
|
+
"/": {
|
|
3
|
+
$get: {
|
|
4
|
+
input: {
|
|
5
|
+
query: {
|
|
6
|
+
chainId: string | string[];
|
|
7
|
+
hash: string | string[];
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
output: {
|
|
11
|
+
proxy: `0x${string}`;
|
|
12
|
+
admin: `0x${string}`;
|
|
13
|
+
minter: `0x${string}`;
|
|
14
|
+
supplyCap: string;
|
|
15
|
+
name: string;
|
|
16
|
+
symbol: string;
|
|
17
|
+
};
|
|
18
|
+
outputFormat: "json";
|
|
19
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
}, "/", "/">>;
|
|
23
|
+
//# sourceMappingURL=parseDeployEvent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parseDeployEvent.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/default/parseDeployEvent.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;aAoDvC,CAAC"}
|
|
@@ -5,11 +5,11 @@ import { waitForTransactionReceipt } from "viem/actions";
|
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import { abis } from "@evergonlabs/tmi-factories-sdk";
|
|
7
7
|
import { Int256Json } from "@evergonlabs/tmi-utils/models";
|
|
8
|
-
import { getPublicClient } from "
|
|
9
|
-
import { createController } from "
|
|
10
|
-
import { HttpError } from "
|
|
11
|
-
import { AddressSchema, HashSchema } from "
|
|
12
|
-
import { FactoryChainIdQuery } from "
|
|
8
|
+
import { getPublicClient } from "../../../common/blockchain.js";
|
|
9
|
+
import { createController } from "../../../common/controller.js";
|
|
10
|
+
import { HttpError } from "../../../common/http-error.js";
|
|
11
|
+
import { AddressSchema, HashSchema } from "../../../common/index.js";
|
|
12
|
+
import { FactoryChainIdQuery } from "../../common/factories.js";
|
|
13
13
|
const QuerySchema = z.object({
|
|
14
14
|
chainId: FactoryChainIdQuery.openapi({
|
|
15
15
|
param: {
|
|
@@ -24,9 +24,9 @@ const QuerySchema = z.object({
|
|
|
24
24
|
},
|
|
25
25
|
}),
|
|
26
26
|
});
|
|
27
|
-
export const
|
|
27
|
+
export const ParseDefaultErc20DeployEvent = createController({
|
|
28
28
|
build: (factory) => factory.createApp().get("/", describeRoute({
|
|
29
|
-
summary: "Get TokenProxyConfigured Event",
|
|
29
|
+
summary: "Get ERC20 TokenProxyConfigured Event",
|
|
30
30
|
description: `Gets the transaction by hash and parses emitted logs.\n\nProvided transaction must be a transaction emitted by the ERC20 factory \`deployAndInitializeProxy\` action`,
|
|
31
31
|
tags: ["Issuance"],
|
|
32
32
|
responses: {
|
|
@@ -52,12 +52,12 @@ export const ParseErc20DeployEvent = createController({
|
|
|
52
52
|
hash: params.hash,
|
|
53
53
|
});
|
|
54
54
|
const [event] = parseEventLogs({
|
|
55
|
-
abi: abis.
|
|
55
|
+
abi: abis.erc20PausableRecoverableFactoryAbi,
|
|
56
56
|
eventName: "TokenProxyConfigured",
|
|
57
57
|
logs: receipt.logs,
|
|
58
58
|
});
|
|
59
59
|
if (!event) {
|
|
60
|
-
throw new
|
|
60
|
+
throw new UnableParseDefaultErc20DeployEvent();
|
|
61
61
|
}
|
|
62
62
|
return c.json({
|
|
63
63
|
proxy: event.args.proxy,
|
|
@@ -69,11 +69,11 @@ export const ParseErc20DeployEvent = createController({
|
|
|
69
69
|
});
|
|
70
70
|
}),
|
|
71
71
|
});
|
|
72
|
-
class
|
|
72
|
+
class UnableParseDefaultErc20DeployEvent extends HttpError {
|
|
73
73
|
constructor() {
|
|
74
74
|
super(500, {
|
|
75
75
|
message: `Can't parse TokenProxyConfigured event. Make sure you're passing a transaction generated by the ERC20 factory \`deployAndInitializeProxy\` action`,
|
|
76
|
-
name: "
|
|
76
|
+
name: "UnableParseDefaultErc20DeployEvent",
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
}
|
|
@@ -8,7 +8,7 @@ export declare const DeployGatedErc20RequestSchema: z.ZodObject<{
|
|
|
8
8
|
minter: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
9
9
|
gatingSigner: z.ZodOptional<z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>>;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
|
-
export declare const CreateGatedErc20Token: import("
|
|
11
|
+
export declare const CreateGatedErc20Token: import("../../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../../common/context.js").AppContext, {
|
|
12
12
|
"/": {
|
|
13
13
|
$post: {
|
|
14
14
|
input: {
|
|
@@ -36,5 +36,5 @@ export declare const CreateGatedErc20Token: import("../../common/controller.js")
|
|
|
36
36
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
|
-
}, "/">>;
|
|
40
|
-
//# sourceMappingURL=
|
|
39
|
+
}, "/", "/">>;
|
|
40
|
+
//# sourceMappingURL=deploy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gated/deploy.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,6BAA6B;;;;;;;;iBAUxC,CAAC;AAsBH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAyBhC,CAAC"}
|
|
@@ -2,11 +2,11 @@ import { describeRoute } from "hono-openapi";
|
|
|
2
2
|
import { resolver, validator } from "hono-openapi";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { abis } from "@evergonlabs/tmi-factories-sdk";
|
|
5
|
-
import { createController } from "
|
|
6
|
-
import { AddressSchema, toTransaction, TransactionSchema } from "
|
|
7
|
-
import { Int256BigInt } from "
|
|
8
|
-
import { DEFAULT_COMPILOT_SIGNER } from "
|
|
9
|
-
import { FactoryChainId, getFactories } from "
|
|
5
|
+
import { createController } from "../../../common/controller.js";
|
|
6
|
+
import { AddressSchema, toTransaction, TransactionSchema } from "../../../common/index.js";
|
|
7
|
+
import { Int256BigInt } from "../../../common/int256.js";
|
|
8
|
+
import { DEFAULT_COMPILOT_SIGNER } from "../../../common/models/compilot.js";
|
|
9
|
+
import { FactoryChainId, getFactories } from "../../common/factories.js";
|
|
10
10
|
export const DeployGatedErc20RequestSchema = z.object({
|
|
11
11
|
chainId: FactoryChainId.Schema,
|
|
12
12
|
tokenName: z.string().nonempty().openapi({ description: "Name of the ERC20 token" }),
|
|
@@ -22,6 +22,8 @@ const deployGatedErc20Route = describeRoute({
|
|
|
22
22
|
summary: "Deploy Gated ERC20 via Factory",
|
|
23
23
|
description: `Returns transaction data for deploying a new whitelist-gated ERC20 token via the factory contract.
|
|
24
24
|
|
|
25
|
+
**Note: This contract is not audited.**
|
|
26
|
+
|
|
25
27
|
Calls deployAndInitializeProxy on the ERC20GatedPausableRecoverableFactory to atomically deploy and initialize a new token proxy.`,
|
|
26
28
|
tags: ["Issuance"],
|
|
27
29
|
responses: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const InitializeGatedErc20RequestSchema: z.ZodObject<{
|
|
3
3
|
tokenAddress: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
4
4
|
name: z.ZodString;
|
|
5
5
|
symbol: z.ZodString;
|
|
@@ -8,7 +8,7 @@ export declare const InitializeErc20RequestSchema: z.ZodObject<{
|
|
|
8
8
|
minter: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
9
9
|
gatingSigner: z.ZodOptional<z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>>;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
|
-
export declare const
|
|
11
|
+
export declare const InitializeGatedErc20: import("../../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../../common/context.js").AppContext, {
|
|
12
12
|
"/": {
|
|
13
13
|
$post: {
|
|
14
14
|
input: {
|
|
@@ -36,5 +36,5 @@ export declare const InitializeErc20: import("../../common/controller.js").ICont
|
|
|
36
36
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
|
-
}, "/">>;
|
|
39
|
+
}, "/", "/">>;
|
|
40
40
|
//# sourceMappingURL=initialize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"initialize.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gated/initialize.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,iCAAiC;;;;;;;;iBAU5C,CAAC;AAkBH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAc/B,CAAC"}
|
|
@@ -2,11 +2,11 @@ import { describeRoute } from "hono-openapi";
|
|
|
2
2
|
import { resolver, validator } from "hono-openapi";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { abis } from "@evergonlabs/tmi-factories-sdk";
|
|
5
|
-
import { createController } from "
|
|
6
|
-
import { AddressSchema, toTransaction, TransactionSchema } from "
|
|
7
|
-
import { Int256BigInt } from "
|
|
8
|
-
import { DEFAULT_COMPILOT_SIGNER } from "
|
|
9
|
-
export const
|
|
5
|
+
import { createController } from "../../../common/controller.js";
|
|
6
|
+
import { AddressSchema, toTransaction, TransactionSchema } from "../../../common/index.js";
|
|
7
|
+
import { Int256BigInt } from "../../../common/int256.js";
|
|
8
|
+
import { DEFAULT_COMPILOT_SIGNER } from "../../../common/models/compilot.js";
|
|
9
|
+
export const InitializeGatedErc20RequestSchema = z.object({
|
|
10
10
|
tokenAddress: AddressSchema,
|
|
11
11
|
name: z.string().nonempty().openapi({ description: "Name of the ERC20 token" }),
|
|
12
12
|
symbol: z.string().nonempty().openapi({ description: "Symbol of the ERC20 token" }),
|
|
@@ -32,8 +32,8 @@ const initializeRoute = describeRoute({
|
|
|
32
32
|
},
|
|
33
33
|
},
|
|
34
34
|
});
|
|
35
|
-
export const
|
|
36
|
-
build: (factory) => factory.createApp().post("/", initializeRoute, validator("json",
|
|
35
|
+
export const InitializeGatedErc20 = createController({
|
|
36
|
+
build: (factory) => factory.createApp().post("/", initializeRoute, validator("json", InitializeGatedErc20RequestSchema), async (c) => {
|
|
37
37
|
const { tokenAddress, name, symbol, cap, defaultAdmin, minter, gatingSigner } = c.req.valid("json");
|
|
38
38
|
return c.json(toTransaction({
|
|
39
39
|
address: tokenAddress,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const ParseGatedErc20DeployEvent: import("../../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../../common/context.js").AppContext, {
|
|
2
2
|
"/": {
|
|
3
3
|
$get: {
|
|
4
4
|
input: {
|
|
@@ -19,5 +19,5 @@ export declare const ParseErc20DeployEvent: import("../../common/controller.js")
|
|
|
19
19
|
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
}, "/">>;
|
|
23
|
-
//# sourceMappingURL=
|
|
22
|
+
}, "/", "/">>;
|
|
23
|
+
//# sourceMappingURL=parseDeployEvent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parseDeployEvent.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gated/parseDeployEvent.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;aAoDrC,CAAC"}
|