lynx-client 0.0.2 → 0.0.3

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 (142) hide show
  1. package/README.md +0 -1
  2. package/dist/cjs/index.js +1 -0
  3. package/dist/cjs/lib/addresses/lensAddresses.js +16 -16
  4. package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.js +0 -13
  5. package/dist/cjs/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +6 -26
  6. package/dist/cjs/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.js +0 -1
  7. package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.js +3 -7
  8. package/dist/cjs/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +11 -47
  9. package/dist/cjs/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +28 -9
  10. package/dist/cjs/lib/contractsIntegration/TradingFloorService/index.js +5 -0
  11. package/dist/cjs/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.js +2 -0
  12. package/dist/cjs/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.js +2 -0
  13. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1854 -0
  14. package/dist/cjs/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
  15. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1 -1
  16. package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +78 -6
  17. package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +297 -80
  18. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +1 -1
  19. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.js +10 -109
  20. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +1 -1
  21. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +51 -594
  22. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
  23. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.js +334 -0
  24. package/dist/esm/index.d.ts +1 -0
  25. package/dist/esm/index.d.ts.map +1 -1
  26. package/dist/esm/index.js +1 -0
  27. package/dist/esm/lib/addresses/lensAddresses.d.ts +16 -16
  28. package/dist/esm/lib/addresses/lensAddresses.js +16 -16
  29. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +3 -16
  30. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
  31. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.js +0 -13
  32. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -5
  33. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
  34. package/dist/esm/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.js +6 -26
  35. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts +0 -1
  36. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts.map +1 -1
  37. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.js +0 -1
  38. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +10 -21
  39. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
  40. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.js +3 -7
  41. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +1 -4
  42. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
  43. package/dist/esm/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.js +11 -47
  44. package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +10 -4
  45. package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
  46. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +10 -4
  47. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
  48. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +28 -9
  49. package/dist/esm/lib/contractsIntegration/TradingFloorService/index.d.ts +3 -0
  50. package/dist/esm/lib/contractsIntegration/TradingFloorService/index.d.ts.map +1 -0
  51. package/dist/esm/lib/contractsIntegration/TradingFloorService/index.js +5 -0
  52. package/dist/esm/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.d.ts +1084 -0
  53. package/dist/esm/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.d.ts.map +1 -0
  54. package/dist/esm/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.js +2 -0
  55. package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +42 -6
  56. package/dist/esm/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -1
  57. package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +150 -59
  58. package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
  59. package/dist/esm/lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts +10 -65
  60. package/dist/esm/lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts.map +1 -1
  61. package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts +34 -112
  62. package/dist/esm/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts.map +1 -1
  63. package/dist/esm/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.d.ts +158 -0
  64. package/dist/esm/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.d.ts.map +1 -0
  65. package/dist/esm/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.js +2 -0
  66. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1425 -0
  67. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts.map +1 -0
  68. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1854 -0
  69. package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
  70. package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
  71. package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +1 -1
  72. package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1 -1
  73. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +60 -5
  74. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -1
  75. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +78 -6
  76. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +226 -64
  77. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
  78. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +297 -80
  79. package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +1 -1
  80. package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +1 -1
  81. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts +10 -85
  82. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts.map +1 -1
  83. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.js +10 -109
  84. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +1 -1
  85. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +1 -1
  86. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +13 -442
  87. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts.map +1 -1
  88. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +51 -594
  89. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
  90. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
  91. package/dist/esm/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts +251 -0
  92. package/dist/esm/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts.map +1 -0
  93. package/dist/esm/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.js +334 -0
  94. package/dist/types/index.d.ts +1 -0
  95. package/dist/types/index.d.ts.map +1 -1
  96. package/dist/types/lib/addresses/lensAddresses.d.ts +16 -16
  97. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts +3 -16
  98. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.d.ts.map +1 -1
  99. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts +5 -5
  100. package/dist/types/lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.d.ts.map +1 -1
  101. package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts +0 -1
  102. package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalUtils.d.ts.map +1 -1
  103. package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts +10 -21
  104. package/dist/types/lib/contractsIntegration/TradingFloorLensService/ITradingFloorLensService.d.ts.map +1 -1
  105. package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts +1 -4
  106. package/dist/types/lib/contractsIntegration/TradingFloorLensService/TradingFloorLensService.d.ts.map +1 -1
  107. package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +10 -4
  108. package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
  109. package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +10 -4
  110. package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
  111. package/dist/types/lib/contractsIntegration/TradingFloorService/index.d.ts +3 -0
  112. package/dist/types/lib/contractsIntegration/TradingFloorService/index.d.ts.map +1 -0
  113. package/dist/types/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.d.ts +1084 -0
  114. package/dist/types/lib/typechain/contracts/Lynx/Lex/LexPool/LexPoolV1.d.ts.map +1 -0
  115. package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts +42 -6
  116. package/dist/types/lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1.d.ts.map +1 -1
  117. package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +150 -59
  118. package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
  119. package/dist/types/lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts +10 -65
  120. package/dist/types/lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens.d.ts.map +1 -1
  121. package/dist/types/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts +34 -112
  122. package/dist/types/lib/typechain/contracts/Peripheral/Lens/TradingFloorLens.d.ts.map +1 -1
  123. package/dist/types/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.d.ts +158 -0
  124. package/dist/types/lib/typechain/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor.d.ts.map +1 -0
  125. package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1425 -0
  126. package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts.map +1 -0
  127. package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
  128. package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +1 -1
  129. package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +60 -5
  130. package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts.map +1 -1
  131. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +226 -64
  132. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
  133. package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +1 -1
  134. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts +10 -85
  135. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory.d.ts.map +1 -1
  136. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +1 -1
  137. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +13 -442
  138. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts.map +1 -1
  139. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
  140. package/dist/types/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts +251 -0
  141. package/dist/types/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts.map +1 -0
  142. package/package.json +1 -1
@@ -221,7 +221,7 @@ const _abi = [
221
221
  type: "function",
222
222
  },
223
223
  ];
