lynx-client 0.0.3 → 0.0.4

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 (113) hide show
  1. package/dist/cjs/index.js +11 -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/esm/index.d.ts +9 -0
  21. package/dist/esm/index.d.ts.map +1 -1
  22. package/dist/esm/index.js +11 -0
  23. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +29 -0
  24. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -0
  25. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +91 -0
  26. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +24 -0
  27. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -0
  28. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.js +2 -0
  29. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/index.d.ts +4 -0
  30. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/index.d.ts.map +1 -0
  31. package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/index.js +5 -0
  32. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +17 -0
  33. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -0
  34. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.js +2 -0
  35. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +22 -0
  36. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -0
  37. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +70 -0
  38. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/index.d.ts +4 -0
  39. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/index.d.ts.map +1 -0
  40. package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/index.js +5 -0
  41. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +24 -0
  42. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -0
  43. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.js +2 -0
  44. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +29 -0
  45. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -0
  46. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +99 -0
  47. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/index.d.ts +4 -0
  48. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/index.d.ts.map +1 -0
  49. package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/index.js +5 -0
  50. package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts +15 -0
  51. package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
  52. package/dist/esm/lib/contractsIntegration/deployedContractsConnector.js +45 -0
  53. package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.d.ts +643 -0
  54. package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.d.ts.map +1 -0
  55. package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.js +2 -0
  56. package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.d.ts +508 -0
  57. package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.d.ts.map +1 -0
  58. package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.js +2 -0
  59. package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.d.ts +832 -0
  60. package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.d.ts.map +1 -0
  61. package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.js +2 -0
  62. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts +866 -0
  63. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts.map +1 -0
  64. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.js +1129 -0
  65. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +670 -0
  66. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts.map +1 -0
  67. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.js +870 -0
  68. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1201 -0
  69. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts.map +1 -0
  70. package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.js +1561 -0
  71. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +1 -1
  72. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
  73. package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +1 -1
  74. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
  75. package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
  76. package/dist/types/index.d.ts +9 -0
  77. package/dist/types/index.d.ts.map +1 -1
  78. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +29 -0
  79. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -0
  80. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +24 -0
  81. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -0
  82. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/index.d.ts +4 -0
  83. package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/index.d.ts.map +1 -0
  84. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +17 -0
  85. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -0
  86. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +22 -0
  87. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -0
  88. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/index.d.ts +4 -0
  89. package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/index.d.ts.map +1 -0
  90. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +24 -0
  91. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -0
  92. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +29 -0
  93. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -0
  94. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/index.d.ts +4 -0
  95. package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/index.d.ts.map +1 -0
  96. package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts +15 -0
  97. package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
  98. package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.d.ts +643 -0
  99. package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.d.ts.map +1 -0
  100. package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.d.ts +508 -0
  101. package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.d.ts.map +1 -0
  102. package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.d.ts +832 -0
  103. package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.d.ts.map +1 -0
  104. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts +866 -0
  105. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts.map +1 -0
  106. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +670 -0
  107. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts.map +1 -0
  108. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1201 -0
  109. package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts.map +1 -0
  110. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +1 -1
  111. package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
  112. package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
  113. package/package.json +1 -1
