@evergonlabs/tmi-protocol-api 0.9.0 → 0.10.0-rc.1
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 +467 -28
- package/dist/app.d.ts.map +1 -1
- package/dist/client.d.ts +503 -28
- package/dist/client.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/common/roles/erc1155-token-roles.d.ts +8 -0
- package/dist/common/roles/erc1155-token-roles.d.ts.map +1 -0
- package/dist/common/roles/erc1155-token-roles.js +13 -0
- package/dist/common/roles/exports.d.ts +1 -0
- package/dist/common/roles/exports.d.ts.map +1 -1
- package/dist/common/roles/exports.js +1 -0
- package/dist/fractions/markets/common/platform.d.ts.map +1 -1
- package/dist/fractions/markets/common/platform.js +2 -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/createFractions.schema.js +1 -1
- package/dist/fractions/sales/vesting/editCliff.route.js +1 -1
- package/dist/issuance/common/factories.base.d.ts +12 -12
- package/dist/issuance/erc1155/burn.d.ts +34 -0
- package/dist/issuance/erc1155/burn.d.ts.map +1 -0
- package/dist/issuance/erc1155/burn.js +39 -0
- package/dist/issuance/{erc721 → erc1155/default}/deploy.d.ts +3 -7
- package/dist/issuance/erc1155/default/deploy.d.ts.map +1 -0
- package/dist/issuance/erc1155/default/deploy.js +53 -0
- package/dist/issuance/{erc721 → erc1155/default}/initialize.d.ts +3 -7
- package/dist/issuance/erc1155/default/initialize.d.ts.map +1 -0
- package/dist/issuance/{erc721 → erc1155/default}/initialize.js +11 -13
- package/dist/issuance/{erc721/parseErc721DeployEvent.d.ts → erc1155/default/parseDeployEvent.d.ts} +3 -5
- package/dist/issuance/erc1155/default/parseDeployEvent.d.ts.map +1 -0
- package/dist/issuance/{erc721/parseErc721DeployEvent.js → erc1155/default/parseDeployEvent.js} +13 -17
- package/dist/issuance/{erc721/deployGated.d.ts → erc1155/gated/deploy.d.ts} +4 -8
- package/dist/issuance/erc1155/gated/deploy.d.ts.map +1 -0
- package/dist/issuance/erc1155/gated/deploy.js +61 -0
- package/dist/issuance/{erc20 → erc1155/gated}/initialize.d.ts +5 -9
- package/dist/issuance/erc1155/gated/initialize.d.ts.map +1 -0
- package/dist/issuance/{erc20 → erc1155/gated}/initialize.js +15 -16
- package/dist/issuance/{erc20/parseErc20DeployEvent.d.ts → erc1155/gated/parseDeployEvent.d.ts} +4 -6
- package/dist/issuance/erc1155/gated/parseDeployEvent.d.ts.map +1 -0
- package/dist/issuance/{erc20/parseErc20DeployEvent.js → erc1155/gated/parseDeployEvent.js} +15 -20
- package/dist/issuance/erc1155/grantRole.d.ts +33 -0
- package/dist/issuance/erc1155/grantRole.d.ts.map +1 -0
- package/dist/issuance/erc1155/grantRole.js +41 -0
- package/dist/issuance/erc1155/index.d.ts +361 -0
- package/dist/issuance/erc1155/index.d.ts.map +1 -0
- package/dist/issuance/erc1155/index.js +38 -0
- package/dist/issuance/erc1155/mint.d.ts +34 -0
- package/dist/issuance/erc1155/mint.d.ts.map +1 -0
- package/dist/issuance/erc1155/mint.js +39 -0
- package/dist/issuance/erc1155/recover.d.ts +36 -0
- package/dist/issuance/erc1155/recover.d.ts.map +1 -0
- package/dist/issuance/erc1155/recover.js +40 -0
- package/dist/issuance/erc1155/renounceRole.d.ts +33 -0
- package/dist/issuance/erc1155/renounceRole.d.ts.map +1 -0
- package/dist/issuance/erc1155/renounceRole.js +41 -0
- package/dist/issuance/erc1155/revokeRole.d.ts +33 -0
- package/dist/issuance/erc1155/revokeRole.d.ts.map +1 -0
- package/dist/issuance/erc1155/revokeRole.js +41 -0
- package/dist/issuance/erc1155/setApprovalForAll.d.ts +32 -0
- package/dist/issuance/erc1155/setApprovalForAll.d.ts.map +1 -0
- package/dist/issuance/erc1155/setApprovalForAll.js +39 -0
- package/dist/issuance/erc1155/setBaseURI.d.ts +30 -0
- package/dist/issuance/erc1155/setBaseURI.d.ts.map +1 -0
- package/dist/issuance/erc1155/setBaseURI.js +36 -0
- package/dist/issuance/erc1155/setTokenURI.d.ts +32 -0
- package/dist/issuance/erc1155/setTokenURI.d.ts.map +1 -0
- package/dist/issuance/erc1155/setTokenURI.js +38 -0
- package/dist/issuance/erc721/approve.js +1 -1
- package/dist/issuance/erc721/burn.js +1 -1
- package/dist/issuance/erc721/default/deploy.js +4 -4
- package/dist/issuance/erc721/default/initialize.js +1 -1
- package/dist/issuance/erc721/default/parseDeployEvent.js +1 -1
- package/dist/issuance/erc721/gated/deploy.js +4 -4
- package/dist/issuance/erc721/gated/initialize.js +1 -1
- package/dist/issuance/erc721/gated/parseDeployEvent.js +1 -1
- package/dist/issuance/erc721/grantRole.js +1 -1
- package/dist/issuance/erc721/index.d.ts +0 -1
- package/dist/issuance/erc721/index.d.ts.map +1 -1
- package/dist/issuance/erc721/mint.d.ts +0 -2
- package/dist/issuance/erc721/mint.d.ts.map +1 -1
- package/dist/issuance/erc721/mint.js +4 -6
- package/dist/issuance/erc721/nextTokenId.d.ts +19 -0
- package/dist/issuance/erc721/nextTokenId.d.ts.map +1 -0
- package/dist/issuance/erc721/nextTokenId.js +79 -0
- package/dist/issuance/erc721/recover.js +1 -1
- package/dist/issuance/erc721/renounceRole.js +1 -1
- package/dist/issuance/erc721/revokeRole.js +1 -1
- package/dist/issuance/erc721/setBaseURI.js +1 -1
- package/dist/issuance/erc721/setTokenURI.js +1 -1
- package/dist/issuance/erc721/transferFrom.js +1 -1
- package/dist/issuance/index.d.ts +359 -1
- package/dist/issuance/index.d.ts.map +1 -1
- package/dist/issuance/index.js +2 -0
- package/dist/next/fractions/index.d.ts +108 -27
- package/dist/next/fractions/index.d.ts.map +1 -1
- package/dist/next/fractions/lending/index.d.ts +26 -25
- package/dist/next/fractions/lending/index.d.ts.map +1 -1
- package/dist/next/fractions/lending/index.js +2 -2
- 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/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.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/platforms/common/platform.d.ts.map +1 -1
- package/dist/staking/platforms/common/platform.js +2 -1
- package/dist/staking/pools/common/pool.d.ts.map +1 -1
- package/dist/staking/pools/common/pool.js +2 -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/searchStakeEvents/v0/searchStakeEvents.js +1 -1
- package/dist/stakingTemplates/templates/common/time.js +1 -1
- package/package.json +13 -12
- 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 +0 -38
- package/dist/issuance/erc20/deploy.d.ts.map +0 -1
- package/dist/issuance/erc20/deploy.js +0 -52
- package/dist/issuance/erc20/deployGated.d.ts +0 -40
- package/dist/issuance/erc20/deployGated.d.ts.map +0 -1
- package/dist/issuance/erc20/deployGated.js +0 -58
- package/dist/issuance/erc20/getInitData.d.ts +0 -59
- package/dist/issuance/erc20/getInitData.d.ts.map +0 -1
- package/dist/issuance/erc20/getInitData.js +0 -49
- 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/deploy.js +0 -51
- package/dist/issuance/erc721/deployGated.d.ts.map +0 -1
- package/dist/issuance/erc721/deployGated.js +0 -58
- 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
|
@@ -51,7 +51,7 @@ export const ParseDefaultErc721DeployEvent = createController({
|
|
|
51
51
|
hash: params.hash,
|
|
52
52
|
});
|
|
53
53
|
const [event] = parseEventLogs({
|
|
54
|
-
abi: abis.
|
|
54
|
+
abi: abis.erc721AutoIdPausableRecoverableFactoryAbi,
|
|
55
55
|
eventName: "TokenProxyConfigured",
|
|
56
56
|
logs: receipt.logs,
|
|
57
57
|
});
|
|
@@ -23,10 +23,10 @@ const deployGatedErc721Route = describeRoute({
|
|
|
23
23
|
|
|
24
24
|
Returns transaction data for deploying a new gated ERC721 token via the factory contract.
|
|
25
25
|
|
|
26
|
-
Calls deployAndInitializeProxy on the
|
|
26
|
+
Calls deployAndInitializeProxy on the ERC721AutoIdGatedPausableRecoverableFactory to atomically deploy and initialize a new token proxy with whitelist gating.
|
|
27
27
|
|
|
28
28
|
The deployed token supports:
|
|
29
|
-
- mint(to
|
|
29
|
+
- mint(to) - Mint token with auto-generated ID (MINTER_ROLE gated)
|
|
30
30
|
- burn(tokenId) - Burn token (owner, approved, or MINTER_ROLE)
|
|
31
31
|
- setBaseURI(uri) - Set base URI (URI_SETTER_ROLE gated)
|
|
32
32
|
- setTokenURI(tokenId, uri) - Set token-specific URI (URI_SETTER_ROLE gated)
|
|
@@ -51,8 +51,8 @@ export const CreateGatedErc721Token = createController({
|
|
|
51
51
|
const { chainId, tokenName, tokenSymbol, baseURI, defaultTokenAdmin, minter, gatingSigner } = c.req.valid("json");
|
|
52
52
|
const factory = getFactories(chainId);
|
|
53
53
|
return c.json(toTransaction({
|
|
54
|
-
address: factory.
|
|
55
|
-
abi: abis.
|
|
54
|
+
address: factory.ERC721AutoIdGatedPausableRecoverableFactory,
|
|
55
|
+
abi: abis.erc721AutoIdGatedPausableRecoverableFactoryAbi,
|
|
56
56
|
functionName: "deployAndInitializeProxy",
|
|
57
57
|
args: [tokenName, tokenSymbol, baseURI, defaultTokenAdmin, minter, gatingSigner ?? DEFAULT_COMPILOT_SIGNER],
|
|
58
58
|
}));
|
|
@@ -36,7 +36,7 @@ export const InitializeGatedErc721 = createController({
|
|
|
36
36
|
const { tokenAddress, name, symbol, baseURI, defaultAdmin, minter, gatingSigner } = c.req.valid("json");
|
|
37
37
|
return c.json(toTransaction({
|
|
38
38
|
address: tokenAddress,
|
|
39
|
-
abi: abis.
|
|
39
|
+
abi: abis.erc721AutoIdWhitelistGatedPausableRecoverableUpgradeableAbi,
|
|
40
40
|
functionName: "initialize",
|
|
41
41
|
args: [name, symbol, baseURI, defaultAdmin, minter, gatingSigner ?? DEFAULT_COMPILOT_SIGNER],
|
|
42
42
|
}));
|
|
@@ -51,7 +51,7 @@ export const ParseGatedErc721DeployEvent = createController({
|
|
|
51
51
|
hash: params.hash,
|
|
52
52
|
});
|
|
53
53
|
const [event] = parseEventLogs({
|
|
54
|
-
abi: abis.
|
|
54
|
+
abi: abis.erc721AutoIdGatedPausableRecoverableFactoryAbi,
|
|
55
55
|
eventName: "TokenProxyConfigured",
|
|
56
56
|
logs: receipt.logs,
|
|
57
57
|
});
|
|
@@ -33,7 +33,7 @@ export const GrantRoleErc721 = createController({
|
|
|
33
33
|
const { tokenAddress, role, account } = c.req.valid("json");
|
|
34
34
|
return c.json(toTransaction({
|
|
35
35
|
address: tokenAddress,
|
|
36
|
-
abi: abis.
|
|
36
|
+
abi: abis.erc721AutoIdPausableRecoverableUpgradeableAbi,
|
|
37
37
|
functionName: "grantRole",
|
|
38
38
|
args: [convertErc721TokenRoleToHash(role), account],
|
|
39
39
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc721/index.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc721/index.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAuB3B,CAAC"}
|
|
@@ -2,7 +2,6 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const MintErc721RequestSchema: 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
|
to: z.ZodPipe<z.ZodString & z.ZodType<`0x${string}`, string, z.core.$ZodTypeInternals<`0x${string}`, string>>, z.ZodTransform<`0x${string}`, `0x${string}`>>;
|
|
5
|
-
tokenId: z.ZodPipe<z.core.$ZodBranded<z.ZodString, "Int256", "out">, z.ZodTransform<bigint, string & z.core.$brand<"Int256">>>;
|
|
6
5
|
}, z.core.$strip>;
|
|
7
6
|
export declare const MintErc721: import("../../common/controller.js").IController<import("hono/hono-base").HonoBase<import("../../common/context.js").AppContext, {
|
|
8
7
|
"/": {
|
|
@@ -11,7 +10,6 @@ export declare const MintErc721: import("../../common/controller.js").IControlle
|
|
|
11
10
|
json: {
|
|
12
11
|
tokenAddress: string;
|
|
13
12
|
to: string;
|
|
14
|
-
tokenId: string;
|
|
15
13
|
};
|
|
16
14
|
};
|
|
17
15
|
output: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mint.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc721/mint.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"mint.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc721/mint.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,uBAAuB;;;iBAGlC,CAAC;AAmBH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;aAcrB,CAAC"}
|
|
@@ -4,15 +4,13 @@ import { z } from "zod";
|
|
|
4
4
|
import { abis } from "@evergonlabs/tmi-factories-sdk";
|
|
5
5
|
import { createController } from "../../common/controller.js";
|
|
6
6
|
import { AddressSchema, toTransaction, TransactionSchema } from "../../common/index.js";
|
|
7
|
-
import { Int256BigInt } from "../../common/int256.js";
|
|
8
7
|
export const MintErc721RequestSchema = z.object({
|
|
9
8
|
tokenAddress: AddressSchema,
|
|
10
9
|
to: AddressSchema.openapi({ description: "Address to mint the token to" }),
|
|
11
|
-
tokenId: Int256BigInt(z.bigint().nonnegative()),
|
|
12
10
|
});
|
|
13
11
|
const mintRoute = describeRoute({
|
|
14
12
|
summary: "Mint ERC721",
|
|
15
|
-
description: "Returns transaction data for minting an ERC721 token (MINTER_ROLE required)",
|
|
13
|
+
description: "Returns transaction data for minting an ERC721 token with an auto-generated token ID (MINTER_ROLE required)",
|
|
16
14
|
tags: ["Issuance"],
|
|
17
15
|
responses: {
|
|
18
16
|
200: {
|
|
@@ -27,12 +25,12 @@ const mintRoute = describeRoute({
|
|
|
27
25
|
});
|
|
28
26
|
export const MintErc721 = createController({
|
|
29
27
|
build: (factory) => factory.createApp().post("/", mintRoute, validator("json", MintErc721RequestSchema), async (c) => {
|
|
30
|
-
const { tokenAddress, to
|
|
28
|
+
const { tokenAddress, to } = c.req.valid("json");
|
|
31
29
|
return c.json(toTransaction({
|
|
32
30
|
address: tokenAddress,
|
|
33
|
-
abi: abis.
|
|
31
|
+
abi: abis.erc721AutoIdPausableRecoverableUpgradeableAbi,
|
|
34
32
|
functionName: "mint",
|
|
35
|
-
args: [to
|
|
33
|
+
args: [to],
|
|
36
34
|
}));
|
|
37
35
|
}),
|
|
38
36
|
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const NextTokenIdErc721: 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
|
+
tokenAddress: string | string[];
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
output: {
|
|
11
|
+
nextTokenId: string;
|
|
12
|
+
totalMinted: number;
|
|
13
|
+
};
|
|
14
|
+
outputFormat: "json";
|
|
15
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
}, "/", "/">>;
|
|
19
|
+
//# sourceMappingURL=nextTokenId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nextTokenId.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc721/nextTokenId.ts"],"names":[],"mappings":"AAsCA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;aAsD5B,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { describeRoute } from "hono-openapi";
|
|
2
|
+
import { resolver, validator } from "hono-openapi";
|
|
3
|
+
import { zeroAddress } from "viem";
|
|
4
|
+
import { getContractEvents } from "viem/actions";
|
|
5
|
+
import { z } from "zod";
|
|
6
|
+
import { abis } from "@evergonlabs/tmi-factories-sdk";
|
|
7
|
+
import { getPublicClient } from "../../common/blockchain.js";
|
|
8
|
+
import { createController } from "../../common/controller.js";
|
|
9
|
+
import { AddressSchema } from "../../common/index.js";
|
|
10
|
+
import { FactoryChainIdQuery } from "../common/factories.js";
|
|
11
|
+
const QuerySchema = z.object({
|
|
12
|
+
chainId: FactoryChainIdQuery.openapi({
|
|
13
|
+
param: {
|
|
14
|
+
name: "chainId",
|
|
15
|
+
in: "query",
|
|
16
|
+
},
|
|
17
|
+
}),
|
|
18
|
+
tokenAddress: AddressSchema.openapi({
|
|
19
|
+
param: {
|
|
20
|
+
name: "tokenAddress",
|
|
21
|
+
in: "query",
|
|
22
|
+
},
|
|
23
|
+
description: "ERC721 contract address",
|
|
24
|
+
}),
|
|
25
|
+
});
|
|
26
|
+
const ResponseSchema = z.object({
|
|
27
|
+
nextTokenId: z.string().openapi({
|
|
28
|
+
description: "Next available token ID (max minted tokenId + 1, or '0' if none minted)",
|
|
29
|
+
example: "42",
|
|
30
|
+
}),
|
|
31
|
+
totalMinted: z.number().int().nonnegative().openapi({
|
|
32
|
+
description: "Total number of tokens minted (Transfer events from address(0))",
|
|
33
|
+
example: 41,
|
|
34
|
+
}),
|
|
35
|
+
});
|
|
36
|
+
export const NextTokenIdErc721 = createController({
|
|
37
|
+
build: (factory) => factory.createApp().get("/", describeRoute({
|
|
38
|
+
summary: "Get next ERC721 token ID",
|
|
39
|
+
description: "Scans all Transfer events from address(0) (mints) for the given ERC721 contract and returns the next available token ID (highest minted ID + 1). If no tokens have been minted, returns '0'.",
|
|
40
|
+
tags: ["Issuance"],
|
|
41
|
+
responses: {
|
|
42
|
+
200: {
|
|
43
|
+
description: "Returns the next token ID and total minted count",
|
|
44
|
+
content: {
|
|
45
|
+
"application/json": {
|
|
46
|
+
schema: resolver(ResponseSchema),
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
}), validator("query", QuerySchema), async (c) => {
|
|
52
|
+
const params = c.req.valid("query");
|
|
53
|
+
const client = getPublicClient(params.chainId, c.env.config);
|
|
54
|
+
const mintEvents = await getContractEvents(client, {
|
|
55
|
+
address: params.tokenAddress,
|
|
56
|
+
abi: abis.erc721PausableRecoverableUpgradeableAbi,
|
|
57
|
+
eventName: "Transfer",
|
|
58
|
+
args: {
|
|
59
|
+
from: zeroAddress,
|
|
60
|
+
},
|
|
61
|
+
fromBlock: "earliest",
|
|
62
|
+
toBlock: "latest",
|
|
63
|
+
});
|
|
64
|
+
if (mintEvents.length === 0) {
|
|
65
|
+
return c.json({
|
|
66
|
+
nextTokenId: "0",
|
|
67
|
+
totalMinted: 0,
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
const maxTokenId = mintEvents.reduce((max, event) => {
|
|
71
|
+
const tokenId = event.args.tokenId;
|
|
72
|
+
return tokenId > max ? tokenId : max;
|
|
73
|
+
}, 0n);
|
|
74
|
+
return c.json({
|
|
75
|
+
nextTokenId: (maxTokenId + 1n).toString(),
|
|
76
|
+
totalMinted: mintEvents.length,
|
|
77
|
+
});
|
|
78
|
+
}),
|
|
79
|
+
});
|
|
@@ -31,7 +31,7 @@ export const RecoverErc721 = createController({
|
|
|
31
31
|
const { tokenAddress, from, to, tokenId } = c.req.valid("json");
|
|
32
32
|
return c.json(toTransaction({
|
|
33
33
|
address: tokenAddress,
|
|
34
|
-
abi: abis.
|
|
34
|
+
abi: abis.erc721AutoIdPausableRecoverableUpgradeableAbi,
|
|
35
35
|
functionName: "recover",
|
|
36
36
|
args: [from, to, BigInt(tokenId)],
|
|
37
37
|
}));
|
|
@@ -33,7 +33,7 @@ export const RenounceRoleErc721 = createController({
|
|
|
33
33
|
const { tokenAddress, role, callerConfirmation } = c.req.valid("json");
|
|
34
34
|
return c.json(toTransaction({
|
|
35
35
|
address: tokenAddress,
|
|
36
|
-
abi: abis.
|
|
36
|
+
abi: abis.erc721AutoIdPausableRecoverableUpgradeableAbi,
|
|
37
37
|
functionName: "renounceRole",
|
|
38
38
|
args: [convertErc721TokenRoleToHash(role), callerConfirmation],
|
|
39
39
|
}));
|
|
@@ -33,7 +33,7 @@ export const RevokeRoleErc721 = createController({
|
|
|
33
33
|
const { tokenAddress, role, account } = c.req.valid("json");
|
|
34
34
|
return c.json(toTransaction({
|
|
35
35
|
address: tokenAddress,
|
|
36
|
-
abi: abis.
|
|
36
|
+
abi: abis.erc721AutoIdPausableRecoverableUpgradeableAbi,
|
|
37
37
|
functionName: "revokeRole",
|
|
38
38
|
args: [convertErc721TokenRoleToHash(role), account],
|
|
39
39
|
}));
|
|
@@ -28,7 +28,7 @@ export const SetBaseURIErc721 = createController({
|
|
|
28
28
|
const { tokenAddress, baseURI } = c.req.valid("json");
|
|
29
29
|
return c.json(toTransaction({
|
|
30
30
|
address: tokenAddress,
|
|
31
|
-
abi: abis.
|
|
31
|
+
abi: abis.erc721AutoIdPausableRecoverableUpgradeableAbi,
|
|
32
32
|
functionName: "setBaseURI",
|
|
33
33
|
args: [baseURI],
|
|
34
34
|
}));
|
|
@@ -30,7 +30,7 @@ export const SetTokenURIErc721 = createController({
|
|
|
30
30
|
const { tokenAddress, tokenId, tokenURI } = c.req.valid("json");
|
|
31
31
|
return c.json(toTransaction({
|
|
32
32
|
address: tokenAddress,
|
|
33
|
-
abi: abis.
|
|
33
|
+
abi: abis.erc721AutoIdPausableRecoverableUpgradeableAbi,
|
|
34
34
|
functionName: "setTokenURI",
|
|
35
35
|
args: [BigInt(tokenId), tokenURI],
|
|
36
36
|
}));
|
|
@@ -31,7 +31,7 @@ export const TransferFromErc721 = createController({
|
|
|
31
31
|
const { tokenAddress, from, to, tokenId } = c.req.valid("json");
|
|
32
32
|
return c.json(toTransaction({
|
|
33
33
|
address: tokenAddress,
|
|
34
|
-
abi: abis.
|
|
34
|
+
abi: abis.erc721AutoIdPausableRecoverableUpgradeableAbi,
|
|
35
35
|
functionName: "transferFrom",
|
|
36
36
|
args: [from, to, BigInt(tokenId)],
|
|
37
37
|
}));
|
package/dist/issuance/index.d.ts
CHANGED
|
@@ -622,7 +622,6 @@ export declare const IssuanceApi: import("../common/controller.js").IApi<import(
|
|
|
622
622
|
json: {
|
|
623
623
|
tokenAddress: string;
|
|
624
624
|
to: string;
|
|
625
|
-
tokenId: string;
|
|
626
625
|
};
|
|
627
626
|
};
|
|
628
627
|
output: {
|
|
@@ -809,6 +808,365 @@ export declare const IssuanceApi: import("../common/controller.js").IApi<import(
|
|
|
809
808
|
};
|
|
810
809
|
};
|
|
811
810
|
}, "/setTokenURI">, "/erc721"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
811
|
+
"/": {
|
|
812
|
+
$post: {
|
|
813
|
+
input: {
|
|
814
|
+
json: {
|
|
815
|
+
chainId: 11155111 | 72080;
|
|
816
|
+
baseURI: string;
|
|
817
|
+
defaultTokenAdmin: string;
|
|
818
|
+
minter: string;
|
|
819
|
+
};
|
|
820
|
+
};
|
|
821
|
+
output: {
|
|
822
|
+
data: `0x${string}`;
|
|
823
|
+
to: `0x${string}`;
|
|
824
|
+
details: {
|
|
825
|
+
functionName: string;
|
|
826
|
+
address: `0x${string}`;
|
|
827
|
+
abi: any[];
|
|
828
|
+
args: any[];
|
|
829
|
+
};
|
|
830
|
+
};
|
|
831
|
+
outputFormat: "json";
|
|
832
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
833
|
+
};
|
|
834
|
+
};
|
|
835
|
+
}, "/deploy"> | import("hono/types").MergeSchemaPath<{
|
|
836
|
+
"/": {
|
|
837
|
+
$post: {
|
|
838
|
+
input: {
|
|
839
|
+
json: {
|
|
840
|
+
tokenAddress: string;
|
|
841
|
+
baseURI: string;
|
|
842
|
+
defaultAdmin: string;
|
|
843
|
+
minter: string;
|
|
844
|
+
};
|
|
845
|
+
};
|
|
846
|
+
output: {
|
|
847
|
+
data: `0x${string}`;
|
|
848
|
+
to: `0x${string}`;
|
|
849
|
+
details: {
|
|
850
|
+
functionName: string;
|
|
851
|
+
address: `0x${string}`;
|
|
852
|
+
abi: any[];
|
|
853
|
+
args: any[];
|
|
854
|
+
};
|
|
855
|
+
};
|
|
856
|
+
outputFormat: "json";
|
|
857
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
858
|
+
};
|
|
859
|
+
};
|
|
860
|
+
}, "/initialize"> | import("hono/types").MergeSchemaPath<{
|
|
861
|
+
"/": {
|
|
862
|
+
$get: {
|
|
863
|
+
input: {
|
|
864
|
+
query: {
|
|
865
|
+
chainId: string | string[];
|
|
866
|
+
hash: string | string[];
|
|
867
|
+
};
|
|
868
|
+
};
|
|
869
|
+
output: {
|
|
870
|
+
proxy: `0x${string}`;
|
|
871
|
+
admin: `0x${string}`;
|
|
872
|
+
minter: `0x${string}`;
|
|
873
|
+
baseURI: string;
|
|
874
|
+
};
|
|
875
|
+
outputFormat: "json";
|
|
876
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
877
|
+
};
|
|
878
|
+
};
|
|
879
|
+
}, "/getDeployEvent"> | import("hono/types").MergeSchemaPath<{
|
|
880
|
+
"/": {
|
|
881
|
+
$post: {
|
|
882
|
+
input: {
|
|
883
|
+
json: {
|
|
884
|
+
chainId: 11155111 | 72080;
|
|
885
|
+
baseURI: string;
|
|
886
|
+
defaultTokenAdmin: string;
|
|
887
|
+
minter: string;
|
|
888
|
+
gatingSigner?: string | undefined;
|
|
889
|
+
};
|
|
890
|
+
};
|
|
891
|
+
output: {
|
|
892
|
+
data: `0x${string}`;
|
|
893
|
+
to: `0x${string}`;
|
|
894
|
+
details: {
|
|
895
|
+
functionName: string;
|
|
896
|
+
address: `0x${string}`;
|
|
897
|
+
abi: any[];
|
|
898
|
+
args: any[];
|
|
899
|
+
};
|
|
900
|
+
};
|
|
901
|
+
outputFormat: "json";
|
|
902
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
903
|
+
};
|
|
904
|
+
};
|
|
905
|
+
}, "/deployGated"> | import("hono/types").MergeSchemaPath<{
|
|
906
|
+
"/": {
|
|
907
|
+
$post: {
|
|
908
|
+
input: {
|
|
909
|
+
json: {
|
|
910
|
+
tokenAddress: string;
|
|
911
|
+
baseURI: string;
|
|
912
|
+
defaultAdmin: string;
|
|
913
|
+
minter: string;
|
|
914
|
+
gatingSigner?: string | undefined;
|
|
915
|
+
};
|
|
916
|
+
};
|
|
917
|
+
output: {
|
|
918
|
+
data: `0x${string}`;
|
|
919
|
+
to: `0x${string}`;
|
|
920
|
+
details: {
|
|
921
|
+
functionName: string;
|
|
922
|
+
address: `0x${string}`;
|
|
923
|
+
abi: any[];
|
|
924
|
+
args: any[];
|
|
925
|
+
};
|
|
926
|
+
};
|
|
927
|
+
outputFormat: "json";
|
|
928
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
929
|
+
};
|
|
930
|
+
};
|
|
931
|
+
}, "/initializeGated"> | import("hono/types").MergeSchemaPath<{
|
|
932
|
+
"/": {
|
|
933
|
+
$get: {
|
|
934
|
+
input: {
|
|
935
|
+
query: {
|
|
936
|
+
chainId: string | string[];
|
|
937
|
+
hash: string | string[];
|
|
938
|
+
};
|
|
939
|
+
};
|
|
940
|
+
output: {
|
|
941
|
+
proxy: `0x${string}`;
|
|
942
|
+
admin: `0x${string}`;
|
|
943
|
+
minter: `0x${string}`;
|
|
944
|
+
baseURI: string;
|
|
945
|
+
};
|
|
946
|
+
outputFormat: "json";
|
|
947
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
948
|
+
};
|
|
949
|
+
};
|
|
950
|
+
}, "/getDeployEventGated"> | import("hono/types").MergeSchemaPath<{
|
|
951
|
+
"/": {
|
|
952
|
+
$post: {
|
|
953
|
+
input: {
|
|
954
|
+
json: {
|
|
955
|
+
tokenAddress: string;
|
|
956
|
+
to: string;
|
|
957
|
+
amount: string;
|
|
958
|
+
data?: string | undefined;
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
output: {
|
|
962
|
+
data: `0x${string}`;
|
|
963
|
+
to: `0x${string}`;
|
|
964
|
+
details: {
|
|
965
|
+
functionName: string;
|
|
966
|
+
address: `0x${string}`;
|
|
967
|
+
abi: any[];
|
|
968
|
+
args: any[];
|
|
969
|
+
};
|
|
970
|
+
};
|
|
971
|
+
outputFormat: "json";
|
|
972
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
973
|
+
};
|
|
974
|
+
};
|
|
975
|
+
}, "/mint"> | import("hono/types").MergeSchemaPath<{
|
|
976
|
+
"/": {
|
|
977
|
+
$post: {
|
|
978
|
+
input: {
|
|
979
|
+
json: {
|
|
980
|
+
tokenAddress: string;
|
|
981
|
+
account: string;
|
|
982
|
+
id: string;
|
|
983
|
+
amount: string;
|
|
984
|
+
};
|
|
985
|
+
};
|
|
986
|
+
output: {
|
|
987
|
+
data: `0x${string}`;
|
|
988
|
+
to: `0x${string}`;
|
|
989
|
+
details: {
|
|
990
|
+
functionName: string;
|
|
991
|
+
address: `0x${string}`;
|
|
992
|
+
abi: any[];
|
|
993
|
+
args: any[];
|
|
994
|
+
};
|
|
995
|
+
};
|
|
996
|
+
outputFormat: "json";
|
|
997
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
998
|
+
};
|
|
999
|
+
};
|
|
1000
|
+
}, "/burn"> | import("hono/types").MergeSchemaPath<{
|
|
1001
|
+
"/": {
|
|
1002
|
+
$post: {
|
|
1003
|
+
input: {
|
|
1004
|
+
json: {
|
|
1005
|
+
tokenAddress: string;
|
|
1006
|
+
operator: string;
|
|
1007
|
+
approved: boolean;
|
|
1008
|
+
};
|
|
1009
|
+
};
|
|
1010
|
+
output: {
|
|
1011
|
+
data: `0x${string}`;
|
|
1012
|
+
to: `0x${string}`;
|
|
1013
|
+
details: {
|
|
1014
|
+
functionName: string;
|
|
1015
|
+
address: `0x${string}`;
|
|
1016
|
+
abi: any[];
|
|
1017
|
+
args: any[];
|
|
1018
|
+
};
|
|
1019
|
+
};
|
|
1020
|
+
outputFormat: "json";
|
|
1021
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1022
|
+
};
|
|
1023
|
+
};
|
|
1024
|
+
}, "/setApprovalForAll"> | import("hono/types").MergeSchemaPath<{
|
|
1025
|
+
"/": {
|
|
1026
|
+
$post: {
|
|
1027
|
+
input: {
|
|
1028
|
+
json: {
|
|
1029
|
+
tokenAddress: string;
|
|
1030
|
+
baseURI: string;
|
|
1031
|
+
};
|
|
1032
|
+
};
|
|
1033
|
+
output: {
|
|
1034
|
+
data: `0x${string}`;
|
|
1035
|
+
to: `0x${string}`;
|
|
1036
|
+
details: {
|
|
1037
|
+
functionName: string;
|
|
1038
|
+
address: `0x${string}`;
|
|
1039
|
+
abi: any[];
|
|
1040
|
+
args: any[];
|
|
1041
|
+
};
|
|
1042
|
+
};
|
|
1043
|
+
outputFormat: "json";
|
|
1044
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1045
|
+
};
|
|
1046
|
+
};
|
|
1047
|
+
}, "/setBaseURI"> | import("hono/types").MergeSchemaPath<{
|
|
1048
|
+
"/": {
|
|
1049
|
+
$post: {
|
|
1050
|
+
input: {
|
|
1051
|
+
json: {
|
|
1052
|
+
tokenAddress: string;
|
|
1053
|
+
id: string;
|
|
1054
|
+
tokenURI: string;
|
|
1055
|
+
};
|
|
1056
|
+
};
|
|
1057
|
+
output: {
|
|
1058
|
+
data: `0x${string}`;
|
|
1059
|
+
to: `0x${string}`;
|
|
1060
|
+
details: {
|
|
1061
|
+
functionName: string;
|
|
1062
|
+
address: `0x${string}`;
|
|
1063
|
+
abi: any[];
|
|
1064
|
+
args: any[];
|
|
1065
|
+
};
|
|
1066
|
+
};
|
|
1067
|
+
outputFormat: "json";
|
|
1068
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1069
|
+
};
|
|
1070
|
+
};
|
|
1071
|
+
}, "/setTokenURI"> | import("hono/types").MergeSchemaPath<{
|
|
1072
|
+
"/": {
|
|
1073
|
+
$post: {
|
|
1074
|
+
input: {
|
|
1075
|
+
json: {
|
|
1076
|
+
tokenAddress: string;
|
|
1077
|
+
from: string;
|
|
1078
|
+
to: string;
|
|
1079
|
+
id: string;
|
|
1080
|
+
amount: string;
|
|
1081
|
+
};
|
|
1082
|
+
};
|
|
1083
|
+
output: {
|
|
1084
|
+
data: `0x${string}`;
|
|
1085
|
+
to: `0x${string}`;
|
|
1086
|
+
details: {
|
|
1087
|
+
functionName: string;
|
|
1088
|
+
address: `0x${string}`;
|
|
1089
|
+
abi: any[];
|
|
1090
|
+
args: any[];
|
|
1091
|
+
};
|
|
1092
|
+
};
|
|
1093
|
+
outputFormat: "json";
|
|
1094
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1095
|
+
};
|
|
1096
|
+
};
|
|
1097
|
+
}, "/recover"> | import("hono/types").MergeSchemaPath<{
|
|
1098
|
+
"/": {
|
|
1099
|
+
$post: {
|
|
1100
|
+
input: {
|
|
1101
|
+
json: {
|
|
1102
|
+
tokenAddress: string;
|
|
1103
|
+
role: import("../client.js").Erc1155TokenRole;
|
|
1104
|
+
account: string;
|
|
1105
|
+
};
|
|
1106
|
+
};
|
|
1107
|
+
output: {
|
|
1108
|
+
data: `0x${string}`;
|
|
1109
|
+
to: `0x${string}`;
|
|
1110
|
+
details: {
|
|
1111
|
+
functionName: string;
|
|
1112
|
+
address: `0x${string}`;
|
|
1113
|
+
abi: any[];
|
|
1114
|
+
args: any[];
|
|
1115
|
+
};
|
|
1116
|
+
};
|
|
1117
|
+
outputFormat: "json";
|
|
1118
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1119
|
+
};
|
|
1120
|
+
};
|
|
1121
|
+
}, "/grantRole"> | import("hono/types").MergeSchemaPath<{
|
|
1122
|
+
"/": {
|
|
1123
|
+
$post: {
|
|
1124
|
+
input: {
|
|
1125
|
+
json: {
|
|
1126
|
+
tokenAddress: string;
|
|
1127
|
+
role: import("../client.js").Erc1155TokenRole;
|
|
1128
|
+
account: string;
|
|
1129
|
+
};
|
|
1130
|
+
};
|
|
1131
|
+
output: {
|
|
1132
|
+
data: `0x${string}`;
|
|
1133
|
+
to: `0x${string}`;
|
|
1134
|
+
details: {
|
|
1135
|
+
functionName: string;
|
|
1136
|
+
address: `0x${string}`;
|
|
1137
|
+
abi: any[];
|
|
1138
|
+
args: any[];
|
|
1139
|
+
};
|
|
1140
|
+
};
|
|
1141
|
+
outputFormat: "json";
|
|
1142
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1143
|
+
};
|
|
1144
|
+
};
|
|
1145
|
+
}, "/revokeRole"> | import("hono/types").MergeSchemaPath<{
|
|
1146
|
+
"/": {
|
|
1147
|
+
$post: {
|
|
1148
|
+
input: {
|
|
1149
|
+
json: {
|
|
1150
|
+
tokenAddress: string;
|
|
1151
|
+
role: import("../client.js").Erc1155TokenRole;
|
|
1152
|
+
callerConfirmation: string;
|
|
1153
|
+
};
|
|
1154
|
+
};
|
|
1155
|
+
output: {
|
|
1156
|
+
data: `0x${string}`;
|
|
1157
|
+
to: `0x${string}`;
|
|
1158
|
+
details: {
|
|
1159
|
+
functionName: string;
|
|
1160
|
+
address: `0x${string}`;
|
|
1161
|
+
abi: any[];
|
|
1162
|
+
args: any[];
|
|
1163
|
+
};
|
|
1164
|
+
};
|
|
1165
|
+
outputFormat: "json";
|
|
1166
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1167
|
+
};
|
|
1168
|
+
};
|
|
1169
|
+
}, "/renounceRole">, "/erc1155"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
812
1170
|
"/": {
|
|
813
1171
|
$get: {
|
|
814
1172
|
input: {};
|