224
- const _bytecode = "0x608060405234801561001057600080fd5b506110b9806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063098eb3171461005157806312e5f7a81461007a578063549d65731461009a578063984d9f2314610118575b600080fd5b61006461005f366004610c63565b610138565b6040516100719190610cc5565b60405180910390f35b61008d610088366004610d9b565b61014f565b6040516100719190610dd0565b6100ad6100a8366004610c63565b610188565b604051610071919060006101008201905061ffff80845116835280602085015116602084015250604083015115156040830152606083015160608301526080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015292915050565b61012b610126366004610df5565b610199565b6040516100719190610e7d565b610140610ba6565b61014982610278565b92915050565b6101776040518060600160405280600061ffff16815260200160008152602001600081525090565b61018183836106ec565b9392505050565b610190610bfc565b61014982610811565b60608167ffffffffffffffff8111156101b4576101b4610ee3565b60405190808252806020026020018201604052801561020d57816020015b6101fa6040518060600160405280600061ffff16815260200160008152602001600081525090565b8152602001906001900390816101d25790505b50905060005b828110156102705761024b8585858481811061023157610231610ef9565b90506020020160208101906102469190610f0f565b6106ec565b82828151811061025d5761025d610ef9565b6020908102919091010152600101610213565b509392505050565b610280610ba6565b6000829050806001600160a01b03166345b617136040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102e79190610f2a565b61ffff16825260408051637f31c2db60e01b815290516001600160a01b03831691637f31c2db9160048083019260209291908290030181865afa158015610332573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103569190610f2a565b61ffff166020808401919091526040805163104302df60e21b815290516001600160a01b0384169263410c0b7c92600480820193918290030181865afa1580156103a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c89190610f2a565b826040019061ffff16908161ffff1681525050806001600160a01b031663a5b602086040518163ffffffff1660e01b8152600401602060405180830381865afa158015610419573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043d9190610f2a565b61ffff16606083015260408051637f588b9160e01b815290516001600160a01b03831691637f588b919160048083019260209291908290030181865afa15801561048b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104af9190610f2a565b61ffff166080830152604080516301c9281f60e51b815290516001600160a01b0383169163392503e09160048083019260209291908290030181865afa1580156104fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105219190610f2a565b61ffff1660a0830152604080516310b4cc1360e01b815290516001600160a01b038316916310b4cc139160048083019260209291908290030181865afa15801561056f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105939190610f2a565b8260c0018181525050806001600160a01b03166322ede93c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fe9190610f2a565b8260e0018181525050806001600160a01b031663814052056040518163ffffffff1660e01b8152600401602060405180830381865afa158015610645573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106699190610f2a565b61ffff1661010083015260408051634363f8cd60e11b815290516001600160a01b038316916386c7f19a9160048083019260009291908290030181865afa1580156106b8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106e09190810190610f4e565b61012083015250919050565b6107146040518060600160405280600061ffff16815260200160008152602001600081525090565b61ffff8216808252604051639f918f4560e01b8152600481019190915283906001600160a01b03821690639f918f4590602401602060405180830381865afa158015610764573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107889190611013565b63ffffffff166020830152604051632e966ff560e11b815261ffff841660048201526001600160a01b03821690635d2cdfea90602401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff9190611013565b63ffffffff1660408301525092915050565b610819610bfc565b6000829050806001600160a01b0316630890d22a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561085c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108809190610f2a565b61ffff1682526040805163104302df60e21b815290516001600160a01b0383169163410c0b7c9160048083019260209291908290030181865afa1580156108cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ef9190610f2a565b61ffff166020808401919091526040805163699db38b60e11b815290516001600160a01b0384169263d33b671692600480820193918290030181865afa15801561093d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109619190611039565b15156040808401919091525163d060576b60e01b81526001600160a01b0382169063d060576b906109979060019060040161105b565b602060405180830381865afa1580156109b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d89190610f2a565b606083015260405163d060576b60e01b81526001600160a01b0382169063d060576b90610a0a9060029060040161105b565b602060405180830381865afa158015610a27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4b9190610f2a565b608083015260405163d060576b60e01b81526001600160a01b0382169063d060576b90610a7d9060039060040161105b565b602060405180830381865afa158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe9190610f2a565b60a083015260405163d060576b60e01b81526001600160a01b0382169063d060576b90610aef90600490810161105b565b602060405180830381865afa158015610b0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b309190610f2a565b8260c0018181525050806001600160a01b031663441f64bb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9b9190610f2a565b60e083015250919050565b604080516101408101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082019290925261012081019190915290565b604051806101000160405280600061ffff168152602001600061ffff16815260200160001515815260200160008152602001600081526020016000815260200160008152602001600081525090565b6001600160a01b0381168114610c6057600080fd5b50565b600060208284031215610c7557600080fd5b813561018181610c4b565b60008151808452602080850194506020840160005b83811015610cba5781516001600160a01b031687529582019590820190600101610c95565b509495945050505050565b60208152610cda60208201835161ffff169052565b60006020830151610cf1604084018261ffff169052565b50604083015161ffff8116606084015250606083015161ffff8116608084015250608083015161ffff811660a08401525060a083015161ffff811660c08401525060c083015160e083015260e0830151610100818185015280850151915050610120610d628185018361ffff169052565b840151610140848101529050610d7c610160840182610c80565b949350505050565b803561ffff81168114610d9657600080fd5b919050565b60008060408385031215610dae57600080fd5b8235610db981610c4b565b9150610dc760208401610d84565b90509250929050565b815161ffff168152602080830151908201526040808301519082015260608101610149565b600080600060408486031215610e0a57600080fd5b8335610e1581610c4b565b9250602084013567ffffffffffffffff80821115610e3257600080fd5b818601915086601f830112610e4657600080fd5b813581811115610e5557600080fd5b8760208260051b8501011115610e6a57600080fd5b6020830194508093505050509250925092565b6020808252825182820181905260009190848201906040850190845b81811015610ed757610ec4838551805161ffff16825260208082015190830152604090810151910152565b9284019260609290920191600101610e99565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060208284031215610f2157600080fd5b61018182610d84565b600060208284031215610f3c57600080fd5b5051919050565b8051610d9681610c4b565b60006020808385031215610f6157600080fd5b825167ffffffffffffffff80821115610f7957600080fd5b818501915085601f830112610f8d57600080fd5b815181811115610f9f57610f9f610ee3565b8060051b604051601f19603f83011681018181108582111715610fc457610fc4610ee3565b604052918252848201925083810185019188831115610fe257600080fd5b938501935b8285101561100757610ff885610f43565b84529385019392850192610fe7565b98975050505050505050565b60006020828403121561102557600080fd5b815163ffffffff8116811461018157600080fd5b60006020828403121561104b57600080fd5b8151801515811461018157600080fd5b602081016005831061107d57634e487b7160e01b600052602160045260246000fd5b9190529056fea26469706673582212209348efcc8fd9b3a20f55fa4d1cd4ebedbe22f1fb55450bb3e57a922956e7d00264736f6c63430008180033";
224
+ const _bytecode = "0x608060405234801561001057600080fd5b506110b9806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c8063098eb3171461005157806312e5f7a81461007a578063549d65731461009a578063984d9f2314610118575b600080fd5b61006461005f366004610c63565b610138565b6040516100719190610cc5565b60405180910390f35b61008d610088366004610d9b565b61014f565b6040516100719190610dd0565b6100ad6100a8366004610c63565b610188565b604051610071919060006101008201905061ffff80845116835280602085015116602084015250604083015115156040830152606083015160608301526080830151608083015260a083015160a083015260c083015160c083015260e083015160e083015292915050565b61012b610126366004610df5565b610199565b6040516100719190610e7d565b610140610ba6565b61014982610278565b92915050565b6101776040518060600160405280600061ffff16815260200160008152602001600081525090565b61018183836106ec565b9392505050565b610190610bfc565b61014982610811565b60608167ffffffffffffffff8111156101b4576101b4610ee3565b60405190808252806020026020018201604052801561020d57816020015b6101fa6040518060600160405280600061ffff16815260200160008152602001600081525090565b8152602001906001900390816101d25790505b50905060005b828110156102705761024b8585858481811061023157610231610ef9565b90506020020160208101906102469190610f0f565b6106ec565b82828151811061025d5761025d610ef9565b6020908102919091010152600101610213565b509392505050565b610280610ba6565b6000829050806001600160a01b03166345b617136040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102e79190610f2a565b61ffff16825260408051637f31c2db60e01b815290516001600160a01b03831691637f31c2db9160048083019260209291908290030181865afa158015610332573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103569190610f2a565b61ffff166020808401919091526040805163104302df60e21b815290516001600160a01b0384169263410c0b7c92600480820193918290030181865afa1580156103a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c89190610f2a565b826040019061ffff16908161ffff1681525050806001600160a01b031663a5b602086040518163ffffffff1660e01b8152600401602060405180830381865afa158015610419573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043d9190610f2a565b61ffff16606083015260408051637f588b9160e01b815290516001600160a01b03831691637f588b919160048083019260209291908290030181865afa15801561048b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104af9190610f2a565b61ffff166080830152604080516301c9281f60e51b815290516001600160a01b0383169163392503e09160048083019260209291908290030181865afa1580156104fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105219190610f2a565b61ffff1660a0830152604080516310b4cc1360e01b815290516001600160a01b038316916310b4cc139160048083019260209291908290030181865afa15801561056f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105939190610f2a565b8260c0018181525050806001600160a01b03166322ede93c6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fe9190610f2a565b8260e0018181525050806001600160a01b031663814052056040518163ffffffff1660e01b8152600401602060405180830381865afa158015610645573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106699190610f2a565b61ffff1661010083015260408051634363f8cd60e11b815290516001600160a01b038316916386c7f19a9160048083019260009291908290030181865afa1580156106b8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106e09190810190610f4e565b61012083015250919050565b6107146040518060600160405280600061ffff16815260200160008152602001600081525090565b61ffff8216808252604051639f918f4560e01b8152600481019190915283906001600160a01b03821690639f918f4590602401602060405180830381865afa158015610764573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107889190611013565b63ffffffff166020830152604051632e966ff560e11b815261ffff841660048201526001600160a01b03821690635d2cdfea90602401602060405180830381865afa1580156107db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107ff9190611013565b63ffffffff1660408301525092915050565b610819610bfc565b6000829050806001600160a01b0316630890d22a6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561085c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108809190610f2a565b61ffff1682526040805163104302df60e21b815290516001600160a01b0383169163410c0b7c9160048083019260209291908290030181865afa1580156108cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ef9190610f2a565b61ffff166020808401919091526040805163699db38b60e11b815290516001600160a01b0384169263d33b671692600480820193918290030181865afa15801561093d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109619190611039565b15156040808401919091525163d060576b60e01b81526001600160a01b0382169063d060576b906109979060019060040161105b565b602060405180830381865afa1580156109b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109d89190610f2a565b606083015260405163d060576b60e01b81526001600160a01b0382169063d060576b90610a0a9060029060040161105b565b602060405180830381865afa158015610a27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4b9190610f2a565b608083015260405163d060576b60e01b81526001600160a01b0382169063d060576b90610a7d9060039060040161105b565b602060405180830381865afa158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe9190610f2a565b60a083015260405163d060576b60e01b81526001600160a01b0382169063d060576b90610aef90600490810161105b565b602060405180830381865afa158015610b0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b309190610f2a565b8260c0018181525050806001600160a01b031663441f64bb6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9b9190610f2a565b60e083015250919050565b604080516101408101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082019290925261012081019190915290565b604051806101000160405280600061ffff168152602001600061ffff16815260200160001515815260200160008152602001600081526020016000815260200160008152602001600081525090565b6001600160a01b0381168114610c6057600080fd5b50565b600060208284031215610c7557600080fd5b813561018181610c4b565b60008151808452602080850194506020840160005b83811015610cba5781516001600160a01b031687529582019590820190600101610c95565b509495945050505050565b60208152610cda60208201835161ffff169052565b60006020830151610cf1604084018261ffff169052565b50604083015161ffff8116606084015250606083015161ffff8116608084015250608083015161ffff811660a08401525060a083015161ffff811660c08401525060c083015160e083015260e0830151610100818185015280850151915050610120610d628185018361ffff169052565b840151610140848101529050610d7c610160840182610c80565b949350505050565b803561ffff81168114610d9657600080fd5b919050565b60008060408385031215610dae57600080fd5b8235610db981610c4b565b9150610dc760208401610d84565b90509250929050565b815161ffff168152602080830151908201526040808301519082015260608101610149565b600080600060408486031215610e0a57600080fd5b8335610e1581610c4b565b9250602084013567ffffffffffffffff80821115610e3257600080fd5b818601915086601f830112610e4657600080fd5b813581811115610e5557600080fd5b8760208260051b8501011115610e6a57600080fd5b6020830194508093505050509250925092565b6020808252825182820181905260009190848201906040850190845b81811015610ed757610ec4838551805161ffff16825260208082015190830152604090810151910152565b9284019260609290920191600101610e99565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060208284031215610f2157600080fd5b61018182610d84565b600060208284031215610f3c57600080fd5b5051919050565b8051610d9681610c4b565b60006020808385031215610f6157600080fd5b825167ffffffffffffffff80821115610f7957600080fd5b818501915085601f830112610f8d57600080fd5b815181811115610f9f57610f9f610ee3565b8060051b604051601f19603f83011681018181108582111715610fc457610fc4610ee3565b604052918252848201925083810185019188831115610fe257600080fd5b938501935b8285101561100757610ff885610f43565b84529385019392850192610fe7565b98975050505050505050565b60006020828403121561102557600080fd5b815163ffffffff8116811461018157600080fd5b60006020828403121561104b57600080fd5b8151801515811461018157600080fd5b602081016005831061107d57634e487b7160e01b600052602160045260246000fd5b9190529056fea2646970667358221220f358334be605e30929c92c755b853079bba8c49dad25675d1209352fa53756df64736f6c63430008180033";
225
225
  const isSuperArgs = (xs) => xs.length > 1;
