lynx-client 0.0.10 → 0.0.12

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 (208) hide show
  1. package/README.md +192 -2
  2. package/dist/cjs/index.js +5 -1
  3. package/dist/cjs/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.js +1 -0
  4. package/dist/cjs/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.js +2 -0
  5. package/dist/cjs/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.js +255 -0
  6. package/dist/cjs/lib/contractsIntegration/OnBehalfTradingService/index.js +5 -0
  7. package/dist/cjs/lib/contractsIntegration/OrderBookService/OrderBookService.js +14 -2
  8. package/dist/cjs/lib/contractsIntegration/PNLRService/PNLRService.js +10 -10
  9. package/dist/cjs/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +26 -14
  10. package/dist/cjs/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +72 -15
  11. package/dist/cjs/lib/contractsIntegration/TriggersService/TriggersService.js +14 -8
  12. package/dist/cjs/lib/contractsIntegration/common/ILynxVersionedContract.js +2 -0
  13. package/dist/cjs/lib/contractsIntegration/common/IPendableAdmin.js +2 -0
  14. package/dist/cjs/lib/contractsIntegration/common/IPendableImplementation.js +2 -0
  15. package/dist/cjs/lib/contractsIntegration/common/IProtocolConstants.js +2 -0
  16. package/dist/cjs/lib/contractsIntegration/common/index.js +2 -0
  17. package/dist/cjs/lib/contractsIntegration/deployedContractsConnector.js +17 -0
  18. package/dist/cjs/lib/typechain/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1.js +2 -0
  19. package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.js +1 -1
  20. package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.js +1 -1
  21. package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.js +1 -1
  22. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1 -28
  23. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.js +1 -1
  24. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.js +1 -1
  25. package/dist/cjs/lib/typechain/factories/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1__factory.js +979 -0
  26. package/dist/cjs/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
  27. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1 -1
  28. package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +1 -1
  29. package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +114 -29
  30. package/dist/cjs/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +1 -1
  31. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +1 -1
  32. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
  33. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
  34. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.js +1 -1
  35. package/dist/esm/index.d.ts +4 -0
  36. package/dist/esm/index.d.ts.map +1 -1
  37. package/dist/esm/index.js +5 -1
  38. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts +2 -3
  39. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts.map +1 -1
  40. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts.map +1 -1
  41. package/dist/esm/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.js +1 -0
  42. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts +74 -0
  43. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts.map +1 -0
  44. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.js +2 -0
  45. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts +26 -0
  46. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts.map +1 -0
  47. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.js +255 -0
  48. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/index.d.ts +3 -0
  49. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/index.d.ts.map +1 -0
  50. package/dist/esm/lib/contractsIntegration/OnBehalfTradingService/index.js +5 -0
  51. package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +6 -10
  52. package/dist/esm/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -1
  53. package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts +5 -2
  54. package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -1
  55. package/dist/esm/lib/contractsIntegration/OrderBookService/OrderBookService.js +14 -2
  56. package/dist/esm/lib/contractsIntegration/PNLRService/IPNLRService.d.ts +4 -12
  57. package/dist/esm/lib/contractsIntegration/PNLRService/IPNLRService.d.ts.map +1 -1
  58. package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.d.ts +4 -3
  59. package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.d.ts.map +1 -1
  60. package/dist/esm/lib/contractsIntegration/PNLRService/PNLRService.js +10 -10
  61. package/dist/esm/lib/contractsIntegration/PNLRService/index.d.ts +1 -1
  62. package/dist/esm/lib/contractsIntegration/PNLRService/index.d.ts.map +1 -1
  63. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts +2 -4
  64. package/dist/esm/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts.map +1 -1
  65. package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +8 -13
  66. package/dist/esm/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -1
  67. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts +5 -2
  68. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -1
  69. package/dist/esm/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.js +26 -14
  70. package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +31 -13
  71. package/dist/esm/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
  72. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +14 -87
  73. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
  74. package/dist/esm/lib/contractsIntegration/TradingFloorService/TradingFloorService.js +72 -15
  75. package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +6 -9
  76. package/dist/esm/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -1
  77. package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.d.ts +4 -2
  78. package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -1
  79. package/dist/esm/lib/contractsIntegration/TriggersService/TriggersService.js +14 -8
  80. package/dist/esm/lib/contractsIntegration/common/ILynxVersionedContract.d.ts +11 -0
  81. package/dist/esm/lib/contractsIntegration/common/ILynxVersionedContract.d.ts.map +1 -0
  82. package/dist/esm/lib/contractsIntegration/common/ILynxVersionedContract.js +2 -0
  83. package/dist/esm/lib/contractsIntegration/common/IPendableAdmin.d.ts +9 -0
  84. package/dist/esm/lib/contractsIntegration/common/IPendableAdmin.d.ts.map +1 -0
  85. package/dist/esm/lib/contractsIntegration/common/IPendableAdmin.js +2 -0
  86. package/dist/esm/lib/contractsIntegration/common/IPendableImplementation.d.ts +9 -0
  87. package/dist/esm/lib/contractsIntegration/common/IPendableImplementation.d.ts.map +1 -0
  88. package/dist/esm/lib/contractsIntegration/common/IPendableImplementation.js +2 -0
  89. package/dist/esm/lib/contractsIntegration/common/IProtocolConstants.d.ts +32 -0
  90. package/dist/esm/lib/contractsIntegration/common/IProtocolConstants.d.ts.map +1 -0
  91. package/dist/esm/lib/contractsIntegration/common/IProtocolConstants.js +2 -0
  92. package/dist/esm/lib/contractsIntegration/common/index.d.ts +5 -0
  93. package/dist/esm/lib/contractsIntegration/common/index.d.ts.map +1 -0
  94. package/dist/esm/lib/contractsIntegration/common/index.js +2 -0
  95. package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts +5 -0
  96. package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
  97. package/dist/esm/lib/contractsIntegration/deployedContractsConnector.js +17 -0
  98. package/dist/esm/lib/typechain/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1.d.ts +648 -0
  99. package/dist/esm/lib/typechain/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1.d.ts.map +1 -0
  100. package/dist/esm/lib/typechain/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1.js +2 -0
  101. package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +54 -4
  102. package/dist/esm/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
  103. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts +1 -1
  104. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.js +1 -1
  105. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +1 -1
  106. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.js +1 -1
  107. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1 -1
  108. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.js +1 -1
  109. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1 -21
  110. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts.map +1 -1
  111. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.js +1 -28
  112. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.d.ts +1 -1
  113. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.js +1 -1
  114. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.d.ts +1 -1
  115. package/dist/esm/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.js +1 -1
  116. package/dist/esm/lib/typechain/factories/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1__factory.d.ts +750 -0
  117. package/dist/esm/lib/typechain/factories/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1__factory.d.ts.map +1 -0
  118. package/dist/esm/lib/typechain/factories/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1__factory.js +979 -0
  119. package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
  120. package/dist/esm/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.js +1 -1
  121. package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +1 -1
  122. package/dist/esm/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.js +1 -1
  123. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +1 -1
  124. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.js +1 -1
  125. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +91 -22
  126. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
  127. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +114 -29
  128. package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +1 -1
  129. package/dist/esm/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.js +1 -1
  130. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +1 -1
  131. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.js +1 -1
  132. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
  133. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
  134. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
  135. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.js +1 -1
  136. package/dist/esm/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts +1 -1
  137. package/dist/esm/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.js +1 -1
  138. package/dist/types/index.d.ts +4 -0
  139. package/dist/types/index.d.ts.map +1 -1
  140. package/dist/types/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts +2 -3
  141. package/dist/types/lib/contractsIntegration/LexPoolV1Service/ILexPoolV1Service.d.ts.map +1 -1
  142. package/dist/types/lib/contractsIntegration/LexPoolV1Service/LexPoolV1Service.d.ts.map +1 -1
  143. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts +74 -0
  144. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/IOnBehalfTradingService.d.ts.map +1 -0
  145. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts +26 -0
  146. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/OnBehalfTradingService.d.ts.map +1 -0
  147. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/index.d.ts +3 -0
  148. package/dist/types/lib/contractsIntegration/OnBehalfTradingService/index.d.ts.map +1 -0
  149. package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts +6 -10
  150. package/dist/types/lib/contractsIntegration/OrderBookService/IOrderBookService.d.ts.map +1 -1
  151. package/dist/types/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts +5 -2
  152. package/dist/types/lib/contractsIntegration/OrderBookService/OrderBookService.d.ts.map +1 -1
  153. package/dist/types/lib/contractsIntegration/PNLRService/IPNLRService.d.ts +4 -12
  154. package/dist/types/lib/contractsIntegration/PNLRService/IPNLRService.d.ts.map +1 -1
  155. package/dist/types/lib/contractsIntegration/PNLRService/PNLRService.d.ts +4 -3
  156. package/dist/types/lib/contractsIntegration/PNLRService/PNLRService.d.ts.map +1 -1
  157. package/dist/types/lib/contractsIntegration/PNLRService/index.d.ts +1 -1
  158. package/dist/types/lib/contractsIntegration/PNLRService/index.d.ts.map +1 -1
  159. package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts +2 -4
  160. package/dist/types/lib/contractsIntegration/PoolAccountantV1Service/IPoolAccountantV1Service.d.ts.map +1 -1
  161. package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts +8 -13
  162. package/dist/types/lib/contractsIntegration/TradersPortalService/ITradersPortalService.d.ts.map +1 -1
  163. package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts +5 -2
  164. package/dist/types/lib/contractsIntegration/TradersPortalService/TradersPortalServiceService.d.ts.map +1 -1
  165. package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts +31 -13
  166. package/dist/types/lib/contractsIntegration/TradingFloorService/ITradingFloorService.d.ts.map +1 -1
  167. package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts +14 -87
  168. package/dist/types/lib/contractsIntegration/TradingFloorService/TradingFloorService.d.ts.map +1 -1
  169. package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts +6 -9
  170. package/dist/types/lib/contractsIntegration/TriggersService/ITriggersService.d.ts.map +1 -1
  171. package/dist/types/lib/contractsIntegration/TriggersService/TriggersService.d.ts +4 -2
  172. package/dist/types/lib/contractsIntegration/TriggersService/TriggersService.d.ts.map +1 -1
  173. package/dist/types/lib/contractsIntegration/common/ILynxVersionedContract.d.ts +11 -0
  174. package/dist/types/lib/contractsIntegration/common/ILynxVersionedContract.d.ts.map +1 -0
  175. package/dist/types/lib/contractsIntegration/common/IPendableAdmin.d.ts +9 -0
  176. package/dist/types/lib/contractsIntegration/common/IPendableAdmin.d.ts.map +1 -0
  177. package/dist/types/lib/contractsIntegration/common/IPendableImplementation.d.ts +9 -0
  178. package/dist/types/lib/contractsIntegration/common/IPendableImplementation.d.ts.map +1 -0
  179. package/dist/types/lib/contractsIntegration/common/IProtocolConstants.d.ts +32 -0
  180. package/dist/types/lib/contractsIntegration/common/IProtocolConstants.d.ts.map +1 -0
  181. package/dist/types/lib/contractsIntegration/common/index.d.ts +5 -0
  182. package/dist/types/lib/contractsIntegration/common/index.d.ts.map +1 -0
  183. package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts +5 -0
  184. package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
  185. package/dist/types/lib/typechain/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1.d.ts +648 -0
  186. package/dist/types/lib/typechain/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1.d.ts.map +1 -0
  187. package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts +54 -4
  188. package/dist/types/lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1.d.ts.map +1 -1
  189. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts +1 -1
  190. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +1 -1
  191. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1 -1
  192. package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts +1 -21
  193. package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/LexPool/LexPoolV1__factory.d.ts.map +1 -1
  194. package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/PNLR/PNLR__factory.d.ts +1 -1
  195. package/dist/types/lib/typechain/factories/contracts/Lynx/Lex/PoolAccountant/PoolAccountantV1__factory.d.ts +1 -1
  196. package/dist/types/lib/typechain/factories/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1__factory.d.ts +750 -0
  197. package/dist/types/lib/typechain/factories/contracts/Lynx/OnBehalfTrading/OnBehalfTradingV1__factory.d.ts.map +1 -0
  198. package/dist/types/lib/typechain/factories/contracts/Lynx/OrderBook/OrderBookV1__factory.d.ts +1 -1
  199. package/dist/types/lib/typechain/factories/contracts/Lynx/Registry/RegistryV1__factory.d.ts +1 -1
  200. package/dist/types/lib/typechain/factories/contracts/Lynx/TradersPortal/TradersPortalV1__factory.d.ts +1 -1
  201. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +91 -22
  202. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
  203. package/dist/types/lib/typechain/factories/contracts/Lynx/Triggers/TriggersV1__factory.d.ts +1 -1
  204. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory.d.ts +1 -1
  205. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
  206. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory.d.ts +1 -1
  207. package/dist/types/lib/typechain/factories/contracts/Peripheral/TokensDistribution/SinglePhaseSingleTokenDistributor/SinglePhaseSingleTokenDistributor__factory.d.ts +1 -1
  208. package/package.json +4 -4
