lynx-client 0.0.3 → 0.0.5

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 (131) hide show
  1. package/dist/cjs/index.js +19 -0
  2. package/dist/cjs/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +91 -0
  3. package/dist/cjs/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.js +2 -0
  4. package/dist/cjs/lib/contractsIntegration/ChipsIntentsVerifierService/index.js +5 -0
  5. package/dist/cjs/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.js +2 -0
  6. package/dist/cjs/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +70 -0
  7. package/dist/cjs/lib/contractsIntegration/LiquidityIntentsVerifierService/index.js +5 -0
  8. package/dist/cjs/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.js +2 -0
  9. package/dist/cjs/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +99 -0
  10. package/dist/cjs/lib/contractsIntegration/TradeIntentsVerifierService/index.js +5 -0
  11. package/dist/cjs/lib/contractsIntegration/deployedContractsConnector.js +45 -0
  12. package/dist/cjs/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.js +2 -0
  13. package/dist/cjs/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.js +2 -0
  14. package/dist/cjs/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.js +2 -0
  15. package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.js +1129 -0
  16. package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.js +870 -0
  17. package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.js +1561 -0
  18. package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +1 -1
  19. package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
  20. package/dist/cjs/lib/typechain/lynxSystem/intentsVerifiers/chipsIntentsVerifier/chipsIntentsVerifierPayloadTypes.js +37 -0
  21. package/dist/cjs/lib/typechain/lynxSystem/intentsVerifiers/liquidityIntentsVerifier/liquidityIntentsVerifierPayloadTypes.js +39 -0
  22. package/dist/cjs/lib/typechain/lynxSystem/intentsVerifiers/tradeIntentsVerifier/tradeIntentsVerifierPayloadTypes.js +152 -0
  23. package/dist/esm/index.d.ts +23 -0
  24. package/dist/esm/index.d.ts.map +1 -1
  25. package/dist/esm/index.js +19 -0
  26. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +29 -0
  27. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -0
  28. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +91 -0
  29. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +24 -0
  30. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -0
  31. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.js +2 -0
  32. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/index.d.ts +4 -0
  33. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/index.d.ts.map +1 -0
  34. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/index.js +5 -0
  35. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +17 -0
  36. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -0
  37. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.js +2 -0
  38. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +22 -0
  39. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -0
  40. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +70 -0
  41. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/index.d.ts +4 -0
  42. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/index.d.ts.map +1 -0
  43. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/index.js +5 -0
  44. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +24 -0
  45. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -0
  46. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.js +2 -0
  47. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +29 -0
  48. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -0
  49. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +99 -0
  50. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/index.d.ts +4 -0
  51. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/index.d.ts.map +1 -0
  52. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/index.js +5 -0
  53. package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts +15 -0
  54. package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
  55. package/dist/esm/lib/contractsIntegration/deployedContractsConnector.js +45 -0
  56. package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.d.ts +643 -0
  57. package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.d.ts.map +1 -0
  58. package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.js +2 -0
  59. package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.d.ts +508 -0
  60. package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.d.ts.map +1 -0
  61. package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.js +2 -0
  62. package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.d.ts +832 -0
  63. package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.d.ts.map +1 -0
  64. package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.js +2 -0
  65. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts +866 -0
  66. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts.map +1 -0
  67. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.js +1129 -0
  68. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +670 -0
  69. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts.map +1 -0
  70. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.js +870 -0
  71. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1201 -0
  72. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts.map +1 -0
  73. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.js +1561 -0
  74. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +1 -1
  75. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
  76. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +1 -1
  77. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
  78. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
  79. package/dist/esm/lib/typechain/lynxSystem/intentsVerifiers/chipsIntentsVerifier/chipsIntentsVerifierPayloadTypes.d.ts +9 -0
  80. package/dist/esm/lib/typechain/lynxSystem/intentsVerifiers/chipsIntentsVerifier/chipsIntentsVerifierPayloadTypes.d.ts.map +1 -0
  81. package/dist/esm/lib/typechain/lynxSystem/intentsVerifiers/chipsIntentsVerifier/chipsIntentsVerifierPayloadTypes.js +37 -0
  82. package/dist/esm/lib/typechain/lynxSystem/intentsVerifiers/liquidityIntentsVerifier/liquidityIntentsVerifierPayloadTypes.d.ts +9 -0
  83. package/dist/esm/lib/typechain/lynxSystem/intentsVerifiers/liquidityIntentsVerifier/liquidityIntentsVerifierPayloadTypes.d.ts.map +1 -0
  84. package/dist/esm/lib/typechain/lynxSystem/intentsVerifiers/liquidityIntentsVerifier/liquidityIntentsVerifierPayloadTypes.js +39 -0
  85. package/dist/esm/lib/typechain/lynxSystem/intentsVerifiers/tradeIntentsVerifier/tradeIntentsVerifierPayloadTypes.d.ts +13 -0
  86. package/dist/esm/lib/typechain/lynxSystem/intentsVerifiers/tradeIntentsVerifier/tradeIntentsVerifierPayloadTypes.d.ts.map +1 -0
  87. package/dist/esm/lib/typechain/lynxSystem/intentsVerifiers/tradeIntentsVerifier/tradeIntentsVerifierPayloadTypes.js +152 -0
  88. package/dist/types/index.d.ts +23 -0
  89. package/dist/types/index.d.ts.map +1 -1
  90. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +29 -0
  91. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -0
  92. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +24 -0
  93. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -0
  94. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/index.d.ts +4 -0
  95. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/index.d.ts.map +1 -0
  96. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +17 -0
  97. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -0
  98. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +22 -0
  99. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -0
  100. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/index.d.ts +4 -0
  101. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/index.d.ts.map +1 -0
  102. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +24 -0
  103. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -0
  104. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +29 -0
  105. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -0
  106. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/index.d.ts +4 -0
  107. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/index.d.ts.map +1 -0
  108. package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts +15 -0
  109. package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
  110. package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.d.ts +643 -0
  111. package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.d.ts.map +1 -0
  112. package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.d.ts +508 -0
  113. package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.d.ts.map +1 -0
  114. package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.d.ts +832 -0
  115. package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.d.ts.map +1 -0
  116. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts +866 -0
  117. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts.map +1 -0
  118. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +670 -0
  119. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts.map +1 -0
  120. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1201 -0
  121. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts.map +1 -0
  122. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +1 -1
  123. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
  124. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
  125. package/dist/types/lib/typechain/lynxSystem/intentsVerifiers/chipsIntentsVerifier/chipsIntentsVerifierPayloadTypes.d.ts +9 -0
  126. package/dist/types/lib/typechain/lynxSystem/intentsVerifiers/chipsIntentsVerifier/chipsIntentsVerifierPayloadTypes.d.ts.map +1 -0
  127. package/dist/types/lib/typechain/lynxSystem/intentsVerifiers/liquidityIntentsVerifier/liquidityIntentsVerifierPayloadTypes.d.ts +9 -0
  128. package/dist/types/lib/typechain/lynxSystem/intentsVerifiers/liquidityIntentsVerifier/liquidityIntentsVerifierPayloadTypes.d.ts.map +1 -0
  129. package/dist/types/lib/typechain/lynxSystem/intentsVerifiers/tradeIntentsVerifier/tradeIntentsVerifierPayloadTypes.d.ts +13 -0
  130. package/dist/types/lib/typechain/lynxSystem/intentsVerifiers/tradeIntentsVerifier/tradeIntentsVerifierPayloadTypes.d.ts.map +1 -0
  131. package/package.json +1 -1
@@ -764,7 +764,7 @@ const _abi = [
764
764
  type: "function",
765
765
  },
766
766
  ];