226
226
  class TriggersAndPortalLens__factory extends ethers_1.ContractFactory {
227
227
  constructor(...args) {
@@ -0,0 +1,334 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SinglePhaseSingleTokenDistributor__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "address",
13
+ name: "_distributionToken",
14
+ type: "address",
15
+ },
16
+ ],
17
+ stateMutability: "nonpayable",
18
+ type: "constructor",
19
+ },
20
+ {
21
+ inputs: [
22
+ {
23
+ internalType: "address",
24
+ name: "owner",
25
+ type: "address",
26
+ },
27
+ ],
28
+ name: "OwnableInvalidOwner",
29
+ type: "error",
30
+ },
31
+ {
32
+ inputs: [
33
+ {
34
+ internalType: "address",
35
+ name: "account",
36
+ type: "address",
37
+ },
38
+ ],
39
+ name: "OwnableUnauthorizedAccount",
40
+ type: "error",
41
+ },
42
+ {
43
+ inputs: [],
44
+ name: "ReentrancyGuardReentrantCall",
45
+ type: "error",
46
+ },
47
+ {
48
+ anonymous: false,
49
+ inputs: [
50
+ {
51
+ indexed: true,
52
+ internalType: "address",
53
+ name: "account",
54
+ type: "address",
55
+ },
56
+ {
57
+ indexed: false,
58
+ internalType: "uint256",
59
+ name: "amount",
60
+ type: "uint256",
61
+ },
62
+ ],
63
+ name: "DistributionAssigned",
64
+ type: "event",
65
+ },
66
+ {
67
+ anonymous: false,
68
+ inputs: [
69
+ {
70
+ indexed: true,
71
+ internalType: "address",
72
+ name: "previousOwner",
73
+ type: "address",
74
+ },
75
+ {
76
+ indexed: true,
77
+ internalType: "address",
78
+ name: "newOwner",
79
+ type: "address",
80
+ },
81
+ ],
82
+ name: "OwnershipTransferStarted",
83
+ type: "event",
84
+ },
85
+ {
86
+ anonymous: false,
87
+ inputs: [
88
+ {
89
+ indexed: true,
90
+ internalType: "address",
91
+ name: "previousOwner",
92
+ type: "address",
93
+ },
94
+ {
95
+ indexed: true,
96
+ internalType: "address",
97
+ name: "newOwner",
98
+ type: "address",
99
+ },
100
+ ],
101
+ name: "OwnershipTransferred",
102
+ type: "event",
103
+ },
104
+ {
105
+ anonymous: false,
106
+ inputs: [
107
+ {
108
+ indexed: true,
109
+ internalType: "address",
110
+ name: "account",
111
+ type: "address",
112
+ },
113
+ {
114
+ indexed: false,
115
+ internalType: "uint256",
116
+ name: "amount",
117
+ type: "uint256",
118
+ },
119
+ ],
120
+ name: "TokenDistributed",
121
+ type: "event",
122
+ },
123
+ {
124
+ inputs: [],
125
+ name: "acceptOwnership",
126
+ outputs: [],
127
+ stateMutability: "nonpayable",
128
+ type: "function",
129
+ },
130
+ {
131
+ inputs: [],
132
+ name: "claimToken",
133
+ outputs: [],
134
+ stateMutability: "nonpayable",
135
+ type: "function",
136
+ },
137
+ {
138
+ inputs: [
139
+ {
140
+ internalType: "address",
141
+ name: "",
142
+ type: "address",
143
+ },
144
+ ],
145
+ name: "distributed",
146
+ outputs: [
147
+ {
148
+ internalType: "bool",
149
+ name: "",
150
+ type: "bool",
151
+ },
152
+ ],
153
+ stateMutability: "view",
154
+ type: "function",
155
+ },
156
+ {
157
+ inputs: [],
158
+ name: "distributedToken",
159
+ outputs: [
160
+ {
161
+ internalType: "contract IERC20",
162
+ name: "",
163
+ type: "address",
164
+ },
165
+ ],
166
+ stateMutability: "view",
167
+ type: "function",
168
+ },
169
+ {
170
+ inputs: [
171
+ {
172
+ internalType: "address",
173
+ name: "",
174
+ type: "address",
175
+ },
176
+ ],
177
+ name: "distributionAmounts",
178
+ outputs: [
179
+ {
180
+ internalType: "uint256",
181
+ name: "",
182
+ type: "uint256",
183
+ },
184
+ ],
185
+ stateMutability: "view",
186
+ type: "function",
187
+ },
188
+ {
189
+ inputs: [],
190
+ name: "owner",
191
+ outputs: [
192
+ {
193
+ internalType: "address",
194
+ name: "",
195
+ type: "address",
196
+ },
197
+ ],
198
+ stateMutability: "view",
199
+ type: "function",
200
+ },
201
+ {
202
+ inputs: [],
203
+ name: "pendingOwner",
204
+ outputs: [
205
+ {
206
+ internalType: "address",
207
+ name: "",
208
+ type: "address",
209
+ },
210
+ ],
211
+ stateMutability: "view",
212
+ type: "function",
213
+ },
214
+ {
215
+ inputs: [],
216
+ name: "renounceOwnership",
217
+ outputs: [],
218
+ stateMutability: "nonpayable",
219
+ type: "function",
220
+ },
221
+ {
222
+ inputs: [],
223
+ name: "selfBalance",
224
+ outputs: [
225
+ {
226
+ internalType: "uint256",
227
+ name: "",
228
+ type: "uint256",
229
+ },
230
+ ],
231
+ stateMutability: "view",
232
+ type: "function",
233
+ },
234
+ {
235
+ inputs: [
236
+ {
237
+ internalType: "address[]",
238
+ name: "_accounts",
239
+ type: "address[]",
240
+ },
241
+ {
242
+ internalType: "uint256[]",
243
+ name: "_amounts",
244
+ type: "uint256[]",
245
+ },
246
+ ],
247
+ name: "setAmounts",
248
+ outputs: [],
249
+ stateMutability: "nonpayable",
250
+ type: "function",
251
+ },
252
+ {
253
+ inputs: [
254
+ {
255
+ internalType: "contract IERC20",
256
+ name: "token",
257
+ type: "address",
258
+ },
259
+ ],
260
+ name: "sweepToken",
261
+ outputs: [],
262
+ stateMutability: "nonpayable",
263
+ type: "function",
264
+ },
265
+ {
266
+ inputs: [],
267
+ name: "totalCommitment",
268
+ outputs: [
269
+ {
270
+ internalType: "uint256",
271
+ name: "",
272
+ type: "uint256",
273
+ },
274
+ ],
275
+ stateMutability: "view",
276
+ type: "function",
277
+ },
278
+ {
279
+ inputs: [],
280
+ name: "totalDistributed",
281
+ outputs: [
282
+ {
283
+ internalType: "uint256",
284
+ name: "",
285
+ type: "uint256",
286
+ },
287
+ ],
288
+ stateMutability: "view",
289
+ type: "function",
290
+ },
291
+ {
292
+ inputs: [
293
+ {
294
+ internalType: "address",
295
+ name: "newOwner",
296
+ type: "address",
297
+ },
298
+ ],
299
+ name: "transferOwnership",
300
+ outputs: [],
301
+ stateMutability: "nonpayable",
302
+ type: "function",
303
+ },
304
+ ];
305
+ const _bytecode = "0x608060405234801561001057600080fd5b50604051610bf3380380610bf383398101604081905261002f916100f5565b338061005557604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b61005e81610089565b506001600255600380546001600160a01b0319166001600160a01b0392909216919091179055610125565b600180546001600160a01b03191690556100a2816100a5565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561010757600080fd5b81516001600160a01b038116811461011e57600080fd5b9392505050565b610abf806101346000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80638c1b51541161008c578063b0bed0ba11610066578063b0bed0ba146101d6578063e30c3978146101de578063efca2eed146101ef578063f2fde38b146101f857600080fd5b80638c1b51541461018b5780638da5cb5b1461019e5780638f49da4b146101c357600080fd5b80634451d89f116100c85780634451d89f14610140578063578bcf3514610148578063715018a61461017b57806379ba50971461018357600080fd5b806301ecefa1146100ef5780630ec484261461010b5780631be195601461012b575b600080fd5b6100f860075481565b6040519081526020015b60405180910390f35b6100f86101193660046108f0565b60046020526000908152604090205481565b61013e6101393660046108f0565b61020b565b005b61013e610317565b61016b6101563660046108f0565b60056020526000908152604090205460ff1681565b6040519015158152602001610102565b61013e610334565b61013e610346565b61013e610199366004610960565b61038f565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610102565b6003546101ab906001600160a01b031681565b6100f861046b565b6001546001600160a01b03166101ab565b6100f860065481565b61013e6102063660046108f0565b6104dd565b61021361054e565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa15801561025a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027e91906109cc565b9050816001600160a01b031663a9059cbb6102a16000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af11580156102ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031291906109e5565b505050565b61031f61057b565b610328336105a3565b6103326001600255565b565b61033c61054e565b6103326000610787565b60015433906001600160a01b031681146103835760405163118cdaa760e01b81526001600160a01b03821660048201526024015b60405180910390fd5b61038c81610787565b50565b61039761054e565b8281146103dd5760405162461bcd60e51b81526020600482015260146024820152730d8cadccee8d0e640e6d0deead8c840dac2e8c6d60631b604482015260640161037a565b60075460005b84811015610461578383828181106103fd576103fd610a07565b905060200201358261040f9190610a1d565b915061045986868381811061042657610426610a07565b905060200201602081019061043b91906108f0565b85858481811061044d5761044d610a07565b905060200201356107a0565b6001016103e3565b5060075550505050565b6003546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156104b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d891906109cc565b905090565b6104e561054e565b600180546001600160a01b0383166001600160a01b031990911681179091556105166000546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6000546001600160a01b031633146103325760405163118cdaa760e01b815233600482015260240161037a565b600280540361059d57604051633ee5aeb560e01b815260040160405180910390fd5b60028055565b6001600160a01b03811660009081526005602052604090205460ff16156105dc5760405162461bcd60e51b815260040161037a90610a44565b6001600160a01b038116600090815260046020526040902054806106315760405162461bcd60e51b815260206004820152600c60248201526b1b9bdd08195b9d1a5d1b195960a21b604482015260640161037a565b600061063b61046b565b90508181101561068d5760405162461bcd60e51b815260206004820152601860248201527f6e6f7420656e6f75676820746f20646973747269627574650000000000000000604482015260640161037a565b6001600160a01b0383166000908152600560205260408120805460ff19166001179055600680548492906106c2908490610a1d565b909155505060035460405163a9059cbb60e01b81526001600160a01b038581166004830152602482018590529091169063a9059cbb906044016020604051808303816000875af115801561071a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073e91906109e5565b50826001600160a01b03167ff6f55ada4fbb9e2bc6813f97e749a30067f3c13a200ce783269b50e6419e8f648360405161077a91815260200190565b60405180910390a2505050565b600180546001600160a01b031916905561038c8161088b565b6001600160a01b03821660009081526005602052604090205460ff16156107d95760405162461bcd60e51b815260040161037a90610a44565b6001600160a01b038216600090815260046020526040902054156108325760405162461bcd60e51b815260206004820152601060248201526f185b1c9958591e48185cdcda59db995960821b604482015260640161037a565b6001600160a01b03821660008181526004602052604090819020839055517f4f995813143f46bc49e81b9b001594dd0707cdf28df48f593ccb571259a6c52d9061087f9084815260200190565b60405180910390a25050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461038c57600080fd5b60006020828403121561090257600080fd5b813561090d816108db565b9392505050565b60008083601f84011261092657600080fd5b50813567ffffffffffffffff81111561093e57600080fd5b6020830191508360208260051b850101111561095957600080fd5b9250929050565b6000806000806040858703121561097657600080fd5b843567ffffffffffffffff8082111561098e57600080fd5b61099a88838901610914565b909650945060208701359150808211156109b357600080fd5b506109c087828801610914565b95989497509550505050565b6000602082840312156109de57600080fd5b5051919050565b6000602082840312156109f757600080fd5b8151801515811461090d57600080fd5b634e487b7160e01b600052603260045260246000fd5b80820180821115610a3e57634e487b7160e01b600052601160045260246000fd5b92915050565b60208082526025908201527f6163636f756e7420616c726561647920726563656976656420646973747269626040820152643aba34b7b760d91b60608201526080019056fea2646970667358221220a0c6290f941ef4d8abf904186cb3706d7b1fc90baf85620cca24a8d3065547dd64736f6c63430008180033";
306
+ const isSuperArgs = (xs) => xs.length > 1;
307
+ class SinglePhaseSingleTokenDistributor__factory extends ethers_1.ContractFactory {
308
+ constructor(...args) {
309
+ if (isSuperArgs(args)) {
310
+ super(...args);
311
+ }
312
+ else {
313
+ super(_abi, _bytecode, args[0]);
314
+ }
315
+ }
316
+ getDeployTransaction(_distributionToken, overrides) {
317
+ return super.getDeployTransaction(_distributionToken, overrides || {});
318
+ }
319
+ deploy(_distributionToken, overrides) {
320
+ return super.deploy(_distributionToken, overrides || {});
321
+ }
322
+ connect(runner) {
323
+ return super.connect(runner);
324
+ }
325
+ static createInterface() {
326
+ return new ethers_1.Interface(_abi);
327
+ }
328
+ static connect(address, runner) {
329
+ return new ethers_1.Contract(address, _abi, runner);
330
+ }
331
+ }
332
+ exports.SinglePhaseSingleTokenDistributor__factory = SinglePhaseSingleTokenDistributor__factory;
333
+ SinglePhaseSingleTokenDistributor__factory.bytecode = _bytecode;
334
+ SinglePhaseSingleTokenDistributor__factory.abi = _abi;
@@ -23,6 +23,7 @@ export * from "./lib/addresses/lensAddresses";
23
23
  export * from "./lib/addresses/systemAddresses";
