@evergonlabs/tmi-protocol-api 0.10.0-rc.1 → 0.10.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 +71 -71
- package/dist/client.d.ts +76 -76
- package/dist/common/blockchain.d.ts +2137 -766
- package/dist/common/blockchain.d.ts.map +1 -1
- package/dist/fractions/index.d.ts +71 -71
- package/dist/fractions/index.d.ts.map +1 -1
- package/dist/fractions/index.js +1 -3
- package/dist/fractions/markets/getDeployEvent.js +1 -1
- package/dist/fractions/markets/getMarket/getMarket.js +1 -1
- package/dist/fractions/markets/searchMarkets/searchMarkets.js +1 -1
- package/dist/fractions/platforms/deployMarket.routes.js +4 -4
- package/dist/fractions/platforms/initCompilot.routes.js +1 -1
- package/dist/fractions/platforms/initNid.route.js +1 -1
- package/dist/fractions/sales/approveSale.route.js +1 -1
- package/dist/fractions/sales/approveWrapper.route.d.ts +88 -0
- package/dist/fractions/sales/approveWrapper.route.d.ts.map +1 -0
- package/dist/fractions/sales/approveWrapper.route.js +92 -0
- package/dist/fractions/sales/completeSale.route.js +1 -1
- package/dist/fractions/sales/createFractions.route.js +1 -1
- package/dist/fractions/sales/getFractionSaleStatistics.route.js +1 -1
- package/dist/fractions/sales/getVaultAddress.js +2 -2
- package/dist/fractions/sales/getWithdrawEvent.js +2 -2
- package/dist/fractions/sales/index.d.ts +71 -1
- package/dist/fractions/sales/index.d.ts.map +1 -1
- package/dist/fractions/sales/index.js +5 -1
- package/dist/fractions/sales/parseFractionsCreatedEvent.js +2 -2
- package/dist/fractions/sales/purchase.route.js +1 -1
- package/dist/fractions/sales/purchaseStatistics.route.js +1 -1
- package/dist/fractions/sales/receiveFundsAfterNonFunded.route.js +2 -2
- package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.js +1 -1
- package/dist/fractions/sales/recoverFractions.js +1 -1
- package/dist/fractions/sales/rejectFractions.js +1 -1
- package/dist/fractions/sales/searchActivity.route.js +1 -1
- package/dist/fractions/sales/searchSales/searchSales.js +1 -1
- package/dist/fractions/sales/searchWithdrawal.route.js +1 -1
- package/dist/fractions/sales/setFeeCapLimit.js +1 -1
- package/dist/fractions/sales/unlockWrappedAssets.route.js +1 -1
- package/dist/fractions/sales/vesting/claimStatistics.route.js +1 -1
- package/dist/fractions/sales/vesting/claimVestedTokens.route.js +1 -1
- package/dist/fractions/sales/vesting/editCliff.route.js +1 -1
- package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.js +2 -2
- package/dist/fractions/sales/withdraw.route.js +1 -1
- package/dist/fractions/statistics/networkStatistics.route.js +4 -4
- package/dist/issuance/common/factories.base.d.ts +56 -14
- package/dist/issuance/common/factories.base.d.ts.map +1 -1
- package/dist/issuance/erc1155/burn.d.ts.map +1 -1
- package/dist/issuance/erc1155/burn.js +3 -2
- package/dist/issuance/erc1155/default/deploy.d.ts.map +1 -1
- package/dist/issuance/erc1155/default/deploy.js +4 -3
- package/dist/issuance/erc1155/default/initialize.d.ts.map +1 -1
- package/dist/issuance/erc1155/default/initialize.js +3 -2
- package/dist/issuance/erc1155/default/parseDeployEvent.d.ts.map +1 -1
- package/dist/issuance/erc1155/default/parseDeployEvent.js +4 -3
- package/dist/issuance/erc1155/gated/deploy.d.ts.map +1 -1
- package/dist/issuance/erc1155/gated/deploy.js +4 -3
- package/dist/issuance/erc1155/gated/initialize.d.ts.map +1 -1
- package/dist/issuance/erc1155/gated/initialize.js +4 -3
- package/dist/issuance/erc1155/gated/parseDeployEvent.d.ts.map +1 -1
- package/dist/issuance/erc1155/gated/parseDeployEvent.js +4 -3
- package/dist/issuance/erc1155/grantRole.d.ts.map +1 -1
- package/dist/issuance/erc1155/grantRole.js +4 -3
- package/dist/issuance/erc1155/mint.d.ts.map +1 -1
- package/dist/issuance/erc1155/mint.js +3 -2
- package/dist/issuance/erc1155/recover.d.ts.map +1 -1
- package/dist/issuance/erc1155/recover.js +3 -2
- package/dist/issuance/erc1155/renounceRole.d.ts.map +1 -1
- package/dist/issuance/erc1155/renounceRole.js +4 -3
- package/dist/issuance/erc1155/revokeRole.d.ts.map +1 -1
- package/dist/issuance/erc1155/revokeRole.js +4 -3
- package/dist/issuance/erc1155/setApprovalForAll.d.ts.map +1 -1
- package/dist/issuance/erc1155/setApprovalForAll.js +4 -3
- package/dist/issuance/erc1155/setBaseURI.d.ts.map +1 -1
- package/dist/issuance/erc1155/setBaseURI.js +4 -3
- package/dist/issuance/erc1155/setTokenURI.d.ts.map +1 -1
- package/dist/issuance/erc1155/setTokenURI.js +4 -3
- package/dist/issuance/erc1155/tag.d.ts +4 -0
- package/dist/issuance/erc1155/tag.d.ts.map +1 -0
- package/dist/issuance/erc1155/tag.js +2 -0
- package/dist/issuance/erc20/approve.d.ts.map +1 -1
- package/dist/issuance/erc20/approve.js +3 -2
- package/dist/issuance/erc20/burn.d.ts.map +1 -1
- package/dist/issuance/erc20/burn.js +3 -2
- package/dist/issuance/erc20/default/deploy.d.ts.map +1 -1
- package/dist/issuance/erc20/default/deploy.js +3 -2
- package/dist/issuance/erc20/default/initialize.d.ts.map +1 -1
- package/dist/issuance/erc20/default/initialize.js +2 -1
- package/dist/issuance/erc20/default/parseDeployEvent.d.ts.map +1 -1
- package/dist/issuance/erc20/default/parseDeployEvent.js +3 -2
- package/dist/issuance/erc20/gated/deploy.d.ts.map +1 -1
- package/dist/issuance/erc20/gated/deploy.js +3 -2
- package/dist/issuance/erc20/gated/initialize.d.ts.map +1 -1
- package/dist/issuance/erc20/gated/initialize.js +3 -2
- package/dist/issuance/erc20/gated/parseDeployEvent.d.ts.map +1 -1
- package/dist/issuance/erc20/gated/parseDeployEvent.js +3 -2
- package/dist/issuance/erc20/gatedSimple/deploy.d.ts.map +1 -1
- package/dist/issuance/erc20/gatedSimple/deploy.js +3 -2
- package/dist/issuance/erc20/gatedSimple/getInitData.d.ts.map +1 -1
- package/dist/issuance/erc20/gatedSimple/getInitData.js +2 -1
- package/dist/issuance/erc20/gatedSimple/parseDeployEvent.d.ts.map +1 -1
- package/dist/issuance/erc20/gatedSimple/parseDeployEvent.js +3 -2
- package/dist/issuance/erc20/grantRole.d.ts.map +1 -1
- package/dist/issuance/erc20/grantRole.js +3 -2
- package/dist/issuance/erc20/mint.d.ts.map +1 -1
- package/dist/issuance/erc20/mint.js +3 -2
- package/dist/issuance/erc20/recover.d.ts.map +1 -1
- package/dist/issuance/erc20/recover.js +3 -2
- package/dist/issuance/erc20/renounceRole.d.ts.map +1 -1
- package/dist/issuance/erc20/renounceRole.js +3 -2
- package/dist/issuance/erc20/revokeRole.d.ts.map +1 -1
- package/dist/issuance/erc20/revokeRole.js +3 -2
- package/dist/issuance/erc20/tag.d.ts +4 -0
- package/dist/issuance/erc20/tag.d.ts.map +1 -0
- package/dist/issuance/erc20/tag.js +2 -0
- package/dist/issuance/erc20/transfer.d.ts.map +1 -1
- package/dist/issuance/erc20/transfer.js +3 -2
- package/dist/issuance/erc20/transferFrom.d.ts.map +1 -1
- package/dist/issuance/erc20/transferFrom.js +3 -2
- package/dist/issuance/erc721/approve.d.ts.map +1 -1
- package/dist/issuance/erc721/approve.js +3 -2
- package/dist/issuance/erc721/burn.d.ts.map +1 -1
- package/dist/issuance/erc721/burn.js +3 -2
- package/dist/issuance/erc721/default/deploy.d.ts.map +1 -1
- package/dist/issuance/erc721/default/deploy.js +4 -3
- package/dist/issuance/erc721/default/initialize.d.ts.map +1 -1
- package/dist/issuance/erc721/default/initialize.js +3 -2
- package/dist/issuance/erc721/default/parseDeployEvent.d.ts.map +1 -1
- package/dist/issuance/erc721/default/parseDeployEvent.js +4 -3
- package/dist/issuance/erc721/gated/deploy.d.ts.map +1 -1
- package/dist/issuance/erc721/gated/deploy.js +4 -3
- package/dist/issuance/erc721/gated/initialize.d.ts.map +1 -1
- package/dist/issuance/erc721/gated/initialize.js +4 -3
- package/dist/issuance/erc721/gated/parseDeployEvent.d.ts.map +1 -1
- package/dist/issuance/erc721/gated/parseDeployEvent.js +4 -3
- package/dist/issuance/erc721/grantRole.d.ts.map +1 -1
- package/dist/issuance/erc721/grantRole.js +4 -3
- package/dist/issuance/erc721/mint.d.ts.map +1 -1
- package/dist/issuance/erc721/mint.js +3 -2
- package/dist/issuance/erc721/recover.d.ts.map +1 -1
- package/dist/issuance/erc721/recover.js +3 -2
- package/dist/issuance/erc721/renounceRole.d.ts.map +1 -1
- package/dist/issuance/erc721/renounceRole.js +4 -3
- package/dist/issuance/erc721/revokeRole.d.ts.map +1 -1
- package/dist/issuance/erc721/revokeRole.js +4 -3
- package/dist/issuance/erc721/setBaseURI.d.ts.map +1 -1
- package/dist/issuance/erc721/setBaseURI.js +4 -3
- package/dist/issuance/erc721/setTokenURI.d.ts.map +1 -1
- package/dist/issuance/erc721/setTokenURI.js +4 -3
- package/dist/issuance/erc721/tag.d.ts +4 -0
- package/dist/issuance/erc721/tag.d.ts.map +1 -0
- package/dist/issuance/erc721/tag.js +2 -0
- package/dist/issuance/erc721/transferFrom.d.ts.map +1 -1
- package/dist/issuance/erc721/transferFrom.js +3 -2
- package/dist/issuance/proxy/deploy.d.ts.map +1 -1
- package/dist/issuance/proxy/deploy.js +3 -2
- package/dist/issuance/proxy/tag.d.ts +4 -0
- package/dist/issuance/proxy/tag.d.ts.map +1 -0
- package/dist/issuance/proxy/tag.js +2 -0
- package/dist/issuance/proxy/upgrade.d.ts.map +1 -1
- package/dist/issuance/proxy/upgrade.js +3 -2
- package/dist/next/fractions/index.js +2 -2
- package/dist/next/fractions/lending/buyback/buyback.routes.js +4 -4
- package/dist/next/fractions/lending/createLendingSale.js +4 -4
- package/dist/next/fractions/lending/deployMarket/lending.routes.js +4 -4
- package/dist/next/fractions/lending/setCollateralPrice/setCollateralPrice.routes.js +3 -3
- package/dist/next/fractions/sales/parseFractionsCreatedEvent.js +1 -1
- package/dist/staking/platforms/getPlatform/v0/getPlatform.js +2 -2
- package/dist/staking/platforms/searchPlatforms/v0/searchPlatforms.js +2 -2
- package/dist/staking/pools/getPool/v0/getPool.js +1 -1
- package/dist/staking/pools/searchPools/v0/searchPools.js +1 -1
- package/dist/staking/roles/getRoles/v0/getRoles.js +1 -1
- package/dist/staking/roles/grantRole/v0/grantRole.js +1 -1
- package/dist/staking/stakes/getStake/v0/getStake.js +1 -1
- package/dist/stakingTemplates/templates/common/getCreatePoolEvent.js +1 -1
- package/dist/stakingTemplates/templates/common/getPlatformDeployEvent.js +1 -1
- package/dist/stakingTemplates/templates/common/getReward.js +3 -3
- package/dist/stakingTemplates/templates/common/getStakeEvent.js +1 -1
- package/dist/stakingTemplates/templates/common/partialUnstake.js +2 -2
- package/dist/stakingTemplates/templates/reputation/v0/createPlatform.js +3 -3
- package/dist/stakingTemplates/templates/reputation/v0/createPool.js +3 -3
- package/dist/stakingTemplates/templates/reputationLock/v0/createPlatform.js +3 -3
- package/dist/stakingTemplates/templates/reputationLock/v0/createPool.js +3 -3
- package/dist/stakingTemplates/templates/rwa/v0/createPlatform.js +3 -3
- package/dist/stakingTemplates/templates/rwa/v0/createPool.js +3 -3
- package/dist/stakingTemplates/templates/rwa/v0/distributeRewards.js +3 -3
- package/package.json +18 -15
package/dist/app.d.ts
CHANGED
|
@@ -1359,76 +1359,6 @@ export declare function buildApps(config?: IAppConfig): {
|
|
|
1359
1359
|
};
|
|
1360
1360
|
};
|
|
1361
1361
|
}, "/initNftFractionsCompilot">, "/platforms"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
1362
|
-
"/": {
|
|
1363
|
-
$post: {
|
|
1364
|
-
input: {
|
|
1365
|
-
json: {
|
|
1366
|
-
marketAddress: string;
|
|
1367
|
-
wrapperAddress: string;
|
|
1368
|
-
};
|
|
1369
|
-
};
|
|
1370
|
-
output: {
|
|
1371
|
-
data: `0x${string}`;
|
|
1372
|
-
to: `0x${string}`;
|
|
1373
|
-
details: {
|
|
1374
|
-
functionName: string;
|
|
1375
|
-
address: `0x${string}`;
|
|
1376
|
-
abi: any[];
|
|
1377
|
-
args: any[];
|
|
1378
|
-
};
|
|
1379
|
-
};
|
|
1380
|
-
outputFormat: "json";
|
|
1381
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1382
|
-
};
|
|
1383
|
-
};
|
|
1384
|
-
}, "/approveWrapper"> | import("hono/types").MergeSchemaPath<{
|
|
1385
|
-
"/": {
|
|
1386
|
-
$post: {
|
|
1387
|
-
input: {
|
|
1388
|
-
json: {
|
|
1389
|
-
wrapperAddress: string;
|
|
1390
|
-
erc20Address: string;
|
|
1391
|
-
amount: string;
|
|
1392
|
-
};
|
|
1393
|
-
};
|
|
1394
|
-
output: {
|
|
1395
|
-
data: `0x${string}`;
|
|
1396
|
-
to: `0x${string}`;
|
|
1397
|
-
details: {
|
|
1398
|
-
functionName: string;
|
|
1399
|
-
address: `0x${string}`;
|
|
1400
|
-
abi: any[];
|
|
1401
|
-
args: any[];
|
|
1402
|
-
};
|
|
1403
|
-
};
|
|
1404
|
-
outputFormat: "json";
|
|
1405
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1406
|
-
};
|
|
1407
|
-
};
|
|
1408
|
-
}, "/approveWrapperAsErc20Spender"> | import("hono/types").MergeSchemaPath<{
|
|
1409
|
-
"/": {
|
|
1410
|
-
$post: {
|
|
1411
|
-
input: {
|
|
1412
|
-
json: {
|
|
1413
|
-
wrapperAddress: string;
|
|
1414
|
-
erc721Address: string;
|
|
1415
|
-
};
|
|
1416
|
-
};
|
|
1417
|
-
output: {
|
|
1418
|
-
data: `0x${string}`;
|
|
1419
|
-
to: `0x${string}`;
|
|
1420
|
-
details: {
|
|
1421
|
-
functionName: string;
|
|
1422
|
-
address: `0x${string}`;
|
|
1423
|
-
abi: any[];
|
|
1424
|
-
args: any[];
|
|
1425
|
-
};
|
|
1426
|
-
};
|
|
1427
|
-
outputFormat: "json";
|
|
1428
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1429
|
-
};
|
|
1430
|
-
};
|
|
1431
|
-
}, "/approveWrapperAsErc721Spender">, "/fractions"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
1432
1362
|
"/": {
|
|
1433
1363
|
$get: {
|
|
1434
1364
|
input: {};
|
|
@@ -2340,7 +2270,77 @@ export declare function buildApps(config?: IAppConfig): {
|
|
|
2340
2270
|
status: 200;
|
|
2341
2271
|
};
|
|
2342
2272
|
};
|
|
2343
|
-
}, "/getVaultAddress"
|
|
2273
|
+
}, "/getVaultAddress"> | import("hono/types").MergeSchemaPath<{
|
|
2274
|
+
"/": {
|
|
2275
|
+
$post: {
|
|
2276
|
+
input: {
|
|
2277
|
+
json: {
|
|
2278
|
+
marketAddress: string;
|
|
2279
|
+
wrapperAddress: string;
|
|
2280
|
+
};
|
|
2281
|
+
};
|
|
2282
|
+
output: {
|
|
2283
|
+
data: `0x${string}`;
|
|
2284
|
+
to: `0x${string}`;
|
|
2285
|
+
details: {
|
|
2286
|
+
functionName: string;
|
|
2287
|
+
address: `0x${string}`;
|
|
2288
|
+
abi: any[];
|
|
2289
|
+
args: any[];
|
|
2290
|
+
};
|
|
2291
|
+
};
|
|
2292
|
+
outputFormat: "json";
|
|
2293
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2294
|
+
};
|
|
2295
|
+
};
|
|
2296
|
+
}, "/approveWrapper"> | import("hono/types").MergeSchemaPath<{
|
|
2297
|
+
"/": {
|
|
2298
|
+
$post: {
|
|
2299
|
+
input: {
|
|
2300
|
+
json: {
|
|
2301
|
+
wrapperAddress: string;
|
|
2302
|
+
erc20Address: string;
|
|
2303
|
+
amount: string;
|
|
2304
|
+
};
|
|
2305
|
+
};
|
|
2306
|
+
output: {
|
|
2307
|
+
data: `0x${string}`;
|
|
2308
|
+
to: `0x${string}`;
|
|
2309
|
+
details: {
|
|
2310
|
+
functionName: string;
|
|
2311
|
+
address: `0x${string}`;
|
|
2312
|
+
abi: any[];
|
|
2313
|
+
args: any[];
|
|
2314
|
+
};
|
|
2315
|
+
};
|
|
2316
|
+
outputFormat: "json";
|
|
2317
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2318
|
+
};
|
|
2319
|
+
};
|
|
2320
|
+
}, "/approveWrapperAsErc20Spender"> | import("hono/types").MergeSchemaPath<{
|
|
2321
|
+
"/": {
|
|
2322
|
+
$post: {
|
|
2323
|
+
input: {
|
|
2324
|
+
json: {
|
|
2325
|
+
wrapperAddress: string;
|
|
2326
|
+
erc721Address: string;
|
|
2327
|
+
};
|
|
2328
|
+
};
|
|
2329
|
+
output: {
|
|
2330
|
+
data: `0x${string}`;
|
|
2331
|
+
to: `0x${string}`;
|
|
2332
|
+
details: {
|
|
2333
|
+
functionName: string;
|
|
2334
|
+
address: `0x${string}`;
|
|
2335
|
+
abi: any[];
|
|
2336
|
+
args: any[];
|
|
2337
|
+
};
|
|
2338
|
+
};
|
|
2339
|
+
outputFormat: "json";
|
|
2340
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2341
|
+
};
|
|
2342
|
+
};
|
|
2343
|
+
}, "/approveWrapperAsErc721Spender">, "/sales"> | import("hono/types").MergeSchemaPath<import("hono/types").BlankSchema | import("hono/types").MergeSchemaPath<{
|
|
2344
2344
|
"/": {
|
|
2345
2345
|
$post: {
|
|
2346
2346
|
input: {
|
package/dist/client.d.ts
CHANGED
|
@@ -1543,82 +1543,6 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
|
|
|
1543
1543
|
};
|
|
1544
1544
|
}>;
|
|
1545
1545
|
};
|
|
1546
|
-
} & {
|
|
1547
|
-
fractions: {
|
|
1548
|
-
approveWrapper: import("hono/client").ClientRequest<string, "/fractions/approveWrapper", {
|
|
1549
|
-
$post: {
|
|
1550
|
-
input: {
|
|
1551
|
-
json: {
|
|
1552
|
-
marketAddress: string;
|
|
1553
|
-
wrapperAddress: string;
|
|
1554
|
-
};
|
|
1555
|
-
};
|
|
1556
|
-
output: {
|
|
1557
|
-
data: `0x${string}`;
|
|
1558
|
-
to: `0x${string}`;
|
|
1559
|
-
details: {
|
|
1560
|
-
functionName: string;
|
|
1561
|
-
address: `0x${string}`;
|
|
1562
|
-
abi: any[];
|
|
1563
|
-
args: any[];
|
|
1564
|
-
};
|
|
1565
|
-
};
|
|
1566
|
-
outputFormat: "json";
|
|
1567
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1568
|
-
};
|
|
1569
|
-
}>;
|
|
1570
|
-
};
|
|
1571
|
-
} & {
|
|
1572
|
-
fractions: {
|
|
1573
|
-
approveWrapperAsErc20Spender: import("hono/client").ClientRequest<string, "/fractions/approveWrapperAsErc20Spender", {
|
|
1574
|
-
$post: {
|
|
1575
|
-
input: {
|
|
1576
|
-
json: {
|
|
1577
|
-
wrapperAddress: string;
|
|
1578
|
-
erc20Address: string;
|
|
1579
|
-
amount: string;
|
|
1580
|
-
};
|
|
1581
|
-
};
|
|
1582
|
-
output: {
|
|
1583
|
-
data: `0x${string}`;
|
|
1584
|
-
to: `0x${string}`;
|
|
1585
|
-
details: {
|
|
1586
|
-
functionName: string;
|
|
1587
|
-
address: `0x${string}`;
|
|
1588
|
-
abi: any[];
|
|
1589
|
-
args: any[];
|
|
1590
|
-
};
|
|
1591
|
-
};
|
|
1592
|
-
outputFormat: "json";
|
|
1593
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1594
|
-
};
|
|
1595
|
-
}>;
|
|
1596
|
-
};
|
|
1597
|
-
} & {
|
|
1598
|
-
fractions: {
|
|
1599
|
-
approveWrapperAsErc721Spender: import("hono/client").ClientRequest<string, "/fractions/approveWrapperAsErc721Spender", {
|
|
1600
|
-
$post: {
|
|
1601
|
-
input: {
|
|
1602
|
-
json: {
|
|
1603
|
-
wrapperAddress: string;
|
|
1604
|
-
erc721Address: string;
|
|
1605
|
-
};
|
|
1606
|
-
};
|
|
1607
|
-
output: {
|
|
1608
|
-
data: `0x${string}`;
|
|
1609
|
-
to: `0x${string}`;
|
|
1610
|
-
details: {
|
|
1611
|
-
functionName: string;
|
|
1612
|
-
address: `0x${string}`;
|
|
1613
|
-
abi: any[];
|
|
1614
|
-
args: any[];
|
|
1615
|
-
};
|
|
1616
|
-
};
|
|
1617
|
-
outputFormat: "json";
|
|
1618
|
-
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1619
|
-
};
|
|
1620
|
-
}>;
|
|
1621
|
-
};
|
|
1622
1546
|
} & {
|
|
1623
1547
|
roles: import("hono/client").ClientRequest<string, "/roles", {
|
|
1624
1548
|
$get: {
|
|
@@ -2595,6 +2519,82 @@ export declare function buildClients(basePath: string, options?: ClientRequestOp
|
|
|
2595
2519
|
};
|
|
2596
2520
|
}>;
|
|
2597
2521
|
};
|
|
2522
|
+
} & {
|
|
2523
|
+
sales: {
|
|
2524
|
+
approveWrapper: import("hono/client").ClientRequest<string, "/sales/approveWrapper", {
|
|
2525
|
+
$post: {
|
|
2526
|
+
input: {
|
|
2527
|
+
json: {
|
|
2528
|
+
marketAddress: string;
|
|
2529
|
+
wrapperAddress: string;
|
|
2530
|
+
};
|
|
2531
|
+
};
|
|
2532
|
+
output: {
|
|
2533
|
+
data: `0x${string}`;
|
|
2534
|
+
to: `0x${string}`;
|
|
2535
|
+
details: {
|
|
2536
|
+
functionName: string;
|
|
2537
|
+
address: `0x${string}`;
|
|
2538
|
+
abi: any[];
|
|
2539
|
+
args: any[];
|
|
2540
|
+
};
|
|
2541
|
+
};
|
|
2542
|
+
outputFormat: "json";
|
|
2543
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2544
|
+
};
|
|
2545
|
+
}>;
|
|
2546
|
+
};
|
|
2547
|
+
} & {
|
|
2548
|
+
sales: {
|
|
2549
|
+
approveWrapperAsErc20Spender: import("hono/client").ClientRequest<string, "/sales/approveWrapperAsErc20Spender", {
|
|
2550
|
+
$post: {
|
|
2551
|
+
input: {
|
|
2552
|
+
json: {
|
|
2553
|
+
wrapperAddress: string;
|
|
2554
|
+
erc20Address: string;
|
|
2555
|
+
amount: string;
|
|
2556
|
+
};
|
|
2557
|
+
};
|
|
2558
|
+
output: {
|
|
2559
|
+
data: `0x${string}`;
|
|
2560
|
+
to: `0x${string}`;
|
|
2561
|
+
details: {
|
|
2562
|
+
functionName: string;
|
|
2563
|
+
address: `0x${string}`;
|
|
2564
|
+
abi: any[];
|
|
2565
|
+
args: any[];
|
|
2566
|
+
};
|
|
2567
|
+
};
|
|
2568
|
+
outputFormat: "json";
|
|
2569
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2570
|
+
};
|
|
2571
|
+
}>;
|
|
2572
|
+
};
|
|
2573
|
+
} & {
|
|
2574
|
+
sales: {
|
|
2575
|
+
approveWrapperAsErc721Spender: import("hono/client").ClientRequest<string, "/sales/approveWrapperAsErc721Spender", {
|
|
2576
|
+
$post: {
|
|
2577
|
+
input: {
|
|
2578
|
+
json: {
|
|
2579
|
+
wrapperAddress: string;
|
|
2580
|
+
erc721Address: string;
|
|
2581
|
+
};
|
|
2582
|
+
};
|
|
2583
|
+
output: {
|
|
2584
|
+
data: `0x${string}`;
|
|
2585
|
+
to: `0x${string}`;
|
|
2586
|
+
details: {
|
|
2587
|
+
functionName: string;
|
|
2588
|
+
address: `0x${string}`;
|
|
2589
|
+
abi: any[];
|
|
2590
|
+
args: any[];
|
|
2591
|
+
};
|
|
2592
|
+
};
|
|
2593
|
+
outputFormat: "json";
|
|
2594
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
2595
|
+
};
|
|
2596
|
+
}>;
|
|
2597
|
+
};
|
|
2598
2598
|
} & {
|
|
2599
2599
|
sig: {
|
|
2600
2600
|
nonce: import("hono/client").ClientRequest<string, "/sig/nonce", {
|