767
- const _bytecode = "0x608060405234801561001057600080fd5b50612499806100206000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80639a59cb491161005b5780639a59cb49146100eb578063a40d72681461010b578063a6510cf114610196578063e9403cd8146101a957600080fd5b806305870ea8146100825780636ff52a73146100ab578063796da7e2146100cb575b600080fd5b61009561009036600461182d565b610207565b6040516100a29190611873565b60405180910390f35b6100be6100b9366004611952565b6102be565b6040516100a29190611b89565b6100de6100d9366004611b9c565b6102d1565b6040516100a29190611bae565b6100fe6100f9366004611bf6565b610543565b6040516100a29190611c22565b610188610119366004611c53565b60408051606095861b6bffffffffffffffffffffffff199081166020808401919091529590961b909516603486015260f09290921b6001600160f01b031916604885015260e01b6001600160e01b031916604a8401528051602e818503018152604e9093019052815191012090565b6040519081526020016100a2565b6100956101a4366004611caf565b610555565b6101bc6101b7366004611d35565b610d39565b6040805182516001600160a01b0316815260208084015161ffff9081169183019190915283830151169181019190915260609182015163ffffffff16918101919091526080016100a2565b61023f6040518060a00160405280606081526020016000815260200160008152602001600061ffff1681526020016000151581525090565b6040805160008152602081019182905263a6510cf160e01b909152309063a6510cf19061027190859060248101611d68565b6000604051808303816000875af1158015610290573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102b89190810190611eda565b92915050565b60606102ca8383610d66565b9392505050565b6102fe60405180608001604052806060815260200160008152602001600081526020016000151581525090565b81604001356001600160401b0381111561031a5761031a611d52565b60405190808252806020026020018201604052801561035357816020015b610340611749565b8152602001906001900390816103385790505b508152600060208083018290528301803560408401526103739084611d35565b6001600160a01b0316632457bc3a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103d49190612026565b90505b80826040015110156105365782604001358260200151106103f85750919050565b60006104076020850185611d35565b6001600160a01b031663135e563d84604001516040518263ffffffff1660e01b815260040161043891815260200190565b602060405180830381865afa158015610455573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610479919061203f565b9050600061049361048d6020870187611d35565b83610d66565b90508460400135815185602001516104ab9190612072565b11156104b957505050919050565b60005b815181101561051b578181815181106104d7576104d7612085565b602002602001015185600001518660200180518091906104f69061209b565b90528151811061050857610508612085565b60209081029190910101526001016104bc565b5050506040820180519061052e8261209b565b9052506103d7565b5060016060820152919050565b61054b611749565b6102ca8383610ebe565b61058d6040518060a00160405280606081526020016000815260200160008152602001600061ffff1681526020016000151581525090565b83606001356001600160401b038111156105a9576105a9611d52565b60405190808252806020026020018201604052801561060257816020015b6040805160a0810182526000808252602080830182905292820181905260608201819052608082015282526000199092019101816105c75790505b508152600060208083019190915284013560408083019190915261062c90606086019086016120b4565b61ffff16606082015260006106446020860186611d35565b6001600160a01b0316632457bc3a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610681573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a59190612026565b90505b8082604001511015610d2a5760006106c36020870187611d35565b6001600160a01b031663135e563d84604001516040518263ffffffff1660e01b81526004016106f491815260200190565b602060405180830381865afa158015610711573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610735919061203f565b905060006107466020880188611d35565b604051633b17a49760e01b81526001600160a01b0384811660048301529190911690633b17a49790602401600060405180830381865afa15801561078e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107b691908101906120d1565b90505b8051846060015161ffff161015610d095786606001358460200151106107e1575050506102ca565b600081856060015161ffff16815181106107fd576107fd612085565b60200260200101519050600088600001602081019061081c9190611d35565b6001600160a01b0316638f7a8fb5836040518263ffffffff1660e01b815260040161084991815260200190565b60e060405180830381865afa158015610866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088a9190612156565b90506000816020015160058111156108a4576108a4611849565b036108b0575050610ced565b60008781036108c157506001610942565b60005b60ff81168911156109405789898260ff168181106108e4576108e4612085565b90506020020160208101906108f99190612204565b600581111561090a5761090a611849565b8360200151600581111561092057610920611849565b0361092e5760019150610940565b8061093881612221565b9150506108c4565b505b8061094f57505050610ced565b600061095e60208c018c611d35565b6001600160a01b031663042e37c5856040518263ffffffff1660e01b815260040161098b91815260200190565b608060405180830381865afa1580156109a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109cc9190612240565b905060006109dd60208d018d611d35565b82516040516303b90a8760e01b81526001600160a01b0391821660048201529116906303b90a8790602401602060405180830381865afa158015610a25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a49919061203f565b90506000610a5a60208e018e611d35565b6001600160a01b03166366307a4f876040518263ffffffff1660e01b8152600401610a8791815260200190565b608060405180830381865afa158015610aa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac89190612307565b83519091506001600160a01b031615801590610af1575060008560a001516001600160401b0316115b15610ce6576040805160a081018252600060208083018281529383018290526060830182905260808301919091528882528701519091906005811115610b3957610b39611849565b90816005811115610b4c57610b4c611849565b81525050826001600160a01b0316637f7c41388886602001518960a0015186604001518b608001518c600001518d606001516040518863ffffffff1660e01b8152600401610ba09796959493929190612323565b6020604051808303816000875af1158015610bbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be39190612026565b81608001906001600160401b031690816001600160401b031681525050600080846001600160a01b0316637dd29a668a88602001518b608001518c600001518d606001518e60a001518b604001516040518863ffffffff1660e01b8152600401610c539796959493929190612369565b60408051808303816000875af1158015610c71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9591906123af565b915091508183606001818152505080836040018181525050828d600001518e6020018051809190610cc59061209b565b905281518110610cd757610cd7612085565b60200260200101819052505050505b5050505050505b60608401805190610cfd826123d3565b61ffff169052506107b9565b50506000606083015260408201805190610d228261209b565b9052506106a8565b50600160808201529392505050565b6040805160808101825260008082526020820181905291810182905260608101919091526102b8826115c5565b604051633b17a49760e01b81526001600160a01b038281166004830152606091600091851690633b17a49790602401600060405180830381865afa158015610db2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dda91908101906120d1565b905080516001600160401b03811115610df557610df5611d52565b604051908082528060200260200182016040528015610e2e57816020015b610e1b611749565b815260200190600190039081610e135790505b5091506000805b8251811015610eb5576000610e6387858481518110610e5657610e56612085565b6020026020010151610ebe565b905060008160c001516005811115610e7d57610e7d611849565b14610eac57808584610e8e8161209b565b955081518110610ea057610ea0612085565b60200260200101819052505b50600101610e35565b50505092915050565b610ec6611749565b604051638f7a8fb560e01b8152600481018390526000906001600160a01b03851690638f7a8fb59060240160e060405180830381865afa158015610f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190612156565b9050600081602001516005811115610f4c57610f4c611849565b03610f5757506102b8565b60405163042e37c560e01b8152600481018490526000906001600160a01b0386169063042e37c590602401608060405180830381865afa158015610f9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc39190612240565b60405163ddf474f160e01b8152600481018690529091506000906001600160a01b0387169063ddf474f190602401608060405180830381865afa15801561100e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110329190612307565b6040516366307a4f60e01b8152600481018790529091506000906001600160a01b038816906366307a4f90602401608060405180830381865afa15801561107d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a19190612307565b86865283516001600160a01b039081166020808901919091526060808701519092166040808a01919091528187015161ffff16928901929092529085015163ffffffff166080880152855160a088015285015190915060c0860190600581111561110d5761110d611849565b9081600581111561112057611120611849565b9052506040808501516001600160401b0390811660e088015260608087015163ffffffff9081166101008a0152608088015115156101208a015260a088015183166101408a015260c0880151166101608901528451821661018089015260208086015183166101a08a0152928401518216610200890152835182166101c0890152830151811661022088015290820151166101e086015282516001600160a01b0316158015906111de575060008561014001516001600160401b0316115b156113b55782516040516303b90a8760e01b81526001600160a01b0391821660048201526000918916906303b90a8790602401602060405180830381865afa15801561122e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611252919061203f565b9050806001600160a01b0316637f7c41388888606001518961014001518a61020001518b61012001518c60a001518d61010001516040518863ffffffff1660e01b81526004016112a89796959493929190612323565b6020604051808303816000875af11580156112c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112eb9190612026565b8661030001906001600160401b031690816001600160401b031681525050600080826001600160a01b0316637dd29a668a8a606001518b61012001518c60a001518d61010001518e61014001518f61020001516040518863ffffffff1660e01b81526004016113609796959493929190612369565b60408051808303816000875af115801561137e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a291906123af565b6102e08a01919091526102c08901525050505b6000876001600160a01b0316637b1039996040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611419919061203f565b6001600160a01b0316637bbb19dc6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611456573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147a919061203f565b90506000816001600160a01b031663776af5ba6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e0919061203f565b6001600160a01b031663e10b8c32896040518263ffffffff1660e01b815260040161150d91815260200190565b60a060405180830381865afa15801561152a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154e91906123f4565b60408101516001600160401b03166102608901526020810151909150610240880190600381111561158157611581611849565b9081600381111561159457611594611849565b90525060608101516001600160401b03908116610280890152608090910151166102a0870152505050505092915050565b604080516080810182526000602080830182905282840182905260608301919091526001600160a01b038416808352835163ece938cf60e01b8152935192938593919263ece938cf926004808401938290030181865afa15801561162d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116519190612026565b61ffff166020808401919091526040805163f51f3fd360e01b815290516001600160a01b0384169263f51f3fd392600480820193918290030181865afa15801561169f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c39190612026565b826040019061ffff16908161ffff1681525050806001600160a01b031663825714096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611714573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117389190612026565b63ffffffff16606083015250919050565b6040805161032081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081018290526102408101829052610260810182905261028081018290526102a081018290526102c081018290526102e0810182905261030081019190915290565b60006080828403121561182757600080fd5b50919050565b60006080828403121561183f57600080fd5b6102ca8383611815565b634e487b7160e01b600052602160045260246000fd5b6006811061186f5761186f611849565b9052565b6020808252825160a0838301819052815160c0850181905260009392830191849160e08701905b808410156118f457845180518352868101516118b88885018261185f565b5060408181015190840152606080820151908401526080908101516001600160401b03169083015293850193600193909301929082019061189a565b50848801516040880152604088015160608801526060880151945061191f608088018661ffff169052565b608088015180151560a089015294505b979650505050505050565b6001600160a01b038116811461194f57600080fd5b50565b6000806040838503121561196557600080fd5b82356119708161193a565b915060208301356119808161193a565b809150509250929050565b6004811061186f5761186f611849565b8051825260208101516119b960208401826001600160a01b03169052565b5060408101516119d460408401826001600160a01b03169052565b5060608101516119ea606084018261ffff169052565b506080810151611a02608084018263ffffffff169052565b5060a081015160a083015260c0810151611a1f60c084018261185f565b5060e0810151611a3a60e08401826001600160401b03169052565b506101008181015163ffffffff9081169184019190915261012080830151151590840152610140808301516001600160401b03908116918501919091526101608084015190921691840191909152610180808301518216908401526101a0808301518216908401526101c0808301518216908401526101e08083015182169084015261020080830151821690840152610220808301519091169083015261024080820151611aea8285018261198b565b5050610260818101516001600160401b0390811691840191909152610280808301518216908401526102a0808301518216908401526102c080830151908401526102e080830151908401526103009182015116910152565b60008151808452602080850194506020840160005b83811015611b7e57611b6a87835161199b565b610320969096019590820190600101611b57565b509495945050505050565b6020815260006102ca6020830184611b42565b60006060828403121561182757600080fd5b602081526000825160806020840152611bca60a0840182611b42565b905060208401516040840152604084015160608401526060840151151560808401528091505092915050565b60008060408385031215611c0957600080fd5b8235611c148161193a565b946020939093013593505050565b61032081016102b8828461199b565b61ffff8116811461194f57600080fd5b63ffffffff8116811461194f57600080fd5b60008060008060808587031215611c6957600080fd5b8435611c748161193a565b93506020850135611c848161193a565b92506040850135611c9481611c31565b91506060850135611ca481611c41565b939692955090935050565b600080600060a08486031215611cc457600080fd5b611cce8585611815565b925060808401356001600160401b0380821115611cea57600080fd5b818601915086601f830112611cfe57600080fd5b813581811115611d0d57600080fd5b8760208260051b8501011115611d2257600080fd5b6020830194508093505050509250925092565b600060208284031215611d4757600080fd5b81356102ca8161193a565b634e487b7160e01b600052604160045260246000fd5b600060a082018435611d798161193a565b6001600160a01b03168352602085810135818501526040860135611d9c81611c31565b61ffff1660408501526060868101359085015260a06080850152845191829052602085019160c085019060005b81811015611dec57611ddc83865161185f565b9383019391830191600101611dc9565b5090979650505050505050565b60405160a081016001600160401b0381118282101715611e1b57611e1b611d52565b60405290565b604051608081016001600160401b0381118282101715611e1b57611e1b611d52565b604051601f8201601f191681016001600160401b0381118282101715611e6b57611e6b611d52565b604052919050565b60006001600160401b03821115611e8c57611e8c611d52565b5060051b60200190565b6006811061194f57600080fd5b80516001600160401b0381168114611eba57600080fd5b919050565b8051611eba81611c31565b80518015158114611eba57600080fd5b60006020808385031215611eed57600080fd5b82516001600160401b0380821115611f0457600080fd5b818501915060a0808388031215611f1a57600080fd5b611f22611df9565b835183811115611f3157600080fd5b84019250601f83018813611f4457600080fd5b8251611f57611f5282611e73565b611e43565b81815260a09091028401860190868101908a831115611f7557600080fd5b948701945b82861015611fe35784868c031215611f925760008081fd5b611f9a611df9565b8651815288870151611fab81611e96565b818a015260408781015190820152606080880151908201526080611fd0818901611ea3565b9082015282529484019490870190611f7a565b8352505083850151858201526040808501519082015261200560608501611ebf565b606082015261201660808501611eca565b6080820152979650505050505050565b60006020828403121561203857600080fd5b5051919050565b60006020828403121561205157600080fd5b81516102ca8161193a565b634e487b7160e01b600052601160045260246000fd5b808201808211156102b8576102b861205c565b634e487b7160e01b600052603260045260246000fd5b6000600182016120ad576120ad61205c565b5060010190565b6000602082840312156120c657600080fd5b81356102ca81611c31565b600060208083850312156120e457600080fd5b82516001600160401b038111156120fa57600080fd5b8301601f8101851361210b57600080fd5b8051612119611f5282611e73565b81815260059190911b8201830190838101908783111561213857600080fd5b928401925b8284101561192f5783518252928401929084019061213d565b600060e0828403121561216857600080fd5b60405160e081018181106001600160401b038211171561218a5761218a611d52565b60405282518152602083015161219f81611e96565b60208201526121b060408401611ea3565b604082015260608301516121c381611c41565b60608201526121d460808401611eca565b60808201526121e560a08401611ea3565b60a082015260c08301516121f881611c41565b60c08201529392505050565b60006020828403121561221657600080fd5b81356102ca81611e96565b600060ff821660ff81036122375761223761205c565b60010192915050565b60006080828403121561225257600080fd5b61225a611e21565b82516122658161193a565b8152602083015161227581611c31565b6020820152604083015161228881611c41565b6040820152606083015161229b8161193a565b60608201529392505050565b6000608082840312156122b957600080fd5b6122c1611e21565b90506122cc82611ea3565b81526122da60208301611ea3565b60208201526122eb60408301611ea3565b60408201526122fc60608301611ea3565b606082015292915050565b60006080828403121561231957600080fd5b6102ca83836122a7565b96875261ffff9590951660208701526001600160401b039384166040870152919092166060850152901515608084015260a083015263ffffffff1660c082015260e00190565b96875261ffff9590951660208701529215156040860152606085019190915263ffffffff1660808401526001600160401b0390811660a08401521660c082015260e00190565b600080604083850312156123c257600080fd5b505080516020909101519092909150565b600061ffff8083168181036123ea576123ea61205c565b6001019392505050565b600060a0828403121561240657600080fd5b61240e611df9565b8251815260208301516004811061242457600080fd5b602082015261243560408401611ea3565b604082015261244660608401611ea3565b606082015261245760808401611ea3565b6080820152939250505056fea264697066735822122044f8d0d22996fe7a5b370f3bfca3698639be01a17f5bb313279f2f11f2d8ba0664736f6c63430008180033";
767
+ const _bytecode = "0x608060405234801561001057600080fd5b50612499806100206000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80639a59cb491161005b5780639a59cb49146100eb578063a40d72681461010b578063a6510cf114610196578063e9403cd8146101a957600080fd5b806305870ea8146100825780636ff52a73146100ab578063796da7e2146100cb575b600080fd5b61009561009036600461182d565b610207565b6040516100a29190611873565b60405180910390f35b6100be6100b9366004611952565b6102be565b6040516100a29190611b89565b6100de6100d9366004611b9c565b6102d1565b6040516100a29190611bae565b6100fe6100f9366004611bf6565b610543565b6040516100a29190611c22565b610188610119366004611c53565b60408051606095861b6bffffffffffffffffffffffff199081166020808401919091529590961b909516603486015260f09290921b6001600160f01b031916604885015260e01b6001600160e01b031916604a8401528051602e818503018152604e9093019052815191012090565b6040519081526020016100a2565b6100956101a4366004611caf565b610555565b6101bc6101b7366004611d35565b610d39565b6040805182516001600160a01b0316815260208084015161ffff9081169183019190915283830151169181019190915260609182015163ffffffff16918101919091526080016100a2565b61023f6040518060a00160405280606081526020016000815260200160008152602001600061ffff1681526020016000151581525090565b6040805160008152602081019182905263a6510cf160e01b909152309063a6510cf19061027190859060248101611d68565b6000604051808303816000875af1158015610290573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102b89190810190611eda565b92915050565b60606102ca8383610d66565b9392505050565b6102fe60405180608001604052806060815260200160008152602001600081526020016000151581525090565b81604001356001600160401b0381111561031a5761031a611d52565b60405190808252806020026020018201604052801561035357816020015b610340611749565b8152602001906001900390816103385790505b508152600060208083018290528301803560408401526103739084611d35565b6001600160a01b0316632457bc3a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103d49190612026565b90505b80826040015110156105365782604001358260200151106103f85750919050565b60006104076020850185611d35565b6001600160a01b031663135e563d84604001516040518263ffffffff1660e01b815260040161043891815260200190565b602060405180830381865afa158015610455573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610479919061203f565b9050600061049361048d6020870187611d35565b83610d66565b90508460400135815185602001516104ab9190612072565b11156104b957505050919050565b60005b815181101561051b578181815181106104d7576104d7612085565b602002602001015185600001518660200180518091906104f69061209b565b90528151811061050857610508612085565b60209081029190910101526001016104bc565b5050506040820180519061052e8261209b565b9052506103d7565b5060016060820152919050565b61054b611749565b6102ca8383610ebe565b61058d6040518060a00160405280606081526020016000815260200160008152602001600061ffff1681526020016000151581525090565b83606001356001600160401b038111156105a9576105a9611d52565b60405190808252806020026020018201604052801561060257816020015b6040805160a0810182526000808252602080830182905292820181905260608201819052608082015282526000199092019101816105c75790505b508152600060208083019190915284013560408083019190915261062c90606086019086016120b4565b61ffff16606082015260006106446020860186611d35565b6001600160a01b0316632457bc3a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610681573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a59190612026565b90505b8082604001511015610d2a5760006106c36020870187611d35565b6001600160a01b031663135e563d84604001516040518263ffffffff1660e01b81526004016106f491815260200190565b602060405180830381865afa158015610711573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610735919061203f565b905060006107466020880188611d35565b604051633b17a49760e01b81526001600160a01b0384811660048301529190911690633b17a49790602401600060405180830381865afa15801561078e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107b691908101906120d1565b90505b8051846060015161ffff161015610d095786606001358460200151106107e1575050506102ca565b600081856060015161ffff16815181106107fd576107fd612085565b60200260200101519050600088600001602081019061081c9190611d35565b6001600160a01b0316638f7a8fb5836040518263ffffffff1660e01b815260040161084991815260200190565b60e060405180830381865afa158015610866573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088a9190612156565b90506000816020015160058111156108a4576108a4611849565b036108b0575050610ced565b60008781036108c157506001610942565b60005b60ff81168911156109405789898260ff168181106108e4576108e4612085565b90506020020160208101906108f99190612204565b600581111561090a5761090a611849565b8360200151600581111561092057610920611849565b0361092e5760019150610940565b8061093881612221565b9150506108c4565b505b8061094f57505050610ced565b600061095e60208c018c611d35565b6001600160a01b031663042e37c5856040518263ffffffff1660e01b815260040161098b91815260200190565b608060405180830381865afa1580156109a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109cc9190612240565b905060006109dd60208d018d611d35565b82516040516303b90a8760e01b81526001600160a01b0391821660048201529116906303b90a8790602401602060405180830381865afa158015610a25573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a49919061203f565b90506000610a5a60208e018e611d35565b6001600160a01b03166366307a4f876040518263ffffffff1660e01b8152600401610a8791815260200190565b608060405180830381865afa158015610aa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac89190612307565b83519091506001600160a01b031615801590610af1575060008560a001516001600160401b0316115b15610ce6576040805160a081018252600060208083018281529383018290526060830182905260808301919091528882528701519091906005811115610b3957610b39611849565b90816005811115610b4c57610b4c611849565b81525050826001600160a01b0316637f7c41388886602001518960a0015186604001518b608001518c600001518d606001516040518863ffffffff1660e01b8152600401610ba09796959493929190612323565b6020604051808303816000875af1158015610bbf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be39190612026565b81608001906001600160401b031690816001600160401b031681525050600080846001600160a01b0316637dd29a668a88602001518b608001518c600001518d606001518e60a001518b604001516040518863ffffffff1660e01b8152600401610c539796959493929190612369565b60408051808303816000875af1158015610c71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9591906123af565b915091508183606001818152505080836040018181525050828d600001518e6020018051809190610cc59061209b565b905281518110610cd757610cd7612085565b60200260200101819052505050505b5050505050505b60608401805190610cfd826123d3565b61ffff169052506107b9565b50506000606083015260408201805190610d228261209b565b9052506106a8565b50600160808201529392505050565b6040805160808101825260008082526020820181905291810182905260608101919091526102b8826115c5565b604051633b17a49760e01b81526001600160a01b038281166004830152606091600091851690633b17a49790602401600060405180830381865afa158015610db2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610dda91908101906120d1565b905080516001600160401b03811115610df557610df5611d52565b604051908082528060200260200182016040528015610e2e57816020015b610e1b611749565b815260200190600190039081610e135790505b5091506000805b8251811015610eb5576000610e6387858481518110610e5657610e56612085565b6020026020010151610ebe565b905060008160c001516005811115610e7d57610e7d611849565b14610eac57808584610e8e8161209b565b955081518110610ea057610ea0612085565b60200260200101819052505b50600101610e35565b50505092915050565b610ec6611749565b604051638f7a8fb560e01b8152600481018390526000906001600160a01b03851690638f7a8fb59060240160e060405180830381865afa158015610f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f329190612156565b9050600081602001516005811115610f4c57610f4c611849565b03610f5757506102b8565b60405163042e37c560e01b8152600481018490526000906001600160a01b0386169063042e37c590602401608060405180830381865afa158015610f9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc39190612240565b60405163ddf474f160e01b8152600481018690529091506000906001600160a01b0387169063ddf474f190602401608060405180830381865afa15801561100e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110329190612307565b6040516366307a4f60e01b8152600481018790529091506000906001600160a01b038816906366307a4f90602401608060405180830381865afa15801561107d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a19190612307565b86865283516001600160a01b039081166020808901919091526060808701519092166040808a01919091528187015161ffff16928901929092529085015163ffffffff166080880152855160a088015285015190915060c0860190600581111561110d5761110d611849565b9081600581111561112057611120611849565b9052506040808501516001600160401b0390811660e088015260608087015163ffffffff9081166101008a0152608088015115156101208a015260a088015183166101408a015260c0880151166101608901528451821661018089015260208086015183166101a08a0152928401518216610200890152835182166101c0890152830151811661022088015290820151166101e086015282516001600160a01b0316158015906111de575060008561014001516001600160401b0316115b156113b55782516040516303b90a8760e01b81526001600160a01b0391821660048201526000918916906303b90a8790602401602060405180830381865afa15801561122e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611252919061203f565b9050806001600160a01b0316637f7c41388888606001518961014001518a61020001518b61012001518c60a001518d61010001516040518863ffffffff1660e01b81526004016112a89796959493929190612323565b6020604051808303816000875af11580156112c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112eb9190612026565b8661030001906001600160401b031690816001600160401b031681525050600080826001600160a01b0316637dd29a668a8a606001518b61012001518c60a001518d61010001518e61014001518f61020001516040518863ffffffff1660e01b81526004016113609796959493929190612369565b60408051808303816000875af115801561137e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a291906123af565b6102e08a01919091526102c08901525050505b6000876001600160a01b0316637b1039996040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113f5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611419919061203f565b6001600160a01b0316637bbb19dc6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611456573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061147a919061203f565b90506000816001600160a01b031663776af5ba6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e0919061203f565b6001600160a01b031663e10b8c32896040518263ffffffff1660e01b815260040161150d91815260200190565b60a060405180830381865afa15801561152a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061154e91906123f4565b60408101516001600160401b03166102608901526020810151909150610240880190600381111561158157611581611849565b9081600381111561159457611594611849565b90525060608101516001600160401b03908116610280890152608090910151166102a0870152505050505092915050565b604080516080810182526000602080830182905282840182905260608301919091526001600160a01b038416808352835163ece938cf60e01b8152935192938593919263ece938cf926004808401938290030181865afa15801561162d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116519190612026565b61ffff166020808401919091526040805163f51f3fd360e01b815290516001600160a01b0384169263f51f3fd392600480820193918290030181865afa15801561169f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c39190612026565b826040019061ffff16908161ffff1681525050806001600160a01b031663825714096040518163ffffffff1660e01b8152600401602060405180830381865afa158015611714573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117389190612026565b63ffffffff16606083015250919050565b6040805161032081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101829052610200810182905261022081018290526102408101829052610260810182905261028081018290526102a081018290526102c081018290526102e0810182905261030081019190915290565b60006080828403121561182757600080fd5b50919050565b60006080828403121561183f57600080fd5b6102ca8383611815565b634e487b7160e01b600052602160045260246000fd5b6006811061186f5761186f611849565b9052565b6020808252825160a0838301819052815160c0850181905260009392830191849160e08701905b808410156118f457845180518352868101516118b88885018261185f565b5060408181015190840152606080820151908401526080908101516001600160401b03169083015293850193600193909301929082019061189a565b50848801516040880152604088015160608801526060880151945061191f608088018661ffff169052565b608088015180151560a089015294505b979650505050505050565b6001600160a01b038116811461194f57600080fd5b50565b6000806040838503121561196557600080fd5b82356119708161193a565b915060208301356119808161193a565b809150509250929050565b6004811061186f5761186f611849565b8051825260208101516119b960208401826001600160a01b03169052565b5060408101516119d460408401826001600160a01b03169052565b5060608101516119ea606084018261ffff169052565b506080810151611a02608084018263ffffffff169052565b5060a081015160a083015260c0810151611a1f60c084018261185f565b5060e0810151611a3a60e08401826001600160401b03169052565b506101008181015163ffffffff9081169184019190915261012080830151151590840152610140808301516001600160401b03908116918501919091526101608084015190921691840191909152610180808301518216908401526101a0808301518216908401526101c0808301518216908401526101e08083015182169084015261020080830151821690840152610220808301519091169083015261024080820151611aea8285018261198b565b5050610260818101516001600160401b0390811691840191909152610280808301518216908401526102a0808301518216908401526102c080830151908401526102e080830151908401526103009182015116910152565b60008151808452602080850194506020840160005b83811015611b7e57611b6a87835161199b565b610320969096019590820190600101611b57565b509495945050505050565b6020815260006102ca6020830184611b42565b60006060828403121561182757600080fd5b602081526000825160806020840152611bca60a0840182611b42565b905060208401516040840152604084015160608401526060840151151560808401528091505092915050565b60008060408385031215611c0957600080fd5b8235611c148161193a565b946020939093013593505050565b61032081016102b8828461199b565b61ffff8116811461194f57600080fd5b63ffffffff8116811461194f57600080fd5b60008060008060808587031215611c6957600080fd5b8435611c748161193a565b93506020850135611c848161193a565b92506040850135611c9481611c31565b91506060850135611ca481611c41565b939692955090935050565b600080600060a08486031215611cc457600080fd5b611cce8585611815565b925060808401356001600160401b0380821115611cea57600080fd5b818601915086601f830112611cfe57600080fd5b813581811115611d0d57600080fd5b8760208260051b8501011115611d2257600080fd5b6020830194508093505050509250925092565b600060208284031215611d4757600080fd5b81356102ca8161193a565b634e487b7160e01b600052604160045260246000fd5b600060a082018435611d798161193a565b6001600160a01b03168352602085810135818501526040860135611d9c81611c31565b61ffff1660408501526060868101359085015260a06080850152845191829052602085019160c085019060005b81811015611dec57611ddc83865161185f565b9383019391830191600101611dc9565b5090979650505050505050565b60405160a081016001600160401b0381118282101715611e1b57611e1b611d52565b60405290565b604051608081016001600160401b0381118282101715611e1b57611e1b611d52565b604051601f8201601f191681016001600160401b0381118282101715611e6b57611e6b611d52565b604052919050565b60006001600160401b03821115611e8c57611e8c611d52565b5060051b60200190565b6006811061194f57600080fd5b80516001600160401b0381168114611eba57600080fd5b919050565b8051611eba81611c31565b80518015158114611eba57600080fd5b60006020808385031215611eed57600080fd5b82516001600160401b0380821115611f0457600080fd5b818501915060a0808388031215611f1a57600080fd5b611f22611df9565b835183811115611f3157600080fd5b84019250601f83018813611f4457600080fd5b8251611f57611f5282611e73565b611e43565b81815260a09091028401860190868101908a831115611f7557600080fd5b948701945b82861015611fe35784868c031215611f925760008081fd5b611f9a611df9565b8651815288870151611fab81611e96565b818a015260408781015190820152606080880151908201526080611fd0818901611ea3565b9082015282529484019490870190611f7a565b8352505083850151858201526040808501519082015261200560608501611ebf565b606082015261201660808501611eca565b6080820152979650505050505050565b60006020828403121561203857600080fd5b5051919050565b60006020828403121561205157600080fd5b81516102ca8161193a565b634e487b7160e01b600052601160045260246000fd5b808201808211156102b8576102b861205c565b634e487b7160e01b600052603260045260246000fd5b6000600182016120ad576120ad61205c565b5060010190565b6000602082840312156120c657600080fd5b81356102ca81611c31565b600060208083850312156120e457600080fd5b82516001600160401b038111156120fa57600080fd5b8301601f8101851361210b57600080fd5b8051612119611f5282611e73565b81815260059190911b8201830190838101908783111561213857600080fd5b928401925b8284101561192f5783518252928401929084019061213d565b600060e0828403121561216857600080fd5b60405160e081018181106001600160401b038211171561218a5761218a611d52565b60405282518152602083015161219f81611e96565b60208201526121b060408401611ea3565b604082015260608301516121c381611c41565b60608201526121d460808401611eca565b60808201526121e560a08401611ea3565b60a082015260c08301516121f881611c41565b60c08201529392505050565b60006020828403121561221657600080fd5b81356102ca81611e96565b600060ff821660ff81036122375761223761205c565b60010192915050565b60006080828403121561225257600080fd5b61225a611e21565b82516122658161193a565b8152602083015161227581611c31565b6020820152604083015161228881611c41565b6040820152606083015161229b8161193a565b60608201529392505050565b6000608082840312156122b957600080fd5b6122c1611e21565b90506122cc82611ea3565b81526122da60208301611ea3565b60208201526122eb60408301611ea3565b60408201526122fc60608301611ea3565b606082015292915050565b60006080828403121561231957600080fd5b6102ca83836122a7565b96875261ffff9590951660208701526001600160401b039384166040870152919092166060850152901515608084015260a083015263ffffffff1660c082015260e00190565b96875261ffff9590951660208701529215156040860152606085019190915263ffffffff1660808401526001600160401b0390811660a08401521660c082015260e00190565b600080604083850312156123c257600080fd5b505080516020909101519092909150565b600061ffff8083168181036123ea576123ea61205c565b6001019392505050565b600060a0828403121561240657600080fd5b61240e611df9565b8251815260208301516004811061242457600080fd5b602082015261243560408401611ea3565b604082015261244660608401611ea3565b606082015261245760808401611ea3565b6080820152939250505056fea26469706673582212206e46420934a5efd3f2f07c415f4ef0e0eb387fbf8b85b47696ee2c97dc09b1ea64736f6c63430008180033";
768
768
  const isSuperArgs = (xs) => xs.length > 1;
