@evergonlabs/tmi-protocol-api 0.10.0-rc.0 → 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 (189) hide show
  1. package/dist/app.d.ts +430 -72
  2. package/dist/app.d.ts.map +1 -1
  3. package/dist/client.d.ts +465 -77
  4. package/dist/client.d.ts.map +1 -1
  5. package/dist/common/roles/erc1155-token-roles.d.ts +8 -0
  6. package/dist/common/roles/erc1155-token-roles.d.ts.map +1 -0
  7. package/dist/common/roles/erc1155-token-roles.js +13 -0
  8. package/dist/common/roles/exports.d.ts +1 -0
  9. package/dist/common/roles/exports.d.ts.map +1 -1
  10. package/dist/common/roles/exports.js +1 -0
  11. package/dist/fractions/index.d.ts +71 -71
  12. package/dist/fractions/index.d.ts.map +1 -1
  13. package/dist/fractions/index.js +0 -2
  14. package/dist/fractions/platforms/deployMarket.routes.js +4 -4
  15. package/dist/fractions/platforms/initCompilot.routes.js +1 -1
  16. package/dist/fractions/platforms/initNid.route.js +1 -1
  17. package/dist/fractions/sales/approveSale.route.js +1 -1
  18. package/dist/fractions/sales/approveWrapper.route.d.ts +88 -0
  19. package/dist/fractions/sales/approveWrapper.route.d.ts.map +1 -0
  20. package/dist/fractions/sales/approveWrapper.route.js +92 -0
  21. package/dist/fractions/sales/completeSale.route.js +1 -1
  22. package/dist/fractions/sales/createFractions.route.js +1 -1
  23. package/dist/fractions/sales/getFractionSaleStatistics.route.js +1 -1
  24. package/dist/fractions/sales/getVaultAddress.js +1 -1
  25. package/dist/fractions/sales/getWithdrawEvent.js +1 -1
  26. package/dist/fractions/sales/index.d.ts +71 -1
  27. package/dist/fractions/sales/index.d.ts.map +1 -1
  28. package/dist/fractions/sales/index.js +5 -1
  29. package/dist/fractions/sales/parseFractionsCreatedEvent.js +1 -1
  30. package/dist/fractions/sales/purchase.route.js +1 -1
  31. package/dist/fractions/sales/purchaseStatistics.route.js +1 -1
  32. package/dist/fractions/sales/receiveFundsAfterNonFunded.route.js +2 -2
  33. package/dist/fractions/sales/receiveNonPurchasedWrappedAssets.route.js +1 -1
  34. package/dist/fractions/sales/recoverFractions.js +1 -1
  35. package/dist/fractions/sales/rejectFractions.js +1 -1
  36. package/dist/fractions/sales/searchActivity.route.js +1 -1
  37. package/dist/fractions/sales/searchSales/searchSales.js +1 -1
  38. package/dist/fractions/sales/searchWithdrawal.route.js +1 -1
  39. package/dist/fractions/sales/setFeeCapLimit.js +1 -1
  40. package/dist/fractions/sales/unlockWrappedAssets.route.js +1 -1
  41. package/dist/fractions/sales/vesting/claimStatistics.route.js +1 -1
  42. package/dist/fractions/sales/vesting/claimVestedTokens.route.js +1 -1
  43. package/dist/fractions/sales/vesting/editCliff.route.js +1 -1
  44. package/dist/fractions/sales/vesting/parseClaimVestedTokensEvent.js +1 -1
  45. package/dist/fractions/sales/withdraw.route.js +1 -1
  46. package/dist/fractions/statistics/networkStatistics.route.js +4 -4
  47. package/dist/issuance/common/factories.base.d.ts +12 -12
  48. package/dist/issuance/erc1155/burn.d.ts +34 -0
  49. package/dist/issuance/erc1155/burn.d.ts.map +1 -0
  50. package/dist/issuance/erc1155/burn.js +40 -0
  51. package/dist/issuance/erc1155/default/deploy.d.ts +34 -0
  52. package/dist/issuance/erc1155/default/deploy.d.ts.map +1 -0
  53. package/dist/issuance/erc1155/default/deploy.js +54 -0
  54. package/dist/issuance/erc1155/default/initialize.d.ts +34 -0
  55. package/dist/issuance/erc1155/default/initialize.d.ts.map +1 -0
  56. package/dist/issuance/erc1155/default/initialize.js +39 -0
  57. package/dist/issuance/erc1155/default/parseDeployEvent.d.ts +21 -0
  58. package/dist/issuance/erc1155/default/parseDeployEvent.d.ts.map +1 -0
  59. package/dist/issuance/erc1155/default/parseDeployEvent.js +75 -0
  60. package/dist/issuance/erc1155/gated/deploy.d.ts +36 -0
  61. package/dist/issuance/erc1155/gated/deploy.d.ts.map +1 -0
  62. package/dist/issuance/erc1155/gated/deploy.js +62 -0
  63. package/dist/issuance/erc1155/gated/initialize.d.ts +36 -0
  64. package/dist/issuance/erc1155/gated/initialize.d.ts.map +1 -0
  65. package/dist/issuance/erc1155/gated/initialize.js +45 -0
  66. package/dist/issuance/erc1155/gated/parseDeployEvent.d.ts +21 -0
  67. package/dist/issuance/erc1155/gated/parseDeployEvent.d.ts.map +1 -0
  68. package/dist/issuance/erc1155/gated/parseDeployEvent.js +75 -0
  69. package/dist/issuance/erc1155/grantRole.d.ts +33 -0
  70. package/dist/issuance/erc1155/grantRole.d.ts.map +1 -0
  71. package/dist/issuance/erc1155/grantRole.js +42 -0
  72. package/dist/issuance/erc1155/index.d.ts +361 -0
  73. package/dist/issuance/erc1155/index.d.ts.map +1 -0
  74. package/dist/issuance/erc1155/index.js +38 -0
  75. package/dist/issuance/erc1155/mint.d.ts +34 -0
  76. package/dist/issuance/erc1155/mint.d.ts.map +1 -0
  77. package/dist/issuance/erc1155/mint.js +40 -0
  78. package/dist/issuance/erc1155/recover.d.ts +36 -0
  79. package/dist/issuance/erc1155/recover.d.ts.map +1 -0
  80. package/dist/issuance/erc1155/recover.js +41 -0
  81. package/dist/issuance/erc1155/renounceRole.d.ts +33 -0
  82. package/dist/issuance/erc1155/renounceRole.d.ts.map +1 -0
  83. package/dist/issuance/erc1155/renounceRole.js +42 -0
  84. package/dist/issuance/erc1155/revokeRole.d.ts +33 -0
  85. package/dist/issuance/erc1155/revokeRole.d.ts.map +1 -0
  86. package/dist/issuance/erc1155/revokeRole.js +42 -0
  87. package/dist/issuance/erc1155/setApprovalForAll.d.ts +32 -0
  88. package/dist/issuance/erc1155/setApprovalForAll.d.ts.map +1 -0
  89. package/dist/issuance/erc1155/setApprovalForAll.js +40 -0
  90. package/dist/issuance/erc1155/setBaseURI.d.ts +30 -0
  91. package/dist/issuance/erc1155/setBaseURI.d.ts.map +1 -0
  92. package/dist/issuance/erc1155/setBaseURI.js +37 -0
  93. package/dist/issuance/erc1155/setTokenURI.d.ts +32 -0
  94. package/dist/issuance/erc1155/setTokenURI.d.ts.map +1 -0
  95. package/dist/issuance/erc1155/setTokenURI.js +39 -0
  96. package/dist/issuance/erc1155/tag.d.ts +4 -0
  97. package/dist/issuance/erc1155/tag.d.ts.map +1 -0
  98. package/dist/issuance/erc1155/tag.js +2 -0
  99. package/dist/issuance/erc20/approve.d.ts.map +1 -1
  100. package/dist/issuance/erc20/approve.js +2 -1
  101. package/dist/issuance/erc20/burn.d.ts.map +1 -1
  102. package/dist/issuance/erc20/burn.js +2 -1
  103. package/dist/issuance/erc20/default/deploy.d.ts.map +1 -1
  104. package/dist/issuance/erc20/default/deploy.js +2 -1
  105. package/dist/issuance/erc20/default/initialize.d.ts.map +1 -1
  106. package/dist/issuance/erc20/default/initialize.js +2 -1
  107. package/dist/issuance/erc20/default/parseDeployEvent.d.ts.map +1 -1
  108. package/dist/issuance/erc20/default/parseDeployEvent.js +2 -1
  109. package/dist/issuance/erc20/gated/deploy.d.ts.map +1 -1
  110. package/dist/issuance/erc20/gated/deploy.js +2 -1
  111. package/dist/issuance/erc20/gated/initialize.d.ts.map +1 -1
  112. package/dist/issuance/erc20/gated/initialize.js +2 -1
  113. package/dist/issuance/erc20/gated/parseDeployEvent.d.ts.map +1 -1
  114. package/dist/issuance/erc20/gated/parseDeployEvent.js +2 -1
  115. package/dist/issuance/erc20/gatedSimple/deploy.d.ts.map +1 -1
  116. package/dist/issuance/erc20/gatedSimple/deploy.js +2 -1
  117. package/dist/issuance/erc20/gatedSimple/getInitData.d.ts.map +1 -1
  118. package/dist/issuance/erc20/gatedSimple/getInitData.js +2 -1
  119. package/dist/issuance/erc20/gatedSimple/parseDeployEvent.d.ts.map +1 -1
  120. package/dist/issuance/erc20/gatedSimple/parseDeployEvent.js +2 -1
  121. package/dist/issuance/erc20/grantRole.d.ts.map +1 -1
  122. package/dist/issuance/erc20/grantRole.js +2 -1
  123. package/dist/issuance/erc20/mint.d.ts.map +1 -1
  124. package/dist/issuance/erc20/mint.js +2 -1
  125. package/dist/issuance/erc20/recover.d.ts.map +1 -1
  126. package/dist/issuance/erc20/recover.js +2 -1
  127. package/dist/issuance/erc20/renounceRole.d.ts.map +1 -1
  128. package/dist/issuance/erc20/renounceRole.js +2 -1
  129. package/dist/issuance/erc20/revokeRole.d.ts.map +1 -1
  130. package/dist/issuance/erc20/revokeRole.js +2 -1
  131. package/dist/issuance/erc20/tag.d.ts +4 -0
  132. package/dist/issuance/erc20/tag.d.ts.map +1 -0
  133. package/dist/issuance/erc20/tag.js +2 -0
  134. package/dist/issuance/erc20/transfer.d.ts.map +1 -1
  135. package/dist/issuance/erc20/transfer.js +2 -1
  136. package/dist/issuance/erc20/transferFrom.d.ts.map +1 -1
  137. package/dist/issuance/erc20/transferFrom.js +2 -1
  138. package/dist/issuance/erc721/approve.d.ts.map +1 -1
  139. package/dist/issuance/erc721/approve.js +3 -2
  140. package/dist/issuance/erc721/burn.d.ts.map +1 -1
  141. package/dist/issuance/erc721/burn.js +3 -2
  142. package/dist/issuance/erc721/default/deploy.d.ts.map +1 -1
  143. package/dist/issuance/erc721/default/deploy.js +6 -5
  144. package/dist/issuance/erc721/default/initialize.d.ts.map +1 -1
  145. package/dist/issuance/erc721/default/initialize.js +3 -2
  146. package/dist/issuance/erc721/default/parseDeployEvent.d.ts.map +1 -1
  147. package/dist/issuance/erc721/default/parseDeployEvent.js +3 -2
  148. package/dist/issuance/erc721/gated/deploy.d.ts.map +1 -1
  149. package/dist/issuance/erc721/gated/deploy.js +6 -5
  150. package/dist/issuance/erc721/gated/initialize.d.ts.map +1 -1
  151. package/dist/issuance/erc721/gated/initialize.js +3 -2
  152. package/dist/issuance/erc721/gated/parseDeployEvent.d.ts.map +1 -1
  153. package/dist/issuance/erc721/gated/parseDeployEvent.js +3 -2
  154. package/dist/issuance/erc721/grantRole.d.ts.map +1 -1
  155. package/dist/issuance/erc721/grantRole.js +3 -2
  156. package/dist/issuance/erc721/index.d.ts +0 -1
  157. package/dist/issuance/erc721/index.d.ts.map +1 -1
  158. package/dist/issuance/erc721/mint.d.ts +0 -2
  159. package/dist/issuance/erc721/mint.d.ts.map +1 -1
  160. package/dist/issuance/erc721/mint.js +6 -7
  161. package/dist/issuance/erc721/nextTokenId.d.ts +19 -0
  162. package/dist/issuance/erc721/nextTokenId.d.ts.map +1 -0
  163. package/dist/issuance/erc721/nextTokenId.js +79 -0
  164. package/dist/issuance/erc721/recover.d.ts.map +1 -1
  165. package/dist/issuance/erc721/recover.js +3 -2
  166. package/dist/issuance/erc721/renounceRole.d.ts.map +1 -1
  167. package/dist/issuance/erc721/renounceRole.js +3 -2
  168. package/dist/issuance/erc721/revokeRole.d.ts.map +1 -1
  169. package/dist/issuance/erc721/revokeRole.js +3 -2
  170. package/dist/issuance/erc721/setBaseURI.d.ts.map +1 -1
  171. package/dist/issuance/erc721/setBaseURI.js +3 -2
  172. package/dist/issuance/erc721/setTokenURI.d.ts.map +1 -1
  173. package/dist/issuance/erc721/setTokenURI.js +3 -2
  174. package/dist/issuance/erc721/tag.d.ts +4 -0
  175. package/dist/issuance/erc721/tag.d.ts.map +1 -0
  176. package/dist/issuance/erc721/tag.js +2 -0
  177. package/dist/issuance/erc721/transferFrom.d.ts.map +1 -1
  178. package/dist/issuance/erc721/transferFrom.js +3 -2
  179. package/dist/issuance/index.d.ts +359 -1
  180. package/dist/issuance/index.d.ts.map +1 -1
  181. package/dist/issuance/index.js +2 -0
  182. package/dist/issuance/proxy/deploy.d.ts.map +1 -1
  183. package/dist/issuance/proxy/deploy.js +3 -2
  184. package/dist/issuance/proxy/tag.d.ts +4 -0
  185. package/dist/issuance/proxy/tag.d.ts.map +1 -0
  186. package/dist/issuance/proxy/tag.js +2 -0
  187. package/dist/issuance/proxy/upgrade.d.ts.map +1 -1
  188. package/dist/issuance/proxy/upgrade.js +2 -1
  189. package/package.json +16 -14
