@evergonlabs/tmi-protocol-api 0.10.0-rc.1 → 0.10.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. package/dist/app.d.ts +71 -71
  2. package/dist/client.d.ts +76 -76
  3. package/dist/fractions/index.d.ts +71 -71
  4. package/dist/fractions/index.d.ts.map +1 -1
  5. package/dist/fractions/index.js +0 -2
  6. package/dist/fractions/platforms/deployMarket.routes.js +4 -4
  7. package/dist/fractions/platforms/initCompilot.routes.js +1 -1
  8. package/dist/fractions/platforms/initNid.route.js +1 -1
  9. package/dist/fractions/sales/approveSale.route.js +1 -1
  10. package/dist/fractions/sales/approveWrapper.route.d.ts +88 -0
  11. package/dist/fractions/sales/approveWrapper.route.d.ts.map +1 -0
  12. package/dist/fractions/sales/approveWrapper.route.js +92 -0
  13. package/dist/fractions/sales/completeSale.route.js +1 -1
  14. package/dist/fractions/sales/createFractions.route.js +1 -1
  15. package/dist/fractions/sales/getFractionSaleStatistics.route.js +1 -1
  16. package/dist/fractions/sales/getVaultAddress.js +1 -1
  17. package/dist/fractions/sales/getWithdrawEvent.js +1 -1
  18. package/dist/fractions/sales/index.d.ts +71 -1
  19. package/dist/fractions/sales/index.d.ts.map +1 -1
  20. package/dist/fractions/sales/index.js +5 -1
  21. package/dist/fractions/sales/parseFractionsCreatedEvent.js +1 -1
  22. package/dist/fractions/sales/purchase.route.js +1 -1
  23. package/dist/fractions/sales/purchaseStatistics.route.js +1 -1
  24. package/dist/fractions/sales/receiveFundsAfterNonFunded.route.js +2 -2
  25. package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.js +1 -1
  26. package/dist/fractions/sales/recoverFractions.js +1 -1
  27. package/dist/fractions/sales/rejectFractions.js +1 -1
  28. package/dist/fractions/sales/searchActivity.route.js +1 -1
  29. package/dist/fractions/sales/searchSales/searchSales.js +1 -1
  30. package/dist/fractions/sales/searchWithdrawal.route.js +1 -1
  31. package/dist/fractions/sales/setFeeCapLimit.js +1 -1
  32. package/dist/fractions/sales/unlockWrappedAssets.route.js +1 -1
  33. package/dist/fractions/sales/vesting/claimStatistics.route.js +1 -1
  34. package/dist/fractions/sales/vesting/claimVestedTokens.route.js +1 -1
  35. package/dist/fractions/sales/vesting/editCliff.route.js +1 -1
  36. package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.js +1 -1
  37. package/dist/fractions/sales/withdraw.route.js +1 -1
  38. package/dist/fractions/statistics/networkStatistics.route.js +4 -4
  39. package/dist/issuance/erc1155/burn.d.ts.map +1 -1
  40. package/dist/issuance/erc1155/burn.js +2 -1
  41. package/dist/issuance/erc1155/default/deploy.d.ts.map +1 -1
  42. package/dist/issuance/erc1155/default/deploy.js +2 -1
  43. package/dist/issuance/erc1155/default/initialize.d.ts.map +1 -1
  44. package/dist/issuance/erc1155/default/initialize.js +2 -1
  45. package/dist/issuance/erc1155/default/parseDeployEvent.d.ts.map +1 -1
  46. package/dist/issuance/erc1155/default/parseDeployEvent.js +2 -1
  47. package/dist/issuance/erc1155/gated/deploy.d.ts.map +1 -1
  48. package/dist/issuance/erc1155/gated/deploy.js +2 -1
  49. package/dist/issuance/erc1155/gated/initialize.d.ts.map +1 -1
  50. package/dist/issuance/erc1155/gated/initialize.js +2 -1
  51. package/dist/issuance/erc1155/gated/parseDeployEvent.d.ts.map +1 -1
  52. package/dist/issuance/erc1155/gated/parseDeployEvent.js +2 -1
  53. package/dist/issuance/erc1155/grantRole.d.ts.map +1 -1
  54. package/dist/issuance/erc1155/grantRole.js +2 -1
  55. package/dist/issuance/erc1155/mint.d.ts.map +1 -1
  56. package/dist/issuance/erc1155/mint.js +2 -1
  57. package/dist/issuance/erc1155/recover.d.ts.map +1 -1
  58. package/dist/issuance/erc1155/recover.js +2 -1
  59. package/dist/issuance/erc1155/renounceRole.d.ts.map +1 -1
  60. package/dist/issuance/erc1155/renounceRole.js +2 -1
  61. package/dist/issuance/erc1155/revokeRole.d.ts.map +1 -1
  62. package/dist/issuance/erc1155/revokeRole.js +2 -1
  63. package/dist/issuance/erc1155/setApprovalForAll.d.ts.map +1 -1
  64. package/dist/issuance/erc1155/setApprovalForAll.js +2 -1
  65. package/dist/issuance/erc1155/setBaseURI.d.ts.map +1 -1
  66. package/dist/issuance/erc1155/setBaseURI.js +2 -1
  67. package/dist/issuance/erc1155/setTokenURI.d.ts.map +1 -1
  68. package/dist/issuance/erc1155/setTokenURI.js +2 -1
  69. package/dist/issuance/erc1155/tag.d.ts +4 -0
  70. package/dist/issuance/erc1155/tag.d.ts.map +1 -0
  71. package/dist/issuance/erc1155/tag.js +2 -0
  72. package/dist/issuance/erc20/approve.d.ts.map +1 -1
  73. package/dist/issuance/erc20/approve.js +2 -1
  74. package/dist/issuance/erc20/burn.d.ts.map +1 -1
  75. package/dist/issuance/erc20/burn.js +2 -1
  76. package/dist/issuance/erc20/default/deploy.d.ts.map +1 -1
  77. package/dist/issuance/erc20/default/deploy.js +2 -1
  78. package/dist/issuance/erc20/default/initialize.d.ts.map +1 -1
  79. package/dist/issuance/erc20/default/initialize.js +2 -1
  80. package/dist/issuance/erc20/default/parseDeployEvent.d.ts.map +1 -1
  81. package/dist/issuance/erc20/default/parseDeployEvent.js +2 -1
  82. package/dist/issuance/erc20/gated/deploy.d.ts.map +1 -1
  83. package/dist/issuance/erc20/gated/deploy.js +2 -1
  84. package/dist/issuance/erc20/gated/initialize.d.ts.map +1 -1
  85. package/dist/issuance/erc20/gated/initialize.js +2 -1
  86. package/dist/issuance/erc20/gated/parseDeployEvent.d.ts.map +1 -1
  87. package/dist/issuance/erc20/gated/parseDeployEvent.js +2 -1
  88. package/dist/issuance/erc20/gatedSimple/deploy.d.ts.map +1 -1
  89. package/dist/issuance/erc20/gatedSimple/deploy.js +2 -1
  90. package/dist/issuance/erc20/gatedSimple/getInitData.d.ts.map +1 -1
  91. package/dist/issuance/erc20/gatedSimple/getInitData.js +2 -1
  92. package/dist/issuance/erc20/gatedSimple/parseDeployEvent.d.ts.map +1 -1
  93. package/dist/issuance/erc20/gatedSimple/parseDeployEvent.js +2 -1
  94. package/dist/issuance/erc20/grantRole.d.ts.map +1 -1
  95. package/dist/issuance/erc20/grantRole.js +2 -1
  96. package/dist/issuance/erc20/mint.d.ts.map +1 -1
  97. package/dist/issuance/erc20/mint.js +2 -1
  98. package/dist/issuance/erc20/recover.d.ts.map +1 -1
  99. package/dist/issuance/erc20/recover.js +2 -1
  100. package/dist/issuance/erc20/renounceRole.d.ts.map +1 -1
  101. package/dist/issuance/erc20/renounceRole.js +2 -1
  102. package/dist/issuance/erc20/revokeRole.d.ts.map +1 -1
  103. package/dist/issuance/erc20/revokeRole.js +2 -1
  104. package/dist/issuance/erc20/tag.d.ts +4 -0
  105. package/dist/issuance/erc20/tag.d.ts.map +1 -0
  106. package/dist/issuance/erc20/tag.js +2 -0
  107. package/dist/issuance/erc20/transfer.d.ts.map +1 -1
  108. package/dist/issuance/erc20/transfer.js +2 -1
  109. package/dist/issuance/erc20/transferFrom.d.ts.map +1 -1
  110. package/dist/issuance/erc20/transferFrom.js +2 -1
  111. package/dist/issuance/erc721/approve.d.ts.map +1 -1
  112. package/dist/issuance/erc721/approve.js +2 -1
  113. package/dist/issuance/erc721/burn.d.ts.map +1 -1
  114. package/dist/issuance/erc721/burn.js +2 -1
  115. package/dist/issuance/erc721/default/deploy.d.ts.map +1 -1
  116. package/dist/issuance/erc721/default/deploy.js +2 -1
  117. package/dist/issuance/erc721/default/initialize.d.ts.map +1 -1
  118. package/dist/issuance/erc721/default/initialize.js +2 -1
  119. package/dist/issuance/erc721/default/parseDeployEvent.d.ts.map +1 -1
  120. package/dist/issuance/erc721/default/parseDeployEvent.js +2 -1
  121. package/dist/issuance/erc721/gated/deploy.d.ts.map +1 -1
  122. package/dist/issuance/erc721/gated/deploy.js +2 -1
  123. package/dist/issuance/erc721/gated/initialize.d.ts.map +1 -1
  124. package/dist/issuance/erc721/gated/initialize.js +2 -1
  125. package/dist/issuance/erc721/gated/parseDeployEvent.d.ts.map +1 -1
  126. package/dist/issuance/erc721/gated/parseDeployEvent.js +2 -1
  127. package/dist/issuance/erc721/grantRole.d.ts.map +1 -1
  128. package/dist/issuance/erc721/grantRole.js +2 -1
  129. package/dist/issuance/erc721/mint.d.ts.map +1 -1
  130. package/dist/issuance/erc721/mint.js +2 -1
  131. package/dist/issuance/erc721/recover.d.ts.map +1 -1
  132. package/dist/issuance/erc721/recover.js +2 -1
  133. package/dist/issuance/erc721/renounceRole.d.ts.map +1 -1
  134. package/dist/issuance/erc721/renounceRole.js +2 -1
  135. package/dist/issuance/erc721/revokeRole.d.ts.map +1 -1
  136. package/dist/issuance/erc721/revokeRole.js +2 -1
  137. package/dist/issuance/erc721/setBaseURI.d.ts.map +1 -1
  138. package/dist/issuance/erc721/setBaseURI.js +2 -1
  139. package/dist/issuance/erc721/setTokenURI.d.ts.map +1 -1
  140. package/dist/issuance/erc721/setTokenURI.js +2 -1
  141. package/dist/issuance/erc721/tag.d.ts +4 -0
  142. package/dist/issuance/erc721/tag.d.ts.map +1 -0
  143. package/dist/issuance/erc721/tag.js +2 -0
  144. package/dist/issuance/erc721/transferFrom.d.ts.map +1 -1
  145. package/dist/issuance/erc721/transferFrom.js +2 -1
  146. package/dist/issuance/proxy/deploy.d.ts.map +1 -1
  147. package/dist/issuance/proxy/deploy.js +3 -2
  148. package/dist/issuance/proxy/tag.d.ts +4 -0
  149. package/dist/issuance/proxy/tag.d.ts.map +1 -0
  150. package/dist/issuance/proxy/tag.js +2 -0
  151. package/dist/issuance/proxy/upgrade.d.ts.map +1 -1
  152. package/dist/issuance/proxy/upgrade.js +2 -1
  153. package/package.json +15 -13