@@ -0,0 +1,832 @@
1
+ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
+ import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../common";
3
+ export declare namespace TradeIntentsVerifierV1 {
4
+ type UserDirectPayload_CancelPendingLimitPositionStruct = {
5
+ timestamp: BigNumberish;
6
+ validUntil: BigNumberish;
7
+ positionId: BytesLike;
8
+ };
9
+ type UserDirectPayload_CancelPendingLimitPositionStructOutput = [
10
+ timestamp: bigint,
11
+ validUntil: bigint,
12
+ positionId: string
13
+ ] & {
14
+ timestamp: bigint;
15
+ validUntil: bigint;
16
+ positionId: string;
17
+ };
18
+ type UserRequestPayload_CloseMarketStruct = {
19
+ timestamp: BigNumberish;
20
+ validUntil: BigNumberish;
21
+ positionId: BytesLike;
22
+ minPrice: BigNumberish;
23
+ maxPrice: BigNumberish;
24
+ };
25
+ type UserRequestPayload_CloseMarketStructOutput = [
26
+ timestamp: bigint,
27
+ validUntil: bigint,
28
+ positionId: string,
29
+ minPrice: bigint,
30
+ maxPrice: bigint
31
+ ] & {
32
+ timestamp: bigint;
33
+ validUntil: bigint;
34
+ positionId: string;
35
+ minPrice: bigint;
36
+ maxPrice: bigint;
37
+ };
38
+ type UserRequestPayload_OpenPositionStruct = {
39
+ timestamp: BigNumberish;
40
+ validUntil: BigNumberish;
41
+ positionRequestIdentifiers: TradingFloorStructsV1.PositionRequestIdentifiersStruct;
42
+ positionRequestParams: TradingFloorStructsV1.PositionRequestParamsStruct;
43
+ orderType: BigNumberish;
44
+ };
45
+ type UserRequestPayload_OpenPositionStructOutput = [
46
+ timestamp: bigint,
47
+ validUntil: bigint,
48
+ positionRequestIdentifiers: TradingFloorStructsV1.PositionRequestIdentifiersStructOutput,
49
+ positionRequestParams: TradingFloorStructsV1.PositionRequestParamsStructOutput,
50
+ orderType: bigint
51
+ ] & {
52
+ timestamp: bigint;
53
+ validUntil: bigint;
54
+ positionRequestIdentifiers: TradingFloorStructsV1.PositionRequestIdentifiersStructOutput;
55
+ positionRequestParams: TradingFloorStructsV1.PositionRequestParamsStructOutput;
56
+ orderType: bigint;
57
+ };
58
+ type UserDirectPayload_UpdatePendingLimitPositionStruct = {
59
+ timestamp: BigNumberish;
60
+ validUntil: BigNumberish;
61
+ positionId: BytesLike;
62
+ minPrice: BigNumberish;
63
+ maxPrice: BigNumberish;
64
+ tp: BigNumberish;
65
+ sl: BigNumberish;
66
+ };
67
+ type UserDirectPayload_UpdatePendingLimitPositionStructOutput = [
68
+ timestamp: bigint,
69
+ validUntil: bigint,
70
+ positionId: string,
71
+ minPrice: bigint,
72
+ maxPrice: bigint,
73
+ tp: bigint,
74
+ sl: bigint
75
+ ] & {
76
+ timestamp: bigint;
77
+ validUntil: bigint;
78
+ positionId: string;
79
+ minPrice: bigint;
80
+ maxPrice: bigint;
81
+ tp: bigint;
82
+ sl: bigint;
83
+ };
84
+ type UserRequestPayload_UpdatePositionDoubleFieldStruct = {
85
+ timestamp: BigNumberish;
86
+ validUntil: BigNumberish;
87
+ positionId: BytesLike;
88
+ orderType: BigNumberish;
89
+ fieldValueA: BigNumberish;
90
+ fieldValueB: BigNumberish;
91
+ };
92
+ type UserRequestPayload_UpdatePositionDoubleFieldStructOutput = [
93
+ timestamp: bigint,
94
+ validUntil: bigint,
95
+ positionId: string,
96
+ orderType: bigint,
97
+ fieldValueA: bigint,
98
+ fieldValueB: bigint
99
+ ] & {
100
+ timestamp: bigint;
101
+ validUntil: bigint;
102
+ positionId: string;
103
+ orderType: bigint;
104
+ fieldValueA: bigint;
105
+ fieldValueB: bigint;
106
+ };
107
+ type UserRequestPayload_UpdatePositionSingleFieldStruct = {
108
+ timestamp: BigNumberish;
109
+ validUntil: BigNumberish;
110
+ positionId: BytesLike;
111
+ orderType: BigNumberish;
112
+ fieldValue: BigNumberish;
113
+ };
114
+ type UserRequestPayload_UpdatePositionSingleFieldStructOutput = [
115
+ timestamp: bigint,
116
+ validUntil: bigint,
117
+ positionId: string,
118
+ orderType: bigint,
119
+ fieldValue: bigint
120
+ ] & {
121
+ timestamp: bigint;
122
+ validUntil: bigint;
123
+ positionId: string;
124
+ orderType: bigint;
125
+ fieldValue: bigint;
126
+ };
127
+ }
128
+ export declare namespace TradingFloorStructsV1 {
129
+ type PositionRequestIdentifiersStruct = {
130
+ trader: AddressLike;
131
+ pairId: BigNumberish;
132
+ settlementAsset: AddressLike;
133
+ };
134
+ type PositionRequestIdentifiersStructOutput = [
135
+ trader: string,
136
+ pairId: bigint,
137
+ settlementAsset: string
138
+ ] & {
139
+ trader: string;
140
+ pairId: bigint;
141
+ settlementAsset: string;
142
+ };
143
+ type PositionRequestParamsStruct = {
144
+ long: boolean;
145
+ collateral: BigNumberish;
146
+ leverage: BigNumberish;
147
+ minPrice: BigNumberish;
148
+ maxPrice: BigNumberish;
149
+ tp: BigNumberish;
150
+ sl: BigNumberish;
151
+ tpByFraction: BigNumberish;
152
+ slByFraction: BigNumberish;
153
+ };
154
+ type PositionRequestParamsStructOutput = [
155
+ long: boolean,
156
+ collateral: bigint,
157
+ leverage: bigint,
158
+ minPrice: bigint,
159
+ maxPrice: bigint,
160
+ tp: bigint,
161
+ sl: bigint,
162
+ tpByFraction: bigint,
163
+ slByFraction: bigint
164
+ ] & {
165
+ long: boolean;
166
+ collateral: bigint;
167
+ leverage: bigint;
168
+ minPrice: bigint;
169
+ maxPrice: bigint;
170
+ tp: bigint;
171
+ sl: bigint;
172
+ tpByFraction: bigint;
173
+ slByFraction: bigint;
174
+ };
175
+ }
176
+ export interface TradeIntentsVerifierV1Interface extends Interface {
177
+ getFunction(nameOrSignature: "CONTRACT_DOMAIN_NAME" | "CONTRACT_DOMAIN_VERSION" | "CONTRACT_NAME" | "CONTRACT_VERSION" | "DIRECT_PAYLOAD_CANCEL_PENDING_LIMIT_POSITION_TYPE_DESCRIPTOR" | "DIRECT_PAYLOAD_UPDATE_PENDING_LIMIT_POSITION_TYPE_DESCRIPTOR" | "DYN_ROLE_INTENTS_PERMISSIONS_PREFIX" | "EIP712DOMAIN_TYPEHASH" | "POSITION_REQUEST_IDENTIFIERS_TYPE_DESCRIPTOR" | "POSITION_REQUEST_PARAMS_TYPE_DESCRIPTOR" | "REQUEST_PAYLOAD_CLOSE_MARKET_TYPE_DESCRIPTOR" | "REQUEST_PAYLOAD_OPEN_POSITION_TYPE_DESCRIPTOR" | "REQUEST_PAYLOAD_UPDATE_POSITION_DOUBLE_FIELD_TYPE_DESCRIPTOR" | "REQUEST_PAYLOAD_UPDATE_POSITION_SINGLE_FIELD_TYPE_DESCRIPTOR" | "_acceptAdmin" | "_msgSender" | "_setPendingAdmin" | "admin" | "domainSeparatorForAsset" | "domainSeparatorForChain" | "domainSeparatorsForPosition" | "getContractName" | "getContractVersion" | "getTradersPortal" | "getTradingFloor" | "intentsPermissions" | "pendingAdmin" | "processedSignatures" | "recoverCancelPendingLimitPositionSigner" | "recoverCloseMarketPayloadSigner" | "recoverOpenPositionPayloadSigner" | "recoverUpdatePendingLimitPositionSigner" | "recoverUpdatePositionDoubleFieldPayloadSigner" | "recoverUpdatePositionSingleFieldPayloadSigner" | "registry" | "setIntentsPermissions" | "settlementAssetsForPosition" | "sourceChainIdForAsset" | "storeSourceChainForAsset" | "tradersForPosition" | "verifyIntent_traderAction_cancelPendingLimitPosition" | "verifyIntent_traderAction_updatePendingLimitPosition" | "verifyIntent_traderRequest_marketClosePosition" | "verifyIntent_traderRequest_openNewPosition" | "verifyIntent_traderRequest_updatePositionDoubleField" | "verifyIntent_traderRequest_updatePositionSingleField"): FunctionFragment;
178
+ getEvent(nameOrSignatureOrTopic: "DomainSeparatorForChainStored" | "NewAdmin" | "NewPendingAdmin" | "SourceChainIdForAssetStored" | "TradeIntentVerified" | "TradeIntentVerifiedV1010"): EventFragment;
179
+ encodeFunctionData(functionFragment: "CONTRACT_DOMAIN_NAME", values?: undefined): string;
180
+ encodeFunctionData(functionFragment: "CONTRACT_DOMAIN_VERSION", values?: undefined): string;
181
+ encodeFunctionData(functionFragment: "CONTRACT_NAME", values?: undefined): string;
182
+ encodeFunctionData(functionFragment: "CONTRACT_VERSION", values?: undefined): string;
183
+ encodeFunctionData(functionFragment: "DIRECT_PAYLOAD_CANCEL_PENDING_LIMIT_POSITION_TYPE_DESCRIPTOR", values?: undefined): string;
184
+ encodeFunctionData(functionFragment: "DIRECT_PAYLOAD_UPDATE_PENDING_LIMIT_POSITION_TYPE_DESCRIPTOR", values?: undefined): string;
185
+ encodeFunctionData(functionFragment: "DYN_ROLE_INTENTS_PERMISSIONS_PREFIX", values?: undefined): string;
186
+ encodeFunctionData(functionFragment: "EIP712DOMAIN_TYPEHASH", values?: undefined): string;
187
+ encodeFunctionData(functionFragment: "POSITION_REQUEST_IDENTIFIERS_TYPE_DESCRIPTOR", values?: undefined): string;
188
+ encodeFunctionData(functionFragment: "POSITION_REQUEST_PARAMS_TYPE_DESCRIPTOR", values?: undefined): string;
189
+ encodeFunctionData(functionFragment: "REQUEST_PAYLOAD_CLOSE_MARKET_TYPE_DESCRIPTOR", values?: undefined): string;
190
+ encodeFunctionData(functionFragment: "REQUEST_PAYLOAD_OPEN_POSITION_TYPE_DESCRIPTOR", values?: undefined): string;
191
+ encodeFunctionData(functionFragment: "REQUEST_PAYLOAD_UPDATE_POSITION_DOUBLE_FIELD_TYPE_DESCRIPTOR", values?: undefined): string;
192
+ encodeFunctionData(functionFragment: "REQUEST_PAYLOAD_UPDATE_POSITION_SINGLE_FIELD_TYPE_DESCRIPTOR", values?: undefined): string;
193
+ encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
194
+ encodeFunctionData(functionFragment: "_msgSender", values?: undefined): string;
195
+ encodeFunctionData(functionFragment: "_setPendingAdmin", values: [AddressLike]): string;
196
+ encodeFunctionData(functionFragment: "admin", values?: undefined): string;
197
+ encodeFunctionData(functionFragment: "domainSeparatorForAsset", values: [AddressLike]): string;
198
+ encodeFunctionData(functionFragment: "domainSeparatorForChain", values: [BigNumberish]): string;
199
+ encodeFunctionData(functionFragment: "domainSeparatorsForPosition", values: [BytesLike]): string;
200
+ encodeFunctionData(functionFragment: "getContractName", values?: undefined): string;
201
+ encodeFunctionData(functionFragment: "getContractVersion", values?: undefined): string;
202
+ encodeFunctionData(functionFragment: "getTradersPortal", values?: undefined): string;
203
+ encodeFunctionData(functionFragment: "getTradingFloor", values?: undefined): string;
204
+ encodeFunctionData(functionFragment: "intentsPermissions", values: [AddressLike]): string;
205
+ encodeFunctionData(functionFragment: "pendingAdmin", values?: undefined): string;
206
+ encodeFunctionData(functionFragment: "processedSignatures", values: [BytesLike]): string;
207
+ encodeFunctionData(functionFragment: "recoverCancelPendingLimitPositionSigner", values: [
208
+ TradeIntentsVerifierV1.UserDirectPayload_CancelPendingLimitPositionStruct,
209
+ BigNumberish,
210
+ BytesLike,
211
+ BytesLike,
212
+ BytesLike
213
+ ]): string;
214
+ encodeFunctionData(functionFragment: "recoverCloseMarketPayloadSigner", values: [
215
+ TradeIntentsVerifierV1.UserRequestPayload_CloseMarketStruct,
216
+ BigNumberish,
217
+ BytesLike,
218
+ BytesLike,
219
+ BytesLike
220
+ ]): string;
221
+ encodeFunctionData(functionFragment: "recoverOpenPositionPayloadSigner", values: [
222
+ TradeIntentsVerifierV1.UserRequestPayload_OpenPositionStruct,
223
+ BigNumberish,
224
+ BytesLike,
225
+ BytesLike,
226
+ BytesLike
227
+ ]): string;
228
+ encodeFunctionData(functionFragment: "recoverUpdatePendingLimitPositionSigner", values: [
229
+ TradeIntentsVerifierV1.UserDirectPayload_UpdatePendingLimitPositionStruct,
230
+ BigNumberish,
231
+ BytesLike,
232
+ BytesLike,
233
+ BytesLike
234
+ ]): string;
235
+ encodeFunctionData(functionFragment: "recoverUpdatePositionDoubleFieldPayloadSigner", values: [
236
+ TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionDoubleFieldStruct,
237
+ BigNumberish,
238
+ BytesLike,
239
+ BytesLike,
240
+ BytesLike
241
+ ]): string;
242
+ encodeFunctionData(functionFragment: "recoverUpdatePositionSingleFieldPayloadSigner", values: [
243
+ TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionSingleFieldStruct,
244
+ BigNumberish,
245
+ BytesLike,
246
+ BytesLike,
247
+ BytesLike
248
+ ]): string;
249
+ encodeFunctionData(functionFragment: "registry", values?: undefined): string;
250
+ encodeFunctionData(functionFragment: "setIntentsPermissions", values: [AddressLike, string]): string;
251
+ encodeFunctionData(functionFragment: "settlementAssetsForPosition", values: [BytesLike]): string;
252
+ encodeFunctionData(functionFragment: "sourceChainIdForAsset", values: [AddressLike]): string;
253
+ encodeFunctionData(functionFragment: "storeSourceChainForAsset", values: [AddressLike, BigNumberish]): string;
254
+ encodeFunctionData(functionFragment: "tradersForPosition", values: [BytesLike]): string;
255
+ encodeFunctionData(functionFragment: "verifyIntent_traderAction_cancelPendingLimitPosition", values: [
256
+ TradeIntentsVerifierV1.UserDirectPayload_CancelPendingLimitPositionStruct,
257
+ BigNumberish,
258
+ BytesLike,
259
+ BytesLike
260
+ ]): string;
261
+ encodeFunctionData(functionFragment: "verifyIntent_traderAction_updatePendingLimitPosition", values: [
262
+ TradeIntentsVerifierV1.UserDirectPayload_UpdatePendingLimitPositionStruct,
263
+ BigNumberish,
264
+ BytesLike,
265
+ BytesLike
266
+ ]): string;
267
+ encodeFunctionData(functionFragment: "verifyIntent_traderRequest_marketClosePosition", values: [
268
+ TradeIntentsVerifierV1.UserRequestPayload_CloseMarketStruct,
269
+ BigNumberish,
270
+ BytesLike,
271
+ BytesLike
272
+ ]): string;
273
+ encodeFunctionData(functionFragment: "verifyIntent_traderRequest_openNewPosition", values: [
274
+ TradeIntentsVerifierV1.UserRequestPayload_OpenPositionStruct,
275
+ BigNumberish,
276
+ BytesLike,
277
+ BytesLike,
278
+ BytesLike,
279
+ BytesLike,
280
+ boolean
281
+ ]): string;
282
+ encodeFunctionData(functionFragment: "verifyIntent_traderRequest_updatePositionDoubleField", values: [
283
+ TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionDoubleFieldStruct,
284
+ BigNumberish,
285
+ BytesLike,
286
+ BytesLike
287
+ ]): string;
288
+ encodeFunctionData(functionFragment: "verifyIntent_traderRequest_updatePositionSingleField", values: [
289
+ TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionSingleFieldStruct,
290
+ BigNumberish,
291
+ BytesLike,
292
+ BytesLike
293
+ ]): string;
294
+ decodeFunctionResult(functionFragment: "CONTRACT_DOMAIN_NAME", data: BytesLike): Result;
295
+ decodeFunctionResult(functionFragment: "CONTRACT_DOMAIN_VERSION", data: BytesLike): Result;
296
+ decodeFunctionResult(functionFragment: "CONTRACT_NAME", data: BytesLike): Result;
297
+ decodeFunctionResult(functionFragment: "CONTRACT_VERSION", data: BytesLike): Result;
298
+ decodeFunctionResult(functionFragment: "DIRECT_PAYLOAD_CANCEL_PENDING_LIMIT_POSITION_TYPE_DESCRIPTOR", data: BytesLike): Result;
299
+ decodeFunctionResult(functionFragment: "DIRECT_PAYLOAD_UPDATE_PENDING_LIMIT_POSITION_TYPE_DESCRIPTOR", data: BytesLike): Result;
300
+ decodeFunctionResult(functionFragment: "DYN_ROLE_INTENTS_PERMISSIONS_PREFIX", data: BytesLike): Result;
301
+ decodeFunctionResult(functionFragment: "EIP712DOMAIN_TYPEHASH", data: BytesLike): Result;
302
+ decodeFunctionResult(functionFragment: "POSITION_REQUEST_IDENTIFIERS_TYPE_DESCRIPTOR", data: BytesLike): Result;
303
+ decodeFunctionResult(functionFragment: "POSITION_REQUEST_PARAMS_TYPE_DESCRIPTOR", data: BytesLike): Result;
304
+ decodeFunctionResult(functionFragment: "REQUEST_PAYLOAD_CLOSE_MARKET_TYPE_DESCRIPTOR", data: BytesLike): Result;
305
+ decodeFunctionResult(functionFragment: "REQUEST_PAYLOAD_OPEN_POSITION_TYPE_DESCRIPTOR", data: BytesLike): Result;
306
+ decodeFunctionResult(functionFragment: "REQUEST_PAYLOAD_UPDATE_POSITION_DOUBLE_FIELD_TYPE_DESCRIPTOR", data: BytesLike): Result;
307
+ decodeFunctionResult(functionFragment: "REQUEST_PAYLOAD_UPDATE_POSITION_SINGLE_FIELD_TYPE_DESCRIPTOR", data: BytesLike): Result;
308
+ decodeFunctionResult(functionFragment: "_acceptAdmin", data: BytesLike): Result;
309
+ decodeFunctionResult(functionFragment: "_msgSender", data: BytesLike): Result;
310
+ decodeFunctionResult(functionFragment: "_setPendingAdmin", data: BytesLike): Result;
311
+ decodeFunctionResult(functionFragment: "admin", data: BytesLike): Result;
312
+ decodeFunctionResult(functionFragment: "domainSeparatorForAsset", data: BytesLike): Result;
313
+ decodeFunctionResult(functionFragment: "domainSeparatorForChain", data: BytesLike): Result;
314
+ decodeFunctionResult(functionFragment: "domainSeparatorsForPosition", data: BytesLike): Result;
315
+ decodeFunctionResult(functionFragment: "getContractName", data: BytesLike): Result;
316
+ decodeFunctionResult(functionFragment: "getContractVersion", data: BytesLike): Result;
317
+ decodeFunctionResult(functionFragment: "getTradersPortal", data: BytesLike): Result;
318
+ decodeFunctionResult(functionFragment: "getTradingFloor", data: BytesLike): Result;
319
+ decodeFunctionResult(functionFragment: "intentsPermissions", data: BytesLike): Result;
320
+ decodeFunctionResult(functionFragment: "pendingAdmin", data: BytesLike): Result;
321
+ decodeFunctionResult(functionFragment: "processedSignatures", data: BytesLike): Result;
322
+ decodeFunctionResult(functionFragment: "recoverCancelPendingLimitPositionSigner", data: BytesLike): Result;
323
+ decodeFunctionResult(functionFragment: "recoverCloseMarketPayloadSigner", data: BytesLike): Result;
324
+ decodeFunctionResult(functionFragment: "recoverOpenPositionPayloadSigner", data: BytesLike): Result;
325
+ decodeFunctionResult(functionFragment: "recoverUpdatePendingLimitPositionSigner", data: BytesLike): Result;
326
+ decodeFunctionResult(functionFragment: "recoverUpdatePositionDoubleFieldPayloadSigner", data: BytesLike): Result;
327
+ decodeFunctionResult(functionFragment: "recoverUpdatePositionSingleFieldPayloadSigner", data: BytesLike): Result;
328
+ decodeFunctionResult(functionFragment: "registry", data: BytesLike): Result;
329
+ decodeFunctionResult(functionFragment: "setIntentsPermissions", data: BytesLike): Result;
330
+ decodeFunctionResult(functionFragment: "settlementAssetsForPosition", data: BytesLike): Result;
331
+ decodeFunctionResult(functionFragment: "sourceChainIdForAsset", data: BytesLike): Result;
332
+ decodeFunctionResult(functionFragment: "storeSourceChainForAsset", data: BytesLike): Result;
333
+ decodeFunctionResult(functionFragment: "tradersForPosition", data: BytesLike): Result;
334
+ decodeFunctionResult(functionFragment: "verifyIntent_traderAction_cancelPendingLimitPosition", data: BytesLike): Result;
335
+ decodeFunctionResult(functionFragment: "verifyIntent_traderAction_updatePendingLimitPosition", data: BytesLike): Result;
336
+ decodeFunctionResult(functionFragment: "verifyIntent_traderRequest_marketClosePosition", data: BytesLike): Result;
337
+ decodeFunctionResult(functionFragment: "verifyIntent_traderRequest_openNewPosition", data: BytesLike): Result;
338
+ decodeFunctionResult(functionFragment: "verifyIntent_traderRequest_updatePositionDoubleField", data: BytesLike): Result;
339
+ decodeFunctionResult(functionFragment: "verifyIntent_traderRequest_updatePositionSingleField", data: BytesLike): Result;
340
+ }
341
+ export declare namespace DomainSeparatorForChainStoredEvent {
342
+ type InputTuple = [chainId: BigNumberish, domainSeparator: BytesLike];
343
+ type OutputTuple = [chainId: bigint, domainSeparator: string];
344
+ interface OutputObject {
345
+ chainId: bigint;
346
+ domainSeparator: string;
347
+ }
348
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
349
+ type Filter = TypedDeferredTopicFilter<Event>;
350
+ type Log = TypedEventLog<Event>;
351
+ type LogDescription = TypedLogDescription<Event>;
352
+ }
353
+ export declare namespace NewAdminEvent {
354
+ type InputTuple = [oldAdmin: AddressLike, newAdmin: AddressLike];
355
+ type OutputTuple = [oldAdmin: string, newAdmin: string];
356
+ interface OutputObject {
357
+ oldAdmin: string;
358
+ newAdmin: string;
359
+ }
360
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
361
+ type Filter = TypedDeferredTopicFilter<Event>;
362
+ type Log = TypedEventLog<Event>;
363
+ type LogDescription = TypedLogDescription<Event>;
364
+ }
365
+ export declare namespace NewPendingAdminEvent {
366
+ type InputTuple = [
367
+ oldPendingAdmin: AddressLike,
368
+ newPendingAdmin: AddressLike
369
+ ];
370
+ type OutputTuple = [oldPendingAdmin: string, newPendingAdmin: string];
371
+ interface OutputObject {
372
+ oldPendingAdmin: string;
373
+ newPendingAdmin: string;
374
+ }
375
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
376
+ type Filter = TypedDeferredTopicFilter<Event>;
377
+ type Log = TypedEventLog<Event>;
378
+ type LogDescription = TypedLogDescription<Event>;
379
+ }
380
+ export declare namespace SourceChainIdForAssetStoredEvent {
381
+ type InputTuple = [asset: AddressLike, chainId: BigNumberish];
382
+ type OutputTuple = [asset: string, chainId: bigint];
383
+ interface OutputObject {
384
+ asset: string;
385
+ chainId: bigint;
386
+ }
387
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
388
+ type Filter = TypedDeferredTopicFilter<Event>;
389
+ type Log = TypedEventLog<Event>;
390
+ type LogDescription = TypedLogDescription<Event>;
391
+ }
392
+ export declare namespace TradeIntentVerifiedEvent {
393
+ type InputTuple = [
394
+ sender: AddressLike,
395
+ action: BigNumberish,
396
+ positionId: BytesLike,
397
+ nonce: BigNumberish
398
+ ];
399
+ type OutputTuple = [
400
+ sender: string,
401
+ action: bigint,
402
+ positionId: string,
403
+ nonce: bigint
404
+ ];
405
+ interface OutputObject {
406
+ sender: string;
407
+ action: bigint;
408
+ positionId: string;
409
+ nonce: bigint;
410
+ }
411
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
412
+ type Filter = TypedDeferredTopicFilter<Event>;
413
+ type Log = TypedEventLog<Event>;
414
+ type LogDescription = TypedLogDescription<Event>;
415
+ }
416
+ export declare namespace TradeIntentVerifiedV1010Event {
417
+ type InputTuple = [
418
+ sender: AddressLike,
419
+ action: BigNumberish,
420
+ positionId: BytesLike,
421
+ timestamp: BigNumberish
422
+ ];
423
+ type OutputTuple = [
424
+ sender: string,
425
+ action: bigint,
426
+ positionId: string,
427
+ timestamp: bigint
428
+ ];
429
+ interface OutputObject {
430
+ sender: string;
431
+ action: bigint;
432
+ positionId: string;
433
+ timestamp: bigint;
434
+ }
435
+ type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
436
+ type Filter = TypedDeferredTopicFilter<Event>;
437
+ type Log = TypedEventLog<Event>;
438
+ type LogDescription = TypedLogDescription<Event>;
439
+ }
440
+ export interface TradeIntentsVerifierV1 extends BaseContract {
441
+ connect(runner?: ContractRunner | null): TradeIntentsVerifierV1;
442
+ waitForDeployment(): Promise<this>;
443
+ interface: TradeIntentsVerifierV1Interface;
444
+ queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
445
+ queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
446
+ on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
447
+ on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
448
+ once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
449
+ once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
450
+ listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
451
+ listeners(eventName?: string): Promise<Array<Listener>>;
452
+ removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
453
+ CONTRACT_DOMAIN_NAME: TypedContractMethod<[], [string], "view">;
454
+ CONTRACT_DOMAIN_VERSION: TypedContractMethod<[], [string], "view">;
455
+ CONTRACT_NAME: TypedContractMethod<[], [string], "view">;
456
+ CONTRACT_VERSION: TypedContractMethod<[], [string], "view">;
457
+ DIRECT_PAYLOAD_CANCEL_PENDING_LIMIT_POSITION_TYPE_DESCRIPTOR: TypedContractMethod<[
458
+ ], [
459
+ string
460
+ ], "view">;
461
+ DIRECT_PAYLOAD_UPDATE_PENDING_LIMIT_POSITION_TYPE_DESCRIPTOR: TypedContractMethod<[
462
+ ], [
463
+ string
464
+ ], "view">;
465
+ DYN_ROLE_INTENTS_PERMISSIONS_PREFIX: TypedContractMethod<[
466
+ ], [
467
+ string
468
+ ], "view">;
469
+ EIP712DOMAIN_TYPEHASH: TypedContractMethod<[], [string], "view">;
470
+ POSITION_REQUEST_IDENTIFIERS_TYPE_DESCRIPTOR: TypedContractMethod<[
471
+ ], [
472
+ string
473
+ ], "view">;
474
+ POSITION_REQUEST_PARAMS_TYPE_DESCRIPTOR: TypedContractMethod<[
475
+ ], [
476
+ string
477
+ ], "view">;
478
+ REQUEST_PAYLOAD_CLOSE_MARKET_TYPE_DESCRIPTOR: TypedContractMethod<[
479
+ ], [
480
+ string
481
+ ], "view">;
482
+ REQUEST_PAYLOAD_OPEN_POSITION_TYPE_DESCRIPTOR: TypedContractMethod<[
483
+ ], [
484
+ string
485
+ ], "view">;
486
+ REQUEST_PAYLOAD_UPDATE_POSITION_DOUBLE_FIELD_TYPE_DESCRIPTOR: TypedContractMethod<[
487
+ ], [
488
+ string
489
+ ], "view">;
490
+ REQUEST_PAYLOAD_UPDATE_POSITION_SINGLE_FIELD_TYPE_DESCRIPTOR: TypedContractMethod<[
491
+ ], [
492
+ string
493
+ ], "view">;
494
+ _acceptAdmin: TypedContractMethod<[], [void], "nonpayable">;
495
+ _msgSender: TypedContractMethod<[], [string], "view">;
496
+ _setPendingAdmin: TypedContractMethod<[
497
+ newPendingAdmin: AddressLike
498
+ ], [
499
+ void
500
+ ], "nonpayable">;
501
+ admin: TypedContractMethod<[], [string], "view">;
502
+ domainSeparatorForAsset: TypedContractMethod<[
503
+ asset: AddressLike
504
+ ], [
505
+ string
506
+ ], "view">;
507
+ domainSeparatorForChain: TypedContractMethod<[
508
+ arg0: BigNumberish
509
+ ], [
510
+ string
511
+ ], "view">;
512
+ domainSeparatorsForPosition: TypedContractMethod<[
513
+ arg0: BytesLike
514
+ ], [
515
+ string
516
+ ], "view">;
517
+ getContractName: TypedContractMethod<[], [string], "view">;
518
+ getContractVersion: TypedContractMethod<[], [string], "view">;
519
+ getTradersPortal: TypedContractMethod<[], [string], "view">;
520
+ getTradingFloor: TypedContractMethod<[], [string], "view">;
521
+ intentsPermissions: TypedContractMethod<[
522
+ arg0: AddressLike
523
+ ], [
524
+ string
525
+ ], "view">;
526
+ pendingAdmin: TypedContractMethod<[], [string], "view">;
527
+ processedSignatures: TypedContractMethod<[
528
+ arg0: BytesLike
529
+ ], [
530
+ boolean
531
+ ], "view">;
532
+ recoverCancelPendingLimitPositionSigner: TypedContractMethod<[
533
+ payload: TradeIntentsVerifierV1.UserDirectPayload_CancelPendingLimitPositionStruct,
534
+ v: BigNumberish,
535
+ r: BytesLike,
536
+ s: BytesLike,
537
+ domainSeparator: BytesLike
538
+ ], [
539
+ string
540
+ ], "view">;
541
+ recoverCloseMarketPayloadSigner: TypedContractMethod<[
542
+ payload: TradeIntentsVerifierV1.UserRequestPayload_CloseMarketStruct,
543
+ v: BigNumberish,
544
+ r: BytesLike,
545
+ s: BytesLike,
546
+ domainSeparator: BytesLike
547
+ ], [
548
+ string
549
+ ], "view">;
550
+ recoverOpenPositionPayloadSigner: TypedContractMethod<[
551
+ payload: TradeIntentsVerifierV1.UserRequestPayload_OpenPositionStruct,
552
+ v: BigNumberish,
553
+ r: BytesLike,
554
+ s: BytesLike,
555
+ domainSeparator: BytesLike
556
+ ], [
557
+ string
558
+ ], "view">;
559
+ recoverUpdatePendingLimitPositionSigner: TypedContractMethod<[
560
+ payload: TradeIntentsVerifierV1.UserDirectPayload_UpdatePendingLimitPositionStruct,
561
+ v: BigNumberish,
562
+ r: BytesLike,
563
+ s: BytesLike,
564
+ domainSeparator: BytesLike
565
+ ], [
566
+ string
567
+ ], "view">;
568
+ recoverUpdatePositionDoubleFieldPayloadSigner: TypedContractMethod<[
569
+ payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionDoubleFieldStruct,
570
+ v: BigNumberish,
571
+ r: BytesLike,
572
+ s: BytesLike,
573
+ domainSeparator: BytesLike
574
+ ], [
575
+ string
576
+ ], "view">;
577
+ recoverUpdatePositionSingleFieldPayloadSigner: TypedContractMethod<[
578
+ payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionSingleFieldStruct,
579
+ v: BigNumberish,
580
+ r: BytesLike,
581
+ s: BytesLike,
582
+ domainSeparator: BytesLike
583
+ ], [
584
+ string
585
+ ], "view">;
586
+ registry: TypedContractMethod<[], [string], "view">;
587
+ setIntentsPermissions: TypedContractMethod<[
588
+ oftChip: AddressLike,
589
+ dynAddressSuffix: string
590
+ ], [
591
+ void
592
+ ], "nonpayable">;
593
+ settlementAssetsForPosition: TypedContractMethod<[
594
+ arg0: BytesLike
595
+ ], [
596
+ string
597
+ ], "view">;
598
+ sourceChainIdForAsset: TypedContractMethod<[
599
+ arg0: AddressLike
600
+ ], [
601
+ bigint
602
+ ], "view">;
603
+ storeSourceChainForAsset: TypedContractMethod<[
604
+ asset: AddressLike,
605
+ chainId: BigNumberish
606
+ ], [
607
+ void
608
+ ], "nonpayable">;
609
+ tradersForPosition: TypedContractMethod<[arg0: BytesLike], [string], "view">;
610
+ verifyIntent_traderAction_cancelPendingLimitPosition: TypedContractMethod<[
611
+ payload: TradeIntentsVerifierV1.UserDirectPayload_CancelPendingLimitPositionStruct,
612
+ v: BigNumberish,
613
+ r: BytesLike,
614
+ s: BytesLike
615
+ ], [
616
+ void
617
+ ], "payable">;
618
+ verifyIntent_traderAction_updatePendingLimitPosition: TypedContractMethod<[
619
+ payload: TradeIntentsVerifierV1.UserDirectPayload_UpdatePendingLimitPositionStruct,
620
+ v: BigNumberish,
621
+ r: BytesLike,
622
+ s: BytesLike
623
+ ], [
624
+ void
625
+ ], "payable">;
626
+ verifyIntent_traderRequest_marketClosePosition: TypedContractMethod<[
627
+ payload: TradeIntentsVerifierV1.UserRequestPayload_CloseMarketStruct,
628
+ v: BigNumberish,
629
+ r: BytesLike,
630
+ s: BytesLike
631
+ ], [
632
+ void
633
+ ], "payable">;
634
+ verifyIntent_traderRequest_openNewPosition: TypedContractMethod<[
635
+ payload: TradeIntentsVerifierV1.UserRequestPayload_OpenPositionStruct,
636
+ v: BigNumberish,
637
+ r: BytesLike,
638
+ s: BytesLike,
639
+ domain: BytesLike,
640
+ referralCode: BytesLike,
641
+ runCapTests: boolean
642
+ ], [
643
+ void
644
+ ], "payable">;
645
+ verifyIntent_traderRequest_updatePositionDoubleField: TypedContractMethod<[
646
+ payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionDoubleFieldStruct,
647
+ v: BigNumberish,
648
+ r: BytesLike,
649
+ s: BytesLike
650
+ ], [
651
+ void
652
+ ], "payable">;
653
+ verifyIntent_traderRequest_updatePositionSingleField: TypedContractMethod<[
654
+ payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionSingleFieldStruct,
655
+ v: BigNumberish,
656
+ r: BytesLike,
657
+ s: BytesLike
658
+ ], [
659
+ void
660
+ ], "payable">;
661
+ getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
662
+ getFunction(nameOrSignature: "CONTRACT_DOMAIN_NAME"): TypedContractMethod<[], [string], "view">;
663
+ getFunction(nameOrSignature: "CONTRACT_DOMAIN_VERSION"): TypedContractMethod<[], [string], "view">;
664
+ getFunction(nameOrSignature: "CONTRACT_NAME"): TypedContractMethod<[], [string], "view">;
665
+ getFunction(nameOrSignature: "CONTRACT_VERSION"): TypedContractMethod<[], [string], "view">;
666
+ getFunction(nameOrSignature: "DIRECT_PAYLOAD_CANCEL_PENDING_LIMIT_POSITION_TYPE_DESCRIPTOR"): TypedContractMethod<[], [string], "view">;
667
+ getFunction(nameOrSignature: "DIRECT_PAYLOAD_UPDATE_PENDING_LIMIT_POSITION_TYPE_DESCRIPTOR"): TypedContractMethod<[], [string], "view">;
668
+ getFunction(nameOrSignature: "DYN_ROLE_INTENTS_PERMISSIONS_PREFIX"): TypedContractMethod<[], [string], "view">;
669
+ getFunction(nameOrSignature: "EIP712DOMAIN_TYPEHASH"): TypedContractMethod<[], [string], "view">;
670
+ getFunction(nameOrSignature: "POSITION_REQUEST_IDENTIFIERS_TYPE_DESCRIPTOR"): TypedContractMethod<[], [string], "view">;
671
+ getFunction(nameOrSignature: "POSITION_REQUEST_PARAMS_TYPE_DESCRIPTOR"): TypedContractMethod<[], [string], "view">;
672
+ getFunction(nameOrSignature: "REQUEST_PAYLOAD_CLOSE_MARKET_TYPE_DESCRIPTOR"): TypedContractMethod<[], [string], "view">;
673
+ getFunction(nameOrSignature: "REQUEST_PAYLOAD_OPEN_POSITION_TYPE_DESCRIPTOR"): TypedContractMethod<[], [string], "view">;
674
+ getFunction(nameOrSignature: "REQUEST_PAYLOAD_UPDATE_POSITION_DOUBLE_FIELD_TYPE_DESCRIPTOR"): TypedContractMethod<[], [string], "view">;
675
+ getFunction(nameOrSignature: "REQUEST_PAYLOAD_UPDATE_POSITION_SINGLE_FIELD_TYPE_DESCRIPTOR"): TypedContractMethod<[], [string], "view">;
676
+ getFunction(nameOrSignature: "_acceptAdmin"): TypedContractMethod<[], [void], "nonpayable">;
677
+ getFunction(nameOrSignature: "_msgSender"): TypedContractMethod<[], [string], "view">;
678
+ getFunction(nameOrSignature: "_setPendingAdmin"): TypedContractMethod<[newPendingAdmin: AddressLike], [void], "nonpayable">;
679
+ getFunction(nameOrSignature: "admin"): TypedContractMethod<[], [string], "view">;
680
+ getFunction(nameOrSignature: "domainSeparatorForAsset"): TypedContractMethod<[asset: AddressLike], [string], "view">;
681
+ getFunction(nameOrSignature: "domainSeparatorForChain"): TypedContractMethod<[arg0: BigNumberish], [string], "view">;
682
+ getFunction(nameOrSignature: "domainSeparatorsForPosition"): TypedContractMethod<[arg0: BytesLike], [string], "view">;
683
+ getFunction(nameOrSignature: "getContractName"): TypedContractMethod<[], [string], "view">;
684
+ getFunction(nameOrSignature: "getContractVersion"): TypedContractMethod<[], [string], "view">;
685
+ getFunction(nameOrSignature: "getTradersPortal"): TypedContractMethod<[], [string], "view">;
686
+ getFunction(nameOrSignature: "getTradingFloor"): TypedContractMethod<[], [string], "view">;
687
+ getFunction(nameOrSignature: "intentsPermissions"): TypedContractMethod<[arg0: AddressLike], [string], "view">;
688
+ getFunction(nameOrSignature: "pendingAdmin"): TypedContractMethod<[], [string], "view">;
689
+ getFunction(nameOrSignature: "processedSignatures"): TypedContractMethod<[arg0: BytesLike], [boolean], "view">;
690
+ getFunction(nameOrSignature: "recoverCancelPendingLimitPositionSigner"): TypedContractMethod<[
691
+ payload: TradeIntentsVerifierV1.UserDirectPayload_CancelPendingLimitPositionStruct,
692
+ v: BigNumberish,
693
+ r: BytesLike,
694
+ s: BytesLike,
695
+ domainSeparator: BytesLike
696
+ ], [
697
+ string
698
+ ], "view">;
699
+ getFunction(nameOrSignature: "recoverCloseMarketPayloadSigner"): TypedContractMethod<[
700
+ payload: TradeIntentsVerifierV1.UserRequestPayload_CloseMarketStruct,
701
+ v: BigNumberish,
702
+ r: BytesLike,
703
+ s: BytesLike,
704
+ domainSeparator: BytesLike
705
+ ], [
706
+ string
707
+ ], "view">;
708
+ getFunction(nameOrSignature: "recoverOpenPositionPayloadSigner"): TypedContractMethod<[
709
+ payload: TradeIntentsVerifierV1.UserRequestPayload_OpenPositionStruct,
710
+ v: BigNumberish,
711
+ r: BytesLike,
712
+ s: BytesLike,
713
+ domainSeparator: BytesLike
714
+ ], [
715
+ string
716
+ ], "view">;
717
+ getFunction(nameOrSignature: "recoverUpdatePendingLimitPositionSigner"): TypedContractMethod<[
718
+ payload: TradeIntentsVerifierV1.UserDirectPayload_UpdatePendingLimitPositionStruct,
719
+ v: BigNumberish,
720
+ r: BytesLike,
721
+ s: BytesLike,
722
+ domainSeparator: BytesLike
723
+ ], [
724
+ string
725
+ ], "view">;
726
+ getFunction(nameOrSignature: "recoverUpdatePositionDoubleFieldPayloadSigner"): TypedContractMethod<[
727
+ payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionDoubleFieldStruct,
728
+ v: BigNumberish,
729
+ r: BytesLike,
730
+ s: BytesLike,
731
+ domainSeparator: BytesLike
732
+ ], [
733
+ string
734
+ ], "view">;
735
+ getFunction(nameOrSignature: "recoverUpdatePositionSingleFieldPayloadSigner"): TypedContractMethod<[
736
+ payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionSingleFieldStruct,
737
+ v: BigNumberish,
738
+ r: BytesLike,
739
+ s: BytesLike,
740
+ domainSeparator: BytesLike
741
+ ], [
742
+ string
743
+ ], "view">;
744
+ getFunction(nameOrSignature: "registry"): TypedContractMethod<[], [string], "view">;
745
+ getFunction(nameOrSignature: "setIntentsPermissions"): TypedContractMethod<[
746
+ oftChip: AddressLike,
747
+ dynAddressSuffix: string
748
+ ], [
749
+ void
750
+ ], "nonpayable">;
751
+ getFunction(nameOrSignature: "settlementAssetsForPosition"): TypedContractMethod<[arg0: BytesLike], [string], "view">;
752
+ getFunction(nameOrSignature: "sourceChainIdForAsset"): TypedContractMethod<[arg0: AddressLike], [bigint], "view">;
753
+ getFunction(nameOrSignature: "storeSourceChainForAsset"): TypedContractMethod<[
754
+ asset: AddressLike,
755
+ chainId: BigNumberish
756
+ ], [
757
+ void
758
+ ], "nonpayable">;
759
+ getFunction(nameOrSignature: "tradersForPosition"): TypedContractMethod<[arg0: BytesLike], [string], "view">;
760
+ getFunction(nameOrSignature: "verifyIntent_traderAction_cancelPendingLimitPosition"): TypedContractMethod<[
761
+ payload: TradeIntentsVerifierV1.UserDirectPayload_CancelPendingLimitPositionStruct,
762
+ v: BigNumberish,
763
+ r: BytesLike,
764
+ s: BytesLike
765
+ ], [
766
+ void
767
+ ], "payable">;
768
+ getFunction(nameOrSignature: "verifyIntent_traderAction_updatePendingLimitPosition"): TypedContractMethod<[
769
+ payload: TradeIntentsVerifierV1.UserDirectPayload_UpdatePendingLimitPositionStruct,
770
+ v: BigNumberish,
771
+ r: BytesLike,
772
+ s: BytesLike
773
+ ], [
774
+ void
775
+ ], "payable">;
776
+ getFunction(nameOrSignature: "verifyIntent_traderRequest_marketClosePosition"): TypedContractMethod<[
777
+ payload: TradeIntentsVerifierV1.UserRequestPayload_CloseMarketStruct,
778
+ v: BigNumberish,
779
+ r: BytesLike,
780
+ s: BytesLike
781
+ ], [
782
+ void
783
+ ], "payable">;
784
+ getFunction(nameOrSignature: "verifyIntent_traderRequest_openNewPosition"): TypedContractMethod<[
785
+ payload: TradeIntentsVerifierV1.UserRequestPayload_OpenPositionStruct,
786
+ v: BigNumberish,
787
+ r: BytesLike,
788
+ s: BytesLike,
789
+ domain: BytesLike,
790
+ referralCode: BytesLike,
791
+ runCapTests: boolean
792
+ ], [
793
+ void
794
+ ], "payable">;
795
+ getFunction(nameOrSignature: "verifyIntent_traderRequest_updatePositionDoubleField"): TypedContractMethod<[
796
+ payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionDoubleFieldStruct,
797
+ v: BigNumberish,
798
+ r: BytesLike,
799
+ s: BytesLike
800
+ ], [
801
+ void
802
+ ], "payable">;
803
+ getFunction(nameOrSignature: "verifyIntent_traderRequest_updatePositionSingleField"): TypedContractMethod<[
804
+ payload: TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionSingleFieldStruct,
805
+ v: BigNumberish,
806
+ r: BytesLike,
807
+ s: BytesLike
808
+ ], [
809
+ void
810
+ ], "payable">;
811
+ getEvent(key: "DomainSeparatorForChainStored"): TypedContractEvent<DomainSeparatorForChainStoredEvent.InputTuple, DomainSeparatorForChainStoredEvent.OutputTuple, DomainSeparatorForChainStoredEvent.OutputObject>;
812
+ getEvent(key: "NewAdmin"): TypedContractEvent<NewAdminEvent.InputTuple, NewAdminEvent.OutputTuple, NewAdminEvent.OutputObject>;
813
+ getEvent(key: "NewPendingAdmin"): TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
814
+ getEvent(key: "SourceChainIdForAssetStored"): TypedContractEvent<SourceChainIdForAssetStoredEvent.InputTuple, SourceChainIdForAssetStoredEvent.OutputTuple, SourceChainIdForAssetStoredEvent.OutputObject>;
815
+ getEvent(key: "TradeIntentVerified"): TypedContractEvent<TradeIntentVerifiedEvent.InputTuple, TradeIntentVerifiedEvent.OutputTuple, TradeIntentVerifiedEvent.OutputObject>;
816
+ getEvent(key: "TradeIntentVerifiedV1010"): TypedContractEvent<TradeIntentVerifiedV1010Event.InputTuple, TradeIntentVerifiedV1010Event.OutputTuple, TradeIntentVerifiedV1010Event.OutputObject>;
817
+ filters: {
818
+ "DomainSeparatorForChainStored(uint256,bytes32)": TypedContractEvent<DomainSeparatorForChainStoredEvent.InputTuple, DomainSeparatorForChainStoredEvent.OutputTuple, DomainSeparatorForChainStoredEvent.OutputObject>;
819
+ DomainSeparatorForChainStored: TypedContractEvent<DomainSeparatorForChainStoredEvent.InputTuple, DomainSeparatorForChainStoredEvent.OutputTuple, DomainSeparatorForChainStoredEvent.OutputObject>;
820
+ "NewAdmin(address,address)": TypedContractEvent<NewAdminEvent.InputTuple, NewAdminEvent.OutputTuple, NewAdminEvent.OutputObject>;
821
+ NewAdmin: TypedContractEvent<NewAdminEvent.InputTuple, NewAdminEvent.OutputTuple, NewAdminEvent.OutputObject>;
822
+ "NewPendingAdmin(address,address)": TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
823
+ NewPendingAdmin: TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
824
+ "SourceChainIdForAssetStored(address,uint256)": TypedContractEvent<SourceChainIdForAssetStoredEvent.InputTuple, SourceChainIdForAssetStoredEvent.OutputTuple, SourceChainIdForAssetStoredEvent.OutputObject>;
825
+ SourceChainIdForAssetStored: TypedContractEvent<SourceChainIdForAssetStoredEvent.InputTuple, SourceChainIdForAssetStoredEvent.OutputTuple, SourceChainIdForAssetStoredEvent.OutputObject>;
826
+ "TradeIntentVerified(address,uint8,bytes32,uint256)": TypedContractEvent<TradeIntentVerifiedEvent.InputTuple, TradeIntentVerifiedEvent.OutputTuple, TradeIntentVerifiedEvent.OutputObject>;
827
+ TradeIntentVerified: TypedContractEvent<TradeIntentVerifiedEvent.InputTuple, TradeIntentVerifiedEvent.OutputTuple, TradeIntentVerifiedEvent.OutputObject>;
828
+ "TradeIntentVerifiedV1010(address,uint8,bytes32,uint256)": TypedContractEvent<TradeIntentVerifiedV1010Event.InputTuple, TradeIntentVerifiedV1010Event.OutputTuple, TradeIntentVerifiedV1010Event.OutputObject>;
829
+ TradeIntentVerifiedV1010: TypedContractEvent<TradeIntentVerifiedV1010Event.InputTuple, TradeIntentVerifiedV1010Event.OutputTuple, TradeIntentVerifiedV1010Event.OutputObject>;
830
+ };
831
+ }
832
+ //# sourceMappingURL=TradeIntentsVerifierV1.d.ts.map