@evergonlabs/tmi-protocol-api 0.10.0-rc.2 → 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/common/blockchain.d.ts +2137 -766
- package/dist/common/blockchain.d.ts.map +1 -1
- package/dist/fractions/index.js +1 -1
- 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/sales/getVaultAddress.js +1 -1
- package/dist/fractions/sales/getWithdrawEvent.js +1 -1
- package/dist/fractions/sales/parseFractionsCreatedEvent.js +1 -1
- package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.js +1 -1
- 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.js +1 -1
- package/dist/issuance/erc1155/default/deploy.js +2 -2
- package/dist/issuance/erc1155/default/initialize.js +1 -1
- package/dist/issuance/erc1155/default/parseDeployEvent.js +2 -2
- package/dist/issuance/erc1155/gated/deploy.js +2 -2
- package/dist/issuance/erc1155/gated/initialize.js +2 -2
- package/dist/issuance/erc1155/gated/parseDeployEvent.js +2 -2
- package/dist/issuance/erc1155/grantRole.js +2 -2
- package/dist/issuance/erc1155/mint.js +1 -1
- package/dist/issuance/erc1155/recover.js +1 -1
- package/dist/issuance/erc1155/renounceRole.js +2 -2
- package/dist/issuance/erc1155/revokeRole.js +2 -2
- package/dist/issuance/erc1155/setApprovalForAll.js +2 -2
- package/dist/issuance/erc1155/setBaseURI.d.ts.map +1 -1
- package/dist/issuance/erc1155/setBaseURI.js +2 -2
- package/dist/issuance/erc1155/setTokenURI.js +2 -2
- package/dist/issuance/erc20/approve.js +1 -1
- package/dist/issuance/erc20/burn.js +1 -1
- package/dist/issuance/erc20/default/deploy.js +1 -1
- package/dist/issuance/erc20/default/parseDeployEvent.js +1 -1
- package/dist/issuance/erc20/gated/deploy.js +1 -1
- package/dist/issuance/erc20/gated/initialize.js +1 -1
- package/dist/issuance/erc20/gated/parseDeployEvent.js +1 -1
- package/dist/issuance/erc20/gatedSimple/deploy.js +1 -1
- package/dist/issuance/erc20/gatedSimple/parseDeployEvent.js +1 -1
- package/dist/issuance/erc20/grantRole.js +1 -1
- package/dist/issuance/erc20/mint.js +1 -1
- package/dist/issuance/erc20/recover.js +1 -1
- package/dist/issuance/erc20/renounceRole.js +1 -1
- package/dist/issuance/erc20/revokeRole.js +1 -1
- package/dist/issuance/erc20/transfer.js +1 -1
- package/dist/issuance/erc20/transferFrom.js +1 -1
- package/dist/issuance/erc721/approve.js +1 -1
- package/dist/issuance/erc721/burn.js +1 -1
- package/dist/issuance/erc721/default/deploy.js +2 -2
- package/dist/issuance/erc721/default/initialize.js +1 -1
- package/dist/issuance/erc721/default/parseDeployEvent.js +2 -2
- package/dist/issuance/erc721/gated/deploy.js +2 -2
- package/dist/issuance/erc721/gated/initialize.js +2 -2
- package/dist/issuance/erc721/gated/parseDeployEvent.js +2 -2
- package/dist/issuance/erc721/grantRole.js +2 -2
- package/dist/issuance/erc721/mint.js +1 -1
- package/dist/issuance/erc721/recover.js +1 -1
- package/dist/issuance/erc721/renounceRole.js +2 -2
- package/dist/issuance/erc721/revokeRole.js +2 -2
- package/dist/issuance/erc721/setBaseURI.js +2 -2
- package/dist/issuance/erc721/setTokenURI.js +2 -2
- package/dist/issuance/erc721/transferFrom.js +1 -1
- package/dist/issuance/proxy/upgrade.js +1 -1
- 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 +11 -10
|
@@ -9,12 +9,12 @@ import { Erc721Schema } from "../../../../common/models/erc721.js";
|
|
|
9
9
|
import { rwa } from "../common.js";
|
|
10
10
|
export const CreateRwaPlatformV0 = createController({
|
|
11
11
|
build: (factory) => factory.createApp().post("/", describeRoute({
|
|
12
|
-
summary: "Create
|
|
13
|
-
description: "Generates a transaction for a new
|
|
12
|
+
summary: "Create platform",
|
|
13
|
+
description: "Generates a transaction for a new platform",
|
|
14
14
|
tags: [rwa.tag.tag],
|
|
15
15
|
responses: {
|
|
16
16
|
200: {
|
|
17
|
-
description: "Compiled
|
|
17
|
+
description: "Compiled create platform transaction details",
|
|
18
18
|
content: {
|
|
19
19
|
"application/json": {
|
|
20
20
|
schema: resolver(TransactionSchema),
|
|
@@ -13,12 +13,12 @@ import { StartTimeSchema } from "../../common/time.js";
|
|
|
13
13
|
import { rwa } from "../common.js";
|
|
14
14
|
export const CreateRwaPoolV0 = createController({
|
|
15
15
|
build: (factory) => factory.createApp().post("/", describeRoute({
|
|
16
|
-
summary: "Create
|
|
17
|
-
description: "Generates a transaction for a new
|
|
16
|
+
summary: "Create pool",
|
|
17
|
+
description: "Generates a transaction for a new staking pool within the platform",
|
|
18
18
|
tags: [rwa.tag.tag],
|
|
19
19
|
responses: {
|
|
20
20
|
200: {
|
|
21
|
-
description: "Compiled
|
|
21
|
+
description: "Compiled create pool transaction details",
|
|
22
22
|
content: {
|
|
23
23
|
"application/json": {
|
|
24
24
|
schema: resolver(TransactionSchema),
|
|
@@ -9,12 +9,12 @@ import { PlatformContractAddress, PoolIdSchema } from "../../../../common/models
|
|
|
9
9
|
import { rwa } from "../common.js";
|
|
10
10
|
export const DistributeRewardsRwaV0 = createController({
|
|
11
11
|
build: (factory) => factory.createApp().post("/", describeRoute({
|
|
12
|
-
summary: "Distribute
|
|
13
|
-
description: "Generates a transaction for
|
|
12
|
+
summary: "Distribute rewards",
|
|
13
|
+
description: "Generates a transaction for rewards allocation for certain pool.",
|
|
14
14
|
tags: [rwa.tag.tag],
|
|
15
15
|
responses: {
|
|
16
16
|
200: {
|
|
17
|
-
description: "Compiled
|
|
17
|
+
description: "Compiled reward notification transaction details",
|
|
18
18
|
content: {
|
|
19
19
|
"application/json": {
|
|
20
20
|
schema: resolver(TransactionSchema),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@evergonlabs/tmi-protocol-api",
|
|
3
|
-
"version": "0.10.0
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -36,16 +36,16 @@
|
|
|
36
36
|
"hono-openapi": "^1.2.0",
|
|
37
37
|
"kysely": "^0.26.3",
|
|
38
38
|
"type-fest": "^5.0.0",
|
|
39
|
-
"viem": "
|
|
39
|
+
"viem": "2.46.2",
|
|
40
40
|
"zod": "^4.3.6",
|
|
41
41
|
"zod-openapi": "^5.4.6",
|
|
42
|
-
"@evergonlabs/tmi-protocol-
|
|
43
|
-
"@evergonlabs/tmi-protocol-fractions-sdk": "0.10.0
|
|
44
|
-
"@evergonlabs/tmi-protocol-
|
|
45
|
-
"@evergonlabs/tmi-protocol-
|
|
46
|
-
"@evergonlabs/tmi-protocol-
|
|
47
|
-
"@evergonlabs/tmi-protocol-
|
|
48
|
-
"@evergonlabs/tmi-protocol-
|
|
42
|
+
"@evergonlabs/tmi-protocol-indexer": "0.10.0",
|
|
43
|
+
"@evergonlabs/tmi-protocol-fractions-sdk": "0.10.0",
|
|
44
|
+
"@evergonlabs/tmi-protocol-staking-sdk": "0.10.0",
|
|
45
|
+
"@evergonlabs/tmi-protocol-shared": "0.10.0",
|
|
46
|
+
"@evergonlabs/tmi-protocol-types": "0.10.0",
|
|
47
|
+
"@evergonlabs/tmi-protocol-utils": "0.10.0",
|
|
48
|
+
"@evergonlabs/tmi-protocol-contracts": "0.10.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@evergonlabs/tmi-eslint-config": "0.3.0",
|
|
@@ -86,6 +86,7 @@
|
|
|
86
86
|
"openapi:generate": "pnpm run tsx:oa -- ./scripts/generateOpenApi/bin.ts",
|
|
87
87
|
"serve": "pnpm run env -- pnpm run tsx:oa -- ./src/serve.ts",
|
|
88
88
|
"tsx:oa": "tsx --import @hono/zod-openapi",
|
|
89
|
-
"test": "pnpm run env -- vitest run"
|
|
89
|
+
"test": "pnpm run env -- vitest run",
|
|
90
|
+
"test:sequential": "pnpm run env -- vitest run"
|
|
90
91
|
}
|
|
91
92
|
}
|