24
24
  export * from "./lib/contractsIntegration/deployedContractsConnector";
25
25
  export * from "./lib/contractsIntegration/TradersPortalService";
26
+ export * from "./lib/contractsIntegration/TradingFloorService";
26
27
  export * from "./lib/contractsIntegration/IntentsVerifierLensService";
27
28
  export * from "./lib/contractsIntegration/TriggersAndPortalLensService";
28
29
  export * from "./lib/contractsIntegration/TradingFloorLensService";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AAExC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,mBAAmB,CAAC;AAClC,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AAEvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AAExD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAEhD,cAAc,uDAAuD,CAAC;AAEtE,cAAc,iDAAiD,CAAC;AAEhE,cAAc,uDAAuD,CAAC;AACtE,cAAc,yDAAyD,CAAC;AACxE,cAAc,oDAAoD,CAAC;AACnE,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+DAA+D,CAAC;AAC9E,cAAc,iEAAiE,CAAC;AAChF,cAAc,mDAAmD,CAAC;AAClE,cAAc,4DAA4D,CAAC;AAE3E,cAAc,kFAAkF,CAAC;AACjG,cAAc,oFAAoF,CAAC;AACnG,cAAc,sEAAsE,CAAC;AACrF,cAAc,+EAA+E,CAAC;AAG9F,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AAExC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,mBAAmB,CAAC;AAClC,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AAEvC,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AAExD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAEhD,cAAc,uDAAuD,CAAC;AAEtE,cAAc,iDAAiD,CAAC;AAChE,cAAc,gDAAgD,CAAC;AAE/D,cAAc,uDAAuD,CAAC;AACtE,cAAc,yDAAyD,CAAC;AACxE,cAAc,oDAAoD,CAAC;AACnE,cAAc,2CAA2C,CAAC;AAE1D,cAAc,+DAA+D,CAAC;AAC9E,cAAc,iEAAiE,CAAC;AAChF,cAAc,mDAAmD,CAAC;AAClE,cAAc,4DAA4D,CAAC;AAE3E,cAAc,kFAAkF,CAAC;AACjG,cAAc,oFAAoF,CAAC;AACnG,cAAc,sEAAsE,CAAC;AACrF,cAAc,+EAA+E,CAAC;AAG9F,cAAc,aAAa,CAAC"}