@@ -1 +1 @@
1
- {"version":3,"file":"recover.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc721/recover.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,0BAA0B;;;;;iBAKrC,CAAC;AAmBH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;aAcxB,CAAC"}
1
+ {"version":3,"file":"recover.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc721/recover.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,0BAA0B;;;;;iBAKrC,CAAC;AAmBH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;aAcxB,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 { erc721Tag } from "./tag.js";
8
9
  export const RecoverErc721RequestSchema = z.object({
9
10
  tokenAddress: AddressSchema,
10
11
  from: AddressSchema.openapi({ description: "Address to recover the token from" }),
@@ -14,7 +15,7 @@ export const RecoverErc721RequestSchema = z.object({
14
15
  const recoverRoute = describeRoute({
15
16
  summary: "Recover ERC721",
16
17
  description: "Returns transaction data for recovering an ERC721 token from one address to another (RECOVER_ROLE required)",
17
- tags: ["Issuance"],
18
+ tags: [erc721Tag.tag],
18
19
  responses: {
19
20
  200: {
20
21
  description: "Returns transaction data for recovering an ERC721 token",
@@ -31,7 +32,7 @@ export const RecoverErc721 = createController({
31
32
  const { tokenAddress, from, to, tokenId } = c.req.valid("json");
32
33
  return c.json(toTransaction({
33
34
  address: tokenAddress,
34
- abi: abis.erc721PausableRecoverableUpgradeableAbi,
35
+ abi: abis.erc721AutoIdPausableRecoverableUpgradeableAbi,
35
36
  functionName: "recover",
36
37
  args: [from, to, BigInt(tokenId)],
37
38
  }));
@@ -1 +1 @@
1
- {"version":3,"file":"renounceRole.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc721/renounceRole.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAgC,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAE3G,eAAO,MAAM,+BAA+B;;;;iBAO1C,CAAC;AAkBH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;aAc7B,CAAC"}
1
+ {"version":3,"file":"renounceRole.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc721/renounceRole.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAgC,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAG3G,eAAO,MAAM,+BAA+B;;;;iBAO1C,CAAC;AAkBH,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 { convertErc721TokenRoleToHash, Erc721TokenRole } from "../../common/roles/erc721-factory-roles.js";
8
+ import { erc721Tag } from "./tag.js";
8
9
  export const RenounceRoleErc721RequestSchema = z.object({
9
10
  tokenAddress: AddressSchema,
10
11
  role: z.nativeEnum(Erc721TokenRole).openapi({
@@ -16,7 +17,7 @@ export const RenounceRoleErc721RequestSchema = z.object({
16
17
  const renounceRoleRoute = describeRoute({
17
18
  summary: "Renounce Role on ERC721",
18
19
  description: "Returns transaction data for renouncing a role on the ERC721 token contract",
19
- tags: ["Issuance"],
20
+ tags: [erc721Tag.tag],
20
21
  responses: {
21
22
  200: {
22
23
  description: "Returns transaction data for renouncing a role",
@@ -33,7 +34,7 @@ export const RenounceRoleErc721 = createController({
33
34
  const { tokenAddress, role, callerConfirmation } = c.req.valid("json");
34
35
  return c.json(toTransaction({
35
36
  address: tokenAddress,
36
- abi: abis.erc721PausableRecoverableUpgradeableAbi,
37
+ abi: abis.erc721AutoIdPausableRecoverableUpgradeableAbi,
37
38
  functionName: "renounceRole",
38
39
  args: [convertErc721TokenRoleToHash(role), callerConfirmation],
39
40
  }));
@@ -1 +1 @@
1
- {"version":3,"file":"revokeRole.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc721/revokeRole.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAgC,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAE3G,eAAO,MAAM,6BAA6B;;;;iBAOxC,CAAC;AAkBH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;aAc3B,CAAC"}
1
+ {"version":3,"file":"revokeRole.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc721/revokeRole.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAgC,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAG3G,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 { convertErc721TokenRoleToHash, Erc721TokenRole } from "../../common/roles/erc721-factory-roles.js";
8
+ import { erc721Tag } from "./tag.js";
8
9
  export const RevokeRoleErc721RequestSchema = z.object({
9
10
  tokenAddress: AddressSchema,
10
11
  role: z.nativeEnum(Erc721TokenRole).openapi({
@@ -16,7 +17,7 @@ export const RevokeRoleErc721RequestSchema = z.object({
16
17
  const revokeRoleRoute = describeRoute({
17
18
  summary: "Revoke Role on ERC721",
18
19
  description: "Returns transaction data for revoking a role on the ERC721 token contract",
19
- tags: ["Issuance"],
20
+ tags: [erc721Tag.tag],
20
21
  responses: {
21
22
  200: {
22
23
  description: "Returns transaction data for revoking a role",
@@ -33,7 +34,7 @@ export const RevokeRoleErc721 = createController({
33
34
  const { tokenAddress, role, account } = c.req.valid("json");
34
35
  return c.json(toTransaction({
35
36
  address: tokenAddress,
36
- abi: abis.erc721PausableRecoverableUpgradeableAbi,
37
+ abi: abis.erc721AutoIdPausableRecoverableUpgradeableAbi,
37
38
  functionName: "revokeRole",
38
39
  args: [convertErc721TokenRoleToHash(role), account],
39
40
  }));
@@ -1 +1 @@
1
- {"version":3,"file":"setBaseURI.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc721/setBaseURI.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,uBAAuB;;;iBAGlC,CAAC;AAkBH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;aAc3B,CAAC"}
1
+ {"version":3,"file":"setBaseURI.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc721/setBaseURI.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,uBAAuB;;;iBAGlC,CAAC;AAkBH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;aAc3B,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 { erc721Tag } from "./tag.js";
7
8
  export const SetBaseURIRequestSchema = 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 SetBaseURIRequestSchema = z.object({
11
12
  const setBaseURIRoute = describeRoute({
12
13
  summary: "Set ERC721 Base URI",
13
14
  description: "Returns transaction data for setting the base URI on an ERC721 token",
14
- tags: ["Issuance"],
15
+ tags: [erc721Tag.tag],
15
16
  responses: {
16
17
  200: {
17
18
  description: "Returns transaction data for setting the base URI",
@@ -28,7 +29,7 @@ export const SetBaseURIErc721 = createController({
28
29
  const { tokenAddress, baseURI } = c.req.valid("json");
29
30
  return c.json(toTransaction({
30
31
  address: tokenAddress,
31
- abi: abis.erc721PausableRecoverableUpgradeableAbi,
32
+ abi: abis.erc721AutoIdPausableRecoverableUpgradeableAbi,
32
33
  functionName: "setBaseURI",
33
34
  args: [baseURI],
34
35
  }));
@@ -1 +1 @@
1
- {"version":3,"file":"setTokenURI.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc721/setTokenURI.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,wBAAwB;;;;iBAInC,CAAC;AAkBH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;aAc5B,CAAC"}
1
+ {"version":3,"file":"setTokenURI.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc721/setTokenURI.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,wBAAwB;;;;iBAInC,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 { erc721Tag } from "./tag.js";
8
9
  export const SetTokenURIRequestSchema = z.object({
9
10
  tokenAddress: AddressSchema,
10
11
  tokenId: Int256BigInt(z.bigint().nonnegative()),
@@ -13,7 +14,7 @@ export const SetTokenURIRequestSchema = z.object({
13
14
  const setTokenURIRoute = describeRoute({
14
15
  summary: "Set ERC721 Token URI",
15
16
  description: "Returns transaction data for setting a token-specific URI on an ERC721 token",
16
- tags: ["Issuance"],
17
+ tags: [erc721Tag.tag],
17
18
  responses: {
18
19
  200: {
19
20
  description: "Returns transaction data for setting a token URI",
@@ -30,7 +31,7 @@ export const SetTokenURIErc721 = createController({
30
31
  const { tokenAddress, tokenId, tokenURI } = c.req.valid("json");
31
32
  return c.json(toTransaction({
32
33
  address: tokenAddress,
33
- abi: abis.erc721PausableRecoverableUpgradeableAbi,
34
+ abi: abis.erc721AutoIdPausableRecoverableUpgradeableAbi,
34
35
  functionName: "setTokenURI",
35
36
  args: [BigInt(tokenId), tokenURI],
36
37
  }));
@@ -0,0 +1,4 @@
1
+ export declare const erc721Tag: {
2
+ tag: "ERC721";
3
+ };
4
+ //# sourceMappingURL=tag.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc721/tag.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;CAAsB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { createTag } from "../../common/tag.js";
2
+ export const erc721Tag = createTag("ERC721");
@@ -1 +1 @@
1
- {"version":3,"file":"transferFrom.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc721/transferFrom.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,+BAA+B;;;;;iBAK1C,CAAC;AAkBH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;aAc7B,CAAC"}
1
+ {"version":3,"file":"transferFrom.d.ts","sourceRoot":"","sources":["../../../src/issuance/erc721/transferFrom.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,+BAA+B;;;;;iBAK1C,CAAC;AAkBH,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 { erc721Tag } from "./tag.js";
8
9
  export const TransferFromErc721RequestSchema = z.object({
9
10
  tokenAddress: AddressSchema,
10
11
  from: AddressSchema.openapi({ description: "Address to transfer the token from" }),
@@ -14,7 +15,7 @@ export const TransferFromErc721RequestSchema = z.object({
14
15
  const transferFromRoute = describeRoute({
15
16
  summary: "Transfer ERC721",
16
17
  description: "Returns transaction data for transferring an ERC721 token from one address to another",
17
- tags: ["Issuance"],
18
+ tags: [erc721Tag.tag],
18
19
  responses: {
19
20
  200: {
20
21
  description: "Returns transaction data for transferring an ERC721 token",
@@ -31,7 +32,7 @@ export const TransferFromErc721 = createController({
31
32
  const { tokenAddress, from, to, tokenId } = c.req.valid("json");
32
33
  return c.json(toTransaction({
33
34
  address: tokenAddress,
34
- abi: abis.erc721PausableRecoverableUpgradeableAbi,
35
+ abi: abis.erc721AutoIdPausableRecoverableUpgradeableAbi,
35
36
  functionName: "transferFrom",
36
37
  args: [from, to, BigInt(tokenId)],
37
38
  }));
@@ -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: {};
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/issuance/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qDAStB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/issuance/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qDAUtB,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { createApi } from "../common/controller.js";
2
2
  import { Erc20Controller } from "./erc20/index.js";
3
3
  import { Erc721Controller } from "./erc721/index.js";
4
+ import { Erc1155Controller } from "./erc1155/index.js";
4
5
  import { ProxyController } from "./proxy/index.js";
5
6
  export const IssuanceApi = createApi({
6
7
  title: "Issuance API",
@@ -9,5 +10,6 @@ export const IssuanceApi = createApi({
9
10
  .createApp()
10
11
  .route("/erc20", Erc20Controller.build(factory))
11
12
  .route("/erc721", Erc721Controller.build(factory))
13
+ .route("/erc1155", Erc1155Controller.build(factory))
12
14
  .route("/proxy", ProxyController.build(factory)),
13
15
  });
@@ -1 +1 @@
1
- {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../src/issuance/proxy/deploy.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA2BxB,eAAO,MAAM,uCAAuC;;;;iBASlD,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;aAa5C,CAAC;AAoBH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;aAQ3B,CAAC"}
1
+ {"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../../src/issuance/proxy/deploy.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA4BxB,eAAO,MAAM,uCAAuC;;;;iBASlD,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;aAa5C,CAAC;AAoBH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;aAQ3B,CAAC"}
@@ -5,11 +5,12 @@ import { proxyAdminAbi, proxyAdminBytecode } from "@evergonlabs/tmi-evm-contract
5
5
  import { transparentUpgradeableProxyAbi, transparentUpgradeableProxyBytecode, } from "@evergonlabs/tmi-protocol-contracts/transparentProxy";
6
6
  import { createController } from "../../common/controller.js";
7
7
  import { AddressSchema, DeployTransactionSchema, HexStringSchema } from "../../common/index.js";
8
+ import { proxyTag } from "./tag.js";
8
9
  // Issue generic TUP contract
9
10
  const deployTransparentProxyRoute = describeRoute({
10
11
  summary: "Deploy TransparentUpgradeableProxy",
11
12
  description: "Returns transaction data for deploying a TransparentUpgradeableProxy",
12
- tags: ["Issuance"],
13
+ tags: [proxyTag.tag],
13
14
  responses: {
14
15
  200: {
15
16
  description: "Returns transaction data for deploying a TransparentUpgradeableProxy",
@@ -46,7 +47,7 @@ export const CreateTransparentUpgradeableProxy = createController({
46
47
  const deployProxyAdminRoute = describeRoute({
47
48
  summary: "Deploy ProxyAdmin",
48
49
  description: "Returns transaction data for deploying a ProxyAdmin contract",
49
- tags: ["Issuance"],
50
+ tags: [proxyTag.tag],
50
51
  responses: {
51
52
  200: {
52
53
  description: "Returns transaction data for deploying a ProxyAdmin contract",
@@ -0,0 +1,4 @@
1
+ export declare const proxyTag: {
2
+ tag: "Proxy";
3
+ };
4
+ //# sourceMappingURL=tag.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tag.d.ts","sourceRoot":"","sources":["../../../src/issuance/proxy/tag.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;CAAqB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { createTag } from "../../common/tag.js";
2
+ export const proxyTag = createTag("Proxy");
@@ -1 +1 @@
1
- {"version":3,"file":"upgrade.d.ts","sourceRoot":"","sources":["../../../src/issuance/proxy/upgrade.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,yBAAyB;;;;;iBAapC,CAAC;AAmBH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;aAcvB,CAAC"}
1
+ {"version":3,"file":"upgrade.d.ts","sourceRoot":"","sources":["../../../src/issuance/proxy/upgrade.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,yBAAyB;;;;;iBAapC,CAAC;AAmBH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;aAcvB,CAAC"}