769
769
  class TradingFloorLens__factory extends ethers_1.ContractFactory {
770
770
  constructor(...args) {
@@ -0,0 +1,9 @@
1
+ import { ethers } from "ethers";
2
+ declare function generateVerificationDomain(chainId: string, chipIntentsVerifierAddress: string): ethers.TypedDataDomain;
3
+ export declare const chipsIntentsVerifierPayloadTypes: {
4
+ buildDomainSeparator: typeof generateVerificationDomain;
5
+ HOLDER_REQUEST_PAYLOAD_TYPE_DEFINITION_CHIP_OUT_LZ: Record<string, ethers.TypedDataField[]>;
6
+ HOLDER_REQUEST_PAYLOAD_TYPE_DEFINITION_CHIP_OUT_LZ_UNWRAP: Record<string, ethers.TypedDataField[]>;
7
+ };
8
+ export {};
9
+ //# sourceMappingURL=chipsIntentsVerifierPayloadTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chipsIntentsVerifierPayloadTypes.d.ts","sourceRoot":"","sources":["../../../../../../../lib/typechain/lynxSystem/intentsVerifiers/chipsIntentsVerifier/chipsIntentsVerifierPayloadTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,iBAAS,0BAA0B,CACjC,OAAO,EAAE,MAAM,EACf,0BAA0B,EAAE,MAAM,GACjC,MAAM,CAAC,eAAe,CASxB;AA8BD,eAAO,MAAM,gCAAgC;;;;CAI5C,CAAC"}
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.chipsIntentsVerifierPayloadTypes = void 0;
4
+ function generateVerificationDomain(chainId, chipIntentsVerifierAddress) {
5
+ const verificationDomain = {
6
+ chainId: chainId,
7
+ name: "Chips Intents Verifier",
8
+ version: "1",
9
+ verifyingContract: chipIntentsVerifierAddress,
10
+ };
11
+ return verificationDomain;
12
+ }
13
+ const HOLDER_REQUEST_PAYLOAD_TYPE_DEFINITION_CHIP_OUT_LZ = {
14
+ HolderRequestPayload_ChipOutLZ: [
15
+ { name: "timestamp", type: "uint256" },
16
+ { name: "validUntil", type: "uint256" },
17
+ { name: "chip", type: "address" },
18
+ { name: "holder", type: "address" },
19
+ { name: "receiver", type: "address" },
20
+ { name: "amount", type: "uint256" },
21
+ ],
22
+ };
23
+ const HOLDER_REQUEST_PAYLOAD_TYPE_DEFINITION_CHIP_OUT_LZ_UNWRAP = {
24
+ HolderRequestPayload_ChipOutLZ_Unwrap: [
25
+ { name: "timestamp", type: "uint256" },
26
+ { name: "validUntil", type: "uint256" },
27
+ { name: "chip", type: "address" },
28
+ { name: "holder", type: "address" },
29
+ { name: "receiver", type: "address" },
30
+ { name: "amount", type: "uint256" },
31
+ ],
32
+ };
33
+ exports.chipsIntentsVerifierPayloadTypes = {
34
+ buildDomainSeparator: generateVerificationDomain,
35
+ HOLDER_REQUEST_PAYLOAD_TYPE_DEFINITION_CHIP_OUT_LZ,
36
+ HOLDER_REQUEST_PAYLOAD_TYPE_DEFINITION_CHIP_OUT_LZ_UNWRAP,
37
+ };
@@ -0,0 +1,9 @@
1
+ import { ethers } from "ethers";
2
+ declare function generateVerificationDomain(chainId: string, liquidityIntentsVerifierAddress: string): ethers.TypedDataDomain;
3
+ export declare const liquidityIntentsVerifierPayloadTypes: {
4
+ buildDomainSeparator: typeof generateVerificationDomain;
5
+ LIQUIDITY_PROVIDER_REQUEST_PAYLOAD_TYPE_DEFINITION_EPOCH_DEPOSIT: Record<string, ethers.TypedDataField[]>;
6
+ LIQUIDITY_PROVIDER_REQUEST_PAYLOAD_TYPE_DEFINITION_EPOCH_REDEEM: Record<string, ethers.TypedDataField[]>;
7
+ };
8
+ export {};
9
+ //# sourceMappingURL=liquidityIntentsVerifierPayloadTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"liquidityIntentsVerifierPayloadTypes.d.ts","sourceRoot":"","sources":["../../../../../../../lib/typechain/lynxSystem/intentsVerifiers/liquidityIntentsVerifier/liquidityIntentsVerifierPayloadTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,iBAAS,0BAA0B,CACjC,OAAO,EAAE,MAAM,EACf,+BAA+B,EAAE,MAAM,GACtC,MAAM,CAAC,eAAe,CASxB;AAgCD,eAAO,MAAM,oCAAoC;;;;CAIhD,CAAC"}
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.liquidityIntentsVerifierPayloadTypes = void 0;
4
+ function generateVerificationDomain(chainId, liquidityIntentsVerifierAddress) {
5
+ const verificationDomain = {
6
+ chainId: chainId,
7
+ name: "Liquidity Intents Verifier",
8
+ version: "1",
9
+ verifyingContract: liquidityIntentsVerifierAddress,
10
+ };
11
+ return verificationDomain;
12
+ }
13
+ const LIQUIDITY_PROVIDER_REQUEST_PAYLOAD_TYPE_DEFINITION_EPOCH_DEPOSIT = {
14
+ LiquidityProviderRequestPayload_EpochDeposit: [
15
+ { name: "timestamp", type: "uint256" },
16
+ { name: "validUntil", type: "uint256" },
17
+ { name: "pool", type: "address" },
18
+ { name: "liquidityProvider", type: "address" },
19
+ { name: "epoch", type: "uint256" },
20
+ { name: "amount", type: "uint256" },
21
+ { name: "minAmountOut", type: "uint256" },
22
+ ],
23
+ };
24
+ const LIQUIDITY_PROVIDER_REQUEST_PAYLOAD_TYPE_DEFINITION_EPOCH_REDEEM = {
25
+ LiquidityProviderRequestPayload_EpochRedeem: [
26
+ { name: "timestamp", type: "uint256" },
27
+ { name: "validUntil", type: "uint256" },
28
+ { name: "pool", type: "address" },
29
+ { name: "liquidityProvider", type: "address" },
30
+ { name: "epoch", type: "uint256" },
31
+ { name: "amount", type: "uint256" },
32
+ { name: "minAmountOut", type: "uint256" },
33
+ ],
34
+ };
35
+ exports.liquidityIntentsVerifierPayloadTypes = {
36
+ buildDomainSeparator: generateVerificationDomain,
37
+ LIQUIDITY_PROVIDER_REQUEST_PAYLOAD_TYPE_DEFINITION_EPOCH_DEPOSIT,
38
+ LIQUIDITY_PROVIDER_REQUEST_PAYLOAD_TYPE_DEFINITION_EPOCH_REDEEM,
39
+ };
@@ -0,0 +1,13 @@
1
+ import { ethers } from "ethers";
2
+ declare function generateVerificationDomain(chainId: string, tradersPortalAddress: string): ethers.TypedDataDomain;
3
+ export declare const tradeIntentsVerifierPayloadTypes: {
4
+ buildDomainSeparator: typeof generateVerificationDomain;
5
+ TRADER_REQUEST_PAYLOAD_TYPE_DEFINITION_OPEN_POSITION: Record<string, ethers.TypedDataField[]>;
6
+ TRADER_REQUEST_PAYLOAD_CLOSE_MARKET: Record<string, ethers.TypedDataField[]>;
7
+ TRADER_REQUEST_PAYLOAD_TYPE_DEFINITION_UPDATE_POSITION_SINGLE_FIELD: Record<string, ethers.TypedDataField[]>;
8
+ TRADER_REQUEST_PAYLOAD_TYPE_DEFINITION_UPDATE_POSITION_DOUBLE_FIELD: Record<string, ethers.TypedDataField[]>;
9
+ TRADER_DIRECT_PAYLOAD_TYPE_DEFINITION_UPDATE_PENDING_LIMIT_POSITION: Record<string, ethers.TypedDataField[]>;
10
+ TRADER_DIRECT_PAYLOAD_TYPE_DEFINITION_CANCEL_PENDING_LIMIT_POSITION: Record<string, ethers.TypedDataField[]>;
11
+ };
12
+ export {};
13
+ //# sourceMappingURL=tradeIntentsVerifierPayloadTypes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tradeIntentsVerifierPayloadTypes.d.ts","sourceRoot":"","sources":["../../../../../../../lib/typechain/lynxSystem/intentsVerifiers/tradeIntentsVerifier/tradeIntentsVerifierPayloadTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAEhC,iBAAS,0BAA0B,CACjC,OAAO,EAAE,MAAM,EACf,oBAAoB,EAAE,MAAM,GAC3B,MAAM,CAAC,eAAe,CASxB;AA6JD,eAAO,MAAM,gCAAgC;;;;;;;;CAS5C,CAAC"}
@@ -0,0 +1,152 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.tradeIntentsVerifierPayloadTypes = void 0;
4
+ function generateVerificationDomain(chainId, tradersPortalAddress) {
5
+ const verificationDomain = {
6
+ chainId: chainId,
7
+ name: "Trade Intents Verifier",
8
+ version: "1",
9
+ verifyingContract: tradersPortalAddress,
10
+ };
11
+ return verificationDomain;
12
+ }
13
+ const TRADER_REQUEST_PAYLOAD_CLOSE_MARKET = {
14
+ UserRequestPayload_CloseMarket: [
15
+ {
16
+ name: "timestamp",
17
+ type: "uint256",
18
+ },
19
+ { name: "validUntil", type: "uint256" },
20
+ {
21
+ name: "positionId",
22
+ type: "bytes32",
23
+ },
24
+ {
25
+ name: "minPrice",
26
+ type: "uint64",
27
+ },
28
+ {
29
+ name: "maxPrice",
30
+ type: "uint64",
31
+ },
32
+ ],
33
+ };
34
+ const TRADER_REQUEST_PAYLOAD_TYPE_DEFINITION_OPEN_POSITION = {
35
+ UserRequestPayload_OpenPosition: [
36
+ {
37
+ name: "timestamp",
38
+ type: "uint256",
39
+ },
40
+ { name: "validUntil", type: "uint256" },
41
+ {
42
+ name: "positionRequestIdentifiers",
43
+ type: "PositionRequestIdentifiers",
44
+ },
45
+ {
46
+ name: "positionRequestParams",
47
+ type: "PositionRequestParams",
48
+ },
49
+ {
50
+ name: "orderType",
51
+ type: "uint8",
52
+ },
53
+ ],
54
+ PositionRequestIdentifiers: [
55
+ {
56
+ name: "trader",
57
+ type: "address",
58
+ },
59
+ {
60
+ name: "pairId",
61
+ type: "uint16",
62
+ },
63
+ {
64
+ name: "settlementAsset",
65
+ type: "address",
66
+ },
67
+ ],
68
+ PositionRequestParams: [
69
+ {
70
+ name: "long",
71
+ type: "bool",
72
+ },
73
+ {
74
+ name: "collateral",
75
+ type: "uint256",
76
+ },
77
+ {
78
+ name: "leverage",
79
+ type: "uint32",
80
+ },
81
+ {
82
+ name: "minPrice",
83
+ type: "uint64",
84
+ },
85
+ {
86
+ name: "maxPrice",
87
+ type: "uint64",
88
+ },
89
+ {
90
+ name: "tp",
91
+ type: "uint64",
92
+ },
93
+ {
94
+ name: "sl",
95
+ type: "uint64",
96
+ },
97
+ {
98
+ name: "tpByFraction",
99
+ type: "uint64",
100
+ },
101
+ {
102
+ name: "slByFraction",
103
+ type: "uint64",
104
+ },
105
+ ],
106
+ };
107
+ const TRADER_REQUEST_PAYLOAD_TYPE_DEFINITION_UPDATE_POSITION_SINGLE_FIELD = {
108
+ UserRequestPayload_UpdatePositionSingleField: [
109
+ { name: "timestamp", type: "uint256" },
110
+ { name: "validUntil", type: "uint256" },
111
+ { name: "positionId", type: "bytes32" },
112
+ { name: "orderType", type: "uint8" },
113
+ { name: "fieldValue", type: "uint64" },
114
+ ],
115
+ };
116
+ const TRADER_REQUEST_PAYLOAD_TYPE_DEFINITION_UPDATE_POSITION_DOUBLE_FIELD = {
117
+ UserRequestPayload_UpdatePositionDoubleField: [
118
+ { name: "timestamp", type: "uint256" },
119
+ { name: "validUntil", type: "uint256" },
120
+ { name: "positionId", type: "bytes32" },
121
+ { name: "orderType", type: "uint8" },
122
+ { name: "fieldValueA", type: "uint64" },
123
+ { name: "fieldValueB", type: "uint64" },
124
+ ],
125
+ };
126
+ const TRADER_DIRECT_PAYLOAD_TYPE_DEFINITION_UPDATE_PENDING_LIMIT_POSITION = {
127
+ UserDirectPayload_UpdatePendingLimitPosition: [
128
+ { name: "timestamp", type: "uint256" },
129
+ { name: "validUntil", type: "uint256" },
130
+ { name: "positionId", type: "bytes32" },
131
+ { name: "minPrice", type: "uint64" },
132
+ { name: "maxPrice", type: "uint64" },
133
+ { name: "tp", type: "uint64" },
134
+ { name: "sl", type: "uint64" },
135
+ ],
136
+ };
137
+ const TRADER_DIRECT_PAYLOAD_TYPE_DEFINITION_CANCEL_PENDING_LIMIT_POSITION = {
138
+ UserDirectPayload_CancelPendingLimitPosition: [
139
+ { name: "timestamp", type: "uint256" },
140
+ { name: "validUntil", type: "uint256" },
141
+ { name: "positionId", type: "bytes32" },
142
+ ],
143
+ };
144
+ exports.tradeIntentsVerifierPayloadTypes = {
145
+ buildDomainSeparator: generateVerificationDomain,
146
+ TRADER_REQUEST_PAYLOAD_TYPE_DEFINITION_OPEN_POSITION,
147
+ TRADER_REQUEST_PAYLOAD_CLOSE_MARKET,
148
+ TRADER_REQUEST_PAYLOAD_TYPE_DEFINITION_UPDATE_POSITION_SINGLE_FIELD,
149
+ TRADER_REQUEST_PAYLOAD_TYPE_DEFINITION_UPDATE_POSITION_DOUBLE_FIELD,
150
+ TRADER_DIRECT_PAYLOAD_TYPE_DEFINITION_UPDATE_PENDING_LIMIT_POSITION,
151
+ TRADER_DIRECT_PAYLOAD_TYPE_DEFINITION_CANCEL_PENDING_LIMIT_POSITION,
152
+ };
@@ -24,6 +24,12 @@ export * from "./lib/addresses/systemAddresses";
24
24
  export * from "./lib/contractsIntegration/deployedContractsConnector";
25
25
  export * from "./lib/contractsIntegration/TradersPortalService";
26
26
  export * from "./lib/contractsIntegration/TradingFloorService";
27
+ export { ChipsIntentsVerifierService } from "./lib/contractsIntegration/ChipsIntentsVerifierService";
28
+ export type { IChipsIntentsVerifierService } from "./lib/contractsIntegration/ChipsIntentsVerifierService";
29
+ export { LiquidityIntentsVerifierService } from "./lib/contractsIntegration/LiquidityIntentsVerifierService";
30
+ export type { ILiquidityIntentsVerifierService } from "./lib/contractsIntegration/LiquidityIntentsVerifierService";
31
+ export { TradeIntentsVerifierService } from "./lib/contractsIntegration/TradeIntentsVerifierService";
32
+ export type { ITradeIntentsVerifierService } from "./lib/contractsIntegration/TradeIntentsVerifierService";
27
33
  export * from "./lib/contractsIntegration/IntentsVerifierLensService";
28
34
  export * from "./lib/contractsIntegration/TriggersAndPortalLensService";
29
35
  export * from "./lib/contractsIntegration/TradingFloorLensService";
@@ -32,9 +38,26 @@ export * from "./lib/typechain/contracts/Peripheral/Lens/IntentsVerifierLens";
32
38
  export * from "./lib/typechain/contracts/Peripheral/Lens/TriggersAndPortalLens";
33
39
  export * from "./lib/typechain/contracts/Peripheral/Lens/LexLens";
34
40
  export * from "./lib/typechain/contracts/Peripheral/Lens/TradingFloorLens";
41
+ export type { RegistryProxy } from "./lib/typechain/contracts/Lynx/Registry/RegistryProxy";
42
+ export type { RegistryV1 } from "./lib/typechain/contracts/Lynx/Registry/RegistryV1";
43
+ export type { TradingFloorProxy } from "./lib/typechain/contracts/Lynx/TradingFloor/TradingFloorProxy";
44
+ export type { TradingFloorV1 } from "./lib/typechain/contracts/Lynx/TradingFloor/TradingFloorV1";
45
+ export type { OrderBookProxy } from "./lib/typechain/contracts/Lynx/OrderBook/OrderBookProxy";
46
+ export type { OrderBookV1 } from "./lib/typechain/contracts/Lynx/OrderBook/OrderBookV1";
47
+ export type { TradersPortalV1 } from "./lib/typechain/contracts/Lynx/TradersPortal/TradersPortalV1";
48
+ export type { TriggersV1 } from "./lib/typechain/contracts/Lynx/Triggers/TriggersV1";
49
+ export type { ChipsIntentsVerifierV1 } from "./lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1";
50
+ export type { LiquidityIntentsVerifierV1 } from "./lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1";
51
+ export type { TradeIntentsVerifierV1 } from "./lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1";
52
+ export { chipsIntentsVerifierPayloadTypes } from "./lib/typechain/lynxSystem/intentsVerifiers/chipsIntentsVerifier/chipsIntentsVerifierPayloadTypes";
53
+ export { liquidityIntentsVerifierPayloadTypes } from "./lib/typechain/lynxSystem/intentsVerifiers/liquidityIntentsVerifier/liquidityIntentsVerifierPayloadTypes";
54
+ export { tradeIntentsVerifierPayloadTypes } from "./lib/typechain/lynxSystem/intentsVerifiers/tradeIntentsVerifier/tradeIntentsVerifierPayloadTypes";
35
55
  export * from "./lib/typechain/factories/contracts/Peripheral/Lens/IntentsVerifierLens__factory";
36
56
  export * from "./lib/typechain/factories/contracts/Peripheral/Lens/TriggersAndPortalLens__factory";
37
57
  export * from "./lib/typechain/factories/contracts/Peripheral/Lens/LexLens__factory";
38
58
  export * from "./lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory";
59
+ export * from "./lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory";
60
+ export * from "./lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory";
61
+ export * from "./lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory";
39
62
  export * from "./lib/devex";
40
63
  //# sourceMappingURL=index.d.ts.map
@@ -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,cA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AO,EAAE,oCAAoC,EAAE,MAAM,2GAA2G,CAAC;AACjK,OAAO,EAAE,gCAAgC,EAAE,MAAM,mGAAmG,CAAC;AAGrJ,cAAc,kFAAkF,CAAC;AACjG,cAAc,oFAAoF,CAAC;AACnG,cAAc,sEAAsE,CAAC;AACrF,cAAc,+EAA+E,CAAC;AAG9F,cAAc,0FAA0F,CAAC;AACzG,cAAc,8FAA8F,CAAC;AAC7G,cAAc,0FAA0F,CAAC;AAGzG,cAAc,aAAa,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { Provider, Signer } from "ethers";
2
+ import { ChipsIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1";
3
+ import { IChipsIntentsVerifierService } from "./IChipsIntentsVerifierService";
4
+ export declare class ChipsIntentsVerifierService implements IChipsIntentsVerifierService {
5
+ private readonly contract;
6
+ private readonly isSigner;
7
+ constructor(signerOrProvider: Signer | Provider, address: string);
8
+ domainSeparatorForAsset(chip: string): Promise<string>;
9
+ domainSeparatorForChain(chainId: bigint): Promise<string>;
10
+ chipOutFeeForChip(chip: string): Promise<bigint>;
11
+ feesReceiver(): Promise<string>;
12
+ intentsPermissions(user: string): Promise<string>;
13
+ setIntentsPermissions(oftChip: string, dynAddressSuffix: string): Promise<void>;
14
+ forceChipOut(chip: string, holder: string, amount: bigint, value?: bigint): Promise<void>;
15
+ interactOnBehalf_chipOut(chip: string, holder: string, amount: bigint, value?: bigint): Promise<void>;
16
+ verifyIntent_chipOut(payload: ChipsIntentsVerifierV1.HolderRequestPayload_ChipOutLZStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
17
+ verifyIntent_chipOutAndUnwrap(payload: ChipsIntentsVerifierV1.HolderRequestPayload_ChipOutLZ_UnwrapStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
18
+ getLZDstChainIdFromChip(chip: string): Promise<bigint>;
19
+ getLZDstChainIdFromEvmChainId(evmChainId: bigint): Promise<bigint>;
20
+ evmIdToLzEid(evmChainId: bigint): Promise<bigint>;
21
+ getWrapNativeChipInOutHelper(oftChip: string): Promise<string>;
22
+ sourceChainIdForAsset(asset: string): Promise<bigint>;
23
+ processedSignatures(signature: string): Promise<boolean>;
24
+ admin(): Promise<string>;
25
+ pendingAdmin(): Promise<string>;
26
+ registry(): Promise<string>;
27
+ wrapNativeChipInOutHelpers(oftChip: string): Promise<string>;
28
+ }
29
+ //# sourceMappingURL=ChipsIntentsVerifierService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChipsIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,uEAAuE,CAAA;AAE9G,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAE7E,qBAAa,2BAA4B,YAAW,4BAA4B;IAC9E,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAwB;IACjD,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAS;gBAEtB,gBAAgB,EAAE,MAAM,GAAG,QAAQ,EAAE,OAAO,EAAE,MAAM;IAK1D,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAItD,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIzD,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIhD,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC;IAI/B,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIjD,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ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M,GAAG,OAAO,CAAC,MAAM,CAAC;CAGnE"}
@@ -0,0 +1,24 @@
1
+ import { ChipsIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1";
2
+ export interface IChipsIntentsVerifierService {
3
+ domainSeparatorForAsset(chip: string): Promise<string>;
4
+ domainSeparatorForChain(chainId: bigint): Promise<string>;
5
+ chipOutFeeForChip(chip: string): Promise<bigint>;
6
+ feesReceiver(): Promise<string>;
7
+ intentsPermissions(user: string): Promise<string>;
8
+ setIntentsPermissions(oftChip: string, dynAddressSuffix: string): Promise<void>;
9
+ forceChipOut(chip: string, holder: string, amount: bigint, value?: bigint): Promise<void>;
10
+ interactOnBehalf_chipOut(chip: string, holder: string, amount: bigint, value?: bigint): Promise<void>;
11
+ verifyIntent_chipOut(payload: ChipsIntentsVerifierV1.HolderRequestPayload_ChipOutLZStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
12
+ verifyIntent_chipOutAndUnwrap(payload: ChipsIntentsVerifierV1.HolderRequestPayload_ChipOutLZ_UnwrapStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
13
+ getLZDstChainIdFromChip(chip: string): Promise<bigint>;
14
+ getLZDstChainIdFromEvmChainId(evmChainId: bigint): Promise<bigint>;
15
+ evmIdToLzEid(evmChainId: bigint): Promise<bigint>;
16
+ getWrapNativeChipInOutHelper(oftChip: string): Promise<string>;
17
+ wrapNativeChipInOutHelpers(oftChip: string): Promise<string>;
18
+ sourceChainIdForAsset(asset: string): Promise<bigint>;
19
+ processedSignatures(signature: string): Promise<boolean>;
20
+ admin(): Promise<string>;
21
+ pendingAdmin(): Promise<string>;
22
+ registry(): Promise<string>;
23
+ }
24
+ //# sourceMappingURL=IChipsIntentsVerifierService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IChipsIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.ts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B,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACtD,6BAA6B,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAClE,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAGjD,4BAA4B,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAC9D,0BAA0B,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAG5D,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACrD,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAGxD,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IACxB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;IAC/B,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;CAC5B"}
@@ -0,0 +1,4 @@
1
+ export { ChipsIntentsVerifierService } from "./ChipsIntentsVerifierService";
2
+ export type { IChipsIntentsVerifierService } from "./IChipsIntentsVerifierService";
3
+ export type { ChipsIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/ChipsIntentsVerifierService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAA;AAC3E,YAAY,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAA;AAClF,YAAY,EAAE,sBAAsB,EAAE,MAAM,uEAAuE,CAAA"}
@@ -0,0 +1,17 @@
1
+ import { LiquidityIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1";
2
+ export interface ILiquidityIntentsVerifierService {
3
+ domainSeparatorForAsset(pool: string): Promise<string>;
4
+ domainSeparatorForChain(chainId: bigint): Promise<string>;
5
+ intentsPermissions(user: string): Promise<string>;
6
+ setIntentsPermissions(oftChip: string, dynAddressSuffix: string): Promise<void>;
7
+ interactOnBehalf_epochDeposit(pool: string, liquidityProvider: string, amount: bigint, minAmountOut: bigint, domain: string, referralCode: string, value?: bigint): Promise<void>;
8
+ interactOnBehalf_epochRedeem(pool: string, liquidityProvider: string, amount: bigint, minAmountOut: bigint, value?: bigint): Promise<void>;
9
+ verifyIntent_epochDeposit(payload: LiquidityIntentsVerifierV1.LiquidityProviderRequestPayload_EpochDepositStruct, v: bigint, r: string, s: string, domain: string, referralCode: string, value?: bigint): Promise<void>;
10
+ verifyIntent_epochRedeem(payload: LiquidityIntentsVerifierV1.LiquidityProviderRequestPayload_EpochRedeemStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
11
+ sourceChainIdForAsset(asset: string): Promise<bigint>;
12
+ processedSignatures(signature: string): Promise<boolean>;
13
+ admin(): Promise<string>;
14
+ pendingAdmin(): Promise<string>;
15
+ registry(): Promise<string>;
16
+ }
17
+ //# sourceMappingURL=ILiquidityIntentsVerifierService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ILiquidityIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,2EAA2E,CAAA;AAEtH,MAAM,WAAW,gCAAgC;IAE/C,uBAAuB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IACtD,uBAAuB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;IAGzD,kBAAkB,CAAC,IAAI,EAAE,M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AQ,IAAI,OAAO,CAAC,MAAM,CAAC,CAAA;CAC5B"}
@@ -0,0 +1,22 @@
1
+ import { Provider, Signer } from "ethers";
2
+ import { LiquidityIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1";
3
+ import { ILiquidityIntentsVerifierService } from "./ILiquidityIntentsVerifierService";
4
+ export declare class LiquidityIntentsVerifierService implements ILiquidityIntentsVerifierService {
5
+ private readonly contract;
6
+ private readonly isSigner;
7
+ constructor(signerOrProvider: Signer | Provider, address: string);
8
+ domainSeparatorForAsset(pool: string): Promise<string>;
9
+ domainSeparatorForChain(chainId: bigint): Promise<string>;
10
+ intentsPermissions(user: string): Promise<string>;
11
+ setIntentsPermissions(oftChip: string, dynAddressSuffix: string): Promise<void>;
12
+ interactOnBehalf_epochDeposit(pool: string, liquidityProvider: string, amount: bigint, minAmountOut: bigint, domain: string, referralCode: string, value?: bigint): Promise<void>;
13
+ interactOnBehalf_epochRedeem(pool: string, liquidityProvider: string, amount: bigint, minAmountOut: bigint, value?: bigint): Promise<void>;
14
+ verifyIntent_epochDeposit(payload: LiquidityIntentsVerifierV1.LiquidityProviderRequestPayload_EpochDepositStruct, v: bigint, r: string, s: string, domain: string, referralCode: string, value?: bigint): Promise<void>;
15
+ verifyIntent_epochRedeem(payload: LiquidityIntentsVerifierV1.LiquidityProviderRequestPayload_EpochRedeemStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
16
+ admin(): Promise<string>;
17
+ pendingAdmin(): Promise<string>;
18
+ registry(): Promise<string>;
19
+ sourceChainIdForAsset(asset: string): Promise<bigint>;
20
+ processedSignatures(signature: string): Promise<boolean>;
21
+ }
22
+ //# sourceMappingURL=LiquidityIntentsVerifierService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LiquidityIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.ts"],"names":[],"mappings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,EACpB,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC;IAgBV,wBAAwB,CAC5B,OAAO,EAAE,0BAA0B,CAAC,iDAAiD,EACrF,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,CAAC,EAAE,MAAM,EACT,KAAK,CAAC,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC;IAcV,KAAK,IAAI,OAAO,CAAC,MAAM,CAAC;IAIxB,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC;IAI/B,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC;IAI3B,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIrD,mBAAmB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAG/D"}
@@ -0,0 +1,4 @@
1
+ export { LiquidityIntentsVerifierService } from "./LiquidityIntentsVerifierService";
2
+ export type { ILiquidityIntentsVerifierService } from "./ILiquidityIntentsVerifierService";
3
+ export type { LiquidityIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/LiquidityIntentsVerifierService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAA;AACnF,YAAY,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAA;AAC1F,YAAY,EAAE,0BAA0B,EAAE,MAAM,2EAA2E,CAAA"}
@@ -0,0 +1,24 @@
1
+ import { TradeIntentsVerifierV1 } from "../../typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1";
2
+ export interface ITradeIntentsVerifierService {
3
+ domainSeparatorForAsset(settlementAsset: string): Promise<string>;
4
+ domainSeparatorForChain(chainId: bigint): Promise<string>;
5
+ intentsPermissions(user: string): Promise<string>;
6
+ setIntentsPermissions(oftChip: string, dynAddressSuffix: string): Promise<void>;
7
+ verifyIntent_traderRequest_openNewPosition(payload: TradeIntentsVerifierV1.UserRequestPayload_OpenPositionStruct, v: bigint, r: string, s: string, domain: string, referralCode: string, runCapTests: boolean, value?: bigint): Promise<void>;
8
+ verifyIntent_traderRequest_marketClosePosition(payload: TradeIntentsVerifierV1.UserRequestPayload_CloseMarketStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
9
+ verifyIntent_traderAction_updatePendingLimitPosition(payload: TradeIntentsVerifierV1.UserDirectPayload_UpdatePendingLimitPositionStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
10
+ verifyIntent_traderAction_cancelPendingLimitPosition(payload: TradeIntentsVerifierV1.UserDirectPayload_CancelPendingLimitPositionStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
11
+ verifyIntent_traderRequest_updatePositionSingleField(payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionSingleFieldStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
12
+ verifyIntent_traderRequest_updatePositionDoubleField(payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionDoubleFieldStruct, v: bigint, r: string, s: string, value?: bigint): Promise<void>;
13
+ domainSeparatorsForPosition(positionId: string): Promise<string>;
14
+ tradersForPosition(positionId: string): Promise<string>;
15
+ settlementAssetsForPosition(positionId: string): Promise<string>;
16
+ sourceChainIdForAsset(asset: string): Promise<bigint>;
17
+ processedSignatures(signature: string): Promise<boolean>;
18
+ getTradingFloor(): Promise<string>;
19
+ getTradersPortal(): Promise<string>;
20
+ admin(): Promise<string>;
21
+ pendingAdmin(): Promise<string>;
22
+ registry(): Promise<string>;
23
+ }
24
+ //# sourceMappingURL=ITradeIntentsVerifierService.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ITradeIntentsVerifierService.d.ts","sourceRoot":"","sources":["../../../../../lib/contractsIntegration/TradeI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