package/dist/esm/index.js CHANGED
@@ -39,6 +39,7 @@ __exportStar(require("./lib/addresses/lensAddresses"), exports);
39
39
  __exportStar(require("./lib/addresses/systemAddresses"), exports);
40
40
  __exportStar(require("./lib/contractsIntegration/deployedContractsConnector"), exports);
41
41
  __exportStar(require("./lib/contractsIntegration/TradersPortalService"), exports);
42
+ __exportStar(require("./lib/contractsIntegration/TradingFloorService"), exports);
42
43
  __exportStar(require("./lib/contractsIntegration/IntentsVerifierLensService"), exports);
43
44
  __exportStar(require("./lib/contractsIntegration/TriggersAndPortalLensService"), exports);
44
45
  __exportStar(require("./lib/contractsIntegration/TradingFloorLensService"), exports);
@@ -1,27 +1,27 @@
1
1
  export declare const LensAddresses: {
2
2
  readonly boba: {
3
- readonly lexLens: "0xCcFaDF4E72d5b2D382555E0eb72a1BF6F7f0EF7F";
4
- readonly tradingFloorLensLens: "0xed9D263917921cb5f0B9a59c5083beA4075F33e7";
5
- readonly intentsVerifierLens: "0x8F33670B7a076793D178D340AD70Cc097DD03739";
6
- readonly triggersAndPortalLens: "0xA03312361D07dfAe0C517a441C69BFA9E84e38bf";
3
+ readonly intentsVerifierLens: "0x7DfA2F609573AB8eD8cA231498FF4E8f1e7d31Fa";
4
+ readonly lexLens: "0xE4Ebc518A2Fb771057E8E1e85296a72a4587e11E";
5
+ readonly tradingFloorLensLens: "0x7f68e8Ba4176683594342d9C39De22b93daC45E3";
6
+ readonly triggersAndPortalLens: "0x5c3d344C24e4Cd7DDCdd15C660095FFb160d42e5";
7
7
  };
8
8
  readonly sonic: {
9
- readonly lexLens: "0xBcb1D4ACbc844ba5FC0aA411b98aebD4A508B65F";
10
- readonly tradingFloorLensLens: "0xa5802951D972372f1385e9Ac83df738b3323d0A8";
11
- readonly intentsVerifierLens: "0xDBe9130AAe593Ec73a838ce286fa84c193bceFA1";
12
- readonly triggersAndPortalLens: "0xaA96df0a4F01212169c2347dc23D5AEb89924839";
9
+ readonly intentsVerifierLens: "0x0C1Fcd85856b5564a87ae378336b7CC0c139C5f7";
10
+ readonly lexLens: "0xc8939875FeC9a0A2f1757272165f8F53659C47c4";
11
+ readonly tradingFloorLensLens: "0x50631a46BEe1E63e46C3eDceE3d5af33E5904681";
12
+ readonly triggersAndPortalLens: "0x7976e6E8145a11aB17D61497dfa0524999Ab6d3c";
13
13
  };
14
14
  readonly fantom: {
15
- readonly lexLens: "0xB5A5041654391a720953D346367D3A3BE9c3d47B";
16
- readonly tradingFloorLensLens: "0x2B913d10452c93Bb7184B5B4fb7e3724452fE0fB";
17
- readonly intentsVerifierLens: "0x5cf3613de36106C10674778C5748FAf9630c3D94";
18
- readonly triggersAndPortalLens: "0x9544C73C97BD292a1F09ef671A5f8CcDf9Ff5429";
15
+ readonly intentsVerifierLens: "";
16
+ readonly lexLens: "";
17
+ readonly tradingFloorLensLens: "";
18
+ readonly triggersAndPortalLens: "";
19
19
  };
20
20
  readonly flare: {
21
- readonly lexLens: "0x812Ea46a0618f923ae473eb239a89A8169b34B85";
22
- readonly tradingFloorLensLens: "0x13d878F3C3f32400A727662af7dfAdBc8b389637";
23
- readonly intentsVerifierLens: "0x33576dFbA7Ed5E3F8F744132D6885cE106178161";
24
- readonly triggersAndPortalLens: "0x625D49B0258BB8277516C07494910d420FA31B06";
21
+ readonly intentsVerifierLens: "0x1CdA9C57526e0CDF97f63c2c0CD460a16f9855F5";
22
+ readonly lexLens: "0x76CDbA9107a89af6Dda81655f26FBE67e1d4a749";
23
+ readonly tradingFloorLensLens: "0x731cDbfF121a313c9af0146826E2A78cCBE9FF66";
24
+ readonly triggersAndPortalLens: "0x36D550DbA557a930f0Dfcb4796c593b2215D52Af";
25
25
  };
26
26
  };