@@ -0,0 +1,979 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OnBehalfTradingV1__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: "_registry",
14
+ type: "address",
15
+ },
16
+ ],
17
+ stateMutability: "nonpayable",
18
+ type: "constructor",
19
+ },
20
+ {
21
+ anonymous: false,
22
+ inputs: [
23
+ {
24
+ indexed: true,
25
+ internalType: "address",
26
+ name: "owner",
27
+ type: "address",
28
+ },
29
+ {
30
+ indexed: true,
31
+ internalType: "address",
32
+ name: "spender",
33
+ type: "address",
34
+ },
35
+ ],
36
+ name: "AllPermissionsPermanentlyRevoked",
37
+ type: "event",
38
+ },
39
+ {
40
+ anonymous: false,
41
+ inputs: [
42
+ {
43
+ indexed: true,
44
+ internalType: "address",
45
+ name: "caller",
46
+ type: "address",
47
+ },
48
+ {
49
+ indexed: false,
50
+ internalType: "string",
51
+ name: "roleName",
52
+ type: "string",
53
+ },
54
+ ],
55
+ name: "DynamicRoleCallerUpdated",
56
+ type: "event",
57
+ },
58
+ {
59
+ anonymous: false,
60
+ inputs: [
61
+ {
62
+ indexed: true,
63
+ internalType: "address",
64
+ name: "token",
65
+ type: "address",
66
+ },
67
+ {
68
+ indexed: false,
69
+ internalType: "uint256",
70
+ name: "newMaxAmount",
71
+ type: "uint256",
72
+ },
73
+ ],
74
+ name: "MaxPermissionAmountUpdatedForToken",
75
+ type: "event",
76
+ },
77
+ {
78
+ anonymous: false,
79
+ inputs: [
80
+ {
81
+ indexed: false,
82
+ internalType: "uint256",
83
+ name: "newMaxDuration",
84
+ type: "uint256",
85
+ },
86
+ ],
87
+ name: "MaxPermissionDurationUpdated",
88
+ type: "event",
89
+ },
90
+ {
91
+ anonymous: false,
92
+ inputs: [
93
+ {
94
+ indexed: false,
95
+ internalType: "address",
96
+ name: "oldAdmin",
97
+ type: "address",
98
+ },
99
+ {
100
+ indexed: false,
101
+ internalType: "address",
102
+ name: "newAdmin",
103
+ type: "address",
104
+ },
105
+ ],
106
+ name: "NewAdmin",
107
+ type: "event",
108
+ },
109
+ {
110
+ anonymous: false,
111
+ inputs: [
112
+ {
113
+ indexed: false,
114
+ internalType: "address",
115
+ name: "oldPendingAdmin",
116
+ type: "address",
117
+ },
118
+ {
119
+ indexed: false,
120
+ internalType: "address",
121
+ name: "newPendingAdmin",
122
+ type: "address",
123
+ },
124
+ ],
125
+ name: "NewPendingAdmin",
126
+ type: "event",
127
+ },
128
+ {
129
+ anonymous: false,
130
+ inputs: [
131
+ {
132
+ indexed: false,
133
+ internalType: "bool",
134
+ name: "isPaused",
135
+ type: "bool",
136
+ },
137
+ ],
138
+ name: "PausedToggled",
139
+ type: "event",
140
+ },
141
+ {
142
+ anonymous: false,
143
+ inputs: [
144
+ {
145
+ indexed: true,
146
+ internalType: "address",
147
+ name: "owner",
148
+ type: "address",
149
+ },
150
+ {
151
+ indexed: true,
152
+ internalType: "address",
153
+ name: "spender",
154
+ type: "address",
155
+ },
156
+ {
157
+ indexed: true,
158
+ internalType: "address",
159
+ name: "token",
160
+ type: "address",
161
+ },
162
+ {
163
+ indexed: false,
164
+ internalType: "uint256",
165
+ name: "amountUsed",
166
+ type: "uint256",
167
+ },
168
+ {
169
+ indexed: false,
170
+ internalType: "uint256",
171
+ name: "remainingAmount",
172
+ type: "uint256",
173
+ },
174
+ ],
175
+ name: "PermissionCharged",
176
+ type: "event",
177
+ },
178
+ {
179
+ anonymous: false,
180
+ inputs: [
181
+ {
182
+ indexed: true,
183
+ internalType: "address",
184
+ name: "owner",
185
+ type: "address",
186
+ },
187
+ {
188
+ indexed: true,
189
+ internalType: "address",
190
+ name: "spender",
191
+ type: "address",
192
+ },
193
+ {
194
+ indexed: true,
195
+ internalType: "address",
196
+ name: "token",
197
+ type: "address",
198
+ },
199
+ {
200
+ indexed: false,
201
+ internalType: "uint256",
202
+ name: "amountLimit",
203
+ type: "uint256",
204
+ },
205
+ {
206
+ indexed: false,
207
+ internalType: "uint256",
208
+ name: "expiryTime",
209
+ type: "uint256",
210
+ },
211
+ ],
212
+ name: "PermissionGranted",
213
+ type: "event",
214
+ },
215
+ {
216
+ anonymous: false,
217
+ inputs: [
218
+ {
219
+ indexed: true,
220
+ internalType: "address",
221
+ name: "owner",
222
+ type: "address",
223
+ },
224
+ {
225
+ indexed: true,
226
+ internalType: "address",
227
+ name: "spender",
228
+ type: "address",
229
+ },
230
+ {
231
+ indexed: true,
232
+ internalType: "address",
233
+ name: "token",
234
+ type: "address",
235
+ },
236
+ ],
237
+ name: "PermissionRevoked",
238
+ type: "event",
239
+ },
240
+ {
241
+ inputs: [],
242
+ name: "CONTRACT_NAME",
243
+ outputs: [
244
+ {
245
+ internalType: "string",
246
+ name: "",
247
+ type: "string",
248
+ },
249
+ ],
250
+ stateMutability: "view",
251
+ type: "function",
252
+ },
253
+ {
254
+ inputs: [],
255
+ name: "CONTRACT_VERSION",
256
+ outputs: [
257
+ {
258
+ internalType: "string",
259
+ name: "",
260
+ type: "string",
261
+ },
262
+ ],
263
+ stateMutability: "view",
264
+ type: "function",
265
+ },
266
+ {
267
+ inputs: [],
268
+ name: "_acceptAdmin",
269
+ outputs: [],
270
+ stateMutability: "nonpayable",
271
+ type: "function",
272
+ },
273
+ {
274
+ inputs: [
275
+ {
276
+ internalType: "address",
277
+ name: "newPendingAdmin",
278
+ type: "address",
279
+ },
280
+ ],
281
+ name: "_setPendingAdmin",
282
+ outputs: [],
283
+ stateMutability: "nonpayable",
284
+ type: "function",
285
+ },
286
+ {
287
+ inputs: [],
288
+ name: "admin",
289
+ outputs: [
290
+ {
291
+ internalType: "address",
292
+ name: "",
293
+ type: "address",
294
+ },
295
+ ],
296
+ stateMutability: "view",
297
+ type: "function",
298
+ },
299
+ {
300
+ inputs: [
301
+ {
302
+ internalType: "address",
303
+ name: "owner",
304
+ type: "address",
305
+ },
306
+ {
307
+ internalType: "address",
308
+ name: "spender",
309
+ type: "address",
310
+ },
311
+ {
312
+ internalType: "address",
313
+ name: "token",
314
+ type: "address",
315
+ },
316
+ {
317
+ internalType: "uint256",
318
+ name: "amount",
319
+ type: "uint256",
320
+ },
321
+ ],
322
+ name: "chargePermission",
323
+ outputs: [],
324
+ stateMutability: "nonpayable",
325
+ type: "function",
326
+ },
327
+ {
328
+ inputs: [
329
+ {
330
+ internalType: "address",
331
+ name: "",
332
+ type: "address",
333
+ },
334
+ ],
335
+ name: "dynamicRoleCallers",
336
+ outputs: [
337
+ {
338
+ internalType: "string",
339
+ name: "",
340
+ type: "string",
341
+ },
342
+ ],
343
+ stateMutability: "view",
344
+ type: "function",
345
+ },
346
+ {
347
+ inputs: [
348
+ {
349
+ internalType: "address",
350
+ name: "owner",
351
+ type: "address",
352
+ },
353
+ ],
354
+ name: "getActivePermissionCount",
355
+ outputs: [
356
+ {
357
+ internalType: "uint256",
358
+ name: "count",
359
+ type: "uint256",
360
+ },
361
+ ],
362
+ stateMutability: "view",
363
+ type: "function",
364
+ },
365
+ {
366
+ inputs: [
367
+ {
368
+ internalType: "address",
369
+ name: "owner",
370
+ type: "address",
371
+ },
372
+ ],
373
+ name: "getActiveSpenders",
374
+ outputs: [
375
+ {
376
+ internalType: "address[]",
377
+ name: "",
378
+ type: "address[]",
379
+ },
380
+ ],
381
+ stateMutability: "view",
382
+ type: "function",
383
+ },
384
+ {
385
+ inputs: [
386
+ {
387
+ internalType: "address",
388
+ name: "owner",
389
+ type: "address",
390
+ },
391
+ {
392
+ internalType: "address",
393
+ name: "spender",
394
+ type: "address",
395
+ },
396
+ ],
397
+ name: "getActiveTokensForSpender",
398
+ outputs: [
399
+ {
400
+ internalType: "address[]",
401
+ name: "",
402
+ type: "address[]",
403
+ },
404
+ ],
405
+ stateMutability: "view",
406
+ type: "function",
407
+ },
408
+ {
409
+ inputs: [
410
+ {
411
+ internalType: "address",
412
+ name: "owner",
413
+ type: "address",
414
+ },
415
+ ],
416
+ name: "getAllActivePermissions",
417
+ outputs: [
418
+ {
419
+ internalType: "address[]",
420
+ name: "spenders",
421
+ type: "address[]",
422
+ },
423
+ {
424
+ internalType: "address[]",
425
+ name: "tokens",
426
+ type: "address[]",
427
+ },
428
+ {
429
+ components: [
430
+ {
431
+ internalType: "uint256",
432
+ name: "amountLimit",
433
+ type: "uint256",
434
+ },
435
+ {
436
+ internalType: "uint256",
437
+ name: "amountUsed",
438
+ type: "uint256",
439
+ },
440
+ {
441
+ internalType: "uint256",
442
+ name: "expiryTime",
443
+ type: "uint256",
444
+ },
445
+ {
446
+ internalType: "bool",
447
+ name: "isActive",
448
+ type: "bool",
449
+ },
450
+ ],
451
+ internalType: "struct OnBehalfTradingStructsV1.TradingPermission[]",
452
+ name: "permissionData",
453
+ type: "tuple[]",
454
+ },
455
+ ],
456
+ stateMutability: "view",
457
+ type: "function",
458
+ },
459
+ {
460
+ inputs: [
461
+ {
462
+ internalType: "address[]",
463
+ name: "tokensToQuery",
464
+ type: "address[]",
465
+ },
466
+ ],
467
+ name: "getContractConfiguration",
468
+ outputs: [
469
+ {
470
+ internalType: "bool",
471
+ name: "isPausedState",
472
+ type: "bool",
473
+ },
474
+ {
475
+ internalType: "uint256",
476
+ name: "maxDuration",
477
+ type: "uint256",
478
+ },
479
+ {
480
+ internalType: "uint256[]",
481
+ name: "tokenMaxAmounts",
482
+ type: "uint256[]",
483
+ },
484
+ {
485
+ internalType: "address",
486
+ name: "registryAddress",
487
+ type: "address",
488
+ },
489
+ {
490
+ internalType: "address",
491
+ name: "tradersPortalAddress",
492
+ type: "address",
493
+ },
494
+ ],
495
+ stateMutability: "view",
496
+ type: "function",
497
+ },
498
+ {
499
+ inputs: [],
500
+ name: "getContractName",
501
+ outputs: [
502
+ {
503
+ internalType: "string",
504
+ name: "",
505
+ type: "string",
506
+ },
507
+ ],
508
+ stateMutability: "pure",
509
+ type: "function",
510
+ },
511
+ {
512
+ inputs: [],
513
+ name: "getContractVersion",
514
+ outputs: [
515
+ {
516
+ internalType: "string",
517
+ name: "",
518
+ type: "string",
519
+ },
520
+ ],
521
+ stateMutability: "pure",
522
+ type: "function",
523
+ },
524
+ {
525
+ inputs: [
526
+ {
527
+ internalType: "address",
528
+ name: "owner",
529
+ type: "address",
530
+ },
531
+ {
532
+ internalType: "address",
533
+ name: "spender",
534
+ type: "address",
535
+ },
536
+ {
537
+ internalType: "address",
538
+ name: "token",
539
+ type: "address",
540
+ },
541
+ ],
542
+ name: "getRemainingAmount",
543
+ outputs: [
544
+ {
545
+ internalType: "uint256",
546
+ name: "",
547
+ type: "uint256",
548
+ },
549
+ ],
550
+ stateMutability: "view",
551
+ type: "function",
552
+ },
553
+ {
554
+ inputs: [
555
+ {
556
+ internalType: "address",
557
+ name: "spender",
558
+ type: "address",
559
+ },
560
+ {
561
+ internalType: "address",
562
+ name: "token",
563
+ type: "address",
564
+ },
565
+ {
566
+ internalType: "uint256",
567
+ name: "amountLimit",
568
+ type: "uint256",
569
+ },
570
+ {
571
+ internalType: "uint256",
572
+ name: "duration",
573
+ type: "uint256",
574
+ },
575
+ ],
576
+ name: "grantPermission",
577
+ outputs: [],
578
+ stateMutability: "nonpayable",
579
+ type: "function",
580
+ },
581
+ {
582
+ inputs: [
583
+ {
584
+ internalType: "address",
585
+ name: "owner",
586
+ type: "address",
587
+ },
588
+ ],
589
+ name: "hasActivePermissions",
590
+ outputs: [
591
+ {
592
+ internalType: "bool",
593
+ name: "",
594
+ type: "bool",
595
+ },
596
+ ],
597
+ stateMutability: "view",
598
+ type: "function",
599
+ },
600
+ {
601
+ inputs: [],
602
+ name: "isPaused",
603
+ outputs: [
604
+ {
605
+ internalType: "bool",
606
+ name: "",
607
+ type: "bool",
608
+ },
609
+ ],
610
+ stateMutability: "view",
611
+ type: "function",
612
+ },
613
+ {
614
+ inputs: [
615
+ {
616
+ internalType: "address",
617
+ name: "owner",
618
+ type: "address",
619
+ },
620
+ {
621
+ internalType: "address",
622
+ name: "spender",
623
+ type: "address",
624
+ },
625
+ {
626
+ internalType: "address",
627
+ name: "token",
628
+ type: "address",
629
+ },
630
+ ],
631
+ name: "isPermissionValid",
632
+ outputs: [
633
+ {
634
+ internalType: "bool",
635
+ name: "",
636
+ type: "bool",
637
+ },
638
+ ],
639
+ stateMutability: "view",
640
+ type: "function",
641
+ },
642
+ {
643
+ inputs: [
644
+ {
645
+ internalType: "address",
646
+ name: "",
647
+ type: "address",
648
+ },
649
+ ],
650
+ name: "maxPermissionAmountPerToken",
651
+ outputs: [
652
+ {
653
+ internalType: "uint256",
654
+ name: "",
655
+ type: "uint256",
656
+ },
657
+ ],
658
+ stateMutability: "view",
659
+ type: "function",
660
+ },
661
+ {
662
+ inputs: [],
663
+ name: "maxPermissionDuration",
664
+ outputs: [
665
+ {
666
+ internalType: "uint256",
667
+ name: "",
668
+ type: "uint256",
669
+ },
670
+ ],
671
+ stateMutability: "view",
672
+ type: "function",
673
+ },
674
+ {
675
+ inputs: [],
676
+ name: "pendingAdmin",
677
+ outputs: [
678
+ {
679
+ internalType: "address",
680
+ name: "",
681
+ type: "address",
682
+ },
683
+ ],
684
+ stateMutability: "view",
685
+ type: "function",
686
+ },
687
+ {
688
+ inputs: [
689
+ {
690
+ internalType: "address",
691
+ name: "",
692
+ type: "address",
693
+ },
694
+ {
695
+ internalType: "address",
696
+ name: "",
697
+ type: "address",
698
+ },
699
+ ],
700
+ name: "permanentlyRevoked",
701
+ outputs: [
702
+ {
703
+ internalType: "bool",
704
+ name: "",
705
+ type: "bool",
706
+ },
707
+ ],
708
+ stateMutability: "view",
709
+ type: "function",
710
+ },
711
+ {
712
+ inputs: [
713
+ {
714
+ internalType: "address",
715
+ name: "",
716
+ type: "address",
717
+ },
718
+ {
719
+ internalType: "address",
720
+ name: "",
721
+ type: "address",
722
+ },
723
+ {
724
+ internalType: "address",
725
+ name: "",
726
+ type: "address",
727
+ },
728
+ ],
729
+ name: "permissions",
730
+ outputs: [
731
+ {
732
+ internalType: "uint256",
733
+ name: "amountLimit",
734
+ type: "uint256",
735
+ },
736
+ {
737
+ internalType: "uint256",
738
+ name: "amountUsed",
739
+ type: "uint256",
740
+ },
741
+ {
742
+ internalType: "uint256",
743
+ name: "expiryTime",
744
+ type: "uint256",
745
+ },
746
+ {
747
+ internalType: "bool",
748
+ name: "isActive",
749
+ type: "bool",
750
+ },
751
+ ],
752
+ stateMutability: "view",
753
+ type: "function",
754
+ },
755
+ {
756
+ inputs: [],
757
+ name: "registry",
758
+ outputs: [
759
+ {
760
+ internalType: "contract IRegistryV1",
761
+ name: "",
762
+ type: "address",
763
+ },
764
+ ],
765
+ stateMutability: "view",
766
+ type: "function",
767
+ },
768
+ {
769
+ inputs: [
770
+ {
771
+ internalType: "address",
772
+ name: "owner",
773
+ type: "address",
774
+ },
775
+ {
776
+ internalType: "address",
777
+ name: "spender",
778
+ type: "address",
779
+ },
780
+ {
781
+ internalType: "address",
782
+ name: "token",
783
+ type: "address",
784
+ },
785
+ ],
786
+ name: "requirePermission",
787
+ outputs: [],
788
+ stateMutability: "view",
789
+ type: "function",
790
+ },
791
+ {
792
+ inputs: [
793
+ {
794
+ internalType: "address",
795
+ name: "spender",
796
+ type: "address",
797
+ },
798
+ ],
799
+ name: "revokeAllPermissions",
800
+ outputs: [],
801
+ stateMutability: "nonpayable",
802
+ type: "function",
803
+ },
804
+ {
805
+ inputs: [
806
+ {
807
+ internalType: "address",
808
+ name: "spender",
809
+ type: "address",
810
+ },
811
+ {
812
+ internalType: "address",
813
+ name: "token",
814
+ type: "address",
815
+ },
816
+ ],
817
+ name: "revokePermission",
818
+ outputs: [],
819
+ stateMutability: "nonpayable",
820
+ type: "function",
821
+ },
822
+ {
823
+ inputs: [
824
+ {
825
+ internalType: "address",
826
+ name: "caller",
827
+ type: "address",
828
+ },
829
+ {
830
+ internalType: "string",
831
+ name: "roleName",
832
+ type: "string",
833
+ },
834
+ ],
835
+ name: "setDynamicRoleCaller",
836
+ outputs: [],
837
+ stateMutability: "nonpayable",
838
+ type: "function",
839
+ },
840
+ {
841
+ inputs: [
842
+ {
843
+ internalType: "address[]",
844
+ name: "callers",
845
+ type: "address[]",
846
+ },
847
+ {
848
+ internalType: "string[]",
849
+ name: "roleNames",
850
+ type: "string[]",
851
+ },
852
+ ],
853
+ name: "setDynamicRoleCallers",
854
+ outputs: [],
855
+ stateMutability: "nonpayable",
856
+ type: "function",
857
+ },
858
+ {
859
+ inputs: [
860
+ {
861
+ internalType: "address",
862
+ name: "token",
863
+ type: "address",
864
+ },
865
+ {
866
+ internalType: "uint256",
867
+ name: "_maxAmount",
868
+ type: "uint256",
869
+ },
870
+ ],
871
+ name: "setMaxPermissionAmountForToken",
872
+ outputs: [],
873
+ stateMutability: "nonpayable",
874
+ type: "function",
875
+ },
876
+ {
877
+ inputs: [
878
+ {
879
+ internalType: "address[]",
880
+ name: "tokens",
881
+ type: "address[]",
882
+ },
883
+ {
884
+ internalType: "uint256[]",
885
+ name: "maxAmounts",
886
+ type: "uint256[]",
887
+ },
888
+ ],
889
+ name: "setMaxPermissionAmountsForTokens",
890
+ outputs: [],
891
+ stateMutability: "nonpayable",
892
+ type: "function",
893
+ },
894
+ {
895
+ inputs: [
896
+ {
897
+ internalType: "uint256",
898
+ name: "_maxDuration",
899
+ type: "uint256",
900
+ },
901
+ ],
902
+ name: "setMaxPermissionDuration",
903
+ outputs: [],
904
+ stateMutability: "nonpayable",
905
+ type: "function",
906
+ },
907
+ {
908
+ inputs: [
909
+ {
910
+ components: [
911
+ {
912
+ internalType: "address",
913
+ name: "spender",
914
+ type: "address",
915
+ },
916
+ {
917
+ internalType: "address",
918
+ name: "token",
919
+ type: "address",
920
+ },
921
+ {
922
+ internalType: "uint256",
923
+ name: "amountLimit",
924
+ type: "uint256",
925
+ },
926
+ {
927
+ internalType: "uint256",
928
+ name: "duration",
929
+ type: "uint256",
930
+ },
931
+ ],
932
+ internalType: "struct OnBehalfTradingStructsV1.PermissionSettingPayload[]",
933
+ name: "settings",
934
+ type: "tuple[]",
935
+ },
936
+ ],
937
+ name: "setPermissions",
938
+ outputs: [],
939
+ stateMutability: "nonpayable",
940
+ type: "function",
941
+ },
942
+ {
943
+ inputs: [],
944
+ name: "togglePause",
945
+ outputs: [],
946
+ stateMutability: "nonpayable",
947
+ type: "function",
948
+ },
949
+ ];
950
+ const _bytecode = "0x608060405262278d006003553480156200001857600080fd5b5060405162003db138038062003db18339810160408190526200003b91620001cf565b600080546001600160a01b031916331790556001600160a01b0381166200009c5760405162461bcd60e51b815260206004820152601060248201526f494e56414c49445f524547495354525960801b60448201526064015b60405180910390fd5b60405167526567697374727960c01b602082015260280160405160208183030381529060405280519060200120816001600160a01b031663f5f5ba726040518163ffffffff1660e01b8152600401600060405180830381865afa15801562000108573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200013291908101906200023d565b604051602001620001449190620002f5565b6040516020818303038152906040528051906020012014620001a95760405162461bcd60e51b815260206004820152601560248201527f4e4f545f52454749535452595f434f4e54524143540000000000000000000000604482015260640162000093565b600280546001600160a01b0319166001600160a01b039290921691909117905562000313565b600060208284031215620001e257600080fd5b81516001600160a01b0381168114620001fa57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620002345781810151838201526020016200021a565b50506000910152565b6000602082840312156200025057600080fd5b81516001600160401b03808211156200026857600080fd5b818401915084601f8301126200027d57600080fd5b81518181111562000292576200029262000201565b604051601f8201601f19908116603f01168101908382118183101715620002bd57620002bd62000201565b81604052828152876020848701011115620002d757600080fd5b620002ea83602083016020880162000217565b979650505050505050565b600082516200030981846020870162000217565b9190910192915050565b613a8e80620003236000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80638aa1043511610125578063c825e63a116100ad578063ecd2475b1161007c578063ecd2475b1461056a578063ede94e751461057d578063f5f5ba7214610586578063f851a440146105b3578063fca52146146105c657600080fd5b8063c825e63a1461050b578063ce3707b31461052f578063e0f329021461054f578063e9c714f21461056257600080fd5b8063b71d1a0c116100f4578063b71d1a0c1461049c578063b7c3a499146104af578063be89e269146104dd578063c2246968146104f0578063c4ae31681461050357600080fd5b80638aa104351461043657806393edb31614610455578063b04e7c4c14610468578063b187bd261461048857600080fd5b806349836fad116101a85780637816050f116101775780637816050f146103d75780637b103999146103ea57806381e6a99d146103fd5780638416f9b314610410578063899b1bff1461042357600080fd5b806349836fad14610316578063614d08f81461038157806365b00327146103b1578063780f1509146103c457600080fd5b806326782247116101e457806326782247146102865780632723619f146102b157806338b90333146102d457806345a05a1b1461030357600080fd5b806312dfe61f1461021657806312f4fb4d1461022b5780631b4d2cd1146102515780631e3b56d414610273575b600080fd5b610229610224366004613166565b6105d9565b005b61023e610239366004613183565b610796565b6040519081526020015b60405180910390f35b61026461025f366004613166565b610880565b60405161024893929190613213565b6102296102813660046132a2565b610cee565b600154610299906001600160a01b031681565b6040516001600160a01b039091168152602001610248565b6102c46102bf366004613166565b610dd4565b6040519015158152602001610248565b6102f66040518060400160405280600381526020016203130360ec1b81525081565b6040516102489190613326565b6102296103113660046133c0565b610f56565b61035f610324366004613183565b600660209081526000938452604080852082529284528284209052825290208054600182015460028301546003909301549192909160ff1684565b6040805194855260208501939093529183015215156060820152608001610248565b6102f6604051806040016040528060118152602001704f6e426568616c6654726164696e67563160781b81525081565b6102296103bf36600461342b565b611151565b6102296103d2366004613471565b6111ba565b6102c46103e5366004613183565b61126f565b600254610299906001600160a01b031681565b61022961040b366004613183565b611344565b61022961041e36600461348a565b611416565b6102296104313660046134db565b6119e0565b60408051808201909152600381526203130360ec1b60208201526102f6565b6102296104633660046133c0565b611c86565b61047b61047636600461354f565b611e38565b6040516102489190613588565b6002546102c490600160a01b900460ff1681565b6102296104aa366004613166565b6120b8565b6102c46104bd36600461354f565b600760209081526000928352604080842090915290825290205460ff1681565b61023e6104eb366004613166565b612160565b6102296104fe36600461354f565b6122de565b6102296122ed565b61051e61051936600461359b565b61237d565b6040516102489594939291906135dc565b61023e61053d366004613166565b60046020526000908152604090205481565b6102f661055d366004613166565b6124ce565b610229612568565b610229610578366004613651565b612686565b61023e60035481565b6040805180820190915260118152704f6e426568616c6654726164696e67563160781b60208201526102f6565b600054610299906001600160a01b031681565b61047b6105d4366004613166565b61272f565b3360008181526007602090815260408083206001600160a01b03861684529091529020805460ff191660011790555b6001600160a01b038082166000908152600960209081526040808320938616835292905290812061063890612abd565b111561072f576001600160a01b038082166000908152600960209081526040808320938616835292905290812061066f9082612ac7565b6001600160a01b0380841660009081526006602090815260408083208885168452825280832093851683529290522060038101549192509060ff16156106f85760038101805460ff191690556040516001600160a01b0380841691868216918616907f788838887194369953cb844429b137b79c87b1f39977d2518066e8ffe75e4a4b90600090a45b6001600160a01b0380841660009081526009602090815260408083209388168352929052206107279083612ad3565b505050610608565b6001600160a01b03811660009081526008602052604090206107519083612ad3565b50816001600160a01b0316816001600160a01b03167fd6daf425f865371fa93382a17863784ebef5641f0f5dadcd34f76f3dd04da1f760405160405180910390a35050565b6001600160a01b03808416600090815260076020908152604080832093861683529290529081205460ff16156107ce57506000610879565b6001600160a01b0380851660009081526006602090815260408083208785168452825280832093861683529281529082902082516080810184528154815260018201549281019290925260028101549282019290925260039091015460ff161580156060830152806108555750806040015142101580156108555750600019816040015114155b15610864576000915050610879565b602081015181516108759190613693565b9150505b9392505050565b60608060606000806108b560086000886001600160a01b03166001600160a01b03168152602001908152602001600020612abd565b905060005b81811015610a09576001600160a01b03871660009081526008602052604081206108e49083612ac7565b6001600160a01b03808a16600090815260096020908152604080832093851683529290529081209192509061091890612abd565b905060005b818110156109fe576001600160a01b03808b16600090815260096020908152604080832093871683529290529081206109569083612ac7565b6001600160a01b03808d1660009081526006602090815260408083208985168452825280832093851683529281529082902082516080810184528154815260018201549281019290925260028101549282019290925260039091015460ff16158015606083018190529293509091906109e15750600019816040015114806109e15750806040015142105b156109f457876109f0816136a6565b9850505b505060010161091d565b5050506001016108ba565b50816001600160401b03811115610a2257610a226136bf565b604051908082528060200260200182016040528015610a4b578160200160208202803683370190505b509450816001600160401b03811115610a6657610a666136bf565b604051908082528060200260200182016040528015610a8f578160200160208202803683370190505b509350816001600160401b03811115610aaa57610aaa6136bf565b604051908082528060200260200182016040528015610b0857816020015b610af560405180608001604052806000815260200160008152602001600081526020016000151581525090565b815260200190600190039081610ac85790505b5092506000805b82811015610ce3576001600160a01b0388166000908152600860205260408120610b399083612ac7565b6001600160a01b03808b166000908152600960209081526040808320938516835292905290812091925090610b6d90612abd565b905060005b81811015610cd8576001600160a01b03808c1660009081526009602090815260408083209387168352929052908120610bab9083612ac7565b6001600160a01b03808e1660009081526006602090815260408083208985168452825280832093851683529281529082902082516080810184528154815260018201549281019290925260028101549282019290925260039091015460ff1615801560608301819052929350909190610c36575060001981604001511480610c365750806040015142105b15610cce57848c8881518110610c4e57610c4e6136d5565b60200260200101906001600160a01b031690816001600160a01b031681525050818b8881518110610c8157610c816136d5565b60200260200101906001600160a01b031690816001600160a01b031681525050808a8881518110610cb457610cb46136d5565b60200260200101819052508680610cca906136a6565b9750505b5050600101610b72565b505050600101610b0f565b505050509193909250565b6000546001600160a01b03163314610d215760405162461bcd60e51b8152600401610d18906136eb565b60405180910390fd5b6001600160a01b038316610d685760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa1a0a62622a960911b6044820152606401610d18565b6001600160a01b0383166000908152600560205260409020610d8b828483613791565b50826001600160a01b03167f13751a120d9bee36b71a5cb6844f0d3be82ff7bdf7e38f96487f9bb79babedac8383604051610dc7929190613850565b60405180910390a2505050565b6001600160a01b03811660009081526008602052604081208190610df790612abd565b905060005b81811015610f4c576001600160a01b0384166000908152600860205260408120610e269083612ac7565b6001600160a01b038087166000908152600960209081526040808320938516835292905290812091925090610e5a90612abd565b905060005b81811015610f41576001600160a01b0380881660009081526009602090815260408083209387168352929052908120610e989083612ac7565b6001600160a01b03808a1660009081526006602090815260408083208985168452825280832093851683529281529082902082516080810184528154815260018201549281019290925260028101549282019290925260039091015460ff1615801560608301819052929350909190610f23575060001981604001511480610f235750806040015142105b15610f375750600198975050505050505050565b5050600101610e5f565b505050600101610dfc565b5060009392505050565b6000546001600160a01b03163314610f805760405162461bcd60e51b8152600401610d18906136eb565b828114610fc75760405162461bcd60e51b8152602060048201526015602482015274082a4a482b2be988a9c8ea890be9a92a69a82a8869605b1b6044820152606401610d18565b60005b8381101561114a576000858583818110610fe657610fe66136d5565b9050602002016020810190610ffb9190613166565b6001600160a01b0316036110425760405162461bcd60e51b815260206004820152600e60248201526d24a72b20a624a22fa1a0a62622a960911b6044820152606401610d18565b828282818110611054576110546136d5565b9050602002810190611066919061387f565b6005600088888681811061107c5761107c6136d5565b90506020020160208101906110919190613166565b6001600160a01b031681526020810191909152604001600020916110b6919083613791565b508484828181106110c9576110c96136d5565b90506020020160208101906110de9190613166565b6001600160a01b03167f13751a120d9bee36b71a5cb6844f0d3be82ff7bdf7e38f96487f9bb79babedac84848481811061111a5761111a6136d5565b905060200281019061112c919061387f565b60405161113a929190613850565b60405180910390a2600101610fca565b5050505050565b600254600160a01b900460ff161561117b5760405162461bcd60e51b8152600401610d18906138c5565b604080516080810182526001600160a01b038087168252851660208201529081018390526060810182905233906111b28282612ae8565b505050505050565b6000546001600160a01b031633146111e45760405162461bcd60e51b8152600401610d18906136eb565b600081116112345760405162461bcd60e51b815260206004820152601960248201527f4455524154494f4e5f4d5553545f42455f504f534954495645000000000000006044820152606401610d18565b60038190556040518181527f0240c0124750287c26072d862a93b7477b70c2790b8cda14d0f58838b152c54f9060200160405180910390a150565b6001600160a01b03808416600090815260076020908152604080832093861683529290529081205460ff16156112a757506000610879565b6001600160a01b0380851660009081526006602090815260408083208785168452825280832093861683529281529082902082516080810184528154815260018201549281019290925260028101549282019290925260039091015460ff16158015606083018190529061132d5750806040015142108061132d57506000198160400151145b801561087557506020810151905111949350505050565b6001600160a01b0380841660009081526007602090815260408083209386168352929052205460ff161561138a5760405162461bcd60e51b8152600401610d18906138e5565b6001600160a01b03808416600090815260066020908152604080832086851684528252808320938516835292905220600381015460ff166113dd5760405162461bcd60e51b8152600401610d189061391c565b600019816002015414806113f45750806002015442105b6114105760405162461bcd60e51b8152600401610d189061394b565b50505050565b600254600160a01b900460ff16156114405760405162461bcd60e51b8152600401610d18906138c5565b600260009054906101000a90046001600160a01b03166001600160a01b031663fab337046040518163ffffffff1660e01b8152600401602060405180830381865afa158015611493573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b79190613977565b6001600160a01b03163303611680576001600160a01b0380851660009081526007602090815260408083209387168352929052205460ff161561150c5760405162461bcd60e51b8152600401610d18906138e5565b6001600160a01b03808516600090815260066020908152604080832087851684528252808320938616835292905220600381015460ff1661155f5760405162461bcd60e51b8152600401610d189061391c565b600019816002015414806115765750806002015442105b6115925760405162461bcd60e51b8152600401610d189061394b565b8054600019111561160e57805460018201546115af908490613994565b11156115f45760405162461bcd60e51b8152602060048201526014602482015273115610d1515114d7d05353d5539517d31253525560621b6044820152606401610d18565b818160010160008282546116089190613994565b90915550505b826001600160a01b0316846001600160a01b0316866001600160a01b03167f6cca74a72fcfc88bc91c00690ff15d1f15ec9bdf2038748416ad3bb1e69205fc85856001015486600001546116629190613693565b6040805192835260208301919091520160405180910390a450611410565b336000908152600560205260408120805461169a9061370f565b80601f01602080910402602001604051908101604052809291908181526020018280546116c69061370f565b80156117135780601f106116e857610100808354040283529160200191611713565b820191906000526020600020905b8154815290600101906020018083116116f657829003601f168201915b505050505090506000815111156119a257600254604051632c652ce760e11b81526000916001600160a01b0316906358ca59ce90611755908590600401613326565b602060405180830381865afa158015611772573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117969190613977565b9050336001600160a01b038216146117e65760405162461bcd60e51b81526020600482015260136024820152722aa720aaaa2427a924ad22a22fa1a0a62622a960691b6044820152606401610d18565b6001600160a01b0380871660009081526007602090815260408083209389168352929052205460ff161561182c5760405162461bcd60e51b8152600401610d18906138e5565b6001600160a01b03808716600090815260066020908152604080832089851684528252808320938816835292905220600381015460ff1661187f5760405162461bcd60e51b8152600401610d189061391c565b600019816002015414806118965750806002015442105b6118b25760405162461bcd60e51b8152600401610d189061394b565b8054600019111561192e57805460018201546118cf908690613994565b11156119145760405162461bcd60e51b8152602060048201526014602482015273115610d1515114d7d05353d5539517d31253525560621b6044820152606401610d18565b838160010160008282546119289190613994565b90915550505b846001600160a01b0316866001600160a01b0316886001600160a01b03167f6cca74a72fcfc88bc91c00690ff15d1f15ec9bdf2038748416ad3bb1e69205fc87856001015486600001546119829190613693565b6040805192835260208301919091520160405180910390a4505050611410565b60405162461bcd60e51b81526020600482015260136024820152722aa720aaaa2427a924ad22a22fa1a0a62622a960691b6044820152606401610d18565b600254600160a01b900460ff1615611a0a5760405162461bcd60e51b8152600401610d18906138c5565b80611a4e5760405162461bcd60e51b8152602060048201526014602482015273454d5054595f53455454494e47535f415252415960601b6044820152606401610d18565b3360005b82811015611b96576000611a67826001613994565b90505b83811015611b8d57848482818110611a8457611a846136d5565b611a9a9260206080909202019081019150613166565b6001600160a01b0316858584818110611ab557611ab56136d5565b611acb9260206080909202019081019150613166565b6001600160a01b0316141580611b455750848482818110611aee57611aee6136d5565b9050608002016020016020810190611b069190613166565b6001600160a01b0316858584818110611b2157611b216136d5565b9050608002016020016020810190611b399190613166565b6001600160a01b031614155b611b855760405162461bcd60e51b81526020600482015260116024820152704455504c49434154455f53455454494e4760781b6044820152606401610d18565b600101611a6a565b50600101611a52565b5060005b8281101561141057838382818110611bb457611bb46136d5565b905060800201604001356000148015611be85750838382818110611bda57611bda6136d5565b905060800201606001356000145b15611c4d57611c4882858584818110611c0357611c036136d5565b611c199260206080909202019081019150613166565b868685818110611c2b57611c2b6136d5565b9050608002016020016020810190611c439190613166565b612e41565b611c7e565b611c7e82858584818110611c6357611c636136d5565b905060800201803603810190611c7991906139a7565b612ae8565b600101611b9a565b6000546001600160a01b03163314611cb05760405162461bcd60e51b8152600401610d18906136eb565b828114611cf75760405162461bcd60e51b8152602060048201526015602482015274082a4a482b2be988a9c8ea890be9a92a69a82a8869605b1b6044820152606401610d18565b60005b8381101561114a576000858583818110611d1657611d166136d5565b9050602002016020810190611d2b9190613166565b6001600160a01b031603611d515760405162461bcd60e51b8152600401610d1890613a1b565b828282818110611d6357611d636136d5565b9050602002013560046000878785818110611d8057611d806136d5565b9050602002016020810190611d959190613166565b6001600160a01b03168152602081019190915260400160002055848482818110611dc157611dc16136d5565b9050602002016020810190611dd69190613166565b6001600160a01b03167f48bfd73f78a1304e171cb4497b649148a2835dd4f3c012d80a7fd435ce382973848484818110611e1257611e126136d5565b90506020020135604051611e2891815260200190565b60405180910390a2600101611cfa565b6001600160a01b038083166000908152600960209081526040808320938516835292905290812060609190611e6c90612abd565b90506000805b82811015611f53576001600160a01b0380871660009081526009602090815260408083209389168352929052908120611eab9083612ac7565b6001600160a01b0380891660009081526006602090815260408083208b85168452825280832093851683529281529082902082516080810184528154815260018201549281019290925260028101549282019290925260039091015460ff1615801560608301819052929350909190611f36575060001981604001511480611f365750806040015142105b15611f495783611f45816136a6565b9450505b5050600101611e72565b506000816001600160401b03811115611f6e57611f6e6136bf565b604051908082528060200260200182016040528015611f97578160200160208202803683370190505b5090506000805b848110156120aa576001600160a01b038089166000908152600960209081526040808320938b168352929052908120611fd79083612ac7565b6001600160a01b03808b1660009081526006602090815260408083208d85168452825280832093851683529281529082902082516080810184528154815260018201549281019290925260028101549282019290925260039091015460ff16158015606083018190529293509091906120625750600019816040015114806120625750806040015142105b156120a0578185858151811061207a5761207a6136d5565b6001600160a01b03909216602092830291909101909101528361209c816136a6565b9450505b5050600101611f9e565b509093505050505b92915050565b6000546001600160a01b031633146120fe5760405162461bcd60e51b81526020600482015260096024820152682737ba1020b236b4b760b91b6044820152606401610d18565b600180546001600160a01b038381166001600160a01b031983168117909355604080519190921680825260208201939093527fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a991015b60405180910390a15050565b6001600160a01b0381166000908152600860205260408120819061218390612abd565b905060005b818110156122d7576001600160a01b03841660009081526008602052604081206121b29083612ac7565b6001600160a01b0380871660009081526009602090815260408083209385168352929052908120919250906121e690612abd565b905060005b818110156122cc576001600160a01b03808816600090815260096020908152604080832093871683529290529081206122249083612ac7565b6001600160a01b03808a1660009081526006602090815260408083208985168452825280832093851683529281529082902082516080810184528154815260018201549281019290925260028101549282019290925260039091015460ff16158015606083018190529293509091906122af5750600019816040015114806122af5750806040015142105b156122c257876122be816136a6565b9850505b50506001016121eb565b505050600101612188565b5050919050565b6122e9338383612e41565b5050565b6000546001600160a01b031633146123175760405162461bcd60e51b8152600401610d18906136eb565b6002805460ff600160a01b808304821615810260ff60a01b1990931692909217928390556040517fda88b5dfaac55549d4ddddd43a09d4b911233df354952ebc9ac2041aa1853436936123739390049091161515815260200190565b60405180910390a1565b60025460035460408051633eaccdc160e21b8152905160ff600160a01b850416936060926001600160a01b0390911691600091839163fab33704916004808201926020929091908290030181865afa1580156123dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124019190613977565b9050856001600160401b0381111561241b5761241b6136bf565b604051908082528060200260200182016040528015612444578160200160208202803683370190505b50925060005b868110156124c35760046000898984818110612468576124686136d5565b905060200201602081019061247d9190613166565b6001600160a01b03166001600160a01b03168152602001908152602001600020548482815181106124b0576124b06136d5565b602090810291909101015260010161244a565b509295509295909350565b600560205260009081526040902080546124e79061370f565b80601f01602080910402602001604051908101604052809291908181526020018280546125139061370f565b80156125605780601f1061253557610100808354040283529160200191612560565b820191906000526020600020905b81548152906001019060200180831161254357829003601f168201915b505050505081565b6001546001600160a01b03163314801561258c57506001546001600160a01b031615155b6125d85760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420746865204558495354494e472070656e64696e672061646d696e00006044820152606401610d18565b60008054600180546001600160a01b038082166001600160a01b031980861682179096559490911690915560408051919092168082526020820184905292917ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc910160405180910390a1600154604080516001600160a01b03808516825290921660208301527fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a99101612154565b6000546001600160a01b031633146126b05760405162461bcd60e51b8152600401610d18906136eb565b6001600160a01b0382166126d65760405162461bcd60e51b8152600401610d1890613a1b565b6001600160a01b03821660008181526004602052604090819020839055517f48bfd73f78a1304e171cb4497b649148a2835dd4f3c012d80a7fd435ce382973906127239084815260200190565b60405180910390a25050565b6001600160a01b03811660009081526008602052604081206060919061275490612abd565b90506000805b828110156128cb576001600160a01b03851660009081526008602052604081206127849083612ac7565b6001600160a01b0380881660009081526009602090815260408083209385168352929052908120919250906127b890612abd565b90506000805b82811080156127cb575081155b156128ab576001600160a01b03808a16600090815260096020908152604080832093881683529290529081206128019083612ac7565b6001600160a01b03808c1660009081526006602090815260408083208a85168452825280832093851683529281529082902082516080810184528154815260018201549281019290925260028101549282019290925260039091015460ff161580156060830181905292935090919061288c57506000198160400151148061288c5750806040015142105b1561289657600193505b505080806128a3906136a6565b9150506127be565b5080156128c057846128bc816136a6565b9550505b50505060010161275a565b506000816001600160401b038111156128e6576128e66136bf565b60405190808252806020026020018201604052801561290f578160200160208202803683370190505b5090506000805b84811015612ab2576001600160a01b03871660009081526008602052604081206129409083612ac7565b6001600160a01b03808a16600090815260096020908152604080832093851683529290529081209192509061297490612abd565b90506000805b8281108015612987575081155b15612a67576001600160a01b03808c16600090815260096020908152604080832093881683529290529081206129bd9083612ac7565b6001600160a01b03808e1660009081526006602090815260408083208a85168452825280832093851683529281529082902082516080810184528154815260018201549281019290925260028101549282019290925260039091015460ff1615801560608301819052929350909190612a48575060001981604001511480612a485750806040015142105b15612a5257600193505b50508080612a5f906136a6565b91505061297a565b508015612aa75782868681518110612a8157612a816136d5565b6001600160a01b039092166020928302919091019091015284612aa3816136a6565b9550505b505050600101612916565b509095945050505050565b60006120b2825490565b60006108798383612eee565b6000610879836001600160a01b038416612f18565b80516001600160a01b0316612b355760405162461bcd60e51b81526020600482015260136024820152721253959053125117d4d55097d050d0d3d55395606a1b6044820152606401610d18565b80516001600160a01b03808416911603612b885760405162461bcd60e51b815260206004820152601460248201527321a0a72727aa2fa3a920a72a2faa27afa9a2a62360611b6044820152606401610d18565b60208101516001600160a01b0316612bb25760405162461bcd60e51b8152600401610d1890613a1b565b60008160600151118015612bcc5750600354816060015111155b612c0b5760405162461bcd60e51b815260206004820152601060248201526f24a72b20a624a22fa22aa920aa24a7a760811b6044820152606401610d18565b6020808201516001600160a01b031660009081526004909152604090819020549082015115801590612c495750801580612c49575080826040015111155b612c8c5760405162461bcd60e51b81526020600482015260146024820152731253959053125117d05353d5539517d31253525560621b6044820152606401610d18565b6001600160a01b03808416600090815260076020908152604080832086519094168352929052205460ff1615612cd45760405162461bcd60e51b8152600401610d18906138e5565b6000600019836060015114612cf7576060830151612cf29042613994565b612cfb565b6000195b60408051608081018252858201518152600060208083018281528385018681526001606086018181526001600160a01b038d8116808852600687528988208e51831689528752898820878f015190921688529086528887209751885593519187019190915590516002860155516003909401805460ff19169415159490941790935587519282526008905291909120919250612d97919061300b565b506020808401516001600160a01b0380871660009081526009845260408082208851909316825291909352909120612dce9161300b565b5082602001516001600160a01b031683600001516001600160a01b0316856001600160a01b03167f385eed2fa9dcc7c7bc2f348e2848dffb0f87b9400a6a291ab8caae1341a9d33c866040015185604051612e33929190918252602082015260400190565b60405180910390a450505050565b6001600160a01b0380841660009081526007602090815260408083209386168352929052205460ff1615612e875760405162461bcd60e51b8152600401610d18906138e5565b612e92838383613020565b6001600160a01b038084166000908152600960209081526040808320938616835292905220612ec090612abd565b600003612ee9576001600160a01b03831660009081526008602052604090206114109083612ad3565b505050565b6000826000018281548110612f0557612f056136d5565b9060005260206000200154905092915050565b60008181526001830160205260408120548015613001576000612f3c600183613693565b8554909150600090612f5090600190613693565b9050808214612fb5576000866000018281548110612f7057612f706136d5565b9060005260206000200154905080876000018481548110612f9357612f936136d5565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080612fc657612fc6613a42565b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506120b2565b60009150506120b2565b6000610879836001600160a01b0384166130ff565b6001600160a01b03808416600090815260066020908152604080832086851684528252808320938516835292905220600381015460ff166130735760405162461bcd60e51b8152600401610d189061391c565b60038101805460ff191690556001600160a01b0380851660009081526009602090815260408083209387168352929052206130ae9083612ad3565b50816001600160a01b0316836001600160a01b0316856001600160a01b03167f788838887194369953cb844429b137b79c87b1f39977d2518066e8ffe75e4a4b60405160405180910390a450505050565b6000818152600183016020526040812054613146575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556120b2565b5060006120b2565b6001600160a01b038116811461316357600080fd5b50565b60006020828403121561317857600080fd5b81356108798161314e565b60008060006060848603121561319857600080fd5b83356131a38161314e565b925060208401356131b38161314e565b915060408401356131c38161314e565b809150509250925092565b60008151808452602080850194506020840160005b838110156132085781516001600160a01b0316875295820195908201906001016131e3565b509495945050505050565b6000606080835261322760608401876131ce565b60208482038186015261323a82886131ce565b9150604085830360408701528287518085528385019150838901945060005b81811015613292578551805184528581015186850152848101518585015287015115158784015294840194608090920191600101613259565b50909a9950505050505050505050565b6000806000604084860312156132b757600080fd5b83356132c28161314e565b925060208401356001600160401b03808211156132de57600080fd5b818601915086601f8301126132f257600080fd5b81358181111561330157600080fd5b87602082850101111561331357600080fd5b6020830194508093505050509250925092565b60006020808352835180602085015260005b8181101561335457858101830151858201604001528201613338565b506000604082860101526040601f19601f8301168501019250505092915050565b60008083601f84011261338757600080fd5b5081356001600160401b0381111561339e57600080fd5b6020830191508360208260051b85010111156133b957600080fd5b9250929050565b600080600080604085870312156133d657600080fd5b84356001600160401b03808211156133ed57600080fd5b6133f988838901613375565b9096509450602087013591508082111561341257600080fd5b5061341f87828801613375565b95989497509550505050565b6000806000806080858703121561344157600080fd5b843561344c8161314e565b9350602085013561345c8161314e565b93969395505050506040820135916060013590565b60006020828403121561348357600080fd5b5035919050565b600080600080608085870312156134a057600080fd5b84356134ab8161314e565b935060208501356134bb8161314e565b925060408501356134cb8161314e565b9396929550929360600135925050565b600080602083850312156134ee57600080fd5b82356001600160401b038082111561350557600080fd5b818501915085601f83011261351957600080fd5b81358181111561352857600080fd5b8660208260071b850101111561353d57600080fd5b60209290920196919550909350505050565b6000806040838503121561356257600080fd5b823561356d8161314e565b9150602083013561357d8161314e565b809150509250929050565b60208152600061087960208301846131ce565b600080602083850312156135ae57600080fd5b82356001600160401b038111156135c457600080fd5b6135d085828601613375565b90969095509350505050565b600060a082018715158352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156136275784518352938301939183019160010161360b565b50506001600160a01b03968716606086015294909516608090930192909252509095945050505050565b6000806040838503121561366457600080fd5b823561366f8161314e565b946020939093013593505050565b634e487b7160e01b600052601160045260246000fd5b818103818111156120b2576120b261367d565b6000600182016136b8576136b861367d565b5060010190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252600a908201526927a7262cafa0a226a4a760b11b604082015260600190565b600181811c9082168061372357607f821691505b60208210810361374357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115612ee9576000816000526020600020601f850160051c810160208610156137725750805b601f850160051c820191505b818110156111b25782815560010161377e565b6001600160401b038311156137a8576137a86136bf565b6137bc836137b6835461370f565b83613749565b6000601f8411600181146137f057600085156137d85750838201355b600019600387901b1c1916600186901b17835561114a565b600083815260209020601f19861690835b828110156138215786850135825560209485019460019092019101613801565b508682101561383e5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b6000808335601e1984360301811261389657600080fd5b8301803591506001600160401b038211156138b057600080fd5b6020019150368190038213156133b957600080fd5b60208082526006908201526514105554d15160d21b604082015260600190565b6020808252601f908201527f5355425f4143434f554e545f5045524d414e454e544c595f5245564f4b454400604082015260600190565b6020808252601590820152745045524d495353494f4e5f4e4f545f41435449564560581b604082015260600190565b602080825260129082015271141154935254d4d253d397d156141254915160721b604082015260600190565b60006020828403121561398957600080fd5b81516108798161314e565b808201808211156120b2576120b261367d565b6000608082840312156139b957600080fd5b604051608081018181106001600160401b03821117156139db576139db6136bf565b60405282356139e98161314e565b815260208301356139f98161314e565b6020820152604083810135908201526060928301359281019290925250919050565b6020808252600d908201526c24a72b20a624a22faa27a5a2a760991b604082015260600190565b634e487b7160e01b600052603160045260246000fdfea264697066735822122061006aef4d463308c94b811305c5e0d309b07afa628c5071e4df896ddcba579364736f6c63430008180033";
951
+ const isSuperArgs = (xs) => xs.length > 1;
952
+ class OnBehalfTradingV1__factory extends ethers_1.ContractFactory {
953
+ constructor(...args) {
954
+ if (isSuperArgs(args)) {
955
+ super(...args);
956
+ }
957
+ else {
958
+ super(_abi, _bytecode, args[0]);
959
+ }
960
+ }
961
+ getDeployTransaction(_registry, overrides) {
962
+ return super.getDeployTransaction(_registry, overrides || {});
963
+ }
964
+ deploy(_registry, overrides) {
965
+ return super.deploy(_registry, overrides || {});
966
+ }
967
+ connect(runner) {
968
+ return super.connect(runner);
969
+ }
970
+ static createInterface() {
971
+ return new ethers_1.Interface(_abi);
972
+ }
973
+ static connect(address, runner) {
974
+ return new ethers_1.Contract(address, _abi, runner);
975
+ }
976
+ }
977
+ exports.OnBehalfTradingV1__factory = OnBehalfTradingV1__factory;
978
+ OnBehalfTradingV1__factory.bytecode = _bytecode;
979
+ OnBehalfTradingV1__factory.abi = _abi;