canton-amm-ledger-core 0.0.7 → 0.0.9

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 (137) hide show
  1. package/dist/src/main.d.ts +72 -0
  2. package/dist/src/main.d.ts.map +1 -1
  3. package/dist/src/main.js +397 -46
  4. package/dist/src/main.js.map +1 -1
  5. package/generated/daml.js/{type7labs-amm-allocation-request-v0-v1-0.0.1 → type7labs-amm-allocation-request-v0-v2-0.0.1}/lib/Type7Labs/Amm/AmmAllocationRequestV0/module.d.ts +5 -5
  6. package/generated/daml.js/{type7labs-amm-allocation-request-v0-v1-0.0.1 → type7labs-amm-allocation-request-v0-v2-0.0.1}/lib/Type7Labs/Amm/AmmAllocationRequestV0/module.js +7 -7
  7. package/generated/daml.js/type7labs-amm-allocation-request-v0-v2-0.0.1/lib/index.d.ts +3 -0
  8. package/generated/daml.js/{type7labs-amm-ammv0-tests-v1-0.0.1 → type7labs-amm-allocation-request-v0-v2-0.0.1}/lib/index.js +1 -1
  9. package/generated/daml.js/{type7labs-amm-allocation-request-v0-v1-0.0.1 → type7labs-amm-allocation-request-v0-v2-0.0.1}/package.json +2 -2
  10. package/generated/daml.js/type7labs-amm-ammv0-tests-v2-0.0.1/lib/index.d.ts +3 -0
  11. package/generated/daml.js/{type7labs-amm-v0-v1-0.0.1 → type7labs-amm-ammv0-tests-v2-0.0.1}/lib/index.js +1 -1
  12. package/generated/daml.js/{type7labs-amm-ammv0-tests-v1-0.0.1 → type7labs-amm-ammv0-tests-v2-0.0.1}/package.json +1 -1
  13. package/generated/daml.js/{type7labs-amm-v0-v1-0.0.1 → type7labs-amm-v0-v2-0.0.1}/lib/Type7Labs/Amm/AmmV0/module.d.ts +9 -9
  14. package/generated/daml.js/{type7labs-amm-v0-v1-0.0.1 → type7labs-amm-v0-v2-0.0.1}/lib/Type7Labs/Amm/AmmV0/module.js +11 -11
  15. package/generated/daml.js/type7labs-amm-v0-v2-0.0.1/lib/index.d.ts +3 -0
  16. package/generated/daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-amm-v0-v2-0.0.1}/lib/index.js +1 -1
  17. package/{node_modules/@daml.js/type7labs-amm-v0-v1-0.0.1 → generated/daml.js/type7labs-amm-v0-v2-0.0.1}/package.json +2 -2
  18. package/{node_modules/@daml.js/type7labs-api-amm-v1-0.0.1 → generated/daml.js/type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/Amm/IAmm/module.d.ts +3 -3
  19. package/{node_modules/@daml.js/type7labs-api-amm-v1-0.0.1 → generated/daml.js/type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/Amm/IAmm/module.js +9 -9
  20. package/{node_modules/@daml.js/type7labs-api-amm-v1-0.0.1 → generated/daml.js/type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/Amm/IAmmAllocationRequest/module.d.ts +2 -2
  21. package/generated/daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/Amm/IAmmAllocationRequest/module.js +1 -1
  22. package/generated/daml.js/type7labs-api-amm-v2-0.0.1/lib/index.d.ts +3 -0
  23. package/generated/daml.js/{type7labs-amm-allocation-request-v0-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/index.js +1 -1
  24. package/{node_modules/@daml.js/type7labs-api-amm-v1-0.0.1 → generated/daml.js/type7labs-api-amm-v2-0.0.1}/package.json +1 -1
  25. package/generated/daml.js/{type7labs-scripts-amm-v0-v1-v0-0.0.1 → type7labs-scripts-amm-v0-v2-v0-0.0.1}/lib/Type7Labs/Scripts/Amm/AmmV0/SetupData/module.d.ts +5 -5
  26. package/generated/daml.js/{type7labs-scripts-amm-v0-v1-v0-0.0.1 → type7labs-scripts-amm-v0-v2-v0-0.0.1}/lib/Type7Labs/Scripts/Amm/AmmV0/SetupData/module.js +6 -6
  27. package/generated/daml.js/type7labs-scripts-amm-v0-v2-v0-0.0.1/lib/index.d.ts +3 -0
  28. package/generated/daml.js/type7labs-scripts-amm-v0-v2-v0-0.0.1/lib/index.js +10 -0
  29. package/generated/daml.js/{type7labs-scripts-amm-v0-v1-v0-0.0.1 → type7labs-scripts-amm-v0-v2-v0-0.0.1}/package.json +2 -2
  30. package/generated/daml.js/{type7labs-scripts-api-amm-v1-v0-0.0.1 → type7labs-scripts-api-amm-v2-v0-0.0.1}/lib/Type7Labs/Scripts/Amm/IAmmAllocationRequestInteract/module.d.ts +2 -2
  31. package/generated/daml.js/{type7labs-scripts-api-amm-v1-v0-0.0.1 → type7labs-scripts-api-amm-v2-v0-0.0.1}/lib/Type7Labs/Scripts/Amm/IAmmAllocationRequestInteract/module.js +3 -3
  32. package/generated/daml.js/{type7labs-scripts-api-amm-v1-v0-0.0.1 → type7labs-scripts-api-amm-v2-v0-0.0.1}/lib/Type7Labs/Scripts/Amm/IAmmInteract/module.d.ts +25 -25
  33. package/generated/daml.js/{type7labs-scripts-api-amm-v1-v0-0.0.1 → type7labs-scripts-api-amm-v2-v0-0.0.1}/lib/Type7Labs/Scripts/Amm/IAmmInteract/module.js +44 -44
  34. package/generated/daml.js/type7labs-scripts-api-amm-v2-v0-0.0.1/lib/index.d.ts +3 -0
  35. package/generated/daml.js/type7labs-scripts-api-amm-v2-v0-0.0.1/lib/index.js +10 -0
  36. package/generated/daml.js/{type7labs-scripts-api-amm-v1-v0-0.0.1 → type7labs-scripts-api-amm-v2-v0-0.0.1}/package.json +2 -2
  37. package/node_modules/@daml.js/{type7labs-amm-v0-v1-0.0.1 → type7labs-amm-v0-v2-0.0.1}/lib/Type7Labs/Amm/AmmV0/module.d.ts +9 -9
  38. package/node_modules/@daml.js/{type7labs-amm-v0-v1-0.0.1 → type7labs-amm-v0-v2-0.0.1}/lib/Type7Labs/Amm/AmmV0/module.js +11 -11
  39. package/node_modules/@daml.js/type7labs-amm-v0-v2-0.0.1/lib/index.d.ts +3 -0
  40. package/node_modules/@daml.js/type7labs-amm-v0-v2-0.0.1/lib/index.js +10 -0
  41. package/{generated/daml.js/type7labs-amm-v0-v1-0.0.1 → node_modules/@daml.js/type7labs-amm-v0-v2-0.0.1}/package.json +2 -2
  42. package/{generated/daml.js/type7labs-api-amm-v1-0.0.1 → node_modules/@daml.js/type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/Amm/IAmm/module.d.ts +3 -3
  43. package/{generated/daml.js/type7labs-api-amm-v1-0.0.1 → node_modules/@daml.js/type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/Amm/IAmm/module.js +9 -9
  44. package/{generated/daml.js/type7labs-api-amm-v1-0.0.1 → node_modules/@daml.js/type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/Amm/IAmmAllocationRequest/module.d.ts +2 -2
  45. package/node_modules/@daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/Amm/IAmmAllocationRequest/module.js +1 -1
  46. package/node_modules/@daml.js/type7labs-api-amm-v2-0.0.1/lib/index.d.ts +3 -0
  47. package/node_modules/@daml.js/type7labs-api-amm-v2-0.0.1/lib/index.js +10 -0
  48. package/{generated/daml.js/type7labs-api-amm-v1-0.0.1 → node_modules/@daml.js/type7labs-api-amm-v2-0.0.1}/package.json +1 -1
  49. package/package.json +5 -5
  50. package/generated/daml.js/type7labs-amm-allocation-request-v0-v1-0.0.1/lib/index.d.ts +0 -3
  51. package/generated/daml.js/type7labs-amm-ammv0-tests-v1-0.0.1/lib/index.d.ts +0 -3
  52. package/generated/daml.js/type7labs-amm-v0-v1-0.0.1/lib/index.d.ts +0 -3
  53. package/generated/daml.js/type7labs-api-amm-v1-0.0.1/lib/index.d.ts +0 -3
  54. package/generated/daml.js/type7labs-scripts-amm-v0-v1-v0-0.0.1/lib/index.d.ts +0 -3
  55. package/generated/daml.js/type7labs-scripts-amm-v0-v1-v0-0.0.1/lib/index.js +0 -10
  56. package/generated/daml.js/type7labs-scripts-api-amm-v1-v0-0.0.1/lib/index.d.ts +0 -3
  57. package/generated/daml.js/type7labs-scripts-api-amm-v1-v0-0.0.1/lib/index.js +0 -10
  58. package/node_modules/@daml.js/type7labs-amm-v0-v1-0.0.1/lib/index.d.ts +0 -3
  59. package/node_modules/@daml.js/type7labs-amm-v0-v1-0.0.1/lib/index.js +0 -10
  60. package/node_modules/@daml.js/type7labs-api-amm-v1-0.0.1/lib/index.d.ts +0 -3
  61. package/node_modules/@daml.js/type7labs-api-amm-v1-0.0.1/lib/index.js +0 -10
  62. /package/generated/daml.js/{type7labs-amm-allocation-request-v0-v1-0.0.1 → type7labs-amm-allocation-request-v0-v2-0.0.1}/lib/Type7Labs/Amm/AmmAllocationRequestV0/index.d.ts +0 -0
  63. /package/generated/daml.js/{type7labs-amm-allocation-request-v0-v1-0.0.1 → type7labs-amm-allocation-request-v0-v2-0.0.1}/lib/Type7Labs/Amm/AmmAllocationRequestV0/index.js +0 -0
  64. /package/generated/daml.js/{type7labs-amm-allocation-request-v0-v1-0.0.1 → type7labs-amm-allocation-request-v0-v2-0.0.1}/lib/Type7Labs/Amm/index.d.ts +0 -0
  65. /package/generated/daml.js/{type7labs-amm-allocation-request-v0-v1-0.0.1 → type7labs-amm-allocation-request-v0-v2-0.0.1}/lib/Type7Labs/Amm/index.js +0 -0
  66. /package/generated/daml.js/{type7labs-amm-allocation-request-v0-v1-0.0.1 → type7labs-amm-allocation-request-v0-v2-0.0.1}/lib/Type7Labs/index.d.ts +0 -0
  67. /package/generated/daml.js/{type7labs-amm-allocation-request-v0-v1-0.0.1 → type7labs-amm-allocation-request-v0-v2-0.0.1}/lib/Type7Labs/index.js +0 -0
  68. /package/generated/daml.js/{type7labs-amm-allocation-request-v0-v1-0.0.1 → type7labs-amm-allocation-request-v0-v2-0.0.1}/tsconfig.json +0 -0
  69. /package/generated/daml.js/{type7labs-amm-ammv0-tests-v1-0.0.1 → type7labs-amm-ammv0-tests-v2-0.0.1}/lib/Type7Labs/Tests/Amm/AmmV0/index.d.ts +0 -0
  70. /package/generated/daml.js/{type7labs-amm-ammv0-tests-v1-0.0.1 → type7labs-amm-ammv0-tests-v2-0.0.1}/lib/Type7Labs/Tests/Amm/AmmV0/index.js +0 -0
  71. /package/generated/daml.js/{type7labs-amm-ammv0-tests-v1-0.0.1 → type7labs-amm-ammv0-tests-v2-0.0.1}/lib/Type7Labs/Tests/Amm/AmmV0/module.d.ts +0 -0
  72. /package/generated/daml.js/{type7labs-amm-ammv0-tests-v1-0.0.1 → type7labs-amm-ammv0-tests-v2-0.0.1}/lib/Type7Labs/Tests/Amm/AmmV0/module.js +0 -0
  73. /package/generated/daml.js/{type7labs-amm-ammv0-tests-v1-0.0.1 → type7labs-amm-ammv0-tests-v2-0.0.1}/lib/Type7Labs/Tests/Amm/index.d.ts +0 -0
  74. /package/generated/daml.js/{type7labs-amm-ammv0-tests-v1-0.0.1 → type7labs-amm-ammv0-tests-v2-0.0.1}/lib/Type7Labs/Tests/Amm/index.js +0 -0
  75. /package/generated/daml.js/{type7labs-amm-ammv0-tests-v1-0.0.1 → type7labs-amm-ammv0-tests-v2-0.0.1}/lib/Type7Labs/Tests/index.d.ts +0 -0
  76. /package/generated/daml.js/{type7labs-amm-ammv0-tests-v1-0.0.1 → type7labs-amm-ammv0-tests-v2-0.0.1}/lib/Type7Labs/Tests/index.js +0 -0
  77. /package/generated/daml.js/{type7labs-amm-ammv0-tests-v1-0.0.1 → type7labs-amm-ammv0-tests-v2-0.0.1}/lib/Type7Labs/index.d.ts +0 -0
  78. /package/generated/daml.js/{type7labs-amm-ammv0-tests-v1-0.0.1 → type7labs-amm-ammv0-tests-v2-0.0.1}/lib/Type7Labs/index.js +0 -0
  79. /package/generated/daml.js/{type7labs-amm-ammv0-tests-v1-0.0.1 → type7labs-amm-ammv0-tests-v2-0.0.1}/tsconfig.json +0 -0
  80. /package/generated/daml.js/{type7labs-amm-v0-v1-0.0.1 → type7labs-amm-v0-v2-0.0.1}/lib/Type7Labs/Amm/AmmV0/index.d.ts +0 -0
  81. /package/generated/daml.js/{type7labs-amm-v0-v1-0.0.1 → type7labs-amm-v0-v2-0.0.1}/lib/Type7Labs/Amm/AmmV0/index.js +0 -0
  82. /package/generated/daml.js/{type7labs-amm-v0-v1-0.0.1 → type7labs-amm-v0-v2-0.0.1}/lib/Type7Labs/Amm/index.d.ts +0 -0
  83. /package/generated/daml.js/{type7labs-amm-v0-v1-0.0.1 → type7labs-amm-v0-v2-0.0.1}/lib/Type7Labs/Amm/index.js +0 -0
  84. /package/generated/daml.js/{type7labs-amm-v0-v1-0.0.1 → type7labs-amm-v0-v2-0.0.1}/lib/Type7Labs/index.d.ts +0 -0
  85. /package/generated/daml.js/{type7labs-amm-v0-v1-0.0.1 → type7labs-amm-v0-v2-0.0.1}/lib/Type7Labs/index.js +0 -0
  86. /package/generated/daml.js/{type7labs-amm-v0-v1-0.0.1 → type7labs-amm-v0-v2-0.0.1}/tsconfig.json +0 -0
  87. /package/generated/daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/Amm/IAmm/index.d.ts +0 -0
  88. /package/generated/daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/Amm/IAmm/index.js +0 -0
  89. /package/generated/daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/Amm/IAmmAllocationRequest/index.d.ts +0 -0
  90. /package/generated/daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/Amm/IAmmAllocationRequest/index.js +0 -0
  91. /package/generated/daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/Amm/index.d.ts +0 -0
  92. /package/generated/daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/Amm/index.js +0 -0
  93. /package/generated/daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/index.d.ts +0 -0
  94. /package/generated/daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/index.js +0 -0
  95. /package/generated/daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/index.d.ts +0 -0
  96. /package/generated/daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/index.js +0 -0
  97. /package/generated/daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/tsconfig.json +0 -0
  98. /package/generated/daml.js/{type7labs-scripts-amm-v0-v1-v0-0.0.1 → type7labs-scripts-amm-v0-v2-v0-0.0.1}/lib/Type7Labs/Scripts/Amm/AmmV0/SetupData/index.d.ts +0 -0
  99. /package/generated/daml.js/{type7labs-scripts-amm-v0-v1-v0-0.0.1 → type7labs-scripts-amm-v0-v2-v0-0.0.1}/lib/Type7Labs/Scripts/Amm/AmmV0/SetupData/index.js +0 -0
  100. /package/generated/daml.js/{type7labs-scripts-amm-v0-v1-v0-0.0.1 → type7labs-scripts-amm-v0-v2-v0-0.0.1}/lib/Type7Labs/Scripts/Amm/AmmV0/index.d.ts +0 -0
  101. /package/generated/daml.js/{type7labs-scripts-amm-v0-v1-v0-0.0.1 → type7labs-scripts-amm-v0-v2-v0-0.0.1}/lib/Type7Labs/Scripts/Amm/AmmV0/index.js +0 -0
  102. /package/generated/daml.js/{type7labs-scripts-amm-v0-v1-v0-0.0.1 → type7labs-scripts-amm-v0-v2-v0-0.0.1}/lib/Type7Labs/Scripts/Amm/index.d.ts +0 -0
  103. /package/generated/daml.js/{type7labs-scripts-amm-v0-v1-v0-0.0.1 → type7labs-scripts-amm-v0-v2-v0-0.0.1}/lib/Type7Labs/Scripts/Amm/index.js +0 -0
  104. /package/generated/daml.js/{type7labs-scripts-amm-v0-v1-v0-0.0.1 → type7labs-scripts-amm-v0-v2-v0-0.0.1}/lib/Type7Labs/Scripts/index.d.ts +0 -0
  105. /package/generated/daml.js/{type7labs-scripts-amm-v0-v1-v0-0.0.1 → type7labs-scripts-amm-v0-v2-v0-0.0.1}/lib/Type7Labs/Scripts/index.js +0 -0
  106. /package/generated/daml.js/{type7labs-scripts-amm-v0-v1-v0-0.0.1 → type7labs-scripts-amm-v0-v2-v0-0.0.1}/lib/Type7Labs/index.d.ts +0 -0
  107. /package/generated/daml.js/{type7labs-scripts-amm-v0-v1-v0-0.0.1 → type7labs-scripts-amm-v0-v2-v0-0.0.1}/lib/Type7Labs/index.js +0 -0
  108. /package/generated/daml.js/{type7labs-scripts-amm-v0-v1-v0-0.0.1 → type7labs-scripts-amm-v0-v2-v0-0.0.1}/tsconfig.json +0 -0
  109. /package/generated/daml.js/{type7labs-scripts-api-amm-v1-v0-0.0.1 → type7labs-scripts-api-amm-v2-v0-0.0.1}/lib/Type7Labs/Scripts/Amm/IAmmAllocationRequestInteract/index.d.ts +0 -0
  110. /package/generated/daml.js/{type7labs-scripts-api-amm-v1-v0-0.0.1 → type7labs-scripts-api-amm-v2-v0-0.0.1}/lib/Type7Labs/Scripts/Amm/IAmmAllocationRequestInteract/index.js +0 -0
  111. /package/generated/daml.js/{type7labs-scripts-api-amm-v1-v0-0.0.1 → type7labs-scripts-api-amm-v2-v0-0.0.1}/lib/Type7Labs/Scripts/Amm/IAmmInteract/index.d.ts +0 -0
  112. /package/generated/daml.js/{type7labs-scripts-api-amm-v1-v0-0.0.1 → type7labs-scripts-api-amm-v2-v0-0.0.1}/lib/Type7Labs/Scripts/Amm/IAmmInteract/index.js +0 -0
  113. /package/generated/daml.js/{type7labs-scripts-api-amm-v1-v0-0.0.1 → type7labs-scripts-api-amm-v2-v0-0.0.1}/lib/Type7Labs/Scripts/Amm/index.d.ts +0 -0
  114. /package/generated/daml.js/{type7labs-scripts-api-amm-v1-v0-0.0.1 → type7labs-scripts-api-amm-v2-v0-0.0.1}/lib/Type7Labs/Scripts/Amm/index.js +0 -0
  115. /package/generated/daml.js/{type7labs-scripts-api-amm-v1-v0-0.0.1 → type7labs-scripts-api-amm-v2-v0-0.0.1}/lib/Type7Labs/Scripts/index.d.ts +0 -0
  116. /package/generated/daml.js/{type7labs-scripts-api-amm-v1-v0-0.0.1 → type7labs-scripts-api-amm-v2-v0-0.0.1}/lib/Type7Labs/Scripts/index.js +0 -0
  117. /package/generated/daml.js/{type7labs-scripts-api-amm-v1-v0-0.0.1 → type7labs-scripts-api-amm-v2-v0-0.0.1}/lib/Type7Labs/index.d.ts +0 -0
  118. /package/generated/daml.js/{type7labs-scripts-api-amm-v1-v0-0.0.1 → type7labs-scripts-api-amm-v2-v0-0.0.1}/lib/Type7Labs/index.js +0 -0
  119. /package/generated/daml.js/{type7labs-scripts-api-amm-v1-v0-0.0.1 → type7labs-scripts-api-amm-v2-v0-0.0.1}/tsconfig.json +0 -0
  120. /package/node_modules/@daml.js/{type7labs-amm-v0-v1-0.0.1 → type7labs-amm-v0-v2-0.0.1}/lib/Type7Labs/Amm/AmmV0/index.d.ts +0 -0
  121. /package/node_modules/@daml.js/{type7labs-amm-v0-v1-0.0.1 → type7labs-amm-v0-v2-0.0.1}/lib/Type7Labs/Amm/AmmV0/index.js +0 -0
  122. /package/node_modules/@daml.js/{type7labs-amm-v0-v1-0.0.1 → type7labs-amm-v0-v2-0.0.1}/lib/Type7Labs/Amm/index.d.ts +0 -0
  123. /package/node_modules/@daml.js/{type7labs-amm-v0-v1-0.0.1 → type7labs-amm-v0-v2-0.0.1}/lib/Type7Labs/Amm/index.js +0 -0
  124. /package/node_modules/@daml.js/{type7labs-amm-v0-v1-0.0.1 → type7labs-amm-v0-v2-0.0.1}/lib/Type7Labs/index.d.ts +0 -0
  125. /package/node_modules/@daml.js/{type7labs-amm-v0-v1-0.0.1 → type7labs-amm-v0-v2-0.0.1}/lib/Type7Labs/index.js +0 -0
  126. /package/node_modules/@daml.js/{type7labs-amm-v0-v1-0.0.1 → type7labs-amm-v0-v2-0.0.1}/tsconfig.json +0 -0
  127. /package/node_modules/@daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/Amm/IAmm/index.d.ts +0 -0
  128. /package/node_modules/@daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/Amm/IAmm/index.js +0 -0
  129. /package/node_modules/@daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/Amm/IAmmAllocationRequest/index.d.ts +0 -0
  130. /package/node_modules/@daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/Amm/IAmmAllocationRequest/index.js +0 -0
  131. /package/node_modules/@daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/Amm/index.d.ts +0 -0
  132. /package/node_modules/@daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/Amm/index.js +0 -0
  133. /package/node_modules/@daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/index.d.ts +0 -0
  134. /package/node_modules/@daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/Api/index.js +0 -0
  135. /package/node_modules/@daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/index.d.ts +0 -0
  136. /package/node_modules/@daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/lib/Type7Labs/index.js +0 -0
  137. /package/node_modules/@daml.js/{type7labs-api-amm-v1-0.0.1 → type7labs-api-amm-v2-0.0.1}/tsconfig.json +0 -0
@@ -5,7 +5,7 @@
5
5
  "description": "Generated by `daml codegen js` from SDK 3.3.0-snapshot.20250507.0",
6
6
  "license": "UNLICENSED",
7
7
  "main": "lib/index.js",
8
- "name": "@daml.js/type7labs-amm-ammv0-tests-v1-0.0.1",
8
+ "name": "@daml.js/type7labs-amm-ammv0-tests-v2-0.0.1",
9
9
  "peer-dependencies": {
10
10
  "@daml/ledger": "3.3.0-snapshot.20250502.13767.0.v2fc6c7e2",
11
11
  "@daml/types": "3.3.0-snapshot.20250502.13767.0.v2fc6c7e2"
@@ -8,25 +8,25 @@ import * as damlTypes from '@daml/types';
8
8
  import * as damlLedger from '@daml/ledger';
9
9
 
10
10
  import * as pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f from '@daml.js/splice-api-token-metadata-v1-1.0.0';
11
- import * as pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1 from '@daml.js/type7labs-api-amm-v1-0.0.1';
12
11
  import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '@daml.js/ghc-stdlib-DA-Internal-Template-1.0.0';
12
+ import * as pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e from '@daml.js/type7labs-api-amm-v2-0.0.1';
13
13
 
14
14
  export declare type AmmV0 = {
15
15
  id: string;
16
16
  operator: damlTypes.Party;
17
- state: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.AmmState;
17
+ state: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.AmmState;
18
18
  ammManagers: damlTypes.Party[];
19
19
  lpProviders: damlTypes.Party[];
20
20
  swapUsers: damlTypes.Party[];
21
- tokenX: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.TokenData;
22
- tokenY: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.TokenData;
21
+ tokenX: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.TokenData;
22
+ tokenY: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.TokenData;
23
23
  tokenLpTotal: damlTypes.Numeric;
24
24
  tokenLpDistribution: damlTypes.Map<damlTypes.Party, damlTypes.Numeric>;
25
- settlementFactoryData: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.AmmSettlementFactoryData;
25
+ settlementFactoryData: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.AmmSettlementFactoryData;
26
26
  fee: damlTypes.Numeric;
27
27
  operatorFee: damlTypes.Numeric;
28
- changesOnProcessingCompletion: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.AmmAmountChangeRecord;
29
- processingAllocationRequest: damlTypes.Optional<damlTypes.ContractId<pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmmAllocationRequest.IAmmAllocationRequest>>;
28
+ changesOnProcessingCompletion: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.AmmAmountChangeRecord;
29
+ processingAllocationRequest: damlTypes.Optional<damlTypes.ContractId<pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmmAllocationRequest.IAmmAllocationRequest>>;
30
30
  metadata: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata;
31
31
  initial_liquidity_to_burn: damlTypes.Numeric;
32
32
  };
@@ -35,8 +35,8 @@ export declare interface AmmV0Interface {
35
35
  Archive: damlTypes.Choice<AmmV0, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<AmmV0, undefined>>;
36
36
  }
37
37
  export declare const AmmV0:
38
- damlTypes.Template<AmmV0, undefined, '#type7labs-amm-v0-v1:Type7Labs.Amm.AmmV0:AmmV0'> &
39
- damlTypes.ToInterface<AmmV0, pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.IAmm> &
38
+ damlTypes.Template<AmmV0, undefined, '#type7labs-amm-v0-v2:Type7Labs.Amm.AmmV0:AmmV0'> &
39
+ damlTypes.ToInterface<AmmV0, pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.IAmm> &
40
40
  AmmV0Interface;
41
41
 
42
42
  export declare namespace AmmV0 {
@@ -13,33 +13,33 @@ var damlTypes = require('@daml/types');
13
13
  var damlLedger = require('@daml/ledger');
14
14
 
15
15
  var pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f = require('@daml.js/splice-api-token-metadata-v1-1.0.0');
16
- var pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1 = require('@daml.js/type7labs-api-amm-v1-0.0.1');
17
16
  var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('@daml.js/ghc-stdlib-DA-Internal-Template-1.0.0');
17
+ var pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e = require('@daml.js/type7labs-api-amm-v2-0.0.1');
18
18
 
19
19
 
20
20
  exports.AmmV0 = damlTypes.assembleTemplate(
21
21
  {
22
- templateId: '#type7labs-amm-v0-v1:Type7Labs.Amm.AmmV0:AmmV0',
22
+ templateId: '#type7labs-amm-v0-v2:Type7Labs.Amm.AmmV0:AmmV0',
23
23
  keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
24
24
  keyEncode: function () { throw 'EncodeError'; },
25
- decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, operator: damlTypes.Party.decoder, state: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.AmmState.decoder, ammManagers: damlTypes.List(damlTypes.Party).decoder, lpProviders: damlTypes.List(damlTypes.Party).decoder, swapUsers: damlTypes.List(damlTypes.Party).decoder, tokenX: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.TokenData.decoder, tokenY: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.TokenData.decoder, tokenLpTotal: damlTypes.Numeric(0).decoder, tokenLpDistribution: damlTypes.Map(damlTypes.Party, damlTypes.Numeric(0)).decoder, settlementFactoryData: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.AmmSettlementFactoryData.decoder, fee: damlTypes.Numeric(0).decoder, operatorFee: damlTypes.Numeric(0).decoder, changesOnProcessingCompletion: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.AmmAmountChangeRecord.decoder, processingAllocationRequest: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmmAllocationRequest.IAmmAllocationRequest)).decoder), metadata: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.decoder, initial_liquidity_to_burn: damlTypes.Numeric(0).decoder, }); }),
25
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({id: damlTypes.Text.decoder, operator: damlTypes.Party.decoder, state: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.AmmState.decoder, ammManagers: damlTypes.List(damlTypes.Party).decoder, lpProviders: damlTypes.List(damlTypes.Party).decoder, swapUsers: damlTypes.List(damlTypes.Party).decoder, tokenX: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.TokenData.decoder, tokenY: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.TokenData.decoder, tokenLpTotal: damlTypes.Numeric(0).decoder, tokenLpDistribution: damlTypes.Map(damlTypes.Party, damlTypes.Numeric(0)).decoder, settlementFactoryData: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.AmmSettlementFactoryData.decoder, fee: damlTypes.Numeric(0).decoder, operatorFee: damlTypes.Numeric(0).decoder, changesOnProcessingCompletion: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.AmmAmountChangeRecord.decoder, processingAllocationRequest: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmmAllocationRequest.IAmmAllocationRequest)).decoder), metadata: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.decoder, initial_liquidity_to_burn: damlTypes.Numeric(0).decoder, }); }),
26
26
  encode: function (__typed__) {
27
27
  return {
28
28
  id: damlTypes.Text.encode(__typed__.id),
29
29
  operator: damlTypes.Party.encode(__typed__.operator),
30
- state: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.AmmState.encode(__typed__.state),
30
+ state: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.AmmState.encode(__typed__.state),
31
31
  ammManagers: damlTypes.List(damlTypes.Party).encode(__typed__.ammManagers),
32
32
  lpProviders: damlTypes.List(damlTypes.Party).encode(__typed__.lpProviders),
33
33
  swapUsers: damlTypes.List(damlTypes.Party).encode(__typed__.swapUsers),
34
- tokenX: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.TokenData.encode(__typed__.tokenX),
35
- tokenY: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.TokenData.encode(__typed__.tokenY),
34
+ tokenX: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.TokenData.encode(__typed__.tokenX),
35
+ tokenY: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.TokenData.encode(__typed__.tokenY),
36
36
  tokenLpTotal: damlTypes.Numeric(0).encode(__typed__.tokenLpTotal),
37
37
  tokenLpDistribution: damlTypes.Map(damlTypes.Party, damlTypes.Numeric(0)).encode(__typed__.tokenLpDistribution),
38
- settlementFactoryData: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.AmmSettlementFactoryData.encode(__typed__.settlementFactoryData),
38
+ settlementFactoryData: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.AmmSettlementFactoryData.encode(__typed__.settlementFactoryData),
39
39
  fee: damlTypes.Numeric(0).encode(__typed__.fee),
40
40
  operatorFee: damlTypes.Numeric(0).encode(__typed__.operatorFee),
41
- changesOnProcessingCompletion: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.AmmAmountChangeRecord.encode(__typed__.changesOnProcessingCompletion),
42
- processingAllocationRequest: damlTypes.Optional(damlTypes.ContractId(pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmmAllocationRequest.IAmmAllocationRequest)).encode(__typed__.processingAllocationRequest),
41
+ changesOnProcessingCompletion: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.AmmAmountChangeRecord.encode(__typed__.changesOnProcessingCompletion),
42
+ processingAllocationRequest: damlTypes.Optional(damlTypes.ContractId(pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmmAllocationRequest.IAmmAllocationRequest)).encode(__typed__.processingAllocationRequest),
43
43
  metadata: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.encode(__typed__.metadata),
44
44
  initial_liquidity_to_burn: damlTypes.Numeric(0).encode(__typed__.initial_liquidity_to_burn),
45
45
  };
@@ -55,9 +55,9 @@ exports.AmmV0 = damlTypes.assembleTemplate(
55
55
  },
56
56
  }