@@ -9,6 +9,7 @@ import { createController } from "../../../common/controller.js";
9
9
  import { HttpError } from "../../../common/http-error.js";
10
10
  import { AddressSchema, HashSchema } from "../../../common/index.js";
11
11
  import { FactoryChainIdQuery } from "../../common/factories.js";
12
+ import { erc1155Tag } from "../tag.js";
12
13
  const QuerySchema = z.object({
13
14
  chainId: FactoryChainIdQuery.openapi({
14
15
  param: {
@@ -27,7 +28,7 @@ export const ParseGatedErc1155DeployEvent = createController({
27
28
  build: (factory) => factory.createApp().get("/", describeRoute({
28
29
  summary: "Get Gated ERC1155 TokenProxyConfigured Event",
29
30
  description: `Gets the transaction by hash and parses emitted logs.\n\nProvided transaction must be a transaction emitted by the Gated ERC1155 factory \`deployAndInitializeProxy\` action`,
30
- tags: ["Issuance"],
31
+ tags: [erc1155Tag.tag],
31
32
  responses: {
32
33
  200: {
33
34
  description: "Returns parsed event log",
@@ -1 +1 @@
1
- {"version":3,"file":"grantRole.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/grantRole.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAiC,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAE5G,eAAO,MAAM,6BAA6B;;;;iBAOxC,CAAC;AAkBH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;aAc3B,CAAC"}
1
+ {"version":3,"file":"grantRole.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/grantRole.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAiC,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAG5G,eAAO,MAAM,6BAA6B;;;;iBAOxC,CAAC;AAkBH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;aAc3B,CAAC"}
@@ -5,6 +5,7 @@ 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
7
  import { convertErc1155TokenRoleToHash, Erc1155TokenRole } from "../../common/roles/erc1155-token-roles.js";
8
+ import { erc1155Tag } from "./tag.js";
8
9
  export const GrantRoleErc1155RequestSchema = z.object({
9
10
  tokenAddress: AddressSchema,
10
11
  role: z.nativeEnum(Erc1155TokenRole).openapi({
@@ -16,7 +17,7 @@ export const GrantRoleErc1155RequestSchema = z.object({
16
17
  const grantRoleRoute = describeRoute({
17
18
  summary: "Grant Role on ERC1155",
18
19
  description: "Returns transaction data for granting a role on the ERC1155 token contract",
19
- tags: ["Issuance"],
20
+ tags: [erc1155Tag.tag],
20
21
  responses: {
21
22
  200: {
22
23
  description: "Returns transaction data for granting a role",
@@ -1 +1 @@
1
- {"version":3,"file":"mint.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/mint.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,wBAAwB;;;;;iBAKnC,CAAC;AAmBH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;aActB,CAAC"}
1
+ {"version":3,"file":"mint.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/mint.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,wBAAwB;;;;;iBAKnC,CAAC;AAmBH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;aActB,CAAC"}
@@ -5,6 +5,7 @@ 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
7
  import { Int256BigInt } from "../../common/int256.js";
8
+ import { erc1155Tag } from "./tag.js";
8
9
  export const MintErc1155RequestSchema = z.object({
9
10
  tokenAddress: AddressSchema,
10
11
  to: AddressSchema.openapi({ description: "Address to mint tokens to" }),
@@ -14,7 +15,7 @@ export const MintErc1155RequestSchema = z.object({
14
15
  const mintRoute = describeRoute({
15
16
  summary: "Mint ERC1155",
16
17
  description: "Returns transaction data for minting ERC1155 tokens with an auto-generated token ID (MINTER_ROLE required)",
17
- tags: ["Issuance"],
18
+ tags: [erc1155Tag.tag],
18
19
  responses: {
19
20
  200: {
20
21
  description: "Returns transaction data for minting an ERC1155 token",
@@ -1 +1 @@
1
- {"version":3,"file":"recover.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/recover.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,2BAA2B;;;;;;iBAMtC,CAAC;AAmBH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;aAczB,CAAC"}
1
+ {"version":3,"file":"recover.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/recover.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,2BAA2B;;;;;;iBAMtC,CAAC;AAmBH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;aAczB,CAAC"}
@@ -5,6 +5,7 @@ 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
7
  import { Int256BigInt } from "../../common/int256.js";
8
+ import { erc1155Tag } from "./tag.js";
8
9
  export const RecoverErc1155RequestSchema = z.object({
9
10
  tokenAddress: AddressSchema,
10
11
  from: AddressSchema.openapi({ description: "Address to recover the tokens from" }),
@@ -15,7 +16,7 @@ export const RecoverErc1155RequestSchema = z.object({
15
16
  const recoverRoute = describeRoute({
16
17
  summary: "Recover ERC1155",
17
18
  description: "Returns transaction data for recovering ERC1155 tokens from one address to another (RECOVER_ROLE required)",
18
- tags: ["Issuance"],
19
+ tags: [erc1155Tag.tag],
19
20
  responses: {
20
21
  200: {
21
22
  description: "Returns transaction data for recovering ERC1155 tokens",
@@ -1 +1 @@
1
- {"version":3,"file":"renounceRole.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/renounceRole.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAiC,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAE5G,eAAO,MAAM,gCAAgC;;;;iBAO3C,CAAC;AAkBH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;aAc9B,CAAC"}
1
+ {"version":3,"file":"renounceRole.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/renounceRole.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAiC,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAG5G,eAAO,MAAM,gCAAgC;;;;iBAO3C,CAAC;AAkBH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;aAc9B,CAAC"}
@@ -5,6 +5,7 @@ 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
7
  import { convertErc1155TokenRoleToHash, Erc1155TokenRole } from "../../common/roles/erc1155-token-roles.js";
8
+ import { erc1155Tag } from "./tag.js";
8
9
  export const RenounceRoleErc1155RequestSchema = z.object({
9
10
  tokenAddress: AddressSchema,
10
11
  role: z.nativeEnum(Erc1155TokenRole).openapi({
@@ -16,7 +17,7 @@ export const RenounceRoleErc1155RequestSchema = z.object({
16
17
  const renounceRoleRoute = describeRoute({
17
18
  summary: "Renounce Role on ERC1155",
18
19
  description: "Returns transaction data for renouncing a role on the ERC1155 token contract",
19
- tags: ["Issuance"],
20
+ tags: [erc1155Tag.tag],
20
21
  responses: {
21
22
  200: {
22
23
  description: "Returns transaction data for renouncing a role",
@@ -1 +1 @@
1
- {"version":3,"file":"revokeRole.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/revokeRole.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAiC,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAE5G,eAAO,MAAM,8BAA8B;;;;iBAOzC,CAAC;AAkBH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;aAc5B,CAAC"}
1
+ {"version":3,"file":"revokeRole.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/revokeRole.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAiC,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAG5G,eAAO,MAAM,8BAA8B;;;;iBAOzC,CAAC;AAkBH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;aAc5B,CAAC"}
@@ -5,6 +5,7 @@ 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
7
  import { convertErc1155TokenRoleToHash, Erc1155TokenRole } from "../../common/roles/erc1155-token-roles.js";
8
+ import { erc1155Tag } from "./tag.js";
8
9
  export const RevokeRoleErc1155RequestSchema = z.object({
9
10
  tokenAddress: AddressSchema,
10
11
  role: z.nativeEnum(Erc1155TokenRole).openapi({
@@ -16,7 +17,7 @@ export const RevokeRoleErc1155RequestSchema = z.object({
16
17
  const revokeRoleRoute = describeRoute({
17
18
  summary: "Revoke Role on ERC1155",
18
19
  description: "Returns transaction data for revoking a role on the ERC1155 token contract",
19
- tags: ["Issuance"],
20
+ tags: [erc1155Tag.tag],
20
21
  responses: {
21
22
  200: {
22
23
  description: "Returns transaction data for revoking a role",
@@ -1 +1 @@
1
- {"version":3,"file":"setApprovalForAll.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/setApprovalForAll.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,qCAAqC;;;;iBAIhD,CAAC;AAkBH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;aAgBnC,CAAC"}
1
+ {"version":3,"file":"setApprovalForAll.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/setApprovalForAll.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,qCAAqC;;;;iBAIhD,CAAC;AAkBH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;aAgBnC,CAAC"}
@@ -4,6 +4,7 @@ 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 { erc1155Tag } from "./tag.js";
7
8
  export const SetApprovalForAllErc1155RequestSchema = z.object({
8
9
  tokenAddress: AddressSchema,
9
10
  operator: AddressSchema.openapi({ description: "Address to grant/revoke approval for all tokens" }),
@@ -12,7 +13,7 @@ export const SetApprovalForAllErc1155RequestSchema = z.object({
12
13
  const setApprovalForAllRoute = describeRoute({
13
14
  summary: "Set Approval For All ERC1155",
14
15
  description: "Returns transaction data for granting or revoking approval for all ERC1155 tokens",
15
- tags: ["Issuance"],
16
+ tags: [erc1155Tag.tag],
16
17
  responses: {
17
18
  200: {
18
19
  description: "Returns transaction data for setting approval for all tokens",
@@ -1 +1 @@
1
- {"version":3,"file":"setBaseURI.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/setBaseURI.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,8BAA8B;;;iBAGzC,CAAC;AAkBH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;aAc5B,CAAC"}
1
+ {"version":3,"file":"setBaseURI.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/setBaseURI.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,8BAA8B;;;iBAGzC,CAAC;AAkBH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;aAc5B,CAAC"}
@@ -4,6 +4,7 @@ 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 { erc1155Tag } from "./tag.js";
7
8
  export const SetBaseURIErc1155RequestSchema = z.object({
8
9
  tokenAddress: AddressSchema,
9
10
  baseURI: z.string().nonempty().openapi({ description: "New base URI for token metadata" }),
@@ -11,7 +12,7 @@ export const SetBaseURIErc1155RequestSchema = z.object({
11
12
  const setBaseURIRoute = describeRoute({
12
13
  summary: "Set Base URI for ERC1155",
13
14
  description: "Returns transaction data for setting the base URI for ERC1155 metadata (DEFAULT_ADMIN_ROLE gated)",
14
- tags: ["Issuance"],
15
+ tags: [erc1155Tag.tag],
15
16
  responses: {
16
17
  200: {
17
18
  description: "Returns transaction data for setting base URI",
@@ -1 +1 @@
1
- {"version":3,"file":"setTokenURI.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/setTokenURI.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,+BAA+B;;;;iBAI1C,CAAC;AAmBH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;aAc7B,CAAC"}
1
+ {"version":3,"file":"setTokenURI.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/setTokenURI.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,+BAA+B;;;;iBAI1C,CAAC;AAmBH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;aAc7B,CAAC"}
@@ -5,6 +5,7 @@ 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
7
  import { Int256BigInt } from "../../common/int256.js";
8
+ import { erc1155Tag } from "./tag.js";
8
9
  export const SetTokenURIErc1155RequestSchema = z.object({
9
10
  tokenAddress: AddressSchema,
10
11
  id: Int256BigInt(z.bigint().nonnegative()),
@@ -13,7 +14,7 @@ export const SetTokenURIErc1155RequestSchema = z.object({
13
14
  const setTokenURIRoute = describeRoute({
14
15
  summary: "Set Token URI for ERC1155",
15
16
  description: "Returns transaction data for setting the URI for a specific ERC1155 token ID (DEFAULT_ADMIN_ROLE required)",
16
- tags: ["Issuance"],
17
+ tags: [erc1155Tag.tag],
17
18
  responses: {
18
19
  200: {
19
20
  description: "Returns transaction data for setting token URI",
@@ -0,0 +1,4 @@
1
+ export declare const erc1155Tag: {
2
+ tag: "ERC1155";
3
+ };
4
+ //# sourceMappingURL=tag.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc1155/tag.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;CAAuB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { createTag } from "../../common/tag.js";
2
+ export const erc1155Tag = createTag("ERC1155");
@@ -1 +1 @@
1
- {"version":3,"file":"approve.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/approve.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,yBAAyB;;;;iBAIpC,CAAC;AAkBH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;aAc5B,CAAC"}
1
+ {"version":3,"file":"approve.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/approve.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,yBAAyB;;;;iBAIpC,CAAC;AAkBH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;aAc5B,CAAC"}
@@ -5,6 +5,7 @@ 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
7
  import { Int256BigInt } from "../../common/int256.js";
8
+ import { erc20Tag } from "./tag.js";
8
9
  export const ApproveErc20RequestSchema = z.object({
9
10
  tokenAddress: AddressSchema,
10
11
  spender: AddressSchema,
@@ -13,7 +14,7 @@ export const ApproveErc20RequestSchema = z.object({
13
14
  const approveRoute = describeRoute({
14
15
  summary: "Approve Gated ERC20",
15
16
  description: "Returns transaction data for approving spender to use a gated ERC20",
16
- tags: ["Issuance"],
17
+ tags: [erc20Tag.tag],
17
18
  responses: {
18
19
  200: {
19
20
  description: "Returns transaction data for approving a gated ERC20",
@@ -1 +1 @@
1
- {"version":3,"file":"burn.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/burn.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,sBAAsB;;;;iBAIjC,CAAC;AAkBH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;aAczB,CAAC"}
1
+ {"version":3,"file":"burn.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/burn.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,sBAAsB;;;;iBAIjC,CAAC;AAkBH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;aAczB,CAAC"}
@@ -5,6 +5,7 @@ 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
7
  import { Int256BigInt } from "../../common/int256.js";
8
+ import { erc20Tag } from "./tag.js";
8
9
  export const BurnErc20RequestSchema = z.object({
9
10
  tokenAddress: AddressSchema,
10
11
  amount: Int256BigInt(z.bigint().nonnegative()),
@@ -13,7 +14,7 @@ export const BurnErc20RequestSchema = z.object({
13
14
  const burnRoute = describeRoute({
14
15
  summary: "Burn Gated ERC20",
15
16
  description: "Returns transaction data for burning a gated ERC20",
16
- tags: ["Issuance"],
17
+ tags: [erc20Tag.tag],
17
18
  responses: {
18
19
  200: {
19
20
  description: "Returns transaction data for burning a gated ERC20",
@@ -1 +1 @@
1
- {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/default/deploy.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,wBAAwB;;;;;;;iBAOnC,CAAC;AA6BH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;aAe3B,CAAC"}
1
+ {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/default/deploy.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,wBAAwB;;;;;;;iBAOnC,CAAC;AA6BH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;aAe3B,CAAC"}
@@ -6,6 +6,7 @@ import { createController } from "../../../common/controller.js";
6
6
  import { AddressSchema, toTransaction, TransactionSchema } from "../../../common/index.js";
7
7
  import { Int256BigInt } from "../../../common/int256.js";
8
8
  import { FactoryChainId, getFactories } from "../../common/factories.js";
9
+ import { erc20Tag } from "../tag.js";
9
10
  export const DeployErc20RequestSchema = z.object({
10
11
  chainId: FactoryChainId.Schema,
11
12
  tokenName: z.string().nonempty().openapi({ description: "Name of the ERC20 token" }),
@@ -28,7 +29,7 @@ The deployed token supports:
28
29
  - burnFrom(account, amount) - Burn from account (with allowance)
29
30
  - pause() / unpause() - Pause/unpause transfers (PAUSER_ROLE gated)
30
31
  - recover(token, to, amount) - Recover tokens (RECOVER_ROLE gated)`,
31
- tags: ["Issuance"],
32
+ tags: [erc20Tag.tag],
32
33
  responses: {
33
34
  200: {
34
35
  description: "Returns transaction data for deploying an ERC20 token via factory",
@@ -1 +1 @@
1
- {"version":3,"file":"initialize.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/default/initialize.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,mCAAmC;;;;;;;iBAO9C,CAAC;AAkBH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;aAgBjC,CAAC"}
1
+ {"version":3,"file":"initialize.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/default/initialize.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,mCAAmC;;;;;;;iBAO9C,CAAC;AAkBH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;aAgBjC,CAAC"}
@@ -5,6 +5,7 @@ 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
7
  import { Int256BigInt } from "../../../common/int256.js";
8
+ import { erc20Tag } from "../tag.js";
8
9
  export const InitializeDefaultErc20RequestSchema = z.object({
9
10
  tokenAddress: AddressSchema,
10
11
  name: z.string().nonempty().openapi({ description: "Name of the ERC20 token" }),
@@ -16,7 +17,7 @@ export const InitializeDefaultErc20RequestSchema = z.object({
16
17
  const initializeRoute = describeRoute({
17
18
  summary: "Initialize ERC20",
18
19
  description: "Returns transaction data for initializing an ERC20 token proxy contract",
19
- tags: ["Issuance"],
20
+ tags: [erc20Tag.tag],
20
21
  responses: {
21
22
  200: {
22
23
  description: "Returns transaction data for initializing an ERC20",
@@ -1 +1 @@
1
- {"version":3,"file":"parseDeployEvent.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/default/parseDeployEvent.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;aAoDvC,CAAC"}
1
+ {"version":3,"file":"parseDeployEvent.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/default/parseDeployEvent.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;aAoDvC,CAAC"}
@@ -10,6 +10,7 @@ import { createController } from "../../../common/controller.js";
10
10
  import { HttpError } from "../../../common/http-error.js";
11
11
  import { AddressSchema, HashSchema } from "../../../common/index.js";
12
12
  import { FactoryChainIdQuery } from "../../common/factories.js";
13
+ import { erc20Tag } from "../tag.js";
13
14
  const QuerySchema = z.object({
14
15
  chainId: FactoryChainIdQuery.openapi({
15
16
  param: {
@@ -28,7 +29,7 @@ export const ParseDefaultErc20DeployEvent = createController({
28
29
  build: (factory) => factory.createApp().get("/", describeRoute({
29
30
  summary: "Get ERC20 TokenProxyConfigured Event",
30
31
  description: `Gets the transaction by hash and parses emitted logs.\n\nProvided transaction must be a transaction emitted by the ERC20 factory \`deployAndInitializeProxy\` action`,
31
- tags: ["Issuance"],
32
+ tags: [erc20Tag.tag],
32
33
  responses: {
33
34
  200: {
34
35
  description: "Returns parsed event log",
@@ -1 +1 @@
1
- {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gated/deploy.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,6BAA6B;;;;;;;;iBAUxC,CAAC;AAsBH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAyBhC,CAAC"}
1
+ {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gated/deploy.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,6BAA6B;;;;;;;;iBAUxC,CAAC;AAsBH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAyBhC,CAAC"}
@@ -7,6 +7,7 @@ import { AddressSchema, toTransaction, TransactionSchema } from "../../../common
7
7
  import { Int256BigInt } from "../../../common/int256.js";
8
8
  import { DEFAULT_COMPILOT_SIGNER } from "../../../common/models/compilot.js";
9
9
  import { FactoryChainId, getFactories } from "../../common/factories.js";
10
+ import { erc20Tag } from "../tag.js";
10
11
  export const DeployGatedErc20RequestSchema = z.object({
11
12
  chainId: FactoryChainId.Schema,
12
13
  tokenName: z.string().nonempty().openapi({ description: "Name of the ERC20 token" }),
@@ -25,7 +26,7 @@ const deployGatedErc20Route = describeRoute({
25
26
  **Note: This contract is not audited.**
26
27
 
27
28
  Calls deployAndInitializeProxy on the ERC20GatedPausableRecoverableFactory to atomically deploy and initialize a new token proxy.`,
28
- tags: ["Issuance"],
29
+ tags: [erc20Tag.tag],
29
30
  responses: {
30
31
  200: {
31
32
  description: "Returns transaction data for deploying a gated ERC20 token via factory",
@@ -1 +1 @@
1
- {"version":3,"file":"initialize.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gated/initialize.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,iCAAiC;;;;;;;;iBAU5C,CAAC;AAkBH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAc/B,CAAC"}
1
+ {"version":3,"file":"initialize.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gated/initialize.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,iCAAiC;;;;;;;;iBAU5C,CAAC;AAkBH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAc/B,CAAC"}
@@ -6,6 +6,7 @@ import { createController } from "../../../common/controller.js";
6
6
  import { AddressSchema, toTransaction, TransactionSchema } from "../../../common/index.js";
7
7
  import { Int256BigInt } from "../../../common/int256.js";
8
8
  import { DEFAULT_COMPILOT_SIGNER } from "../../../common/models/compilot.js";
9
+ import { erc20Tag } from "../tag.js";
9
10
  export const InitializeGatedErc20RequestSchema = z.object({
10
11
  tokenAddress: AddressSchema,
11
12
  name: z.string().nonempty().openapi({ description: "Name of the ERC20 token" }),
@@ -20,7 +21,7 @@ export const InitializeGatedErc20RequestSchema = z.object({
20
21
  const initializeRoute = describeRoute({
21
22
  summary: "Initialize Gated ERC20",
22
23
  description: "Returns transaction data for initializing a gated ERC20 token proxy contract",
23
- tags: ["Issuance"],
24
+ tags: [erc20Tag.tag],
24
25
  responses: {
25
26
  200: {
26
27
  description: "Returns transaction data for initializing a gated ERC20",
@@ -1 +1 @@
1
- {"version":3,"file":"parseDeployEvent.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gated/parseDeployEvent.ts"],"names":[],"mappings":"AA4BA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;aAoDrC,CAAC"}
1
+ {"version":3,"file":"parseDeployEvent.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gated/parseDeployEvent.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;aAoDrC,CAAC"}
@@ -10,6 +10,7 @@ import { createController } from "../../../common/controller.js";
10
10
  import { HttpError } from "../../../common/http-error.js";
11
11
  import { AddressSchema, HashSchema } from "../../../common/index.js";
12
12
  import { FactoryChainIdQuery } from "../../common/factories.js";
13
+ import { erc20Tag } from "../tag.js";
13
14
  const QuerySchema = z.object({
14
15
  chainId: FactoryChainIdQuery.openapi({
15
16
  param: {
@@ -28,7 +29,7 @@ export const ParseGatedErc20DeployEvent = createController({
28
29
  build: (factory) => factory.createApp().get("/", describeRoute({
29
30
  summary: "Get Gated ERC20 TokenProxyConfigured Event",
30
31
  description: `Gets the transaction by hash and parses emitted logs.\n\nProvided transaction must be a transaction emitted by the Gated ERC20 factory \`deployAndInitializeProxy\` action`,
31
- tags: ["Issuance"],
32
+ tags: [erc20Tag.tag],
32
33
  responses: {
33
34
  200: {
34
35
  description: "Returns parsed event log",
@@ -1 +1 @@
1
- {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gatedSimple/deploy.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;aAQtC,CAAC"}
1
+ {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gatedSimple/deploy.ts"],"names":[],"mappings":"AAwBA,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;aAQtC,CAAC"}
@@ -3,10 +3,11 @@ import { resolver } from "hono-openapi";
3
3
  import { erc20GatedAbi, erc20GatedBytecode } from "@evergonlabs/tmi-protocol-contracts/erc20Gated";
4
4
  import { createController } from "../../../common/controller.js";
5
5
  import { DeployTransactionSchema } from "../../../common/index.js";
6
+ import { erc20Tag } from "../tag.js";
6
7
  const deployGatedSimpleRoute = describeRoute({
7
8
  summary: "Get Gated ERC20",
8
9
  description: "Returns transaction data for deploying a gated ERC20. This is an audited contract.",
9
- tags: ["Issuance"],
10
+ tags: [erc20Tag.tag],
10
11
  responses: {
11
12
  200: {
12
13
  description: "Returns transaction data for deploying a gated ERC20",
@@ -1 +1 @@
1
- {"version":3,"file":"getInitData.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gatedSimple/getInitData.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,qBAAqB;;iBAIC,CAAC;AAEpC,eAAO,MAAM,mBAAmB;;;;;;iBAQC,CAAC;AAkBlC,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;aAc3B,CAAC"}
1
+ {"version":3,"file":"getInitData.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gatedSimple/getInitData.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAQxB,eAAO,MAAM,qBAAqB;;iBAIC,CAAC;AAEpC,eAAO,MAAM,mBAAmB;;;;;;iBAQC,CAAC;AAkBlC,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;aAc3B,CAAC"}
@@ -7,6 +7,7 @@ import { createController } from "../../../common/controller.js";
7
7
  import { AddressSchema, HexStringSchema } from "../../../common/index.js";
8
8
  import { Int256BigInt } from "../../../common/int256.js";
9
9
  import { DEFAULT_COMPILOT_SIGNER } from "../../../common/models/compilot.js";
10
+ import { erc20Tag } from "../tag.js";
10
11
  export const Erc20InitDataResponse = z
11
12
  .object({
12
13
  data: HexStringSchema.openapi("Init function call data in hex format"),
@@ -24,7 +25,7 @@ export const Erc20InitDataParams = z
24
25
  const getErc20InitDataRoute = describeRoute({
25
26
  summary: "Get ERC20 Init Data",
26
27
  description: `Returns init function call data in hex format. This is useful for using as initData in TransparentUpgradeableProxy`,
27
- tags: ["Issuance"],
28
+ tags: [erc20Tag.tag],
28
29
  responses: {
29
30
  200: {
30
31
  description: "Init function call data in hex format",
@@ -1 +1 @@
1
- {"version":3,"file":"parseDeployEvent.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gatedSimple/parseDeployEvent.ts"],"names":[],"mappings":"AAyBA,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;aAuC3C,CAAC"}
1
+ {"version":3,"file":"parseDeployEvent.d.ts","sourceRoot":"","sources":["../../../../src/issuance/erc20/gatedSimple/parseDeployEvent.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;aAuC3C,CAAC"}
@@ -7,6 +7,7 @@ import { createController } from "../../../common/controller.js";
7
7
  import { HttpError } from "../../../common/http-error.js";
8
8
  import { AddressSchema, HashSchema } from "../../../common/index.js";
9
9
  import { FactoryChainIdQuery } from "../../common/factories.js";
10
+ import { erc20Tag } from "../tag.js";
10
11
  const QuerySchema = z.object({
11
12
  chainId: FactoryChainIdQuery.openapi({
12
13
  param: {
@@ -27,7 +28,7 @@ export const ParseGatedSimpleErc20DeployEvent = createController({
27
28
  description: `Gets the contract deployment transaction by hash and extracts the deployed contract address from the receipt.
28
29
 
29
30
  Provided transaction must be a contract creation transaction for the gated simple ERC20 token.`,
30
- tags: ["Issuance"],
31
+ tags: [erc20Tag.tag],
31
32
  responses: {
32
33
  200: {
33
34
  description: "Returns the deployed contract address",
@@ -1 +1 @@
1
- {"version":3,"file":"grantRole.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/grantRole.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAqB,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAE5F,eAAO,MAAM,2BAA2B;;;;iBAOtC,CAAC;AAkBH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;aAczB,CAAC"}
1
+ {"version":3,"file":"grantRole.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/grantRole.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAqB,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAG5F,eAAO,MAAM,2BAA2B;;;;iBAOtC,CAAC;AAkBH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;aAczB,CAAC"}
@@ -5,6 +5,7 @@ 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
7
  import { convertRoleToHash, Erc20GatedRole } from "../../common/roles/erc20-gated-roles.js";
8
+ import { erc20Tag } from "./tag.js";
8
9
  export const GrantRoleErc20RequestSchema = z.object({
9
10
  tokenAddress: AddressSchema,
10
11
  role: z.nativeEnum(Erc20GatedRole).openapi({
@@ -16,7 +17,7 @@ export const GrantRoleErc20RequestSchema = z.object({
16
17
  const grantRoleRoute = describeRoute({
17
18
  summary: "Grant Role on Gated ERC20",
18
19
  description: "Returns transaction data for granting a role on a gated ERC20 token contract",
19
- tags: ["Issuance"],
20
+ tags: [erc20Tag.tag],
20
21
  responses: {
21
22
  200: {
22
23
  description: "Returns transaction data for granting a role",
@@ -1 +1 @@
1
- {"version":3,"file":"mint.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/mint.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,sBAAsB;;;;iBAIjC,CAAC;AAkBH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;aAczB,CAAC"}
1
+ {"version":3,"file":"mint.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/mint.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,sBAAsB;;;;iBAIjC,CAAC;AAkBH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;aAczB,CAAC"}
@@ -5,6 +5,7 @@ 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
7
  import { Int256BigInt } from "../../common/int256.js";
8
+ import { erc20Tag } from "./tag.js";
8
9
  export const MintErc20RequestSchema = z.object({
9
10
  tokenAddress: AddressSchema,
10
11
  to: AddressSchema.openapi({ description: "Address to mint tokens to" }),
@@ -13,7 +14,7 @@ export const MintErc20RequestSchema = z.object({
13
14
  const mintRoute = describeRoute({
14
15
  summary: "Mint Gated ERC20",
15
16
  description: "Returns transaction data for minting a gated ERC20 (MINTER_ROLE required)",
16
- tags: ["Issuance"],
17
+ tags: [erc20Tag.tag],
17
18
  responses: {
18
19
  200: {
19
20
  description: "Returns transaction data for minting a gated ERC20",
@@ -1 +1 @@
1
- {"version":3,"file":"recover.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/recover.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,yBAAyB;;;;;iBAKpC,CAAC;AAmBH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;aAcvB,CAAC"}
1
+ {"version":3,"file":"recover.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/recover.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,yBAAyB;;;;;iBAKpC,CAAC;AAmBH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;aAcvB,CAAC"}
@@ -5,6 +5,7 @@ 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
7
  import { Int256BigInt } from "../../common/int256.js";
8
+ import { erc20Tag } from "./tag.js";
8
9
  export const RecoverErc20RequestSchema = z.object({
9
10
  tokenAddress: AddressSchema,
10
11
  from: AddressSchema.openapi({ description: "Address to recover tokens from" }),
@@ -14,7 +15,7 @@ export const RecoverErc20RequestSchema = z.object({
14
15
  const recoverRoute = describeRoute({
15
16
  summary: "Recover Gated ERC20",
16
17
  description: "Returns transaction data for recovering a gated ERC20 token from one address to another (RECOVER_ROLE required)",
17
- tags: ["Issuance"],
18
+ tags: [erc20Tag.tag],
18
19
  responses: {
19
20
  200: {
20
21
  description: "Returns transaction data for recovering a gated ERC20",
@@ -1 +1 @@
1
- {"version":3,"file":"renounceRole.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/renounceRole.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAqB,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAE5F,eAAO,MAAM,8BAA8B;;;;iBAOzC,CAAC;AAkBH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;aAc5B,CAAC"}
1
+ {"version":3,"file":"renounceRole.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/renounceRole.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAqB,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAG5F,eAAO,MAAM,8BAA8B;;;;iBAOzC,CAAC;AAkBH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;aAc5B,CAAC"}
@@ -5,6 +5,7 @@ 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
7
  import { convertRoleToHash, Erc20GatedRole } from "../../common/roles/erc20-gated-roles.js";
8
+ import { erc20Tag } from "./tag.js";
8
9
  export const RenounceRoleErc20RequestSchema = z.object({
9
10
  tokenAddress: AddressSchema,
10
11
  role: z.nativeEnum(Erc20GatedRole).openapi({
@@ -16,7 +17,7 @@ export const RenounceRoleErc20RequestSchema = z.object({
16
17
  const renounceRoleRoute = describeRoute({
17
18
  summary: "Renounce Role on Gated ERC20",
18
19
  description: "Returns transaction data for renouncing a role on a gated ERC20 token contract",
19
- tags: ["Issuance"],
20
+ tags: [erc20Tag.tag],
20
21
  responses: {
21
22
  200: {
22
23
  description: "Returns transaction data for renouncing a role",
@@ -1 +1 @@
1
- {"version":3,"file":"revokeRole.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/revokeRole.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAqB,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAE5F,eAAO,MAAM,4BAA4B;;;;iBAOvC,CAAC;AAkBH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;aAc1B,CAAC"}
1
+ {"version":3,"file":"revokeRole.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/revokeRole.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAqB,cAAc,EAAE,MAAM,yCAAyC,CAAC;AAG5F,eAAO,MAAM,4BAA4B;;;;iBAOvC,CAAC;AAkBH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;aAc1B,CAAC"}
@@ -5,6 +5,7 @@ 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
7
  import { convertRoleToHash, Erc20GatedRole } from "../../common/roles/erc20-gated-roles.js";
8
+ import { erc20Tag } from "./tag.js";
8
9
  export const RevokeRoleErc20RequestSchema = z.object({
9
10
  tokenAddress: AddressSchema,
10
11
  role: z.nativeEnum(Erc20GatedRole).openapi({
@@ -16,7 +17,7 @@ export const RevokeRoleErc20RequestSchema = z.object({
16
17
  const revokeRoleRoute = describeRoute({
17
18
  summary: "Revoke Role on Gated ERC20",
18
19
  description: "Returns transaction data for revoking a role on a gated ERC20 token contract",
19
- tags: ["Issuance"],
20
+ tags: [erc20Tag.tag],
20
21
  responses: {
21
22
  200: {
22
23
  description: "Returns transaction data for revoking a role",
@@ -0,0 +1,4 @@
1
+ export declare const erc20Tag: {
2
+ tag: "ERC20";
3
+ };
4
+ //# sourceMappingURL=tag.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc20/tag.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;CAAqB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { createTag } from "../../common/tag.js";
2
+ export const erc20Tag = createTag("ERC20");