27
27
  //# sourceMappingURL=lensAddresses.d.ts.map
@@ -3,27 +3,27 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LensAddresses = void 0;
4
4
  exports.LensAddresses = {
5
5
  boba: {
6
- lexLens: "0xCcFaDF4E72d5b2D382555E0eb72a1BF6F7f0EF7F",
7
- tradingFloorLensLens: "0xed9D263917921cb5f0B9a59c5083beA4075F33e7",
8
- intentsVerifierLens: "0x8F33670B7a076793D178D340AD70Cc097DD03739",
9
- triggersAndPortalLens: "0xA03312361D07dfAe0C517a441C69BFA9E84e38bf",
6
+ intentsVerifierLens: "0x7DfA2F609573AB8eD8cA231498FF4E8f1e7d31Fa",
7
+ lexLens: "0xE4Ebc518A2Fb771057E8E1e85296a72a4587e11E",
8
+ tradingFloorLensLens: "0x7f68e8Ba4176683594342d9C39De22b93daC45E3",
9
+ triggersAndPortalLens: "0x5c3d344C24e4Cd7DDCdd15C660095FFb160d42e5",
10
10
  },
11
11
  sonic: {
12
- lexLens: "0xBcb1D4ACbc844ba5FC0aA411b98aebD4A508B65F",
13
- tradingFloorLensLens: "0xa5802951D972372f1385e9Ac83df738b3323d0A8",
14
- intentsVerifierLens: "0xDBe9130AAe593Ec73a838ce286fa84c193bceFA1",
15
- triggersAndPortalLens: "0xaA96df0a4F01212169c2347dc23D5AEb89924839",
12
+ intentsVerifierLens: "0x0C1Fcd85856b5564a87ae378336b7CC0c139C5f7",
13
+ lexLens: "0xc8939875FeC9a0A2f1757272165f8F53659C47c4",
14
+ tradingFloorLensLens: "0x50631a46BEe1E63e46C3eDceE3d5af33E5904681",
15
+ triggersAndPortalLens: "0x7976e6E8145a11aB17D61497dfa0524999Ab6d3c",
16
16
  },
17
17
  fantom: {
18
- lexLens: "0xB5A5041654391a720953D346367D3A3BE9c3d47B",
19
- tradingFloorLensLens: "0x2B913d10452c93Bb7184B5B4fb7e3724452fE0fB",
20
- intentsVerifierLens: "0x5cf3613de36106C10674778C5748FAf9630c3D94",
21
- triggersAndPortalLens: "0x9544C73C97BD292a1F09ef671A5f8CcDf9Ff5429",
18
+ intentsVerifierLens: "",
19
+ lexLens: "",
20
+ tradingFloorLensLens: "",
21
+ triggersAndPortalLens: "",
22
22
  },
23
23
  flare: {
24
- lexLens: "0x812Ea46a0618f923ae473eb239a89A8169b34B85",
25
- tradingFloorLensLens: "0x13d878F3C3f32400A727662af7dfAdBc8b389637",
26
- intentsVerifierLens: "0x33576dFbA7Ed5E3F8F744132D6885cE106178161",
27
- triggersAndPortalLens: "0x625D49B0258BB8277516C07494910d420FA31B06",
24
+ intentsVerifierLens: "0x1CdA9C57526e0CDF97f63c2c0CD460a16f9855F5",
25
+ lexLens: "0x76CDbA9107a89af6Dda81655f26FBE67e1d4a749",
26
+ tradingFloorLensLens: "0x731cDbfF121a313c9af0146826E2A78cCBE9FF66",
27
+ triggersAndPortalLens: "0x36D550DbA557a930f0Dfcb4796c593b2215D52Af",
28
28
  },
29
29
  };
