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.
- package/dist/cjs/index.js +11 -0
- package/dist/cjs/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +91 -0
- package/dist/cjs/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.js +2 -0
- package/dist/cjs/lib/contractsIntegration/ChipsIntentsVerifierService/index.js +5 -0
- package/dist/cjs/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.js +2 -0
- package/dist/cjs/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +70 -0
- package/dist/cjs/lib/contractsIntegration/LiquidityIntentsVerifierService/index.js +5 -0
- package/dist/cjs/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.js +2 -0
- package/dist/cjs/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +99 -0
- package/dist/cjs/lib/contractsIntegration/TradeIntentsVerifierService/index.js +5 -0
- package/dist/cjs/lib/contractsIntegration/deployedContractsConnector.js +45 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.js +2 -0
- package/dist/cjs/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.js +2 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.js +1129 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.js +870 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.js +1561 -0
- package/dist/cjs/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +1 -1
- package/dist/cjs/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
- package/dist/esm/index.d.ts +9 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +11 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +29 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.js +91 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +24 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.js +2 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/index.d.ts +4 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/ChipsIntentsVerifierService/index.js +5 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +17 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.js +2 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +22 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.js +70 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/index.d.ts +4 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/LiquidityIntentsVerifierService/index.js +5 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +24 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.js +2 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +29 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.js +99 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/index.d.ts +4 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/index.d.ts.map +1 -0
- package/dist/esm/lib/contractsIntegration/TradeIntentsVerifierService/index.js +5 -0
- package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts +15 -0
- package/dist/esm/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
- package/dist/esm/lib/contractsIntegration/deployedContractsConnector.js +45 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.d.ts +643 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.d.ts +508 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.js +2 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.d.ts +832 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.d.ts.map +1 -0
- package/dist/esm/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.js +2 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts +866 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.js +1129 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +670 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.js +870 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1201 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts.map +1 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.js +1561 -0
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.js +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
- package/dist/esm/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.js +1 -1
- package/dist/types/index.d.ts +9 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts +29 -0
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/ChipsIntentsVerifierService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts +24 -0
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/IChipsIntentsVerifierService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/index.d.ts +4 -0
- package/dist/types/lib/contractsIntegration/ChipsIntentsVerifierService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts +17 -0
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/ILiquidityIntentsVerifierService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts +22 -0
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/LiquidityIntentsVerifierService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/index.d.ts +4 -0
- package/dist/types/lib/contractsIntegration/LiquidityIntentsVerifierService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts +24 -0
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/ITradeIntentsVerifierService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts +29 -0
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/TradeIntentsVerifierService.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/index.d.ts +4 -0
- package/dist/types/lib/contractsIntegration/TradeIntentsVerifierService/index.d.ts.map +1 -0
- package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts +15 -0
- package/dist/types/lib/contractsIntegration/deployedContractsConnector.d.ts.map +1 -1
- package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.d.ts +643 -0
- package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.d.ts +508 -0
- package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.d.ts +832 -0
- package/dist/types/lib/typechain/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts +866 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/ChipsIntentsVerifierV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts +670 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/LiquidityIntentsVerifierV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts +1201 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/IntentsVerifier/TradeIntentsVerifierV1__factory.d.ts.map +1 -0
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts +1 -1
- package/dist/types/lib/typechain/factories/contracts/Lynx/TradingFloor/TradingFloorV1__factory.d.ts.map +1 -1
- package/dist/types/lib/typechain/factories/contracts/Peripheral/Lens/TradingFloorLens__factory.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,1561 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TradeIntentsVerifierV1__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "contract IRegistryV1",
|
|
13
|
+
name: "_registry",
|
|
14
|
+
type: "address",
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
stateMutability: "nonpayable",
|
|
18
|
+
type: "constructor",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
anonymous: false,
|
|
22
|
+
inputs: [
|
|
23
|
+
{
|
|
24
|
+
indexed: true,
|
|
25
|
+
internalType: "uint256",
|
|
26
|
+
name: "chainId",
|
|
27
|
+
type: "uint256",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
indexed: false,
|
|
31
|
+
internalType: "bytes32",
|
|
32
|
+
name: "domainSeparator",
|
|
33
|
+
type: "bytes32",
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
name: "DomainSeparatorForChainStored",
|
|
37
|
+
type: "event",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
anonymous: false,
|
|
41
|
+
inputs: [
|
|
42
|
+
{
|
|
43
|
+
indexed: false,
|
|
44
|
+
internalType: "address",
|
|
45
|
+
name: "oldAdmin",
|
|
46
|
+
type: "address",
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
indexed: false,
|
|
50
|
+
internalType: "address",
|
|
51
|
+
name: "newAdmin",
|
|
52
|
+
type: "address",
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
name: "NewAdmin",
|
|
56
|
+
type: "event",
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
anonymous: false,
|
|
60
|
+
inputs: [
|
|
61
|
+
{
|
|
62
|
+
indexed: false,
|
|
63
|
+
internalType: "address",
|
|
64
|
+
name: "oldPendingAdmin",
|
|
65
|
+
type: "address",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
indexed: false,
|
|
69
|
+
internalType: "address",
|
|
70
|
+
name: "newPendingAdmin",
|
|
71
|
+
type: "address",
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
name: "NewPendingAdmin",
|
|
75
|
+
type: "event",
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
anonymous: false,
|
|
79
|
+
inputs: [
|
|
80
|
+
{
|
|
81
|
+
indexed: true,
|
|
82
|
+
internalType: "address",
|
|
83
|
+
name: "asset",
|
|
84
|
+
type: "address",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
indexed: true,
|
|
88
|
+
internalType: "uint256",
|
|
89
|
+
name: "chainId",
|
|
90
|
+
type: "uint256",
|
|
91
|
+
},
|
|
92
|
+
],
|
|
93
|
+
name: "SourceChainIdForAssetStored",
|
|
94
|
+
type: "event",
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
anonymous: false,
|
|
98
|
+
inputs: [
|
|
99
|
+
{
|
|
100
|
+
indexed: true,
|
|
101
|
+
internalType: "address",
|
|
102
|
+
name: "sender",
|
|
103
|
+
type: "address",
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
indexed: true,
|
|
107
|
+
internalType: "enum TradeIntentsVerifierV1.TradeIntentsVerifierActions",
|
|
108
|
+
name: "action",
|
|
109
|
+
type: "uint8",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
indexed: false,
|
|
113
|
+
internalType: "bytes32",
|
|
114
|
+
name: "positionId",
|
|
115
|
+
type: "bytes32",
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
indexed: false,
|
|
119
|
+
internalType: "uint256",
|
|
120
|
+
name: "nonce",
|
|
121
|
+
type: "uint256",
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
name: "TradeIntentVerified",
|
|
125
|
+
type: "event",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
anonymous: false,
|
|
129
|
+
inputs: [
|
|
130
|
+
{
|
|
131
|
+
indexed: true,
|
|
132
|
+
internalType: "address",
|
|
133
|
+
name: "sender",
|
|
134
|
+
type: "address",
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
indexed: true,
|
|
138
|
+
internalType: "enum TradeIntentsVerifierV1.TradeIntentsVerifierActions",
|
|
139
|
+
name: "action",
|
|
140
|
+
type: "uint8",
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
indexed: false,
|
|
144
|
+
internalType: "bytes32",
|
|
145
|
+
name: "positionId",
|
|
146
|
+
type: "bytes32",
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
indexed: false,
|
|
150
|
+
internalType: "uint256",
|
|
151
|
+
name: "timestamp",
|
|
152
|
+
type: "uint256",
|
|
153
|
+
},
|
|
154
|
+
],
|
|
155
|
+
name: "TradeIntentVerifiedV1010",
|
|
156
|
+
type: "event",
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
inputs: [],
|
|
160
|
+
name: "CONTRACT_DOMAIN_NAME",
|
|
161
|
+
outputs: [
|
|
162
|
+
{
|
|
163
|
+
internalType: "string",
|
|
164
|
+
name: "",
|
|
165
|
+
type: "string",
|
|
166
|
+
},
|
|
167
|
+
],
|
|
168
|
+
stateMutability: "view",
|
|
169
|
+
type: "function",
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
inputs: [],
|
|
173
|
+
name: "CONTRACT_DOMAIN_VERSION",
|
|
174
|
+
outputs: [
|
|
175
|
+
{
|
|
176
|
+
internalType: "string",
|
|
177
|
+
name: "",
|
|
178
|
+
type: "string",
|
|
179
|
+
},
|
|
180
|
+
],
|
|
181
|
+
stateMutability: "view",
|
|
182
|
+
type: "function",
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
inputs: [],
|
|
186
|
+
name: "CONTRACT_NAME",
|
|
187
|
+
outputs: [
|
|
188
|
+
{
|
|
189
|
+
internalType: "string",
|
|
190
|
+
name: "",
|
|
191
|
+
type: "string",
|
|
192
|
+
},
|
|
193
|
+
],
|
|
194
|
+
stateMutability: "view",
|
|
195
|
+
type: "function",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
inputs: [],
|
|
199
|
+
name: "CONTRACT_VERSION",
|
|
200
|
+
outputs: [
|
|
201
|
+
{
|
|
202
|
+
internalType: "string",
|
|
203
|
+
name: "",
|
|
204
|
+
type: "string",
|
|
205
|
+
},
|
|
206
|
+
],
|
|
207
|
+
stateMutability: "view",
|
|
208
|
+
type: "function",
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
inputs: [],
|
|
212
|
+
name: "DIRECT_PAYLOAD_CANCEL_PENDING_LIMIT_POSITION_TYPE_DESCRIPTOR",
|
|
213
|
+
outputs: [
|
|
214
|
+
{
|
|
215
|
+
internalType: "string",
|
|
216
|
+
name: "",
|
|
217
|
+
type: "string",
|
|
218
|
+
},
|
|
219
|
+
],
|
|
220
|
+
stateMutability: "view",
|
|
221
|
+
type: "function",
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
inputs: [],
|
|
225
|
+
name: "DIRECT_PAYLOAD_UPDATE_PENDING_LIMIT_POSITION_TYPE_DESCRIPTOR",
|
|
226
|
+
outputs: [
|
|
227
|
+
{
|
|
228
|
+
internalType: "string",
|
|
229
|
+
name: "",
|
|
230
|
+
type: "string",
|
|
231
|
+
},
|
|
232
|
+
],
|
|
233
|
+
stateMutability: "view",
|
|
234
|
+
type: "function",
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
inputs: [],
|
|
238
|
+
name: "DYN_ROLE_INTENTS_PERMISSIONS_PREFIX",
|
|
239
|
+
outputs: [
|
|
240
|
+
{
|
|
241
|
+
internalType: "string",
|
|
242
|
+
name: "",
|
|
243
|
+
type: "string",
|
|
244
|
+
},
|
|
245
|
+
],
|
|
246
|
+
stateMutability: "view",
|
|
247
|
+
type: "function",
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
inputs: [],
|
|
251
|
+
name: "EIP712DOMAIN_TYPEHASH",
|
|
252
|
+
outputs: [
|
|
253
|
+
{
|
|
254
|
+
internalType: "bytes32",
|
|
255
|
+
name: "",
|
|
256
|
+
type: "bytes32",
|
|
257
|
+
},
|
|
258
|
+
],
|
|
259
|
+
stateMutability: "view",
|
|
260
|
+
type: "function",
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
inputs: [],
|
|
264
|
+
name: "POSITION_REQUEST_IDENTIFIERS_TYPE_DESCRIPTOR",
|
|
265
|
+
outputs: [
|
|
266
|
+
{
|
|
267
|
+
internalType: "string",
|
|
268
|
+
name: "",
|
|
269
|
+
type: "string",
|
|
270
|
+
},
|
|
271
|
+
],
|
|
272
|
+
stateMutability: "view",
|
|
273
|
+
type: "function",
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
inputs: [],
|
|
277
|
+
name: "POSITION_REQUEST_PARAMS_TYPE_DESCRIPTOR",
|
|
278
|
+
outputs: [
|
|
279
|
+
{
|
|
280
|
+
internalType: "string",
|
|
281
|
+
name: "",
|
|
282
|
+
type: "string",
|
|
283
|
+
},
|
|
284
|
+
],
|
|
285
|
+
stateMutability: "view",
|
|
286
|
+
type: "function",
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
inputs: [],
|
|
290
|
+
name: "REQUEST_PAYLOAD_CLOSE_MARKET_TYPE_DESCRIPTOR",
|
|
291
|
+
outputs: [
|
|
292
|
+
{
|
|
293
|
+
internalType: "string",
|
|
294
|
+
name: "",
|
|
295
|
+
type: "string",
|
|
296
|
+
},
|
|
297
|
+
],
|
|
298
|
+
stateMutability: "view",
|
|
299
|
+
type: "function",
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
inputs: [],
|
|
303
|
+
name: "REQUEST_PAYLOAD_OPEN_POSITION_TYPE_DESCRIPTOR",
|
|
304
|
+
outputs: [
|
|
305
|
+
{
|
|
306
|
+
internalType: "string",
|
|
307
|
+
name: "",
|
|
308
|
+
type: "string",
|
|
309
|
+
},
|
|
310
|
+
],
|
|
311
|
+
stateMutability: "view",
|
|
312
|
+
type: "function",
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
inputs: [],
|
|
316
|
+
name: "REQUEST_PAYLOAD_UPDATE_POSITION_DOUBLE_FIELD_TYPE_DESCRIPTOR",
|
|
317
|
+
outputs: [
|
|
318
|
+
{
|
|
319
|
+
internalType: "string",
|
|
320
|
+
name: "",
|
|
321
|
+
type: "string",
|
|
322
|
+
},
|
|
323
|
+
],
|
|
324
|
+
stateMutability: "view",
|
|
325
|
+
type: "function",
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
inputs: [],
|
|
329
|
+
name: "REQUEST_PAYLOAD_UPDATE_POSITION_SINGLE_FIELD_TYPE_DESCRIPTOR",
|
|
330
|
+
outputs: [
|
|
331
|
+
{
|
|
332
|
+
internalType: "string",
|
|
333
|
+
name: "",
|
|
334
|
+
type: "string",
|
|
335
|
+
},
|
|
336
|
+
],
|
|
337
|
+
stateMutability: "view",
|
|
338
|
+
type: "function",
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
inputs: [],
|
|
342
|
+
name: "_acceptAdmin",
|
|
343
|
+
outputs: [],
|
|
344
|
+
stateMutability: "nonpayable",
|
|
345
|
+
type: "function",
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
inputs: [],
|
|
349
|
+
name: "_msgSender",
|
|
350
|
+
outputs: [
|
|
351
|
+
{
|
|
352
|
+
internalType: "address",
|
|
353
|
+
name: "",
|
|
354
|
+
type: "address",
|
|
355
|
+
},
|
|
356
|
+
],
|
|
357
|
+
stateMutability: "view",
|
|
358
|
+
type: "function",
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
inputs: [
|
|
362
|
+
{
|
|
363
|
+
internalType: "address",
|
|
364
|
+
name: "newPendingAdmin",
|
|
365
|
+
type: "address",
|
|
366
|
+
},
|
|
367
|
+
],
|
|
368
|
+
name: "_setPendingAdmin",
|
|
369
|
+
outputs: [],
|
|
370
|
+
stateMutability: "nonpayable",
|
|
371
|
+
type: "function",
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
inputs: [],
|
|
375
|
+
name: "admin",
|
|
376
|
+
outputs: [
|
|
377
|
+
{
|
|
378
|
+
internalType: "address",
|
|
379
|
+
name: "",
|
|
380
|
+
type: "address",
|
|
381
|
+
},
|
|
382
|
+
],
|
|
383
|
+
stateMutability: "view",
|
|
384
|
+
type: "function",
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
inputs: [
|
|
388
|
+
{
|
|
389
|
+
internalType: "address",
|
|
390
|
+
name: "asset",
|
|
391
|
+
type: "address",
|
|
392
|
+
},
|
|
393
|
+
],
|
|
394
|
+
name: "domainSeparatorForAsset",
|
|
395
|
+
outputs: [
|
|
396
|
+
{
|
|
397
|
+
internalType: "bytes32",
|
|
398
|
+
name: "",
|
|
399
|
+
type: "bytes32",
|
|
400
|
+
},
|
|
401
|
+
],
|
|
402
|
+
stateMutability: "view",
|
|
403
|
+
type: "function",
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
inputs: [
|
|
407
|
+
{
|
|
408
|
+
internalType: "uint256",
|
|
409
|
+
name: "",
|
|
410
|
+
type: "uint256",
|
|
411
|
+
},
|
|
412
|
+
],
|
|
413
|
+
name: "domainSeparatorForChain",
|
|
414
|
+
outputs: [
|
|
415
|
+
{
|
|
416
|
+
internalType: "bytes32",
|
|
417
|
+
name: "",
|
|
418
|
+
type: "bytes32",
|
|
419
|
+
},
|
|
420
|
+
],
|
|
421
|
+
stateMutability: "view",
|
|
422
|
+
type: "function",
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
inputs: [
|
|
426
|
+
{
|
|
427
|
+
internalType: "bytes32",
|
|
428
|
+
name: "",
|
|
429
|
+
type: "bytes32",
|
|
430
|
+
},
|
|
431
|
+
],
|
|
432
|
+
name: "domainSeparatorsForPosition",
|
|
433
|
+
outputs: [
|
|
434
|
+
{
|
|
435
|
+
internalType: "bytes32",
|
|
436
|
+
name: "",
|
|
437
|
+
type: "bytes32",
|
|
438
|
+
},
|
|
439
|
+
],
|
|
440
|
+
stateMutability: "view",
|
|
441
|
+
type: "function",
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
inputs: [],
|
|
445
|
+
name: "getContractName",
|
|
446
|
+
outputs: [
|
|
447
|
+
{
|
|
448
|
+
internalType: "string",
|
|
449
|
+
name: "",
|
|
450
|
+
type: "string",
|
|
451
|
+
},
|
|
452
|
+
],
|
|
453
|
+
stateMutability: "pure",
|
|
454
|
+
type: "function",
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
inputs: [],
|
|
458
|
+
name: "getContractVersion",
|
|
459
|
+
outputs: [
|
|
460
|
+
{
|
|
461
|
+
internalType: "string",
|
|
462
|
+
name: "",
|
|
463
|
+
type: "string",
|
|
464
|
+
},
|
|
465
|
+
],
|
|
466
|
+
stateMutability: "pure",
|
|
467
|
+
type: "function",
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
inputs: [],
|
|
471
|
+
name: "getTradersPortal",
|
|
472
|
+
outputs: [
|
|
473
|
+
{
|
|
474
|
+
internalType: "contract ITradersPortalV1",
|
|
475
|
+
name: "",
|
|
476
|
+
type: "address",
|
|
477
|
+
},
|
|
478
|
+
],
|
|
479
|
+
stateMutability: "view",
|
|
480
|
+
type: "function",
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
inputs: [],
|
|
484
|
+
name: "getTradingFloor",
|
|
485
|
+
outputs: [
|
|
486
|
+
{
|
|
487
|
+
internalType: "contract ITradingFloorV1",
|
|
488
|
+
name: "",
|
|
489
|
+
type: "address",
|
|
490
|
+
},
|
|
491
|
+
],
|
|
492
|
+
stateMutability: "view",
|
|
493
|
+
type: "function",
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
inputs: [
|
|
497
|
+
{
|
|
498
|
+
internalType: "contract OFTChip",
|
|
499
|
+
name: "",
|
|
500
|
+
type: "address",
|
|
501
|
+
},
|
|
502
|
+
],
|
|
503
|
+
name: "intentsPermissions",
|
|
504
|
+
outputs: [
|
|
505
|
+
{
|
|
506
|
+
internalType: "string",
|
|
507
|
+
name: "",
|
|
508
|
+
type: "string",
|
|
509
|
+
},
|
|
510
|
+
],
|
|
511
|
+
stateMutability: "view",
|
|
512
|
+
type: "function",
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
inputs: [],
|
|
516
|
+
name: "pendingAdmin",
|
|
517
|
+
outputs: [
|
|
518
|
+
{
|
|
519
|
+
internalType: "address",
|
|
520
|
+
name: "",
|
|
521
|
+
type: "address",
|
|
522
|
+
},
|
|
523
|
+
],
|
|
524
|
+
stateMutability: "view",
|
|
525
|
+
type: "function",
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
inputs: [
|
|
529
|
+
{
|
|
530
|
+
internalType: "bytes32",
|
|
531
|
+
name: "",
|
|
532
|
+
type: "bytes32",
|
|
533
|
+
},
|
|
534
|
+
],
|
|
535
|
+
name: "processedSignatures",
|
|
536
|
+
outputs: [
|
|
537
|
+
{
|
|
538
|
+
internalType: "bool",
|
|
539
|
+
name: "",
|
|
540
|
+
type: "bool",
|
|
541
|
+
},
|
|
542
|
+
],
|
|
543
|
+
stateMutability: "view",
|
|
544
|
+
type: "function",
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
inputs: [
|
|
548
|
+
{
|
|
549
|
+
components: [
|
|
550
|
+
{
|
|
551
|
+
internalType: "uint256",
|
|
552
|
+
name: "timestamp",
|
|
553
|
+
type: "uint256",
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
internalType: "uint256",
|
|
557
|
+
name: "validUntil",
|
|
558
|
+
type: "uint256",
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
internalType: "bytes32",
|
|
562
|
+
name: "positionId",
|
|
563
|
+
type: "bytes32",
|
|
564
|
+
},
|
|
565
|
+
],
|
|
566
|
+
internalType: "struct TradeIntentsVerifierV1.UserDirectPayload_CancelPendingLimitPosition",
|
|
567
|
+
name: "payload",
|
|
568
|
+
type: "tuple",
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
internalType: "uint8",
|
|
572
|
+
name: "v",
|
|
573
|
+
type: "uint8",
|
|
574
|
+
},
|
|
575
|
+
{
|
|
576
|
+
internalType: "bytes32",
|
|
577
|
+
name: "r",
|
|
578
|
+
type: "bytes32",
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
internalType: "bytes32",
|
|
582
|
+
name: "s",
|
|
583
|
+
type: "bytes32",
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
internalType: "bytes32",
|
|
587
|
+
name: "domainSeparator",
|
|
588
|
+
type: "bytes32",
|
|
589
|
+
},
|
|
590
|
+
],
|
|
591
|
+
name: "recoverCancelPendingLimitPositionSigner",
|
|
592
|
+
outputs: [
|
|
593
|
+
{
|
|
594
|
+
internalType: "address",
|
|
595
|
+
name: "",
|
|
596
|
+
type: "address",
|
|
597
|
+
},
|
|
598
|
+
],
|
|
599
|
+
stateMutability: "pure",
|
|
600
|
+
type: "function",
|
|
601
|
+
},
|
|
602
|
+
{
|
|
603
|
+
inputs: [
|
|
604
|
+
{
|
|
605
|
+
components: [
|
|
606
|
+
{
|
|
607
|
+
internalType: "uint256",
|
|
608
|
+
name: "timestamp",
|
|
609
|
+
type: "uint256",
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
internalType: "uint256",
|
|
613
|
+
name: "validUntil",
|
|
614
|
+
type: "uint256",
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
internalType: "bytes32",
|
|
618
|
+
name: "positionId",
|
|
619
|
+
type: "bytes32",
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
internalType: "uint64",
|
|
623
|
+
name: "minPrice",
|
|
624
|
+
type: "uint64",
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
internalType: "uint64",
|
|
628
|
+
name: "maxPrice",
|
|
629
|
+
type: "uint64",
|
|
630
|
+
},
|
|
631
|
+
],
|
|
632
|
+
internalType: "struct TradeIntentsVerifierV1.UserRequestPayload_CloseMarket",
|
|
633
|
+
name: "payload",
|
|
634
|
+
type: "tuple",
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
internalType: "uint8",
|
|
638
|
+
name: "v",
|
|
639
|
+
type: "uint8",
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
internalType: "bytes32",
|
|
643
|
+
name: "r",
|
|
644
|
+
type: "bytes32",
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
internalType: "bytes32",
|
|
648
|
+
name: "s",
|
|
649
|
+
type: "bytes32",
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
internalType: "bytes32",
|
|
653
|
+
name: "domainSeparator",
|
|
654
|
+
type: "bytes32",
|
|
655
|
+
},
|
|
656
|
+
],
|
|
657
|
+
name: "recoverCloseMarketPayloadSigner",
|
|
658
|
+
outputs: [
|
|
659
|
+
{
|
|
660
|
+
internalType: "address",
|
|
661
|
+
name: "",
|
|
662
|
+
type: "address",
|
|
663
|
+
},
|
|
664
|
+
],
|
|
665
|
+
stateMutability: "pure",
|
|
666
|
+
type: "function",
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
inputs: [
|
|
670
|
+
{
|
|
671
|
+
components: [
|
|
672
|
+
{
|
|
673
|
+
internalType: "uint256",
|
|
674
|
+
name: "timestamp",
|
|
675
|
+
type: "uint256",
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
internalType: "uint256",
|
|
679
|
+
name: "validUntil",
|
|
680
|
+
type: "uint256",
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
components: [
|
|
684
|
+
{
|
|
685
|
+
internalType: "address",
|
|
686
|
+
name: "trader",
|
|
687
|
+
type: "address",
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
internalType: "uint16",
|
|
691
|
+
name: "pairId",
|
|
692
|
+
type: "uint16",
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
internalType: "address",
|
|
696
|
+
name: "settlementAsset",
|
|
697
|
+
type: "address",
|
|
698
|
+
},
|
|
699
|
+
],
|
|
700
|
+
internalType: "struct TradingFloorStructsV1.PositionRequestIdentifiers",
|
|
701
|
+
name: "positionRequestIdentifiers",
|
|
702
|
+
type: "tuple",
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
components: [
|
|
706
|
+
{
|
|
707
|
+
internalType: "bool",
|
|
708
|
+
name: "long",
|
|
709
|
+
type: "bool",
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
internalType: "uint256",
|
|
713
|
+
name: "collateral",
|
|
714
|
+
type: "uint256",
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
internalType: "uint32",
|
|
718
|
+
name: "leverage",
|
|
719
|
+
type: "uint32",
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
internalType: "uint64",
|
|
723
|
+
name: "minPrice",
|
|
724
|
+
type: "uint64",
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
internalType: "uint64",
|
|
728
|
+
name: "maxPrice",
|
|
729
|
+
type: "uint64",
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
internalType: "uint64",
|
|
733
|
+
name: "tp",
|
|
734
|
+
type: "uint64",
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
internalType: "uint64",
|
|
738
|
+
name: "sl",
|
|
739
|
+
type: "uint64",
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
internalType: "uint64",
|
|
743
|
+
name: "tpByFraction",
|
|
744
|
+
type: "uint64",
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
internalType: "uint64",
|
|
748
|
+
name: "slByFraction",
|
|
749
|
+
type: "uint64",
|
|
750
|
+
},
|
|
751
|
+
],
|
|
752
|
+
internalType: "struct TradingFloorStructsV1.PositionRequestParams",
|
|
753
|
+
name: "positionRequestParams",
|
|
754
|
+
type: "tuple",
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
internalType: "enum TradingEnumsV1.OpenOrderType",
|
|
758
|
+
name: "orderType",
|
|
759
|
+
type: "uint8",
|
|
760
|
+
},
|
|
761
|
+
],
|
|
762
|
+
internalType: "struct TradeIntentsVerifierV1.UserRequestPayload_OpenPosition",
|
|
763
|
+
name: "payload",
|
|
764
|
+
type: "tuple",
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
internalType: "uint8",
|
|
768
|
+
name: "v",
|
|
769
|
+
type: "uint8",
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
internalType: "bytes32",
|
|
773
|
+
name: "r",
|
|
774
|
+
type: "bytes32",
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
internalType: "bytes32",
|
|
778
|
+
name: "s",
|
|
779
|
+
type: "bytes32",
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
internalType: "bytes32",
|
|
783
|
+
name: "domainSeparator",
|
|
784
|
+
type: "bytes32",
|
|
785
|
+
},
|
|
786
|
+
],
|
|
787
|
+
name: "recoverOpenPositionPayloadSigner",
|
|
788
|
+
outputs: [
|
|
789
|
+
{
|
|
790
|
+
internalType: "address",
|
|
791
|
+
name: "",
|
|
792
|
+
type: "address",
|
|
793
|
+
},
|
|
794
|
+
],
|
|
795
|
+
stateMutability: "pure",
|
|
796
|
+
type: "function",
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
inputs: [
|
|
800
|
+
{
|
|
801
|
+
components: [
|
|
802
|
+
{
|
|
803
|
+
internalType: "uint256",
|
|
804
|
+
name: "timestamp",
|
|
805
|
+
type: "uint256",
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
internalType: "uint256",
|
|
809
|
+
name: "validUntil",
|
|
810
|
+
type: "uint256",
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
internalType: "bytes32",
|
|
814
|
+
name: "positionId",
|
|
815
|
+
type: "bytes32",
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
internalType: "uint64",
|
|
819
|
+
name: "minPrice",
|
|
820
|
+
type: "uint64",
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
internalType: "uint64",
|
|
824
|
+
name: "maxPrice",
|
|
825
|
+
type: "uint64",
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
internalType: "uint64",
|
|
829
|
+
name: "tp",
|
|
830
|
+
type: "uint64",
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
internalType: "uint64",
|
|
834
|
+
name: "sl",
|
|
835
|
+
type: "uint64",
|
|
836
|
+
},
|
|
837
|
+
],
|
|
838
|
+
internalType: "struct TradeIntentsVerifierV1.UserDirectPayload_UpdatePendingLimitPosition",
|
|
839
|
+
name: "payload",
|
|
840
|
+
type: "tuple",
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
internalType: "uint8",
|
|
844
|
+
name: "v",
|
|
845
|
+
type: "uint8",
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
internalType: "bytes32",
|
|
849
|
+
name: "r",
|
|
850
|
+
type: "bytes32",
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
internalType: "bytes32",
|
|
854
|
+
name: "s",
|
|
855
|
+
type: "bytes32",
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
internalType: "bytes32",
|
|
859
|
+
name: "domainSeparator",
|
|
860
|
+
type: "bytes32",
|
|
861
|
+
},
|
|
862
|
+
],
|
|
863
|
+
name: "recoverUpdatePendingLimitPositionSigner",
|
|
864
|
+
outputs: [
|
|
865
|
+
{
|
|
866
|
+
internalType: "address",
|
|
867
|
+
name: "",
|
|
868
|
+
type: "address",
|
|
869
|
+
},
|
|
870
|
+
],
|
|
871
|
+
stateMutability: "pure",
|
|
872
|
+
type: "function",
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
inputs: [
|
|
876
|
+
{
|
|
877
|
+
components: [
|
|
878
|
+
{
|
|
879
|
+
internalType: "uint256",
|
|
880
|
+
name: "timestamp",
|
|
881
|
+
type: "uint256",
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
internalType: "uint256",
|
|
885
|
+
name: "validUntil",
|
|
886
|
+
type: "uint256",
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
internalType: "bytes32",
|
|
890
|
+
name: "positionId",
|
|
891
|
+
type: "bytes32",
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
internalType: "enum OrderBookStructsV1.UpdatePositionFieldOrderType",
|
|
895
|
+
name: "orderType",
|
|
896
|
+
type: "uint8",
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
internalType: "uint64",
|
|
900
|
+
name: "fieldValueA",
|
|
901
|
+
type: "uint64",
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
internalType: "uint64",
|
|
905
|
+
name: "fieldValueB",
|
|
906
|
+
type: "uint64",
|
|
907
|
+
},
|
|
908
|
+
],
|
|
909
|
+
internalType: "struct TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionDoubleField",
|
|
910
|
+
name: "payload",
|
|
911
|
+
type: "tuple",
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
internalType: "uint8",
|
|
915
|
+
name: "v",
|
|
916
|
+
type: "uint8",
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
internalType: "bytes32",
|
|
920
|
+
name: "r",
|
|
921
|
+
type: "bytes32",
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
internalType: "bytes32",
|
|
925
|
+
name: "s",
|
|
926
|
+
type: "bytes32",
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
internalType: "bytes32",
|
|
930
|
+
name: "domainSeparator",
|
|
931
|
+
type: "bytes32",
|
|
932
|
+
},
|
|
933
|
+
],
|
|
934
|
+
name: "recoverUpdatePositionDoubleFieldPayloadSigner",
|
|
935
|
+
outputs: [
|
|
936
|
+
{
|
|
937
|
+
internalType: "address",
|
|
938
|
+
name: "",
|
|
939
|
+
type: "address",
|
|
940
|
+
},
|
|
941
|
+
],
|
|
942
|
+
stateMutability: "pure",
|
|
943
|
+
type: "function",
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
inputs: [
|
|
947
|
+
{
|
|
948
|
+
components: [
|
|
949
|
+
{
|
|
950
|
+
internalType: "uint256",
|
|
951
|
+
name: "timestamp",
|
|
952
|
+
type: "uint256",
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
internalType: "uint256",
|
|
956
|
+
name: "validUntil",
|
|
957
|
+
type: "uint256",
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
internalType: "bytes32",
|
|
961
|
+
name: "positionId",
|
|
962
|
+
type: "bytes32",
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
internalType: "enum OrderBookStructsV1.UpdatePositionFieldOrderType",
|
|
966
|
+
name: "orderType",
|
|
967
|
+
type: "uint8",
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
internalType: "uint64",
|
|
971
|
+
name: "fieldValue",
|
|
972
|
+
type: "uint64",
|
|
973
|
+
},
|
|
974
|
+
],
|
|
975
|
+
internalType: "struct TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionSingleField",
|
|
976
|
+
name: "payload",
|
|
977
|
+
type: "tuple",
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
internalType: "uint8",
|
|
981
|
+
name: "v",
|
|
982
|
+
type: "uint8",
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
internalType: "bytes32",
|
|
986
|
+
name: "r",
|
|
987
|
+
type: "bytes32",
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
internalType: "bytes32",
|
|
991
|
+
name: "s",
|
|
992
|
+
type: "bytes32",
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
internalType: "bytes32",
|
|
996
|
+
name: "domainSeparator",
|
|
997
|
+
type: "bytes32",
|
|
998
|
+
},
|
|
999
|
+
],
|
|
1000
|
+
name: "recoverUpdatePositionSingleFieldPayloadSigner",
|
|
1001
|
+
outputs: [
|
|
1002
|
+
{
|
|
1003
|
+
internalType: "address",
|
|
1004
|
+
name: "",
|
|
1005
|
+
type: "address",
|
|
1006
|
+
},
|
|
1007
|
+
],
|
|
1008
|
+
stateMutability: "pure",
|
|
1009
|
+
type: "function",
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
inputs: [],
|
|
1013
|
+
name: "registry",
|
|
1014
|
+
outputs: [
|
|
1015
|
+
{
|
|
1016
|
+
internalType: "contract IRegistryV1",
|
|
1017
|
+
name: "",
|
|
1018
|
+
type: "address",
|
|
1019
|
+
},
|
|
1020
|
+
],
|
|
1021
|
+
stateMutability: "view",
|
|
1022
|
+
type: "function",
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
inputs: [
|
|
1026
|
+
{
|
|
1027
|
+
internalType: "contract OFTChip",
|
|
1028
|
+
name: "oftChip",
|
|
1029
|
+
type: "address",
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
internalType: "string",
|
|
1033
|
+
name: "dynAddressSuffix",
|
|
1034
|
+
type: "string",
|
|
1035
|
+
},
|
|
1036
|
+
],
|
|
1037
|
+
name: "setIntentsPermissions",
|
|
1038
|
+
outputs: [],
|
|
1039
|
+
stateMutability: "nonpayable",
|
|
1040
|
+
type: "function",
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
inputs: [
|
|
1044
|
+
{
|
|
1045
|
+
internalType: "bytes32",
|
|
1046
|
+
name: "",
|
|
1047
|
+
type: "bytes32",
|
|
1048
|
+
},
|
|
1049
|
+
],
|
|
1050
|
+
name: "settlementAssetsForPosition",
|
|
1051
|
+
outputs: [
|
|
1052
|
+
{
|
|
1053
|
+
internalType: "address",
|
|
1054
|
+
name: "",
|
|
1055
|
+
type: "address",
|
|
1056
|
+
},
|
|
1057
|
+
],
|
|
1058
|
+
stateMutability: "view",
|
|
1059
|
+
type: "function",
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
inputs: [
|
|
1063
|
+
{
|
|
1064
|
+
internalType: "address",
|
|
1065
|
+
name: "",
|
|
1066
|
+
type: "address",
|
|
1067
|
+
},
|
|
1068
|
+
],
|
|
1069
|
+
name: "sourceChainIdForAsset",
|
|
1070
|
+
outputs: [
|
|
1071
|
+
{
|
|
1072
|
+
internalType: "uint256",
|
|
1073
|
+
name: "",
|
|
1074
|
+
type: "uint256",
|
|
1075
|
+
},
|
|
1076
|
+
],
|
|
1077
|
+
stateMutability: "view",
|
|
1078
|
+
type: "function",
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
inputs: [
|
|
1082
|
+
{
|
|
1083
|
+
internalType: "address",
|
|
1084
|
+
name: "asset",
|
|
1085
|
+
type: "address",
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
internalType: "uint256",
|
|
1089
|
+
name: "chainId",
|
|
1090
|
+
type: "uint256",
|
|
1091
|
+
},
|
|
1092
|
+
],
|
|
1093
|
+
name: "storeSourceChainForAsset",
|
|
1094
|
+
outputs: [],
|
|
1095
|
+
stateMutability: "nonpayable",
|
|
1096
|
+
type: "function",
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
inputs: [
|
|
1100
|
+
{
|
|
1101
|
+
internalType: "bytes32",
|
|
1102
|
+
name: "",
|
|
1103
|
+
type: "bytes32",
|
|
1104
|
+
},
|
|
1105
|
+
],
|
|
1106
|
+
name: "tradersForPosition",
|
|
1107
|
+
outputs: [
|
|
1108
|
+
{
|
|
1109
|
+
internalType: "address",
|
|
1110
|
+
name: "",
|
|
1111
|
+
type: "address",
|
|
1112
|
+
},
|
|
1113
|
+
],
|
|
1114
|
+
stateMutability: "view",
|
|
1115
|
+
type: "function",
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
inputs: [
|
|
1119
|
+
{
|
|
1120
|
+
components: [
|
|
1121
|
+
{
|
|
1122
|
+
internalType: "uint256",
|
|
1123
|
+
name: "timestamp",
|
|
1124
|
+
type: "uint256",
|
|
1125
|
+
},
|
|
1126
|
+
{
|
|
1127
|
+
internalType: "uint256",
|
|
1128
|
+
name: "validUntil",
|
|
1129
|
+
type: "uint256",
|
|
1130
|
+
},
|
|
1131
|
+
{
|
|
1132
|
+
internalType: "bytes32",
|
|
1133
|
+
name: "positionId",
|
|
1134
|
+
type: "bytes32",
|
|
1135
|
+
},
|
|
1136
|
+
],
|
|
1137
|
+
internalType: "struct TradeIntentsVerifierV1.UserDirectPayload_CancelPendingLimitPosition",
|
|
1138
|
+
name: "payload",
|
|
1139
|
+
type: "tuple",
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
internalType: "uint8",
|
|
1143
|
+
name: "v",
|
|
1144
|
+
type: "uint8",
|
|
1145
|
+
},
|
|
1146
|
+
{
|
|
1147
|
+
internalType: "bytes32",
|
|
1148
|
+
name: "r",
|
|
1149
|
+
type: "bytes32",
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
internalType: "bytes32",
|
|
1153
|
+
name: "s",
|
|
1154
|
+
type: "bytes32",
|
|
1155
|
+
},
|
|
1156
|
+
],
|
|
1157
|
+
name: "verifyIntent_traderAction_cancelPendingLimitPosition",
|
|
1158
|
+
outputs: [],
|
|
1159
|
+
stateMutability: "payable",
|
|
1160
|
+
type: "function",
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
inputs: [
|
|
1164
|
+
{
|
|
1165
|
+
components: [
|
|
1166
|
+
{
|
|
1167
|
+
internalType: "uint256",
|
|
1168
|
+
name: "timestamp",
|
|
1169
|
+
type: "uint256",
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
internalType: "uint256",
|
|
1173
|
+
name: "validUntil",
|
|
1174
|
+
type: "uint256",
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
internalType: "bytes32",
|
|
1178
|
+
name: "positionId",
|
|
1179
|
+
type: "bytes32",
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
internalType: "uint64",
|
|
1183
|
+
name: "minPrice",
|
|
1184
|
+
type: "uint64",
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
internalType: "uint64",
|
|
1188
|
+
name: "maxPrice",
|
|
1189
|
+
type: "uint64",
|
|
1190
|
+
},
|
|
1191
|
+
{
|
|
1192
|
+
internalType: "uint64",
|
|
1193
|
+
name: "tp",
|
|
1194
|
+
type: "uint64",
|
|
1195
|
+
},
|
|
1196
|
+
{
|
|
1197
|
+
internalType: "uint64",
|
|
1198
|
+
name: "sl",
|
|
1199
|
+
type: "uint64",
|
|
1200
|
+
},
|
|
1201
|
+
],
|
|
1202
|
+
internalType: "struct TradeIntentsVerifierV1.UserDirectPayload_UpdatePendingLimitPosition",
|
|
1203
|
+
name: "payload",
|
|
1204
|
+
type: "tuple",
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
internalType: "uint8",
|
|
1208
|
+
name: "v",
|
|
1209
|
+
type: "uint8",
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
internalType: "bytes32",
|
|
1213
|
+
name: "r",
|
|
1214
|
+
type: "bytes32",
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
internalType: "bytes32",
|
|
1218
|
+
name: "s",
|
|
1219
|
+
type: "bytes32",
|
|
1220
|
+
},
|
|
1221
|
+
],
|
|
1222
|
+
name: "verifyIntent_traderAction_updatePendingLimitPosition",
|
|
1223
|
+
outputs: [],
|
|
1224
|
+
stateMutability: "payable",
|
|
1225
|
+
type: "function",
|
|
1226
|
+
},
|
|
1227
|
+
{
|
|
1228
|
+
inputs: [
|
|
1229
|
+
{
|
|
1230
|
+
components: [
|
|
1231
|
+
{
|
|
1232
|
+
internalType: "uint256",
|
|
1233
|
+
name: "timestamp",
|
|
1234
|
+
type: "uint256",
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
internalType: "uint256",
|
|
1238
|
+
name: "validUntil",
|
|
1239
|
+
type: "uint256",
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
internalType: "bytes32",
|
|
1243
|
+
name: "positionId",
|
|
1244
|
+
type: "bytes32",
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
internalType: "uint64",
|
|
1248
|
+
name: "minPrice",
|
|
1249
|
+
type: "uint64",
|
|
1250
|
+
},
|
|
1251
|
+
{
|
|
1252
|
+
internalType: "uint64",
|
|
1253
|
+
name: "maxPrice",
|
|
1254
|
+
type: "uint64",
|
|
1255
|
+
},
|
|
1256
|
+
],
|
|
1257
|
+
internalType: "struct TradeIntentsVerifierV1.UserRequestPayload_CloseMarket",
|
|
1258
|
+
name: "payload",
|
|
1259
|
+
type: "tuple",
|
|
1260
|
+
},
|
|
1261
|
+
{
|
|
1262
|
+
internalType: "uint8",
|
|
1263
|
+
name: "v",
|
|
1264
|
+
type: "uint8",
|
|
1265
|
+
},
|
|
1266
|
+
{
|
|
1267
|
+
internalType: "bytes32",
|
|
1268
|
+
name: "r",
|
|
1269
|
+
type: "bytes32",
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
internalType: "bytes32",
|
|
1273
|
+
name: "s",
|
|
1274
|
+
type: "bytes32",
|
|
1275
|
+
},
|
|
1276
|
+
],
|
|
1277
|
+
name: "verifyIntent_traderRequest_marketClosePosition",
|
|
1278
|
+
outputs: [],
|
|
1279
|
+
stateMutability: "payable",
|
|
1280
|
+
type: "function",
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
inputs: [
|
|
1284
|
+
{
|
|
1285
|
+
components: [
|
|
1286
|
+
{
|
|
1287
|
+
internalType: "uint256",
|
|
1288
|
+
name: "timestamp",
|
|
1289
|
+
type: "uint256",
|
|
1290
|
+
},
|
|
1291
|
+
{
|
|
1292
|
+
internalType: "uint256",
|
|
1293
|
+
name: "validUntil",
|
|
1294
|
+
type: "uint256",
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
components: [
|
|
1298
|
+
{
|
|
1299
|
+
internalType: "address",
|
|
1300
|
+
name: "trader",
|
|
1301
|
+
type: "address",
|
|
1302
|
+
},
|
|
1303
|
+
{
|
|
1304
|
+
internalType: "uint16",
|
|
1305
|
+
name: "pairId",
|
|
1306
|
+
type: "uint16",
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
internalType: "address",
|
|
1310
|
+
name: "settlementAsset",
|
|
1311
|
+
type: "address",
|
|
1312
|
+
},
|
|
1313
|
+
],
|
|
1314
|
+
internalType: "struct TradingFloorStructsV1.PositionRequestIdentifiers",
|
|
1315
|
+
name: "positionRequestIdentifiers",
|
|
1316
|
+
type: "tuple",
|
|
1317
|
+
},
|
|
1318
|
+
{
|
|
1319
|
+
components: [
|
|
1320
|
+
{
|
|
1321
|
+
internalType: "bool",
|
|
1322
|
+
name: "long",
|
|
1323
|
+
type: "bool",
|
|
1324
|
+
},
|
|
1325
|
+
{
|
|
1326
|
+
internalType: "uint256",
|
|
1327
|
+
name: "collateral",
|
|
1328
|
+
type: "uint256",
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
internalType: "uint32",
|
|
1332
|
+
name: "leverage",
|
|
1333
|
+
type: "uint32",
|
|
1334
|
+
},
|
|
1335
|
+
{
|
|
1336
|
+
internalType: "uint64",
|
|
1337
|
+
name: "minPrice",
|
|
1338
|
+
type: "uint64",
|
|
1339
|
+
},
|
|
1340
|
+
{
|
|
1341
|
+
internalType: "uint64",
|
|
1342
|
+
name: "maxPrice",
|
|
1343
|
+
type: "uint64",
|
|
1344
|
+
},
|
|
1345
|
+
{
|
|
1346
|
+
internalType: "uint64",
|
|
1347
|
+
name: "tp",
|
|
1348
|
+
type: "uint64",
|
|
1349
|
+
},
|
|
1350
|
+
{
|
|
1351
|
+
internalType: "uint64",
|
|
1352
|
+
name: "sl",
|
|
1353
|
+
type: "uint64",
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
internalType: "uint64",
|
|
1357
|
+
name: "tpByFraction",
|
|
1358
|
+
type: "uint64",
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
internalType: "uint64",
|
|
1362
|
+
name: "slByFraction",
|
|
1363
|
+
type: "uint64",
|
|
1364
|
+
},
|
|
1365
|
+
],
|
|
1366
|
+
internalType: "struct TradingFloorStructsV1.PositionRequestParams",
|
|
1367
|
+
name: "positionRequestParams",
|
|
1368
|
+
type: "tuple",
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
internalType: "enum TradingEnumsV1.OpenOrderType",
|
|
1372
|
+
name: "orderType",
|
|
1373
|
+
type: "uint8",
|
|
1374
|
+
},
|
|
1375
|
+
],
|
|
1376
|
+
internalType: "struct TradeIntentsVerifierV1.UserRequestPayload_OpenPosition",
|
|
1377
|
+
name: "payload",
|
|
1378
|
+
type: "tuple",
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
internalType: "uint8",
|
|
1382
|
+
name: "v",
|
|
1383
|
+
type: "uint8",
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
internalType: "bytes32",
|
|
1387
|
+
name: "r",
|
|
1388
|
+
type: "bytes32",
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
internalType: "bytes32",
|
|
1392
|
+
name: "s",
|
|
1393
|
+
type: "bytes32",
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
internalType: "bytes32",
|
|
1397
|
+
name: "domain",
|
|
1398
|
+
type: "bytes32",
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
internalType: "bytes32",
|
|
1402
|
+
name: "referralCode",
|
|
1403
|
+
type: "bytes32",
|
|
1404
|
+
},
|
|
1405
|
+
{
|
|
1406
|
+
internalType: "bool",
|
|
1407
|
+
name: "runCapTests",
|
|
1408
|
+
type: "bool",
|
|
1409
|
+
},
|
|
1410
|
+
],
|
|
1411
|
+
name: "verifyIntent_traderRequest_openNewPosition",
|
|
1412
|
+
outputs: [],
|
|
1413
|
+
stateMutability: "payable",
|
|
1414
|
+
type: "function",
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
inputs: [
|
|
1418
|
+
{
|
|
1419
|
+
components: [
|
|
1420
|
+
{
|
|
1421
|
+
internalType: "uint256",
|
|
1422
|
+
name: "timestamp",
|
|
1423
|
+
type: "uint256",
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
internalType: "uint256",
|
|
1427
|
+
name: "validUntil",
|
|
1428
|
+
type: "uint256",
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
internalType: "bytes32",
|
|
1432
|
+
name: "positionId",
|
|
1433
|
+
type: "bytes32",
|
|
1434
|
+
},
|
|
1435
|
+
{
|
|
1436
|
+
internalType: "enum OrderBookStructsV1.UpdatePositionFieldOrderType",
|
|
1437
|
+
name: "orderType",
|
|
1438
|
+
type: "uint8",
|
|
1439
|
+
},
|
|
1440
|
+
{
|
|
1441
|
+
internalType: "uint64",
|
|
1442
|
+
name: "fieldValueA",
|
|
1443
|
+
type: "uint64",
|
|
1444
|
+
},
|
|
1445
|
+
{
|
|
1446
|
+
internalType: "uint64",
|
|
1447
|
+
name: "fieldValueB",
|
|
1448
|
+
type: "uint64",
|
|
1449
|
+
},
|
|
1450
|
+
],
|
|
1451
|
+
internalType: "struct TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionDoubleField",
|
|
1452
|
+
name: "payload",
|
|
1453
|
+
type: "tuple",
|
|
1454
|
+
},
|
|
1455
|
+
{
|
|
1456
|
+
internalType: "uint8",
|
|
1457
|
+
name: "v",
|
|
1458
|
+
type: "uint8",
|
|
1459
|
+
},
|
|
1460
|
+
{
|
|
1461
|
+
internalType: "bytes32",
|
|
1462
|
+
name: "r",
|
|
1463
|
+
type: "bytes32",
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
internalType: "bytes32",
|
|
1467
|
+
name: "s",
|
|
1468
|
+
type: "bytes32",
|
|
1469
|
+
},
|
|
1470
|
+
],
|
|
1471
|
+
name: "verifyIntent_traderRequest_updatePositionDoubleField",
|
|
1472
|
+
outputs: [],
|
|
1473
|
+
stateMutability: "payable",
|
|
1474
|
+
type: "function",
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
inputs: [
|
|
1478
|
+
{
|
|
1479
|
+
components: [
|
|
1480
|
+
{
|
|
1481
|
+
internalType: "uint256",
|
|
1482
|
+
name: "timestamp",
|
|
1483
|
+
type: "uint256",
|
|
1484
|
+
},
|
|
1485
|
+
{
|
|
1486
|
+
internalType: "uint256",
|
|
1487
|
+
name: "validUntil",
|
|
1488
|
+
type: "uint256",
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
internalType: "bytes32",
|
|
1492
|
+
name: "positionId",
|
|
1493
|
+
type: "bytes32",
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
internalType: "enum OrderBookStructsV1.UpdatePositionFieldOrderType",
|
|
1497
|
+
name: "orderType",
|
|
1498
|
+
type: "uint8",
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
internalType: "uint64",
|
|
1502
|
+
name: "fieldValue",
|
|
1503
|
+
type: "uint64",
|
|
1504
|
+
},
|
|
1505
|
+
],
|
|
1506
|
+
internalType: "struct TradeIntentsVerifierV1.UserRequestPayload_UpdatePositionSingleField",
|
|
1507
|
+
name: "payload",
|
|
1508
|
+
type: "tuple",
|
|
1509
|
+
},
|
|
1510
|
+
{
|
|
1511
|
+
internalType: "uint8",
|
|
1512
|
+
name: "v",
|
|
1513
|
+
type: "uint8",
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
internalType: "bytes32",
|
|
1517
|
+
name: "r",
|
|
1518
|
+
type: "bytes32",
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
internalType: "bytes32",
|
|
1522
|
+
name: "s",
|
|
1523
|
+
type: "bytes32",
|
|
1524
|
+
},
|
|
1525
|
+
],
|
|
1526
|
+
name: "verifyIntent_traderRequest_updatePositionSingleField",
|
|
1527
|
+
outputs: [],
|
|
1528
|
+
stateMutability: "payable",
|
|
1529
|
+
type: "function",
|
|
1530
|
+
},
|
|
1531
|
+
];
|
|
1532
|
+
const _bytecode = "0x60a06040523480156200001157600080fd5b5060405162003da838038062003da8833981016040819052620000349162000115565b604080518082018252601681527f547261646520496e74656e747320566572696669657200000000000000000000602080830191909152825180840190935260018352603160f81b90830152600080546001600160a01b031916331790559081816002620000a38382620001ee565b506003620000b28282620001ee565b5050506001600160a01b03831691506200010390505760405162461bcd60e51b815260206004820152600c60248201526b57524f4e475f504152414d5360a01b604482015260640160405180910390fd5b6001600160a01b0316608052620002ba565b6000602082840312156200012857600080fd5b81516001600160a01b03811681146200014057600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200017257607f821691505b6020821081036200019357634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001e9576000816000526020600020601f850160051c81016020861015620001c45750805b601f850160051c820191505b81811015620001e557828155600101620001d0565b5050505b505050565b81516001600160401b038111156200020a576200020a62000147565b62000222816200021b84546200015d565b8462000199565b602080601f8311600181146200025a5760008415620002415750858301515b600019600386901b1c1916600185901b178555620001e5565b600085815260208120601f198616915b828110156200028b578886015182559484019460019091019084016200026a565b5085821015620002aa5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b608051613abd620002eb600039600081816105ec01528181611301015281816118170152611d360152613abd6000f3fe60806040526004361061027d5760003560e01c806379e5faae1161014f578063a90c599b116100c1578063e9c714f21161007a578063e9c714f2146107f0578063f07482b414610805578063f5f5ba721461081a578063f773abcd14610859578063f851a44014610899578063fbc8349e146108b957600080fd5b8063a90c599b1461071a578063b71d1a0c1461072f578063ba83462d1461074f578063bdfdae5f1461077c578063c3ae91621461079c578063c49f91d3146107bc57600080fd5b80638e98bcdd116101135780638e98bcdd1461067057806390b28139146106855780639652a4bd1461069a5780639d443327146106af578063a3ace826146106cf578063a5f078821461070557600080fd5b806379e5faae146105c75780637b103999146105da5780637c28fe641461060e57806381705129146106235780638aa104351461064357600080fd5b806326782247116101f35780634d7f3d2d116101ac5780634d7f3d2d146104cd57806355afba4a1461050357806357c3f6c31461051857806358659d6e14610538578063614d08f8146105585780636fccbffc1461059a57600080fd5b806326782247146104155780632ebd920a14610435578063329360ec1461045557806338b903331461046857806340bdc1b914610498578063475d6ef3146104b857600080fd5b8063108c66e311610245578063108c66e314610325578063119df25f1461036557806312d99fd11461038c57806316e27a7c146103ac5780631f20ace0146103ef578063258990eb1461040257600080fd5b8063084b619f1461028257806308aa2a1e146102975780630d981894146102aa5780630da7fba9146102d55780630f2a3d47146102ea575b600080fd5b610295610290366004612668565b6108ce565b005b6102956102a53660046126c0565b610a9e565b3480156102b657600080fd5b506102bf610bf0565b6040516102cc9190612728565b60405180910390f35b3480156102e157600080fd5b506102bf610c0c565b3480156102f657600080fd5b50610317610305366004612773565b60066020526000908152604090205481565b6040519081526020016102cc565b34801561033157600080fd5b506102bf60405180604001604052806014815260200173494e54454e54535f5045524d495353494f4e535f60601b81525081565b34801561037157600080fd5b50335b6040516001600160a01b0390911681526020016102cc565b34801561039857600080fd5b506102956103a7366004612790565b610c9a565b3480156103b857600080fd5b506103176103c7366004612773565b6001600160a01b03166000908152600660209081526040808320548352600490915290205490565b6102956103fd3660046127e8565b610cef565b610295610410366004612870565b610f39565b34801561042157600080fd5b50600154610374906001600160a01b031681565b34801561044157600080fd5b506103746104503660046128b5565b611085565b6102956104633660046126c0565b61118b565b34801561047457600080fd5b506102bf604051806040016040528060048152602001630313031360e41b81525081565b3480156104a457600080fd5b506103746104b3366004612919565b6112c6565b3480156104c457600080fd5b506102bf6112e1565b3480156104d957600080fd5b506103746104e8366004612967565b6009602052600090815260409020546001600160a01b031681565b34801561050f57600080fd5b506103746112fd565b34801561052457600080fd5b50610374610533366004612980565b611386565b34801561054457600080fd5b506102956105533660046129d1565b6113a1565b34801561056457600080fd5b506102bf604051806040016040528060168152602001755472616465496e74656e74735665726966696572563160501b81525081565b3480156105a657600080fd5b506103176105b5366004612967565b60046020526000908152604090205481565b6102956105d5366004612a55565b611411565b3480156105e657600080fd5b506103747f000000000000000000000000000000000000000000000000000000000000000081565b34801561061a57600080fd5b506102bf61152b565b34801561062f57600080fd5b5061037461063e366004612a98565b611547565b34801561064f57600080fd5b506040805180820190915260048152630313031360e41b60208201526102bf565b34801561067c57600080fd5b506102bf611562565b34801561069157600080fd5b506102bf611581565b3480156106a657600080fd5b506102bf61159d565b3480156106bb57600080fd5b506102bf6106ca366004612773565b6115aa565b3480156106db57600080fd5b506103746106ea366004612967565b600a602052600090815260409020546001600160a01b031681565b34801561071157600080fd5b506102bf6115c3565b34801561072657600080fd5b506102bf6115df565b34801561073b57600080fd5b5061029561074a366004612773565b6115fb565b34801561075b57600080fd5b5061031761076a366004612967565b60086020526000908152604090205481565b34801561078857600080fd5b50610374610797366004612ae8565b6116a3565b3480156107a857600080fd5b506103746107b7366004612a98565b6116be565b3480156107c857600080fd5b506103177f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81565b3480156107fc57600080fd5b506102956116d9565b34801561081157600080fd5b506102bf6117f7565b34801561082657600080fd5b506040805180820190915260168152755472616465496e74656e74735665726966696572563160501b60208201526102bf565b34801561086557600080fd5b50610889610874366004612967565b60076020526000908152604090205460ff1681565b60405190151581526020016102cc565b3480156108a557600080fd5b50600054610374906001600160a01b031681565b3480156108c557600080fd5b50610374611813565b3233146108da57600080fd5b6000806108ea86604001356118d4565b9150915060006108fd8787878787611085565b9050806001600160a01b0316826001600160a01b03161480610929575061092987604001358383611a7b565b61094e5760405162461bcd60e51b815260040161094590612b3b565b60405180910390fd5b86602001354211156109725760405162461bcd60e51b815260040161094590612b69565b61097d868686611a9f565b6109856112fd565b6001600160a01b031663f86d294860408901356109a860808b0160608c01612ba8565b6109b860a08c0160808d01612ba8565b6109c860c08d0160a08e01612ba8565b6109d860e08e0160c08f01612ba8565b6040516001600160e01b031960e088901b16815260048101959095526001600160401b03938416602486015291831660448501528216606484015216608482015260a401600060405180830381600087803b158015610a3657600080fd5b505af1158015610a4a573d6000803e3d6000fd5b5060059250610a57915050565b604080518982013581528935602082015233917fbc59d30e18d67e61017818c83073b9a5b6bbe40ce26c4ba78c9be63c5a7416ac910160405180910390a350505050505050565b323314610aaa57600080fd5b600080610aba86604001356118d4565b915091506000610acd87878787876116be565b9050806001600160a01b0316826001600160a01b03161480610af95750610af987604001358383611a7b565b610b155760405162461bcd60e51b815260040161094590612b3b565b8660200135421115610b395760405162461bcd60e51b815260040161094590612b69565b610b44868686611a9f565b610b4c6112fd565b6001600160a01b031663719683ea3460408a0135610b7060808c0160608d01612ba8565b610b8060a08d0160808e01612ba8565b6040516001600160e01b031960e087901b16815260048101939093526001600160401b0391821660248401521660448201526064016000604051808303818588803b158015610bce57600080fd5b505af1158015610be2573d6000803e3d6000fd5b5060029350610a5792505050565b6040518060a00160405280607781526020016139116077913981565b60028054610c1990612bd9565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4590612bd9565b8015610c925780601f10610c6757610100808354040283529160200191610c92565b820191906000526020600020905b815481529060010190602001808311610c7557829003601f168201915b505050505081565b6000546001600160a01b03163314610ce15760405162461bcd60e51b815260206004820152600a60248201526927a7262cafa0a226a4a760b11b6044820152606401610945565b610ceb8282611b60565b5050565b323314610cfb57600080fd5b6000610d15610d1060a08a0160808b01612773565b611c65565b90506000610d2689898989866116a3565b90506001600160a01b038116610d4260608b0160408c01612773565b6001600160a01b03161480610d7b5750610d7b610d6560a08b0160808c01612773565b610d7560608c0160408d01612773565b83611c79565b610d975760405162461bcd60e51b815260040161094590612b3b565b8860200135421115610dbb5760405162461bcd60e51b815260040161094590612b69565b610dc6888888611a9f565b6000610dd06112fd565b6001600160a01b031663709d672a348c6040018d60a0018e6101c0016020810190610dfb9190612c1c565b8b8b8b6040518863ffffffff1660e01b8152600401610e1f96959493929190612c78565b60206040518083038185885af1158015610e3d573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610e629190612dda565b60008181526008602052604090819020859055909150610e889060608c01908c01612773565b600082815260096020526040902080546001600160a01b0319166001600160a01b0392909216919091179055610ec460a08b0160808c01612773565b6000828152600a6020526040902080546001600160a01b0319166001600160a01b03929092169190911790556001604080518381528c35602082015233917fbc59d30e18d67e61017818c83073b9a5b6bbe40ce26c4ba78c9be63c5a7416ac910160405180910390a350505050505050505050565b323314610f4557600080fd5b600080610f5586604001356118d4565b915091506000610f688787878787611386565b9050806001600160a01b0316826001600160a01b03161480610f945750610f9487604001358383611a7b565b610fb05760405162461bcd60e51b815260040161094590612b3b565b8660200135421115610fd45760405162461bcd60e51b815260040161094590612b69565b610fdf868686611a9f565b610fe76112fd565b6001600160a01b0316636b8b5e223460408a013561100b60808c0160608d01612e02565b61101b60a08d0160808e01612ba8565b61102b60c08e0160a08f01612ba8565b6040518663ffffffff1660e01b815260040161104a9493929190612e2d565b6000604051808303818588803b15801561106357600080fd5b505af1158015611077573d6000803e3d6000fd5b5060049350610a5792505050565b600080826110a061109b368a90038a018a612ee5565b611ea5565b60405161190160f01b60208201526022810192909252604282015260620160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015611129573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166111805760405162461bcd60e51b8152602060048201526011602482015270494e56414c49445f5349474e415455524560781b6044820152606401610945565b979650505050505050565b32331461119757600080fd5b6000806111a786604001356118d4565b9150915060006111ba8787878787611547565b9050806001600160a01b0316826001600160a01b031614806111e657506111e687604001358383611a7b565b6112025760405162461bcd60e51b815260040161094590612b3b565b86602001354211156112265760405162461bcd60e51b815260040161094590612b69565b611231868686611a9f565b6112396112fd565b6001600160a01b0316631d3e4d463460408a013561125d60808c0160608d01612e02565b61126d60a08d0160808e01612ba8565b6040518563ffffffff1660e01b815260040161128b93929190612f81565b6000604051808303818588803b1580156112a457600080fd5b505af11580156112b8573d6000803e3d6000fd5b5060039350610a5792505050565b600080826110a06112dc368a90038a018a612fae565b611f50565b6040518060c00160405280609981526020016135e36099913981565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fab337046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561135d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113819190612fea565b905090565b600080826110a061139c368a90038a018a613007565b611fa1565b6000546001600160a01b031633146113e85760405162461bcd60e51b815260206004820152600a60248201526927a7262cafa0a226a4a760b11b6044820152606401610945565b6001600160a01b038316600090815260056020526040902061140b8284836130e3565b50505050565b32331461141d57600080fd5b60008061142d86604001356118d4565b91509150600061144087878787876112c6565b9050806001600160a01b0316826001600160a01b0316148061146c575061146c87604001358383611a7b565b6114885760405162461bcd60e51b815260040161094590612b3b565b86602001354211156114ac5760405162461bcd60e51b815260040161094590612b69565b6114b7868686611a9f565b6114bf6112fd565b6001600160a01b031663568b6add88604001356040518263ffffffff1660e01b81526004016114f091815260200190565b600060405180830381600087803b15801561150a57600080fd5b505af115801561151e573d6000803e3d6000fd5b5060069250610a57915050565b6040518060a0016040528060658152602001613a236065913981565b600080826110a061155d368a90038a018a6131a3565b611ff2565b604051806101e001604052806101a6815260200161376b6101a6913981565b60405180608001604052806050815260200161367c6050913981565b60038054610c1990612bd9565b60056020526000908152604090208054610c1990612bd9565b6040518060c00160405280609f81526020016136cc609f913981565b6040518060c001604052806087815260200161355c6087913981565b6000546001600160a01b031633146116415760405162461bcd60e51b81526020600482015260096024820152682737ba1020b236b4b760b91b6044820152606401610945565b600180546001600160a01b038381166001600160a01b031983168117909355604080519190921680825260208201939093527fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a991015b60405180910390a15050565b600080826110a06116b9368a90038a018a6132ae565b61203b565b600080826110a06116d4368a90038a018a61335e565b61209e565b6001546001600160a01b0316331480156116fd57506001546001600160a01b031615155b6117495760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420746865204558495354494e472070656e64696e672061646d696e00006044820152606401610945565b60008054600180546001600160a01b038082166001600160a01b031980861682179096559490911690915560408051919092168082526020820184905292917ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc910160405180910390a1600154604080516001600160a01b03808516825290921660208301527fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a99101611697565b6040518060c00160405280609b8152602001613988609b913981565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663fab337046040518163ffffffff1660e01b8152600401602060405180830381865afa158015611873573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118979190612fea565b6001600160a01b0316630d3b0b766040518163ffffffff1660e01b8152600401602060405180830381865afa15801561135d573d6000803e3d6000fd5b6000818152600860209081526040808320546009909252909120546001600160a01b031681158061190c57506001600160a01b038116155b15611a7657600061191b611813565b60405163042e37c560e01b8152600481018690529091506000906001600160a01b0383169063042e37c590602401608060405180830381865afa158015611966573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061198a919061339c565b90506119998160000151611c65565b60608201519094509250836119f05760405162461bcd60e51b815260206004820152601d60248201527f4e4f5f444f4d41494e5f534550415241544f525f464f525f434841494e0000006044820152606401610945565b6001600160a01b038316611a3f5760405162461bcd60e51b81526020600482015260166024820152752727afaa2920a222a92fa327a92fa827a9a4aa24a7a760511b6044820152606401610945565b505060008381526008602090815260408083208590556009909152902080546001600160a01b0319166001600160a01b0383161790555b915091565b600080611a8785612110565b9050611a94818585611c79565b9150505b9392505050565b6040516001600160f81b031960f885901b166020820152602181018390526041810182905260009060610160408051601f1981840301815291815281516020928301206000818152600790935291205490915060ff1615611b425760405162461bcd60e51b815260206004820152601d60248201527f494e54454e54535f5349475f414c52454144595f50524f4345535345440000006044820152606401610945565b6000908152600760205260409020805460ff19166001179055505050565b6001600160a01b03821660009081526006602052604090205415611bd45760405162461bcd60e51b815260206004820152602560248201527f434841494e5f49445f464f525f41535345545f414c52454144595f434f4e464960448201526411d554915160da1b6064820152608401610945565b80600003611c145760405162461bcd60e51b815260206004820152600d60248201526c434841494e5f49445f5a45524f60981b6044820152606401610945565b611c1d8161221e565b506001600160a01b038216600081815260066020526040808220849055518392917f8983e01eaf5771a114f1aa7f72a023a35642e048180682aa2fb04db0cbd220c291a35050565b600080611c71836123dd565b509392505050565b6001600160a01b03831660009081526005602052604081208054829190611c9f90612bd9565b80601f0160208091040260200160405190810160405280929190818152602001828054611ccb90612bd9565b8015611d185780601f10611ced57610100808354040283529160200191611d18565b820191906000526020600020905b815481529060010190602001808311611cfb57829003601f168201915b505050505090508051600003611d32576000915050611a98565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166358ca59ce60405180604001604052806014815260200173494e54454e54535f5045524d495353494f4e535f60601b81525084604051602001611da2929190613420565b6040516020818303038152906040526040518263ffffffff1660e01b8152600401611dcd9190612728565b602060405180830381865afa158015611dea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e0e9190612fea565b90506001600160a01b038116611e2957600092505050611a98565b60405163b0cbc2e160e01b81526001600160a01b0382169063b0cbc2e190611e5a906001908990899060040161344f565b602060405180830381865afa158015611e77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e9b919061347a565b9695505050505050565b60006040518060c00160405280609981526020016135e36099913980516020918201208351848301516040808701516060808901516080808b015160a0808d015160c0808f015189519d8e019c909c52978c0199909952938a01969096528801929092526001600160401b03918216908701529182169085015290811660e084015216610100820152610120015b604051602081830303815290604052805190602001209050919050565b60006040518060a0016040528060658152602001613a236065913980516020918201208351848301516040808701519051611f33950193845260208401929092526040830152606082015260800190565b60006040518060c00160405280609b8152602001613988609b913980516020918201208351848301516040808701516060880151608089015160a08a01519351611f33989394929391929101613497565b60006040518060c001604052806087815260200161355c608791398051602091820120835184830151604080870151606088015160808901519251611f339792939192016134e5565b6000604051806101e001604052806101a6815260200161376b6101a69139805190602001208260000151836020015161207785604001516124a4565b6120848660600151612502565b8660800151604051602001611f339695949392919061352b565b60006040518060a00160405280607781526020016139116077913980516020918201208351848301516040808701516060808901516080808b01518551998a0198909852938801959095528601929092528401526001600160401b0390811660a08401521660c082015260e001611f33565b6000818152600a60205260409020546001600160a01b03168061221957612135611813565b6001600160a01b031663042e37c5836040518263ffffffff1660e01b815260040161216291815260200190565b608060405180830381865afa15801561217f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121a3919061339c565b5190506001600160a01b0381166121f15760405162461bcd60e51b81526020600482015260126024820152712727afa9a0afa327a92fa827a9a4aa24a7a760711b6044820152606401610945565b6000828152600a6020526040902080546001600160a01b0319166001600160a01b0383161790555b919050565b600081815260046020526040812054806123d157600061237a60405180608001604052806002805461224f90612bd9565b80601f016020809104026020016040519081016040528092919081815260200182805461227b90612bd9565b80156122c85780601f1061229d576101008083540402835291602001916122c8565b820191906000526020600020905b8154815290600101906020018083116122ab57829003601f168201915b50505050508152602001600380546122df90612bd9565b80601f016020809104026020016040519081016040528092919081815260200182805461230b90612bd9565b80156123585780601f1061232d57610100808354040283529160200191612358565b820191906000526020600020905b81548152906001019060200180831161233b57829003601f168201915b50505050508152602001868152602001306001600160a01b03168152506125c5565b600085815260046020526040908190208290555190915084907f04df087044a5490c34ea0092af5dbdd1a3a35fefd63f0864c1d05dba3075f165906123c29084815260200190565b60405180910390a29392505050565b92915050565b50919050565b6001600160a01b038116600090815260066020526040812054819080820361243f5760405162461bcd60e51b81526020600482015260156024820152741393d7d0d210525397d25117d193d497d054d4d155605a1b6044820152606401610945565b6000818152600460205260409020548061249b5760405162461bcd60e51b815260206004820152601d60248201527f4e4f5f444f4d41494e5f534550415241544f525f464f525f434841494e0000006044820152606401610945565b94909350915050565b600060405180608001604052806050815260200161367c6050913980516020918201208351848301516040808701518151958601949094526001600160a01b039283169085015261ffff16606084015216608082015260a001611f33565b60006040518060c00160405280609f81526020016136cc609f913980519060200120826000015183602001518460400151856060015186608001518760a001518860c001518960e001518a6101000151604051602001611f339a99989796959493929190998a5297151560208a0152604089019690965263ffffffff9490941660608801526001600160401b03928316608088015290821660a0870152811660c086015290811660e0850152908116610100840152166101208201526101400190565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f82600001518051906020012083602001518051906020012084604001518560600151604051602001611f339594939291909485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b600060e082840312156123d757600080fd5b803560ff8116811461221957600080fd5b600080600080610140858703121561267f57600080fd5b6126898686612645565b935061269760e08601612657565b939693955050505061010082013591610120013590565b600060a082840312156123d757600080fd5b60008060008061010085870312156126d757600080fd5b6126e186866126ae565b93506126ef60a08601612657565b939693955050505060c08201359160e0013590565b60005b8381101561271f578181015183820152602001612707565b50506000910152565b6020815260008251806020840152612747816040850160208701612704565b601f01601f19169190910160400192915050565b6001600160a01b038116811461277057600080fd5b50565b60006020828403121561278557600080fd5b8135611a988161275b565b600080604083850312156127a357600080fd5b82356127ae8161275b565b946020939093013593505050565b60006101e082840312156123d757600080fd5b801515811461277057600080fd5b8035612219816127cf565b60008060008060008060006102a0888a03121561280457600080fd5b61280e89896127bc565b965061281d6101e08901612657565b9550610200880135945061022088013593506102408801359250610260880135915061028088013561284e816127cf565b8091505092959891949750929550565b600060c082840312156123d757600080fd5b600080600080610120858703121561288757600080fd5b612891868661285e565b935061289f60c08601612657565b939693955050505060e082013591610100013590565b600080600080600061016086880312156128ce57600080fd5b6128d88787612645565b94506128e660e08701612657565b94979496505050506101008301359261012081013592610140909101359150565b6000606082840312156123d757600080fd5b600080600080600060e0868803121561293157600080fd5b61293b8787612907565b945061294960608701612657565b949794965050505060808301359260a08101359260c0909101359150565b60006020828403121561297957600080fd5b5035919050565b6000806000806000610140868803121561299957600080fd5b6129a3878761285e565b94506129b160c08701612657565b949794965050505060e08301359261010081013592610120909101359150565b6000806000604084860312156129e657600080fd5b83356129f18161275b565b925060208401356001600160401b0380821115612a0d57600080fd5b818601915086601f830112612a2157600080fd5b813581811115612a3057600080fd5b876020828501011115612a4257600080fd5b6020830194508093505050509250925092565b60008060008060c08587031215612a6b57600080fd5b612a758686612907565b9350612a8360608601612657565b939693955050505060808201359160a0013590565b60008060008060006101208688031215612ab157600080fd5b612abb87876126ae565b9450612ac960a08701612657565b949794965050505060c08301359260e081013592610100909101359150565b60008060008060006102608688031215612b0157600080fd5b612b0b87876127bc565b9450612b1a6101e08701612657565b94979496505050506102008301359261022081013592610240909101359150565b6020808252601490820152732727aa2fa9a4a3a722a22fa12cafaa2920a222a960611b604082015260600190565b6020808252600e908201526d12539511539517d156141254915160921b604082015260600190565b80356001600160401b038116811461221957600080fd5b600060208284031215612bba57600080fd5b611a9882612b91565b634e487b7160e01b600052602160045260246000fd5b600181811c90821680612bed57607f821691505b6020821081036123d757634e487b7160e01b600052602260045260246000fd5b80356003811061221957600080fd5b600060208284031215612c2e57600080fd5b611a9882612c0d565b61ffff8116811461277057600080fd5b63ffffffff8116811461277057600080fd5b803561221981612c47565b60038110612c7457612c74612bc3565b9052565b61020081018735612c888161275b565b6001600160a01b039081168352602089013590612ca482612c37565b61ffff8216602085015260408a01359150612cbe8261275b565b1660408301528635612ccf816127cf565b1515606083015260208701356080830152612cec60408801612c59565b63ffffffff1660a0830152612d0360608801612b91565b6001600160401b031660c0830152612d1d60808801612b91565b6001600160401b031660e0830152612d3760a08801612b91565b610100612d4e818501836001600160401b03169052565b612d5a60c08a01612b91565b6001600160401b0381166101208601529150612d7860e08a01612b91565b6001600160401b0381166101408601529150612d95818a01612b91565b915050612dae6101608401826001600160401b03169052565b50612dbd610180830187612c64565b846101a0830152836101c08301526111806101e083018415159052565b600060208284031215612dec57600080fd5b5051919050565b80356004811061221957600080fd5b600060208284031215612e1457600080fd5b611a9882612df3565b6004811061277057612770612bc3565b84815260808101612e3d85612e1d565b60208201949094526001600160401b0392831660408201529116606090910152919050565b634e487b7160e01b600052604160045260246000fd5b604051606081016001600160401b0381118282101715612e9a57612e9a612e62565b60405290565b60405160a081016001600160401b0381118282101715612e9a57612e9a612e62565b60405161012081016001600160401b0381118282101715612e9a57612e9a612e62565b600060e08284031215612ef757600080fd5b60405160e081018181106001600160401b0382111715612f1957612f19612e62565b8060405250823581526020830135602082015260408301356040820152612f4260608401612b91565b6060820152612f5360808401612b91565b6080820152612f6460a08401612b91565b60a0820152612f7560c08401612b91565b60c08201529392505050565b83815260608101612f9184612e1d565b8360208301526001600160401b0383166040830152949350505050565b600060608284031215612fc057600080fd5b612fc8612e78565b8235815260208301356020820152604083013560408201528091505092915050565b600060208284031215612ffc57600080fd5b8151611a988161275b565b600060c0828403121561301957600080fd5b60405160c081018181106001600160401b038211171561303b5761303b612e62565b806040525082358152602083013560208201526040830135604082015261306460608401612df3565b606082015261307560808401612b91565b608082015261308660a08401612b91565b60a08201529392505050565b601f8211156130de576000816000526020600020601f850160051c810160208610156130bb5750805b601f850160051c820191505b818110156130da578281556001016130c7565b5050505b505050565b6001600160401b038311156130fa576130fa612e62565b61310e836131088354612bd9565b83613092565b6000601f841160018114613142576000851561312a5750838201355b600019600387901b1c1916600186901b17835561319c565b600083815260209020601f19861690835b828110156131735786850135825560209485019460019092019101613153565b50868210156131905760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b600060a082840312156131b557600080fd5b6131bd612ea0565b8235815260208301356020820152604083013560408201526131e160608401612df3565b60608201526131f260808401612b91565b60808201529392505050565b6000610120828403121561321157600080fd5b613219612ec2565b9050613224826127dd565b81526020820135602082015261323c60408301612c59565b604082015261324d60608301612b91565b606082015261325e60808301612b91565b608082015261326f60a08301612b91565b60a082015261328060c08301612b91565b60c082015261329160e08301612b91565b60e08201526101006132a4818401612b91565b9082015292915050565b60008183036101e08112156132c257600080fd5b6132ca612ea0565b83358152602084013560208201526060603f19830112156132ea57600080fd5b6132f2612e78565b915060408401356133028161275b565b8252606084013561331281612c37565b602083015260808401356133258161275b565b8060408401525081604082015261333f8560a086016131fe565b60608201526133516101c08501612c0d565b6080820152949350505050565b600060a0828403121561337057600080fd5b613378612ea0565b8235815260208301356020820152604083013560408201526131e160608401612b91565b6000608082840312156133ae57600080fd5b604051608081018181106001600160401b03821117156133d0576133d0612e62565b60405282516133de8161275b565b815260208301516133ee81612c37565b6020820152604083015161340181612c47565b604082015260608301516134148161275b565b60608201529392505050565b60008351613432818460208801612704565b835190830190613446818360208801612704565b01949350505050565b6060810161345c85612e1d565b9381526001600160a01b039283166020820152911660409091015290565b60006020828403121561348c57600080fd5b8151611a98816127cf565b600060e0820190508882528760208301528660408301528560608301526134bd85612e1d565b60808201949094526001600160401b0392831660a0820152911660c090910152949350505050565b600060c08201905087825286602083015285604083015284606083015261350b84612e1d565b8360808301526001600160401b03831660a0830152979650505050505050565b600060c08201905087825286602083015285604083015284606083015283608083015261118060a0830184612c6456fe55736572526571756573745061796c6f61645f557064617465506f736974696f6e53696e676c654669656c642875696e743235362074696d657374616d702c75696e743235362076616c6964556e74696c2c6279746573333220706f736974696f6e49642c75696e7438206f72646572547970652c75696e743634206669656c6456616c756529557365724469726563745061796c6f61645f55706461746550656e64696e674c696d6974506f736974696f6e2875696e743235362074696d657374616d702c75696e743235362076616c6964556e74696c2c6279746573333220706f736974696f6e49642c75696e743634206d696e50726963652c75696e743634206d617850726963652c75696e7436342074702c75696e74363420736c29506f736974696f6e526571756573744964656e746966696572732861646472657373207472616465722c75696e743136207061697249642c6164647265737320736574746c656d656e74417373657429506f736974696f6e52657175657374506172616d7328626f6f6c206c6f6e672c75696e7432353620636f6c6c61746572616c2c75696e743332206c657665726167652c75696e743634206d696e50726963652c75696e743634206d617850726963652c75696e7436342074702c75696e74363420736c2c75696e74363420747042794672616374696f6e2c75696e74363420736c42794672616374696f6e2955736572526571756573745061796c6f61645f4f70656e506f736974696f6e2875696e743235362074696d657374616d702c75696e743235362076616c6964556e74696c2c506f736974696f6e526571756573744964656e7469666965727320706f736974696f6e526571756573744964656e746966696572732c506f736974696f6e52657175657374506172616d7320706f736974696f6e52657175657374506172616d732c75696e7438206f726465725479706529506f736974696f6e526571756573744964656e746966696572732861646472657373207472616465722c75696e743136207061697249642c6164647265737320736574746c656d656e74417373657429506f736974696f6e52657175657374506172616d7328626f6f6c206c6f6e672c75696e7432353620636f6c6c61746572616c2c75696e743332206c657665726167652c75696e743634206d696e50726963652c75696e743634206d617850726963652c75696e7436342074702c75696e74363420736c2c75696e74363420747042794672616374696f6e2c75696e74363420736c42794672616374696f6e2955736572526571756573745061796c6f61645f436c6f73654d61726b65742875696e743235362074696d657374616d702c75696e743235362076616c6964556e74696c2c6279746573333220706f736974696f6e49642c75696e743634206d696e50726963652c75696e743634206d617850726963652955736572526571756573745061796c6f61645f557064617465506f736974696f6e446f75626c654669656c642875696e743235362074696d657374616d702c75696e743235362076616c6964556e74696c2c6279746573333220706f736974696f6e49642c75696e7438206f72646572547970652c75696e743634206669656c6456616c7565412c75696e743634206669656c6456616c75654229557365724469726563745061796c6f61645f43616e63656c50656e64696e674c696d6974506f736974696f6e2875696e743235362074696d657374616d702c75696e743235362076616c6964556e74696c2c6279746573333220706f736974696f6e496429a2646970667358221220c6b69d2a45d4f3861f964beb0502cecb7b9bc4d716cac870c73004b3c7ef76a664736f6c63430008180033";
|
|
1533
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
1534
|
+
class TradeIntentsVerifierV1__factory extends ethers_1.ContractFactory {
|
|
1535
|
+
constructor(...args) {
|
|
1536
|
+
if (isSuperArgs(args)) {
|
|
1537
|
+
super(...args);
|
|
1538
|
+
}
|
|
1539
|
+
else {
|
|
1540
|
+
super(_abi, _bytecode, args[0]);
|
|
1541
|
+
}
|
|
1542
|
+
}
|
|
1543
|
+
getDeployTransaction(_registry, overrides) {
|
|
1544
|
+
return super.getDeployTransaction(_registry, overrides || {});
|
|
1545
|
+
}
|
|
1546
|
+
deploy(_registry, overrides) {
|
|
1547
|
+
return super.deploy(_registry, overrides || {});
|
|
1548
|
+
}
|
|
1549
|
+
connect(runner) {
|
|
1550
|
+
return super.connect(runner);
|
|
1551
|
+
}
|
|
1552
|
+
static createInterface() {
|
|
1553
|
+
return new ethers_1.Interface(_abi);
|
|
1554
|
+
}
|
|
1555
|
+
static connect(address, runner) {
|
|
1556
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
1557
|
+
}
|
|
1558
|
+
}
|
|
1559
|
+
exports.TradeIntentsVerifierV1__factory = TradeIntentsVerifierV1__factory;
|
|
1560
|
+
TradeIntentsVerifierV1__factory.bytecode = _bytecode;
|
|
1561
|
+
TradeIntentsVerifierV1__factory.abi = _abi;
|