57
57
 
58
- , pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.IAmm
58
+ , pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.IAmm
59
59
  );
60
60
 
61
61
 
62
- damlTypes.registerTemplate(exports.AmmV0, ['0ca6bd04df49a561111d0f8d1084ca63d232274124fd9c425f6332324193e463', '#type7labs-amm-v0-v1']);
62
+ damlTypes.registerTemplate(exports.AmmV0, ['73bda6a7b110b19cabd01c2236f07ad005e60da2f4fd34f867969d0236fb567c', '#type7labs-amm-v0-v2']);
63
63
 
@@ -0,0 +1,3 @@
1
+ import * as Type7Labs from './Type7Labs';
2
+ export { Type7Labs } ;
3
+ export declare const packageId = '73bda6a7b110b19cabd01c2236f07ad005e60da2f4fd34f867969d0236fb567c';
@@ -7,4 +7,4 @@ function __export(m) {
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  var Type7Labs = require('./Type7Labs');
9
9
  exports.Type7Labs = Type7Labs;
10
- exports.packageId = '74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1';
10
+ exports.packageId = '73bda6a7b110b19cabd01c2236f07ad005e60da2f4fd34f867969d0236fb567c';
@@ -2,13 +2,13 @@
2
2
  "dependencies": {
3
3
  "@daml.js/ghc-stdlib-DA-Internal-Template-1.0.0": "file:../ghc-stdlib-DA-Internal-Template-1.0.0",
4
4
  "@daml.js/splice-api-token-metadata-v1-1.0.0": "file:../splice-api-token-metadata-v1-1.0.0",
5
- "@daml.js/type7labs-api-amm-v1-0.0.1": "file:../type7labs-api-amm-v1-0.0.1",
5
+ "@daml.js/type7labs-api-amm-v2-0.0.1": "file:../type7labs-api-amm-v2-0.0.1",
6
6
  "@mojotech/json-type-validation": "^3.1.0"
7
7
  },
8
8
  "description": "Generated by `daml codegen js` from SDK 3.3.0-snapshot.20250507.0",
9
9
  "license": "UNLICENSED",
10
10
  "main": "lib/index.js",
11
- "name": "@daml.js/type7labs-amm-v0-v1-0.0.1",
11
+ "name": "@daml.js/type7labs-amm-v0-v2-0.0.1",
12
12
  "peer-dependencies": {
13
13
  "@daml/ledger": "3.3.0-snapshot.20250502.13767.0.v2fc6c7e2",
14
14
  "@daml/types": "3.3.0-snapshot.20250502.13767.0.v2fc6c7e2"
@@ -15,10 +15,9 @@ import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69
15
15
 
16
16
  import * as Type7Labs_Api_Amm_IAmmAllocationRequest from '../../../../Type7Labs/Api/Amm/IAmmAllocationRequest/module';
17
17
 
18
- export declare type IAmm = damlTypes.Interface<'74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1:Type7Labs.Api.Amm.IAmm:IAmm'> & AmmView;
18
+ export declare type IAmm = damlTypes.Interface<'ee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e:Type7Labs.Api.Amm.IAmm:IAmm'> & AmmView;
19
19
  export declare interface IAmmInterface {
20
20
  Archive: damlTypes.Choice<IAmm, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<IAmm, undefined>>;
21
- CreateLiquidityAdditionAllocationRequest: damlTypes.Choice<IAmm, CreateLiquidityAdditionAllocationRequest, AmmAllocationRequestCreationRecord, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<IAmm, undefined>>;
22
21
  WithdrawAllocationFromCurrentRequest: damlTypes.Choice<IAmm, WithdrawAllocationFromCurrentRequest, damlTypes.ContractId<IAmm>, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<IAmm, undefined>>;
23
22
  AddAllocationToCurrentRequest: damlTypes.Choice<IAmm, AddAllocationToCurrentRequest, damlTypes.ContractId<IAmm>, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<IAmm, undefined>>;
24
23
  CancelProcessing: damlTypes.Choice<IAmm, CancelProcessing, damlTypes.ContractId<IAmm>, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<IAmm, undefined>>;
@@ -26,6 +25,7 @@ export declare interface IAmmInterface {
26
25
  AllocateRequiredOperatorFundsForCurrentRequest: damlTypes.Choice<IAmm, AllocateRequiredOperatorFundsForCurrentRequest, damlTypes.ContractId<IAmm>, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<IAmm, undefined>>;
27
26
  CreateSwapAllocationRequest: damlTypes.Choice<IAmm, CreateSwapAllocationRequest, AmmAllocationRequestCreationRecord, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<IAmm, undefined>>;
28
27
  CreateLiquidityRemovalAllocationRequest: damlTypes.Choice<IAmm, CreateLiquidityRemovalAllocationRequest, AmmAllocationRequestCreationRecord, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<IAmm, undefined>>;
28
+ CreateLiquidityAdditionAllocationRequest: damlTypes.Choice<IAmm, CreateLiquidityAdditionAllocationRequest, AmmAllocationRequestCreationRecord, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<IAmm, undefined>>;
29
29
  AddAmmManager: damlTypes.Choice<IAmm, AddAmmManager, damlTypes.ContractId<IAmm>, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<IAmm, undefined>>;
30
30
  RemoveAmmManager: damlTypes.Choice<IAmm, RemoveAmmManager, damlTypes.ContractId<IAmm>, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<IAmm, undefined>>;
31
31
  UpdateSwapTimeInMicroseconds: damlTypes.Choice<IAmm, UpdateSwapTimeInMicroseconds, damlTypes.ContractId<IAmm>, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<IAmm, undefined>>;
@@ -40,7 +40,7 @@ export declare interface IAmmInterface {
40
40
  AddLpProvider: damlTypes.Choice<IAmm, AddLpProvider, damlTypes.ContractId<IAmm>, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<IAmm, undefined>>;
41
41
  }
42
42
  export declare const IAmm:
43
- damlTypes.InterfaceCompanion<IAmm, undefined, '74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1:Type7Labs.Api.Amm.IAmm:IAmm'> &
43
+ damlTypes.InterfaceCompanion<IAmm, undefined, 'ee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e:Type7Labs.Api.Amm.IAmm:IAmm'> &
44
44
  damlTypes.FromTemplate<IAmm, unknown> &
45
45
  IAmmInterface;
46
46
 
@@ -21,7 +21,7 @@ var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requir
21
21
  var Type7Labs_Api_Amm_IAmmAllocationRequest = require('../../../../Type7Labs/Api/Amm/IAmmAllocationRequest/module');
22
22
 
23
23
  exports.IAmm = damlTypes.assembleInterface(
24
- '74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1:Type7Labs.Api.Amm.IAmm:IAmm',
24
+ 'ee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e:Type7Labs.Api.Amm.IAmm:IAmm',
25
25
  function () { return exports.AmmView; },
26
26
  {
27
27
  Archive: {
@@ -32,14 +32,6 @@ exports.IAmm = damlTypes.assembleInterface(
32
32
  resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
33
33
  resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
34
34
  },
35
- CreateLiquidityAdditionAllocationRequest: {
36
- template: function () { return exports.IAmm; },
37
- choiceName: 'CreateLiquidityAdditionAllocationRequest',
38
- argumentDecoder: damlTypes.lazyMemo(function () { return exports.CreateLiquidityAdditionAllocationRequest.decoder; }),
39
- argumentEncode: function (__typed__) { return exports.CreateLiquidityAdditionAllocationRequest.encode(__typed__); },
40
- resultDecoder: damlTypes.lazyMemo(function () { return exports.AmmAllocationRequestCreationRecord.decoder; }),
41
- resultEncode: function (__typed__) { return exports.AmmAllocationRequestCreationRecord.encode(__typed__); },
42
- },
43
35
  WithdrawAllocationFromCurrentRequest: {
44
36
  template: function () { return exports.IAmm; },
45
37
  choiceName: 'WithdrawAllocationFromCurrentRequest',
@@ -96,6 +88,14 @@ exports.IAmm = damlTypes.assembleInterface(
96
88
  resultDecoder: damlTypes.lazyMemo(function () { return exports.AmmAllocationRequestCreationRecord.decoder; }),
97
89
  resultEncode: function (__typed__) { return exports.AmmAllocationRequestCreationRecord.encode(__typed__); },
98
90
  },
91
+ CreateLiquidityAdditionAllocationRequest: {
92
+ template: function () { return exports.IAmm; },
93
+ choiceName: 'CreateLiquidityAdditionAllocationRequest',
94
+ argumentDecoder: damlTypes.lazyMemo(function () { return exports.CreateLiquidityAdditionAllocationRequest.decoder; }),
95
+ argumentEncode: function (__typed__) { return exports.CreateLiquidityAdditionAllocationRequest.encode(__typed__); },
96
+ resultDecoder: damlTypes.lazyMemo(function () { return exports.AmmAllocationRequestCreationRecord.decoder; }),
97
+ resultEncode: function (__typed__) { return exports.AmmAllocationRequestCreationRecord.encode(__typed__); },
98
+ },
99
99
  AddAmmManager: {
100
100
  template: function () { return exports.IAmm; },
101
101
  choiceName: 'AddAmmManager',
@@ -11,7 +11,7 @@ import * as pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f
11
11
  import * as pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d from '@daml.js/splice-api-token-allocation-v1-1.0.0';
12
12
  import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '@daml.js/ghc-stdlib-DA-Internal-Template-1.0.0';
13
13
 
14
- export declare type IAmmAllocationRequest = damlTypes.Interface<'74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1:Type7Labs.Api.Amm.IAmmAllocationRequest:IAmmAllocationRequest'> & AmmAllocationRequestView;
14
+ export declare type IAmmAllocationRequest = damlTypes.Interface<'ee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e:Type7Labs.Api.Amm.IAmmAllocationRequest:IAmmAllocationRequest'> & AmmAllocationRequestView;
15
15
  export declare interface IAmmAllocationRequestInterface {
16
16
  ArchiveForSettlementExecutor: damlTypes.Choice<IAmmAllocationRequest, ArchiveForSettlementExecutor, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<IAmmAllocationRequest, undefined>>;
17
17
  AddAllocation: damlTypes.Choice<IAmmAllocationRequest, AddAllocation, damlTypes.ContractId<IAmmAllocationRequest>, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<IAmmAllocationRequest, undefined>>;
@@ -21,7 +21,7 @@ export declare interface IAmmAllocationRequestInterface {
21
21
  Archive: damlTypes.Choice<IAmmAllocationRequest, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<IAmmAllocationRequest, undefined>>;
22
22
  }
23
23
  export declare const IAmmAllocationRequest:
24
- damlTypes.InterfaceCompanion<IAmmAllocationRequest, undefined, '74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1:Type7Labs.Api.Amm.IAmmAllocationRequest:IAmmAllocationRequest'> &
24
+ damlTypes.InterfaceCompanion<IAmmAllocationRequest, undefined, 'ee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e:Type7Labs.Api.Amm.IAmmAllocationRequest:IAmmAllocationRequest'> &
25
25
  damlTypes.FromTemplate<IAmmAllocationRequest, unknown> &
26
26
  IAmmAllocationRequestInterface;
27
27
 
@@ -17,7 +17,7 @@ var pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d = requir
17
17
  var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('@daml.js/ghc-stdlib-DA-Internal-Template-1.0.0');
18
18
 
19
19
  exports.IAmmAllocationRequest = damlTypes.assembleInterface(
20
- '74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1:Type7Labs.Api.Amm.IAmmAllocationRequest:IAmmAllocationRequest',
20
+ 'ee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e:Type7Labs.Api.Amm.IAmmAllocationRequest:IAmmAllocationRequest',
21
21
  function () { return exports.AmmAllocationRequestView; },
22
22
  {
23
23
  ArchiveForSettlementExecutor: {
@@ -0,0 +1,3 @@
1
+ import * as Type7Labs from './Type7Labs';
2
+ export { Type7Labs } ;
3
+ export declare const packageId = 'ee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e';
@@ -7,4 +7,4 @@ function __export(m) {
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
8
  var Type7Labs = require('./Type7Labs');
9
9
  exports.Type7Labs = Type7Labs;
10
- exports.packageId = '1c591c9a62c3531983e7d3d6777e93f1e9eded0895583e4ab65e441399e26dbe';
10
+ exports.packageId = 'ee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e';
@@ -11,7 +11,7 @@
11
11
  "description": "Generated by `daml codegen js` from SDK 3.3.0-snapshot.20250507.0",
12
12
  "license": "UNLICENSED",
13
13
  "main": "lib/index.js",
14
- "name": "@daml.js/type7labs-api-amm-v1-0.0.1",
14
+ "name": "@daml.js/type7labs-api-amm-v2-0.0.1",
15
15
  "peer-dependencies": {
16
16
  "@daml/ledger": "3.3.0-snapshot.20250502.13767.0.v2fc6c7e2",
17
17
  "@daml/types": "3.3.0-snapshot.20250502.13767.0.v2fc6c7e2"
@@ -8,16 +8,16 @@ import * as damlTypes from '@daml/types';
8
8
  import * as damlLedger from '@daml/ledger';
9
9
 
10
10
  import * as pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f from '@daml.js/splice-api-token-metadata-v1-1.0.0';
11
- import * as pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1 from '@daml.js/type7labs-api-amm-v1-0.0.1';
11
+ import * as pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e from '@daml.js/type7labs-api-amm-v2-0.0.1';
12
12
 
13
13
  export declare type AmmInitData = {
14
14
  operatorParty: damlTypes.Party;
15
15
  mamangerParty: damlTypes.Party;
16
16
  id: string;
17
- tokenX: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.TokenData;
18
- tokenY: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.TokenData;
19
- tokenLp: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.TokenData;
20
- settlementFactoryData: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.AmmSettlementFactoryData;
17
+ tokenX: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.TokenData;
18
+ tokenY: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.TokenData;
19
+ tokenLp: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.TokenData;
20
+ settlementFactoryData: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.AmmSettlementFactoryData;
21
21
  fee: damlTypes.Numeric;
22
22
  operatorFee: damlTypes.Numeric;
23
23
  metadata: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata;
@@ -13,20 +13,20 @@ var damlTypes = require('@daml/types');
13
13
  var damlLedger = require('@daml/ledger');
14
14
 
15
15
  var pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f = require('@daml.js/splice-api-token-metadata-v1-1.0.0');
16
- var pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1 = require('@daml.js/type7labs-api-amm-v1-0.0.1');
16
+ var pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e = require('@daml.js/type7labs-api-amm-v2-0.0.1');
17
17
 
18
18
 
19
19
  exports.AmmInitData = {
20
- decoder: damlTypes.lazyMemo(function () { return jtv.object({operatorParty: damlTypes.Party.decoder, mamangerParty: damlTypes.Party.decoder, id: damlTypes.Text.decoder, tokenX: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.TokenData.decoder, tokenY: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.TokenData.decoder, tokenLp: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.TokenData.decoder, settlementFactoryData: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.AmmSettlementFactoryData.decoder, fee: damlTypes.Numeric(0).decoder, operatorFee: damlTypes.Numeric(0).decoder, metadata: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.decoder, initial_liquidity_to_burn: damlTypes.Numeric(0).decoder, }); }),
20
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({operatorParty: damlTypes.Party.decoder, mamangerParty: damlTypes.Party.decoder, id: damlTypes.Text.decoder, tokenX: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.TokenData.decoder, tokenY: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.TokenData.decoder, tokenLp: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.TokenData.decoder, settlementFactoryData: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.AmmSettlementFactoryData.decoder, fee: damlTypes.Numeric(0).decoder, operatorFee: damlTypes.Numeric(0).decoder, metadata: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.decoder, initial_liquidity_to_burn: damlTypes.Numeric(0).decoder, }); }),
21
21
  encode: function (__typed__) {
22
22
  return {
23
23
  operatorParty: damlTypes.Party.encode(__typed__.operatorParty),
24
24
  mamangerParty: damlTypes.Party.encode(__typed__.mamangerParty),
25
25
  id: damlTypes.Text.encode(__typed__.id),
26
- tokenX: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.TokenData.encode(__typed__.tokenX),
27
- tokenY: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.TokenData.encode(__typed__.tokenY),
28
- tokenLp: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.TokenData.encode(__typed__.tokenLp),
29
- settlementFactoryData: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.AmmSettlementFactoryData.encode(__typed__.settlementFactoryData),
26
+ tokenX: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.TokenData.encode(__typed__.tokenX),
27
+ tokenY: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.TokenData.encode(__typed__.tokenY),
28
+ tokenLp: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.TokenData.encode(__typed__.tokenLp),
29
+ settlementFactoryData: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.AmmSettlementFactoryData.encode(__typed__.settlementFactoryData),
30
30
  fee: damlTypes.Numeric(0).encode(__typed__.fee),
31
31
  operatorFee: damlTypes.Numeric(0).encode(__typed__.operatorFee),
32
32
  metadata: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata.encode(__typed__.metadata),
@@ -0,0 +1,3 @@
1
+ import * as Type7Labs from './Type7Labs';
2
+ export { Type7Labs } ;
3
+ export declare const packageId = 'b558fab04c6c6a293be116e649335b40685e67a10f54042528784abf5f15923d';
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /* eslint-disable-next-line no-unused-vars */
3
+ function __export(m) {
4
+ /* eslint-disable-next-line no-prototype-builtins */
5
+ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
6
+ }
7
+ Object.defineProperty(exports, "__esModule", { value: true });
8
+ var Type7Labs = require('./Type7Labs');
9
+ exports.Type7Labs = Type7Labs;
10
+ exports.packageId = 'b558fab04c6c6a293be116e649335b40685e67a10f54042528784abf5f15923d';
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "dependencies": {
3
3
  "@daml.js/splice-api-token-metadata-v1-1.0.0": "file:../splice-api-token-metadata-v1-1.0.0",
4
- "@daml.js/type7labs-api-amm-v1-0.0.1": "file:../type7labs-api-amm-v1-0.0.1",
4
+ "@daml.js/type7labs-api-amm-v2-0.0.1": "file:../type7labs-api-amm-v2-0.0.1",
5
5
  "@mojotech/json-type-validation": "^3.1.0"
6
6
  },
7
7
  "description": "Generated by `daml codegen js` from SDK 3.3.0-snapshot.20250507.0",
8
8
  "license": "UNLICENSED",
9
9
  "main": "lib/index.js",
10
- "name": "@daml.js/type7labs-scripts-amm-v0-v1-v0-0.0.1",
10
+ "name": "@daml.js/type7labs-scripts-amm-v0-v2-v0-0.0.1",
11
11
  "peer-dependencies": {
12
12
  "@daml/ledger": "3.3.0-snapshot.20250502.13767.0.v2fc6c7e2",
13
13
  "@daml/types": "3.3.0-snapshot.20250502.13767.0.v2fc6c7e2"
@@ -7,10 +7,10 @@ import * as damlTypes from '@daml/types';
7
7
  /* eslint-disable-next-line @typescript-eslint/no-unused-vars */
8
8
  import * as damlLedger from '@daml/ledger';
9
9
 
10
- import * as pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1 from '@daml.js/type7labs-api-amm-v1-0.0.1';
10
+ import * as pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e from '@daml.js/type7labs-api-amm-v2-0.0.1';
11
11
 
12
12
  export declare type FetchAmmAllocationRequestArg = {
13
- cid: damlTypes.ContractId<pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmmAllocationRequest.IAmmAllocationRequest>;
13
+ cid: damlTypes.ContractId<pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmmAllocationRequest.IAmmAllocationRequest>;
14
14
  party: damlTypes.Party;
15
15
  };
16
16
 
@@ -12,14 +12,14 @@ var damlTypes = require('@daml/types');
12
12
  /* eslint-disable-next-line no-unused-vars */
13
13
  var damlLedger = require('@daml/ledger');
14
14
 
15
- var pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1 = require('@daml.js/type7labs-api-amm-v1-0.0.1');
15
+ var pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e = require('@daml.js/type7labs-api-amm-v2-0.0.1');
16
16
 
17
17
 
18
18
  exports.FetchAmmAllocationRequestArg = {
19
- decoder: damlTypes.lazyMemo(function () { return jtv.object({cid: damlTypes.ContractId(pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmmAllocationRequest.IAmmAllocationRequest).decoder, party: damlTypes.Party.decoder, }); }),
19
+ decoder: damlTypes.lazyMemo(function () { return jtv.object({cid: damlTypes.ContractId(pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmmAllocationRequest.IAmmAllocationRequest).decoder, party: damlTypes.Party.decoder, }); }),
20
20
  encode: function (__typed__) {
21
21
  return {
22
- cid: damlTypes.ContractId(pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmmAllocationRequest.IAmmAllocationRequest).encode(__typed__.cid),
22
+ cid: damlTypes.ContractId(pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmmAllocationRequest.IAmmAllocationRequest).encode(__typed__.cid),
23
23
  party: damlTypes.Party.encode(__typed__.party),
24
24
  };
25
25
  }
@@ -8,12 +8,12 @@ import * as damlTypes from '@daml/types';
8
8
  import * as damlLedger from '@daml/ledger';
9
9
 
10
10
  import * as pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f from '@daml.js/splice-api-token-metadata-v1-1.0.0';
11
- import * as pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1 from '@daml.js/type7labs-api-amm-v1-0.0.1';
12
11
  import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '@daml.js/splice-api-featured-app-v1-1.0.0';
12
+ import * as pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e from '@daml.js/type7labs-api-amm-v2-0.0.1';
13
13
 
14
14
  export declare type AddApplicablePartyAllocationsArg = {
15
15
  allocator: damlTypes.Party;
16
- ammCid: damlTypes.ContractId<pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.IAmm>;
16
+ ammCid: damlTypes.ContractId<pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.IAmm>;
17
17
  extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
18
18
  };
19
19
 
@@ -24,9 +24,9 @@ export declare const AddApplicablePartyAllocationsArg:
24
24
 
25
25
 
26
26
  export declare type WithdrawAllocationFromCurrentRequestArg = {
27
- cid: damlTypes.ContractId<pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.IAmm>;
27
+ cid: damlTypes.ContractId<pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.IAmm>;
28
28
  allocator: damlTypes.Party;
29
- records: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmmAllocationRequest.AllocationWithdrawalRecord[];
29
+ records: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmmAllocationRequest.AllocationWithdrawalRecord[];
30
30
  extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
31
31
  };
32
32
 
@@ -37,9 +37,9 @@ export declare const WithdrawAllocationFromCurrentRequestArg:
37
37
 
38
38
 
39
39
  export declare type AddAllocationToCurrentRequestArg = {
40
- cid: damlTypes.ContractId<pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.IAmm>;
40
+ cid: damlTypes.ContractId<pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.IAmm>;
41
41
  allocator: damlTypes.Party;
42
- records: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmmAllocationRequest.AllocationRecord[];
42
+ records: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmmAllocationRequest.AllocationRecord[];
43
43
  extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
44
44
  };
45
45
 
@@ -50,7 +50,7 @@ export declare const AddAllocationToCurrentRequestArg:
50
50
 
51
51
 
52
52
  export declare type UpdateSwapTimeInMicrosecondsArg = {
53
- cid: damlTypes.ContractId<pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.IAmm>;
53
+ cid: damlTypes.ContractId<pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.IAmm>;
54
54
  manager: damlTypes.Party;
55
55
  newTime: damlTypes.Int;
56
56
  extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
@@ -63,7 +63,7 @@ export declare const UpdateSwapTimeInMicrosecondsArg:
63
63
 
64
64
 
65
65
  export declare type UpdateLpRemovalTimeInMicrosecondsArg = {
66
- cid: damlTypes.ContractId<pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.IAmm>;
66
+ cid: damlTypes.ContractId<pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.IAmm>;
67
67
  manager: damlTypes.Party;
68
68
  newTime: damlTypes.Int;
69
69
  extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
@@ -76,7 +76,7 @@ export declare const UpdateLpRemovalTimeInMicrosecondsArg:
76
76
 
77
77
 
78
78
  export declare type UpdateLpAdditionTimeInMicrosecondsArg = {
79
- cid: damlTypes.ContractId<pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.IAmm>;
79
+ cid: damlTypes.ContractId<pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.IAmm>;
80
80
  manager: damlTypes.Party;
81
81
  newTime: damlTypes.Int;
82
82
  extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
@@ -89,7 +89,7 @@ export declare const UpdateLpAdditionTimeInMicrosecondsArg:
89
89
 
90
90
 
91
91
  export declare type UpdateSettlementExecutorArg = {
92
- cid: damlTypes.ContractId<pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.IAmm>;
92
+ cid: damlTypes.ContractId<pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.IAmm>;
93
93
  manager: damlTypes.Party;
94
94
  newExecutor: damlTypes.Party;
95
95
  extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
@@ -102,7 +102,7 @@ export declare const UpdateSettlementExecutorArg:
102
102
 
103
103
 
104
104
  export declare type UpdateOperatorFeeRateArg = {
105
- cid: damlTypes.ContractId<pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.IAmm>;
105
+ cid: damlTypes.ContractId<pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.IAmm>;
106
106
  manager: damlTypes.Party;
107
107
  newFeeRate: damlTypes.Numeric;
108
108
  extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
@@ -115,7 +115,7 @@ export declare const UpdateOperatorFeeRateArg:
115
115
 
116
116
 
117
117
  export declare type UpdateFeeRateArg = {
118
- cid: damlTypes.ContractId<pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.IAmm>;
118
+ cid: damlTypes.ContractId<pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.IAmm>;
119
119
  manager: damlTypes.Party;
120
120
  newFeeRate: damlTypes.Numeric;
121
121
  extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
@@ -128,7 +128,7 @@ export declare const UpdateFeeRateArg:
128
128
 
129
129
 
130
130
  export declare type RemoveSwapUserArg = {
131
- cid: damlTypes.ContractId<pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.IAmm>;
131
+ cid: damlTypes.ContractId<pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.IAmm>;
132
132
  manager: damlTypes.Party;
133
133
  userToRemove: damlTypes.Party;
134
134
  extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
@@ -141,7 +141,7 @@ export declare const RemoveSwapUserArg:
141
141
 
142
142
 
143
143
  export declare type AddSwapUserArg = {
144
- cid: damlTypes.ContractId<pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.IAmm>;
144
+ cid: damlTypes.ContractId<pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.IAmm>;
145
145
  manager: damlTypes.Party;
146
146
  newUser: damlTypes.Party;
147
147
  extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
@@ -155,7 +155,7 @@ export declare const AddSwapUserArg:
155
155
 
156
156
 
157
157
  export declare type RemoveLpProviderArg = {
158
- cid: damlTypes.ContractId<pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.IAmm>;
158
+ cid: damlTypes.ContractId<pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.IAmm>;
159
159
  manager: damlTypes.Party;
160
160
  providerToRemove: damlTypes.Party;
161
161
  extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
@@ -168,7 +168,7 @@ export declare const RemoveLpProviderArg:
168
168
 
169
169
 
170
170
  export declare type AddLpProviderArg = {
171
- cid: damlTypes.ContractId<pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.IAmm>;
171
+ cid: damlTypes.ContractId<pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.IAmm>;
172
172
  manager: damlTypes.Party;
173
173
  newProvider: damlTypes.Party;
174
174
  extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
@@ -182,7 +182,7 @@ export declare const AddLpProviderArg:
182
182
 
183
183
 
184
184
  export declare type RemoveAmmManagerArg = {
185
- cid: damlTypes.ContractId<pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.IAmm>;
185
+ cid: damlTypes.ContractId<pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.IAmm>;
186
186
  operator: damlTypes.Party;
187
187
  managerToRemove: damlTypes.Party;
188
188
  extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
@@ -195,7 +195,7 @@ export declare const RemoveAmmManagerArg:
195
195
 
196
196
 
197
197
  export declare type AddAmmManagerArg = {
198
- cid: damlTypes.ContractId<pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.IAmm>;
198
+ cid: damlTypes.ContractId<pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.IAmm>;
199
199
  operator: damlTypes.Party;
200
200
  newManager: damlTypes.Party;
201
201
  extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
@@ -208,10 +208,10 @@ export declare const AddAmmManagerArg:
208
208
 
209
209
 
210
210
  export declare type AllocateRequiredOperatorFundsForCurrentRequestArg = {
211
- cid: damlTypes.ContractId<pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.IAmm>;
211
+ cid: damlTypes.ContractId<pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.IAmm>;
212
212
  settlementExecutor: damlTypes.Party;
213
213
  extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
214
- records: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.AllocationCreationArgs[];
214
+ records: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.AllocationCreationArgs[];
215
215
  };
216
216
 
217
217
  export declare const AllocateRequiredOperatorFundsForCurrentRequestArg:
@@ -221,13 +221,13 @@ export declare const AllocateRequiredOperatorFundsForCurrentRequestArg:
221
221
 
222
222
 
223
223
  export declare type SwapArg = {
224
- cid: damlTypes.ContractId<pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.IAmm>;
224
+ cid: damlTypes.ContractId<pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.IAmm>;
225
225
  swapUser: damlTypes.Party;
226
226
  isXtoY: boolean;
227
227
  inputTokenAmount: damlTypes.Numeric;
228
228
  minOutputTokenAmount: damlTypes.Numeric;
229
229
  extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
230
- records: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.AllocationCreationArgs[];
230
+ records: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.AllocationCreationArgs[];
231
231
  allocationCreationExtraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
232
232
  };
233
233
 
@@ -238,7 +238,7 @@ export declare const SwapArg:
238
238
 
239
239
 
240
240
  export declare type RemoveLiquidityArg = {
241
- cid: damlTypes.ContractId<pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.IAmm>;
241
+ cid: damlTypes.ContractId<pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.IAmm>;
242
242
  lpProvider: damlTypes.Party;
243
243
  lpTokenAmount: damlTypes.Numeric;
244
244
  minTokenXAmount: damlTypes.Numeric;
@@ -253,13 +253,13 @@ export declare const RemoveLiquidityArg:
253
253
 
254
254
 
255
255
  export declare type ProvideLiquidityArg = {
256
- cid: damlTypes.ContractId<pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.IAmm>;
256
+ cid: damlTypes.ContractId<pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.IAmm>;
257
257
  lpProvider: damlTypes.Party;
258
258
  tokenXAmount: damlTypes.Numeric;
259
259
  tokenYAmount: damlTypes.Numeric;
260
260
  minLpTokenAmount: damlTypes.Numeric;
261
261
  extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
262
- records: pkg74c7ce8936d9e1ab4489871687edca991aeadd04f32f103b8b17866ddb3da0c1.Type7Labs.Api.Amm.IAmm.AllocationCreationArgs[];
262
+ records: pkgee0c5b36b2451e5be70a0cff1922f5d3fe2e042f268724e3010fecc5254a6d0e.Type7Labs.Api.Amm.IAmm.AllocationCreationArgs[];
263
263
  allocationCreationExtraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
264
264
  };
265
265