@@ -1,20 +1,7 @@
1
- import { BytesLike } from "ethers";
2
- import { AccountBasedIntentsVerifierRequestBuildingInfoStruct, HashBasedIntentsVerifierRequestBuildingInfoStruct } from "../../typechain/contracts/Peripheral/Lens/IntentsVerifierLens";
3
- import { TSafeBigNumberStruct } from "../../utils/ethersTypes";
4
- export type TAccountBasedIntentsVerifierRequestBuildingInfoStruct = Omit<TSafeBigNumberStruct<AccountBasedIntentsVerifierRequestBuildingInfoStruct>, "actionType" | "currentNonce"> & {
5
- actionType: number;
6
- currentNonce: number;
7
- };
8
- export type THashBasedIntentsVerifierRequestBuildingInfoStruct = Omit<TSafeBigNumberStruct<HashBasedIntentsVerifierRequestBuildingInfoStruct>, "actionType" | "currentNonce"> & {
9
- actionType: number;
10
- currentNonce: number;
11
- };
12
1
  export interface IIntentsVerifierLensService {
13
- getRequestBuildingInfoForChipsIntentsVerifier(account: string, actionType: number): Promise<TAccountBasedIntentsVerifierRequestBuildingInfoStruct>;
14
- getRequestBuildingInfoForLiquidityIntentsVerifier(account: string, actionType: number): Promise<TAccountBasedIntentsVerifierRequestBuildingInfoStruct>;
15
- getRequestBuildingInfoForTradeIntentsVerifier(positionId: BytesLike, actionType: number): Promise<THashBasedIntentsVerifierRequestBuildingInfoStruct>;
2
+ getRequestBuildingInfoForChipsIntentsVerifier(): Promise<string>;
3
+ getRequestBuildingInfoForLiquidityIntentsVerifier(): Promise<string>;
4
+ getRequestBuildingInfoForTradeIntentsVerifier(): Promise<string>;
16
5
  registry(): Promise<string>;
17
6
  }
18
- export declare const EMPTY_ACCOUNT_BASED_INTENTS_VERIFIER_REQUEST_BUILDING_INFO: TAccountBasedIntentsVerifierRequestBuildingInfoStruct;
19
- export declare const EMPTY_HASH_BASED_INTENTS_VERIFIER_REQUEST_BUILDING_INFO: THashBasedIntentsVerifierRequestBuildingInfoStruct;
20
7
  //# sourceMappingURL=IIntentsVerifierLensService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IIntentsVerifierLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnC,OAAO,EACL,oDAAoD,EACpD,iDAAiD,EAClD,MAAM,+DAA+D,CAAC;AACvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAG/D,MAAM,MAAM,qDAAqD,GAAG,IAAI,CACtE,oBAAoB,CAAC,oDAAoD,CAAC,EAC1E,YAAY,GAAG,cAAc,CAC9B,GAAG;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,kDAAkD,GAAG,IAAI,CACnE,oBAAoB,CAAC,iDAAiD,CAAC,EACvE,YAAY,GAAG,cAAc,CAC9B,GAAG;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,WAAW,2BAA2B;IAC1C,6CAA6C,CAC3C,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,qDAAqD,CAAC,CAAC;IAElE,iDAAiD,CAC/C,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,qDAAqD,CAAC,CAAC;IAElE,6CAA6C,CAC3C,UAAU,EAAE,SAAS,EACrB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,kDAAkD,CAAC,CAAC;IAE/D,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CAC7B;AAED,eAAO,MAAM,0DAA0D,EAAE,qDAMtE,CAAC;AAEJ,eAAO,MAAM,uDAAuD,EAAE,kDAMnE,CAAC"}
