@orbs-network/spot 2.10.0 → 2.11.2
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/README.md +24 -2
- package/config.json +6 -5
- package/out/06_DeployApprovalAdapter.s.sol/DeployApprovalAdapter.abi.json +28 -0
- package/out/ApprovalDexAdapter.sol/ApprovalDexAdapter.abi.json +471 -0
- package/out/ApprovalDexAdapter.t.sol/ApprovalDexAdapterTest.abi.json +929 -0
- package/out/Settler.t.sol/VmContractHelper154.abi.json +233 -0
- package/package.json +3 -2
- /package/out/{BaseTest.sol/VmContractHelper115.abi.json → ApprovalDexAdapter.t.sol/VmContractHelper122.abi.json} +0 -0
- /package/out/{CosignerIntegration.t.sol/VmContractHelper120.abi.json → BaseTest.sol/VmContractHelper117.abi.json} +0 -0
- /package/out/{DefaultDexAdapter.t.sol/VmContractHelper123.abi.json → CosignerIntegration.t.sol/VmContractHelper127.abi.json} +0 -0
- /package/out/{DynamicP2DexAdapter.t.sol/VmContractHelper125.abi.json → DefaultDexAdapter.t.sol/VmContractHelper129.abi.json} +0 -0
- /package/out/{Executor.t.sol → DynamicP2DexAdapter.t.sol}/VmContractHelper131.abi.json +0 -0
- /package/out/{OrderReactor.E2E.t.sol/VmContractHelper134.abi.json → Executor.t.sol/VmContractHelper136.abi.json} +0 -0
- /package/out/{P2DexAdapter.t.sol → OrderReactor.E2E.t.sol}/VmContractHelper139.abi.json +0 -0
- /package/out/OrderReactorPause.t.sol/{VmContractHelper135.abi.json → VmContractHelper140.abi.json} +0 -0
- /package/out/{ParaswapDexAdapter.t.sol/VmContractHelper142.abi.json → P2DexAdapter.t.sol/VmContractHelper144.abi.json} +0 -0
- /package/out/{Refinery.t.sol → ParaswapDexAdapter.t.sol}/VmContractHelper145.abi.json +0 -0
- /package/out/{Settler.t.sol/VmContractHelper151.abi.json → Refinery.t.sol/VmContractHelper148.abi.json} +0 -0
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"type": "function",
|
|
4
|
+
"name": "deployCode",
|
|
5
|
+
"inputs": [
|
|
6
|
+
{
|
|
7
|
+
"name": "_artifact",
|
|
8
|
+
"type": "string",
|
|
9
|
+
"internalType": "string"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "_value",
|
|
13
|
+
"type": "uint256",
|
|
14
|
+
"internalType": "uint256"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "_salt",
|
|
18
|
+
"type": "bytes32",
|
|
19
|
+
"internalType": "bytes32"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"outputs": [
|
|
23
|
+
{
|
|
24
|
+
"name": "",
|
|
25
|
+
"type": "address",
|
|
26
|
+
"internalType": "address"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"stateMutability": "nonpayable"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"type": "function",
|
|
33
|
+
"name": "deployCode",
|
|
34
|
+
"inputs": [
|
|
35
|
+
{
|
|
36
|
+
"name": "_artifact",
|
|
37
|
+
"type": "string",
|
|
38
|
+
"internalType": "string"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "_args",
|
|
42
|
+
"type": "bytes",
|
|
43
|
+
"internalType": "bytes"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "_salt",
|
|
47
|
+
"type": "bytes32",
|
|
48
|
+
"internalType": "bytes32"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"outputs": [
|
|
52
|
+
{
|
|
53
|
+
"name": "",
|
|
54
|
+
"type": "address",
|
|
55
|
+
"internalType": "address"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"stateMutability": "nonpayable"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"type": "function",
|
|
62
|
+
"name": "deployCode",
|
|
63
|
+
"inputs": [
|
|
64
|
+
{
|
|
65
|
+
"name": "_artifact",
|
|
66
|
+
"type": "string",
|
|
67
|
+
"internalType": "string"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "_value",
|
|
71
|
+
"type": "uint256",
|
|
72
|
+
"internalType": "uint256"
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"outputs": [
|
|
76
|
+
{
|
|
77
|
+
"name": "",
|
|
78
|
+
"type": "address",
|
|
79
|
+
"internalType": "address"
|
|
80
|
+
}
|
|
81
|
+
],
|
|
82
|
+
"stateMutability": "nonpayable"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"type": "function",
|
|
86
|
+
"name": "deployCode",
|
|
87
|
+
"inputs": [
|
|
88
|
+
{
|
|
89
|
+
"name": "_artifact",
|
|
90
|
+
"type": "string",
|
|
91
|
+
"internalType": "string"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "_salt",
|
|
95
|
+
"type": "bytes32",
|
|
96
|
+
"internalType": "bytes32"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"outputs": [
|
|
100
|
+
{
|
|
101
|
+
"name": "",
|
|
102
|
+
"type": "address",
|
|
103
|
+
"internalType": "address"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"stateMutability": "nonpayable"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"type": "function",
|
|
110
|
+
"name": "deployCode",
|
|
111
|
+
"inputs": [
|
|
112
|
+
{
|
|
113
|
+
"name": "_artifact",
|
|
114
|
+
"type": "string",
|
|
115
|
+
"internalType": "string"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "_args",
|
|
119
|
+
"type": "bytes",
|
|
120
|
+
"internalType": "bytes"
|
|
121
|
+
}
|
|
122
|
+
],
|
|
123
|
+
"outputs": [
|
|
124
|
+
{
|
|
125
|
+
"name": "",
|
|
126
|
+
"type": "address",
|
|
127
|
+
"internalType": "address"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"stateMutability": "nonpayable"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"type": "function",
|
|
134
|
+
"name": "deployCode",
|
|
135
|
+
"inputs": [
|
|
136
|
+
{
|
|
137
|
+
"name": "_artifact",
|
|
138
|
+
"type": "string",
|
|
139
|
+
"internalType": "string"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "_args",
|
|
143
|
+
"type": "bytes",
|
|
144
|
+
"internalType": "bytes"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "_value",
|
|
148
|
+
"type": "uint256",
|
|
149
|
+
"internalType": "uint256"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "_salt",
|
|
153
|
+
"type": "bytes32",
|
|
154
|
+
"internalType": "bytes32"
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"outputs": [
|
|
158
|
+
{
|
|
159
|
+
"name": "",
|
|
160
|
+
"type": "address",
|
|
161
|
+
"internalType": "address"
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
"stateMutability": "nonpayable"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"type": "function",
|
|
168
|
+
"name": "deployCode",
|
|
169
|
+
"inputs": [
|
|
170
|
+
{
|
|
171
|
+
"name": "_artifact",
|
|
172
|
+
"type": "string",
|
|
173
|
+
"internalType": "string"
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
"outputs": [
|
|
177
|
+
{
|
|
178
|
+
"name": "",
|
|
179
|
+
"type": "address",
|
|
180
|
+
"internalType": "address"
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"stateMutability": "nonpayable"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"type": "function",
|
|
187
|
+
"name": "deployCode",
|
|
188
|
+
"inputs": [
|
|
189
|
+
{
|
|
190
|
+
"name": "_artifact",
|
|
191
|
+
"type": "string",
|
|
192
|
+
"internalType": "string"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "_args",
|
|
196
|
+
"type": "bytes",
|
|
197
|
+
"internalType": "bytes"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "_value",
|
|
201
|
+
"type": "uint256",
|
|
202
|
+
"internalType": "uint256"
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
"outputs": [
|
|
206
|
+
{
|
|
207
|
+
"name": "",
|
|
208
|
+
"type": "address",
|
|
209
|
+
"internalType": "address"
|
|
210
|
+
}
|
|
211
|
+
],
|
|
212
|
+
"stateMutability": "nonpayable"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"type": "function",
|
|
216
|
+
"name": "getCode",
|
|
217
|
+
"inputs": [
|
|
218
|
+
{
|
|
219
|
+
"name": "_artifact",
|
|
220
|
+
"type": "string",
|
|
221
|
+
"internalType": "string"
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"outputs": [
|
|
225
|
+
{
|
|
226
|
+
"name": "",
|
|
227
|
+
"type": "bytes",
|
|
228
|
+
"internalType": "bytes"
|
|
229
|
+
}
|
|
230
|
+
],
|
|
231
|
+
"stateMutability": "view"
|
|
232
|
+
}
|
|
233
|
+
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orbs-network/spot",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.2",
|
|
4
4
|
"description": "**A DeFi protocol for noncustodial advanced order types on EVM chains.**",
|
|
5
5
|
"homepage": "https://orbs-network.github.io/spot/",
|
|
6
6
|
"bugs": {
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"sync": "./script/sync.zsh",
|
|
23
23
|
"plugin:build": "npm run sync && ./script/plugin.zsh",
|
|
24
24
|
"build": "npm run sync && forge build --extra-output-files abi",
|
|
25
|
-
"test": "
|
|
25
|
+
"test:e2e": "./script/config",
|
|
26
|
+
"test": "forge test && npm run test:e2e",
|
|
26
27
|
"prepublishOnly": "npm run fmt && npm run build && npm run test",
|
|
27
28
|
"postpublish": "npm publish -w skill && npm pack -w skill"
|
|
28
29
|
},
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/out/OrderReactorPause.t.sol/{VmContractHelper135.abi.json → VmContractHelper140.abi.json}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|