1
+ {"version":3,"file":"IIntentsVerifierLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/IntentsVerifierLensService/IIntentsVerifierLensService.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,2BAA2B;IAC1C,6CAA6C,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAEjE,iDAAiD,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAErE,6CAA6C,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAEjE,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;CAC7B"}
@@ -1,15 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EMPTY_HASH_BASED_INTENTS_VERIFIER_REQUEST_BUILDING_INFO = exports.EMPTY_ACCOUNT_BASED_INTENTS_VERIFIER_REQUEST_BUILDING_INFO = void 0;
4
- exports.EMPTY_ACCOUNT_BASED_INTENTS_VERIFIER_REQUEST_BUILDING_INFO = {
5
- verifier: "",
6
- account: "",
7
- actionType: 0,
8
- currentNonce: 0,
9
- };
10
- exports.EMPTY_HASH_BASED_INTENTS_VERIFIER_REQUEST_BUILDING_INFO = {
11
- verifier: "",
12
- hash: "",
13
- actionType: 0,
14
- currentNonce: 0,
15
- };
@@ -1,11 +1,11 @@
1
- import { BytesLike, Provider, Signer } from "ethers";
2
- import { IIntentsVerifierLensService, TAccountBasedIntentsVerifierRequestBuildingInfoStruct, THashBasedIntentsVerifierRequestBuildingInfoStruct } from "./IIntentsVerifierLensService";
1
+ import { Provider, Signer } from "ethers";
2
+ import { IIntentsVerifierLensService } from "./IIntentsVerifierLensService";
3
3
  export declare class IntentsVerifierLensService implements IIntentsVerifierLensService {
4
4
  private readonly contract;
5
5
  constructor(signerOrProvider: Signer | Provider, address: string);
6
- getRequestBuildingInfoForChipsIntentsVerifier(account: string, actionType: number): Promise<TAccountBasedIntentsVerifierRequestBuildingInfoStruct>;
7
- getRequestBuildingInfoForLiquidityIntentsVerifier(account: string, actionType: number): Promise<TAccountBasedIntentsVerifierRequestBuildingInfoStruct>;
8
- getRequestBuildingInfoForTradeIntentsVerifier(positionId: BytesLike, actionType: number): Promise<THashBasedIntentsVerifierRequestBuildingInfoStruct>;
6
+ getRequestBuildingInfoForChipsIntentsVerifier(): Promise<string>;
7
+ getRequestBuildingInfoForLiquidityIntentsVerifier(): Promise<string>;
8
+ getRequestBuildingInfoForTradeIntentsVerifier(): Promise<string>;
9
9
  registry(): Promise<string>;
10
10
  }
11
11
  //# sourceMappingURL=IntentsVerifierLensService.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IntentsVerifierLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAIrD,OAAO,EACL,2BAA2B,EAC3B,qDAAqD,EACrD,kDAAkD,EAGnD,MAAM,+BAA+B,CAAC;AAEvC,qBAAa,0BAA2B,YAAW,2BAA2B;IAC5E,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAsB;gBAEnC,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IAI1D,6CAA6C,CACjD,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,qDAAqD,CAAC;IAgB3D,iDAAiD,CACrD,OAAO,EAAE,MAAM,EACf,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,qDAAqD,CAAC;IAgB3D,6CAA6C,CACjD,UAAU,EAAE,SAAS,EACrB,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,kDAAkD,CAAC;IAgBxD,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC;CAGlC"}
1
+ {"version":3,"file":"IntentsVerifierLensService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/IntentsVerifierLensService/IntentsVerifierLensService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAG1C,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E,qBAAa,0BAA2B,YAAW,2BAA2B;IAC5E,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAsB;gBAEnC,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IAI1D,6CAA6C,IAAI,OAAO,CAAC,MAAM,CAAC;IAIhE,iDAAiD,IAAI,OAAO,CAAC,MAAM,CAAC;IAIpE,6CAA6C,IAAI,OAAO,CAAC,MAAM,CAAC;IAIhE,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC;CAGlC"}
@@ -2,38 +2,18 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IntentsVerifierLensService = void 0;
4
4
  const IntentsVerifierLens__factory_1 = require("../../typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory");
5
- const ethersTypes_1 = require("../../utils/ethersTypes");
6
- const IIntentsVerifierLensService_1 = require("./IIntentsVerifierLensService");
7
5
  class IntentsVerifierLensService {
8
6
  constructor(signerOrProvider, address) {
9
7
  this.contract = IntentsVerifierLens__factory_1.IntentsVerifierLens__factory.connect(address, signerOrProvider);
10
8
  }
11
- async getRequestBuildingInfoForChipsIntentsVerifier(account, actionType) {
12
- const result = await this.contract.getRequestBuildingInfoForChipsIntentsVerifier(account, BigInt(actionType));
13
- const baseStruct = (0, ethersTypes_1.ethersStructResponseToObject)(result, IIntentsVerifierLensService_1.EMPTY_ACCOUNT_BASED_INTENTS_VERIFIER_REQUEST_BUILDING_INFO);
14
- return {
15
- ...baseStruct,
16
- actionType: Number(baseStruct.actionType),
17
- currentNonce: Number(baseStruct.currentNonce),
18
- };
9
+ async getRequestBuildingInfoForChipsIntentsVerifier() {
10
+ return await this.contract.getRequestBuildingInfoForChipsIntentsVerifier();
19
11
  }
20
- async getRequestBuildingInfoForLiquidityIntentsVerifier(account, actionType) {
21
- const result = await this.contract.getRequestBuildingInfoForLiquidityIntentsVerifier(account, BigInt(actionType));
22
- const baseStruct = (0, ethersTypes_1.ethersStructResponseToObject)(result, IIntentsVerifierLensService_1.EMPTY_ACCOUNT_BASED_INTENTS_VERIFIER_REQUEST_BUILDING_INFO);
23
- return {
24
- ...baseStruct,
25
- actionType: Number(baseStruct.actionType),
26
- currentNonce: Number(baseStruct.currentNonce),
27
- };
12
+ async getRequestBuildingInfoForLiquidityIntentsVerifier() {
13
+ return await this.contract.getRequestBuildingInfoForLiquidityIntentsVerifier();
28
14
  }
29
- async getRequestBuildingInfoForTradeIntentsVerifier(positionId, actionType) {
30
- const result = await this.contract.getRequestBuildingInfoForTradeIntentsVerifier(positionId, BigInt(actionType));
31
- const baseStruct = (0, ethersTypes_1.ethersStructResponseToObject)(result, IIntentsVerifierLensService_1.EMPTY_HASH_BASED_INTENTS_VERIFIER_REQUEST_BUILDING_INFO);
32
- return {
33
- ...baseStruct,
34
- actionType: Number(baseStruct.actionType),
35
- currentNonce: Number(baseStruct.currentNonce),
36
- };
15
+ async getRequestBuildingInfoForTradeIntentsVerifier() {
16
+ return await this.contract.getRequestBuildingInfoForTradeIntentsVerifier();
37
17
  }
38
18
  async registry() {
39
19
  return await this.contract.registry();
@@ -3,7 +3,6 @@ export interface HumanReadablePositionRequestIdentifier {
3
3
  trader: string;
4
4
  pairId: number;
5
5
  settlementAsset: string;
6
- positionIndex: number;
7
6
  }
8
7
  export interface HumanReadablePositionRequestParams {
9
8
  isLong: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"TradersPortalUtils.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TradersPortalService/TradersPortalUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gCAAgC,EAChC,4BAA4B,EAC7B,MAAM,yBAAyB,CAAC;AAQjC,MAAM,WAAW,sCAAsC;IACrD,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,kCAAkC;IACjD,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,sCAAsC,GAC7C,gCAAgC,CAOlC;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,kCAAkC,GACzC,4BAA4B,CA+C9B"}
1
+ {"version":3,"file":"TradersPortalUtils.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TradersPortalService/TradersPortalUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gCAAgC,EAChC,4BAA4B,EAC7B,MAAM,yBAAyB,CAAC;AAQjC,MAAM,WAAW,sCAAsC;IACrD,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,kCAAkC;IACjD,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;GAIG;AACH,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,sCAAsC,GAC7C,gCAAgC,CAMlC;AAED;;;;;GAKG;AACH,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,kCAAkC,GACzC,4BAA4B,CA+C9B"}