@cetusprotocol/aggregator-sdk 0.14.1 → 0.15.0
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/benchmark-results/benchmark-results-2025-07-17T12-03-15-563Z.csv +3 -0
- package/benchmark-results/benchmark-results-2025-07-17T12-03-15-563Z.json +56 -0
- package/benchmark-results/benchmark-results-2025-07-17T12-03-34-148Z.csv +3 -0
- package/benchmark-results/benchmark-results-2025-07-17T12-03-34-148Z.json +56 -0
- package/benchmark-results/benchmark-results-2025-07-21T03-31-59-263Z.csv +21 -0
- package/benchmark-results/benchmark-results-2025-07-21T03-31-59-263Z.json +444 -0
- package/benchmark-results/benchmark-results-2025-07-21T07-54-54-916Z.csv +21 -0
- package/benchmark-results/benchmark-results-2025-07-21T07-54-54-916Z.json +503 -0
- package/benchmark-results/error-report-2025-07-17T12-03-34-148Z.md +18 -0
- package/benchmark-results/error-report-2025-07-21T03-31-59-263Z.md +18 -0
- package/benchmark-results/error-report-2025-07-21T07-54-54-916Z.md +18 -0
- package/benchmark-results/gas-analysis-report-2025-07-17T12-03-15-563Z.md +80 -0
- package/benchmark-results/gas-analysis-report-2025-07-17T12-03-34-148Z.md +80 -0
- package/benchmark-results/gas-analysis-report-2025-07-21T03-31-59-263Z.md +296 -0
- package/benchmark-results/gas-analysis-report-2025-07-21T07-54-54-916Z.md +323 -0
- package/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +168 -13
- package/dist/index.mjs +167 -13
- package/package.json +1 -1
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"v2": [
|
|
3
|
+
{
|
|
4
|
+
"gasMetrics": {
|
|
5
|
+
"computationCost": "1420000",
|
|
6
|
+
"storageCost": "8352400",
|
|
7
|
+
"storageRebate": "7290756",
|
|
8
|
+
"nonRefundableStorageFee": "73644",
|
|
9
|
+
"totalGasCost": "2555288",
|
|
10
|
+
"gasUsed": "1420000",
|
|
11
|
+
"gasPrice": "1000",
|
|
12
|
+
"success": true
|
|
13
|
+
},
|
|
14
|
+
"amountIn": "4c4b40",
|
|
15
|
+
"amountOut": "4a240be7",
|
|
16
|
+
"priceImpact": -24777.52,
|
|
17
|
+
"gasEfficiency": 486,
|
|
18
|
+
"provider": "MAGMA",
|
|
19
|
+
"route": [
|
|
20
|
+
"MAGMA"
|
|
21
|
+
],
|
|
22
|
+
"timestamp": 1752753791128
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"v3": [
|
|
26
|
+
{
|
|
27
|
+
"gasMetrics": {
|
|
28
|
+
"computationCost": "710000",
|
|
29
|
+
"storageCost": "8352400",
|
|
30
|
+
"storageRebate": "7290756",
|
|
31
|
+
"nonRefundableStorageFee": "73644",
|
|
32
|
+
"totalGasCost": "1845288",
|
|
33
|
+
"gasUsed": "710000",
|
|
34
|
+
"gasPrice": "1000",
|
|
35
|
+
"success": true
|
|
36
|
+
},
|
|
37
|
+
"amountIn": "4c4b40",
|
|
38
|
+
"amountOut": "4a289111",
|
|
39
|
+
"priceImpact": -24783.45,
|
|
40
|
+
"gasEfficiency": 674,
|
|
41
|
+
"provider": "MAGMA",
|
|
42
|
+
"route": [
|
|
43
|
+
"MAGMA"
|
|
44
|
+
],
|
|
45
|
+
"timestamp": 1752753794556
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"summary": {
|
|
49
|
+
"v2AverageGas": "2555288",
|
|
50
|
+
"v3AverageGas": "1845288",
|
|
51
|
+
"gasSavingsPercent": 27.78,
|
|
52
|
+
"v2SuccessRate": 100,
|
|
53
|
+
"v3SuccessRate": 100,
|
|
54
|
+
"totalTests": 2
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"v2": [
|
|
3
|
+
{
|
|
4
|
+
"gasMetrics": {
|
|
5
|
+
"computationCost": "1420000",
|
|
6
|
+
"storageCost": "8352400",
|
|
7
|
+
"storageRebate": "7290756",
|
|
8
|
+
"nonRefundableStorageFee": "73644",
|
|
9
|
+
"totalGasCost": "2555288",
|
|
10
|
+
"gasUsed": "1420000",
|
|
11
|
+
"gasPrice": "1000",
|
|
12
|
+
"success": true
|
|
13
|
+
},
|
|
14
|
+
"amountIn": "4c4b40",
|
|
15
|
+
"amountOut": "4a289111",
|
|
16
|
+
"priceImpact": -24783.45,
|
|
17
|
+
"gasEfficiency": 486,
|
|
18
|
+
"provider": "MAGMA",
|
|
19
|
+
"route": [
|
|
20
|
+
"MAGMA"
|
|
21
|
+
],
|
|
22
|
+
"timestamp": 1752753809734
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"v3": [
|
|
26
|
+
{
|
|
27
|
+
"gasMetrics": {
|
|
28
|
+
"computationCost": "710000",
|
|
29
|
+
"storageCost": "8352400",
|
|
30
|
+
"storageRebate": "7290756",
|
|
31
|
+
"nonRefundableStorageFee": "73644",
|
|
32
|
+
"totalGasCost": "1845288",
|
|
33
|
+
"gasUsed": "710000",
|
|
34
|
+
"gasPrice": "1000",
|
|
35
|
+
"success": true
|
|
36
|
+
},
|
|
37
|
+
"amountIn": "4c4b40",
|
|
38
|
+
"amountOut": "4a289111",
|
|
39
|
+
"priceImpact": -24783.45,
|
|
40
|
+
"gasEfficiency": 674,
|
|
41
|
+
"provider": "MAGMA",
|
|
42
|
+
"route": [
|
|
43
|
+
"MAGMA"
|
|
44
|
+
],
|
|
45
|
+
"timestamp": 1752753813146
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"summary": {
|
|
49
|
+
"v2AverageGas": "2555288",
|
|
50
|
+
"v3AverageGas": "1845288",
|
|
51
|
+
"gasSavingsPercent": 27.78,
|
|
52
|
+
"v2SuccessRate": 100,
|
|
53
|
+
"v3SuccessRate": 100,
|
|
54
|
+
"totalTests": 2
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Version,Provider,Success,AmountIn,AmountOut,TotalGasCost,ComputationCost,GasEfficiency,PriceImpact,Timestamp
|
|
2
|
+
V2,MAGMA,true,5000000,1258299255,2556656,1420000,492,-25065.98,1753068334517
|
|
3
|
+
V2,MAGMA,true,50000000,12574255625,2556656,1420000,4918,-25048.51,1753068346313
|
|
4
|
+
V2,MAGMA,true,500000000,125480226090,2764288,1420000,45393,-24996.04,1753068356111
|
|
5
|
+
V2,MAGMA,true,100000000000,24890183842651,5052200,2130000,4926603,-24790.18,1753068365179
|
|
6
|
+
V2,CETUS,true,500000,125980647,2829040,1420000,44,-25096.12,1753068374839
|
|
7
|
+
V2,CETUS,true,5000000,1258278343,2950184,1420000,426,-25065.56,1753068384363
|
|
8
|
+
V2,CETUS,true,50000000,12578426109,3014936,1420000,4172,-25056.85,1753068392839
|
|
9
|
+
V2,CETUS,true,10000000000,2515179479306,1913384,710000,1314518,-25051.79,1753068402439
|
|
10
|
+
V2,CETUS,true,10000000000,39721642,1913384,710000,20,99.6,1753068481963
|
|
11
|
+
V2,CETUS,true,100000000000,397530003,1913384,710000,207,99.6,1753068641345
|
|
12
|
+
V3,MAGMA,true,5000000,1258299255,1846656,710000,681,-25065.98,1753068338942
|
|
13
|
+
V3,MAGMA,true,50000000,12574255625,1846656,710000,6809,-25048.51,1753068351410
|
|
14
|
+
V3,MAGMA,true,500000000,125480226090,2054288,710000,61082,-24996.04,1753068360046
|
|
15
|
+
V3,MAGMA,true,100000000000,24890183842651,4342200,1420000,5732159,-24790.18,1753068369762
|
|
16
|
+
V3,CETUS,true,500000,125980647,2119040,710000,59,-25096.12,1753068379188
|
|
17
|
+
V3,CETUS,true,5000000,1258278343,2240184,710000,561,-25065.56,1753068387883
|
|
18
|
+
V3,CETUS,true,50000000,12578426109,3014936,1420000,4172,-25056.85,1753068397989
|
|
19
|
+
V3,CETUS,true,10000000000,2515179479306,1913384,710000,1314518,-25051.79,1753068407309
|
|
20
|
+
V3,CETUS,true,10000000000,39738545,2033464,710000,19,99.6,1753068558374
|
|
21
|
+
V3,CETUS,true,100000000000,398281652,1913384,710000,208,99.6,1753068718257
|
|
@@ -0,0 +1,444 @@
|
|
|
1
|
+
{
|
|
2
|
+
"v2": [
|
|
3
|
+
{
|
|
4
|
+
"gasMetrics": {
|
|
5
|
+
"computationCost": "1420000",
|
|
6
|
+
"storageCost": "8420800",
|
|
7
|
+
"storageRebate": "7358472",
|
|
8
|
+
"nonRefundableStorageFee": "74328",
|
|
9
|
+
"totalGasCost": "2556656",
|
|
10
|
+
"gasUsed": "1420000",
|
|
11
|
+
"gasPrice": "1000",
|
|
12
|
+
"success": true
|
|
13
|
+
},
|
|
14
|
+
"amountIn": "4c4b40",
|
|
15
|
+
"amountOut": "4b001f77",
|
|
16
|
+
"priceImpact": -25065.98,
|
|
17
|
+
"gasEfficiency": 492,
|
|
18
|
+
"provider": "MAGMA",
|
|
19
|
+
"route": [
|
|
20
|
+
"MAGMA"
|
|
21
|
+
],
|
|
22
|
+
"timestamp": 1753068334517
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"gasMetrics": {
|
|
26
|
+
"computationCost": "1420000",
|
|
27
|
+
"storageCost": "8420800",
|
|
28
|
+
"storageRebate": "7358472",
|
|
29
|
+
"nonRefundableStorageFee": "74328",
|
|
30
|
+
"totalGasCost": "2556656",
|
|
31
|
+
"gasUsed": "1420000",
|
|
32
|
+
"gasPrice": "1000",
|
|
33
|
+
"success": true
|
|
34
|
+
},
|
|
35
|
+
"amountIn": "02faf080",
|
|
36
|
+
"amountOut": "02ed7bea09",
|
|
37
|
+
"priceImpact": -25048.51,
|
|
38
|
+
"gasEfficiency": 4918,
|
|
39
|
+
"provider": "MAGMA",
|
|
40
|
+
"route": [
|
|
41
|
+
"MAGMA"
|
|
42
|
+
],
|
|
43
|
+
"timestamp": 1753068346313
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"gasMetrics": {
|
|
47
|
+
"computationCost": "1420000",
|
|
48
|
+
"storageCost": "18802400",
|
|
49
|
+
"storageRebate": "17636256",
|
|
50
|
+
"nonRefundableStorageFee": "178144",
|
|
51
|
+
"totalGasCost": "2764288",
|
|
52
|
+
"gasUsed": "1420000",
|
|
53
|
+
"gasPrice": "1000",
|
|
54
|
+
"success": true
|
|
55
|
+
},
|
|
56
|
+
"amountIn": "1dcd6500",
|
|
57
|
+
"amountOut": "1d37344d2a",
|
|
58
|
+
"priceImpact": -24996.04,
|
|
59
|
+
"gasEfficiency": 45393,
|
|
60
|
+
"provider": "MAGMA",
|
|
61
|
+
"route": [
|
|
62
|
+
"MAGMA",
|
|
63
|
+
"MAGMA"
|
|
64
|
+
],
|
|
65
|
+
"timestamp": 1753068356111
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"gasMetrics": {
|
|
69
|
+
"computationCost": "2130000",
|
|
70
|
+
"storageCost": "97698000",
|
|
71
|
+
"storageRebate": "95742900",
|
|
72
|
+
"nonRefundableStorageFee": "967100",
|
|
73
|
+
"totalGasCost": "5052200",
|
|
74
|
+
"gasUsed": "2130000",
|
|
75
|
+
"gasPrice": "1000",
|
|
76
|
+
"success": true
|
|
77
|
+
},
|
|
78
|
+
"amountIn": "174876e800",
|
|
79
|
+
"amountOut": "16a33290fb5b",
|
|
80
|
+
"priceImpact": -24790.18,
|
|
81
|
+
"gasEfficiency": 4926603,
|
|
82
|
+
"provider": "MAGMA",
|
|
83
|
+
"route": [
|
|
84
|
+
"MAGMA",
|
|
85
|
+
"MAGMA"
|
|
86
|
+
],
|
|
87
|
+
"timestamp": 1753068365179
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"gasMetrics": {
|
|
91
|
+
"computationCost": "1420000",
|
|
92
|
+
"storageCost": "22040000",
|
|
93
|
+
"storageRebate": "20841480",
|
|
94
|
+
"nonRefundableStorageFee": "210520",
|
|
95
|
+
"totalGasCost": "2829040",
|
|
96
|
+
"gasUsed": "1420000",
|
|
97
|
+
"gasPrice": "1000",
|
|
98
|
+
"success": true
|
|
99
|
+
},
|
|
100
|
+
"amountIn": "07a120",
|
|
101
|
+
"amountOut": "07824fe7",
|
|
102
|
+
"priceImpact": -25096.12,
|
|
103
|
+
"gasEfficiency": 44,
|
|
104
|
+
"provider": "CETUS",
|
|
105
|
+
"route": [
|
|
106
|
+
"CETUS -> CETUS -> CETUS"
|
|
107
|
+
],
|
|
108
|
+
"timestamp": 1753068374839
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"gasMetrics": {
|
|
112
|
+
"computationCost": "1420000",
|
|
113
|
+
"storageCost": "28097200",
|
|
114
|
+
"storageRebate": "26838108",
|
|
115
|
+
"nonRefundableStorageFee": "271092",
|
|
116
|
+
"totalGasCost": "2950184",
|
|
117
|
+
"gasUsed": "1420000",
|
|
118
|
+
"gasPrice": "1000",
|
|
119
|
+
"success": true
|
|
120
|
+
},
|
|
121
|
+
"amountIn": "4c4b40",
|
|
122
|
+
"amountOut": "4affcdc7",
|
|
123
|
+
"priceImpact": -25065.56,
|
|
124
|
+
"gasEfficiency": 426,
|
|
125
|
+
"provider": "CETUS",
|
|
126
|
+
"route": [
|
|
127
|
+
"CETUS",
|
|
128
|
+
"CETUS -> CETUS -> CETUS"
|
|
129
|
+
],
|
|
130
|
+
"timestamp": 1753068384363
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"gasMetrics": {
|
|
134
|
+
"computationCost": "1420000",
|
|
135
|
+
"storageCost": "31334800",
|
|
136
|
+
"storageRebate": "30043332",
|
|
137
|
+
"nonRefundableStorageFee": "303468",
|
|
138
|
+
"totalGasCost": "3014936",
|
|
139
|
+
"gasUsed": "1420000",
|
|
140
|
+
"gasPrice": "1000",
|
|
141
|
+
"success": true
|
|
142
|
+
},
|
|
143
|
+
"amountIn": "02faf080",
|
|
144
|
+
"amountOut": "02edbb8cfd",
|
|
145
|
+
"priceImpact": -25056.85,
|
|
146
|
+
"gasEfficiency": 4172,
|
|
147
|
+
"provider": "CETUS",
|
|
148
|
+
"route": [
|
|
149
|
+
"CETUS",
|
|
150
|
+
"CETUS -> CETUS",
|
|
151
|
+
"CETUS"
|
|
152
|
+
],
|
|
153
|
+
"timestamp": 1753068392839
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"gasMetrics": {
|
|
157
|
+
"computationCost": "710000",
|
|
158
|
+
"storageCost": "11757200",
|
|
159
|
+
"storageRebate": "10661508",
|
|
160
|
+
"nonRefundableStorageFee": "107692",
|
|
161
|
+
"totalGasCost": "1913384",
|
|
162
|
+
"gasUsed": "710000",
|
|
163
|
+
"gasPrice": "1000",
|
|
164
|
+
"success": true
|
|
165
|
+
},
|
|
166
|
+
"amountIn": "02540be400",
|
|
167
|
+
"amountOut": "02499c61210a",
|
|
168
|
+
"priceImpact": -25051.79,
|
|
169
|
+
"gasEfficiency": 1314518,
|
|
170
|
+
"provider": "CETUS",
|
|
171
|
+
"route": [
|
|
172
|
+
"CETUS"
|
|
173
|
+
],
|
|
174
|
+
"timestamp": 1753068402439
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"gasMetrics": {
|
|
178
|
+
"computationCost": "710000",
|
|
179
|
+
"storageCost": "11757200",
|
|
180
|
+
"storageRebate": "10661508",
|
|
181
|
+
"nonRefundableStorageFee": "107692",
|
|
182
|
+
"totalGasCost": "1913384",
|
|
183
|
+
"gasUsed": "710000",
|
|
184
|
+
"gasPrice": "1000",
|
|
185
|
+
"success": true
|
|
186
|
+
},
|
|
187
|
+
"amountIn": "02540be400",
|
|
188
|
+
"amountOut": "025e1aaa",
|
|
189
|
+
"priceImpact": 99.6,
|
|
190
|
+
"gasEfficiency": 20,
|
|
191
|
+
"provider": "CETUS",
|
|
192
|
+
"route": [
|
|
193
|
+
"CETUS"
|
|
194
|
+
],
|
|
195
|
+
"timestamp": 1753068481963
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"gasMetrics": {
|
|
199
|
+
"computationCost": "710000",
|
|
200
|
+
"storageCost": "11757200",
|
|
201
|
+
"storageRebate": "10661508",
|
|
202
|
+
"nonRefundableStorageFee": "107692",
|
|
203
|
+
"totalGasCost": "1913384",
|
|
204
|
+
"gasUsed": "710000",
|
|
205
|
+
"gasPrice": "1000",
|
|
206
|
+
"success": true
|
|
207
|
+
},
|
|
208
|
+
"amountIn": "174876e800",
|
|
209
|
+
"amountOut": "17b1d393",
|
|
210
|
+
"priceImpact": 99.6,
|
|
211
|
+
"gasEfficiency": 207,
|
|
212
|
+
"provider": "CETUS",
|
|
213
|
+
"route": [
|
|
214
|
+
"CETUS"
|
|
215
|
+
],
|
|
216
|
+
"timestamp": 1753068641345
|
|
217
|
+
}
|
|
218
|
+
],
|
|
219
|
+
"v3": [
|
|
220
|
+
{
|
|
221
|
+
"gasMetrics": {
|
|
222
|
+
"computationCost": "710000",
|
|
223
|
+
"storageCost": "8420800",
|
|
224
|
+
"storageRebate": "7358472",
|
|
225
|
+
"nonRefundableStorageFee": "74328",
|
|
226
|
+
"totalGasCost": "1846656",
|
|
227
|
+
"gasUsed": "710000",
|
|
228
|
+
"gasPrice": "1000",
|
|
229
|
+
"success": true
|
|
230
|
+
},
|
|
231
|
+
"amountIn": "4c4b40",
|
|
232
|
+
"amountOut": "4b001f77",
|
|
233
|
+
"priceImpact": -25065.98,
|
|
234
|
+
"gasEfficiency": 681,
|
|
235
|
+
"provider": "MAGMA",
|
|
236
|
+
"route": [
|
|
237
|
+
"MAGMA"
|
|
238
|
+
],
|
|
239
|
+
"timestamp": 1753068338942
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"gasMetrics": {
|
|
243
|
+
"computationCost": "710000",
|
|
244
|
+
"storageCost": "8420800",
|
|
245
|
+
"storageRebate": "7358472",
|
|
246
|
+
"nonRefundableStorageFee": "74328",
|
|
247
|
+
"totalGasCost": "1846656",
|
|
248
|
+
"gasUsed": "710000",
|
|
249
|
+
"gasPrice": "1000",
|
|
250
|
+
"success": true
|
|
251
|
+
},
|
|
252
|
+
"amountIn": "02faf080",
|
|
253
|
+
"amountOut": "02ed7bea09",
|
|
254
|
+
"priceImpact": -25048.51,
|
|
255
|
+
"gasEfficiency": 6809,
|
|
256
|
+
"provider": "MAGMA",
|
|
257
|
+
"route": [
|
|
258
|
+
"MAGMA"
|
|
259
|
+
],
|
|
260
|
+
"timestamp": 1753068351410
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"gasMetrics": {
|
|
264
|
+
"computationCost": "710000",
|
|
265
|
+
"storageCost": "18802400",
|
|
266
|
+
"storageRebate": "17636256",
|
|
267
|
+
"nonRefundableStorageFee": "178144",
|
|
268
|
+
"totalGasCost": "2054288",
|
|
269
|
+
"gasUsed": "710000",
|
|
270
|
+
"gasPrice": "1000",
|
|
271
|
+
"success": true
|
|
272
|
+
},
|
|
273
|
+
"amountIn": "1dcd6500",
|
|
274
|
+
"amountOut": "1d37344d2a",
|
|
275
|
+
"priceImpact": -24996.04,
|
|
276
|
+
"gasEfficiency": 61082,
|
|
277
|
+
"provider": "MAGMA",
|
|
278
|
+
"route": [
|
|
279
|
+
"MAGMA",
|
|
280
|
+
"MAGMA"
|
|
281
|
+
],
|
|
282
|
+
"timestamp": 1753068360046
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"gasMetrics": {
|
|
286
|
+
"computationCost": "1420000",
|
|
287
|
+
"storageCost": "97698000",
|
|
288
|
+
"storageRebate": "95742900",
|
|
289
|
+
"nonRefundableStorageFee": "967100",
|
|
290
|
+
"totalGasCost": "4342200",
|
|
291
|
+
"gasUsed": "1420000",
|
|
292
|
+
"gasPrice": "1000",
|
|
293
|
+
"success": true
|
|
294
|
+
},
|
|
295
|
+
"amountIn": "174876e800",
|
|
296
|
+
"amountOut": "16a33290fb5b",
|
|
297
|
+
"priceImpact": -24790.18,
|
|
298
|
+
"gasEfficiency": 5732159,
|
|
299
|
+
"provider": "MAGMA",
|
|
300
|
+
"route": [
|
|
301
|
+
"MAGMA",
|
|
302
|
+
"MAGMA"
|
|
303
|
+
],
|
|
304
|
+
"timestamp": 1753068369762
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"gasMetrics": {
|
|
308
|
+
"computationCost": "710000",
|
|
309
|
+
"storageCost": "22040000",
|
|
310
|
+
"storageRebate": "20841480",
|
|
311
|
+
"nonRefundableStorageFee": "210520",
|
|
312
|
+
"totalGasCost": "2119040",
|
|
313
|
+
"gasUsed": "710000",
|
|
314
|
+
"gasPrice": "1000",
|
|
315
|
+
"success": true
|
|
316
|
+
},
|
|
317
|
+
"amountIn": "07a120",
|
|
318
|
+
"amountOut": "07824fe7",
|
|
319
|
+
"priceImpact": -25096.12,
|
|
320
|
+
"gasEfficiency": 59,
|
|
321
|
+
"provider": "CETUS",
|
|
322
|
+
"route": [
|
|
323
|
+
"CETUS -> CETUS -> CETUS"
|
|
324
|
+
],
|
|
325
|
+
"timestamp": 1753068379188
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"gasMetrics": {
|
|
329
|
+
"computationCost": "710000",
|
|
330
|
+
"storageCost": "28097200",
|
|
331
|
+
"storageRebate": "26838108",
|
|
332
|
+
"nonRefundableStorageFee": "271092",
|
|
333
|
+
"totalGasCost": "2240184",
|
|
334
|
+
"gasUsed": "710000",
|
|
335
|
+
"gasPrice": "1000",
|
|
336
|
+
"success": true
|
|
337
|
+
},
|
|
338
|
+
"amountIn": "4c4b40",
|
|
339
|
+
"amountOut": "4affcdc7",
|
|
340
|
+
"priceImpact": -25065.56,
|
|
341
|
+
"gasEfficiency": 561,
|
|
342
|
+
"provider": "CETUS",
|
|
343
|
+
"route": [
|
|
344
|
+
"CETUS",
|
|
345
|
+
"CETUS -> CETUS -> CETUS"
|
|
346
|
+
],
|
|
347
|
+
"timestamp": 1753068387883
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"gasMetrics": {
|
|
351
|
+
"computationCost": "1420000",
|
|
352
|
+
"storageCost": "31334800",
|
|
353
|
+
"storageRebate": "30043332",
|
|
354
|
+
"nonRefundableStorageFee": "303468",
|
|
355
|
+
"totalGasCost": "3014936",
|
|
356
|
+
"gasUsed": "1420000",
|
|
357
|
+
"gasPrice": "1000",
|
|
358
|
+
"success": true
|
|
359
|
+
},
|
|
360
|
+
"amountIn": "02faf080",
|
|
361
|
+
"amountOut": "02edbb8cfd",
|
|
362
|
+
"priceImpact": -25056.85,
|
|
363
|
+
"gasEfficiency": 4172,
|
|
364
|
+
"provider": "CETUS",
|
|
365
|
+
"route": [
|
|
366
|
+
"CETUS",
|
|
367
|
+
"CETUS -> CETUS",
|
|
368
|
+
"CETUS"
|
|
369
|
+
],
|
|
370
|
+
"timestamp": 1753068397989
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"gasMetrics": {
|
|
374
|
+
"computationCost": "710000",
|
|
375
|
+
"storageCost": "11757200",
|
|
376
|
+
"storageRebate": "10661508",
|
|
377
|
+
"nonRefundableStorageFee": "107692",
|
|
378
|
+
"totalGasCost": "1913384",
|
|
379
|
+
"gasUsed": "710000",
|
|
380
|
+
"gasPrice": "1000",
|
|
381
|
+
"success": true
|
|
382
|
+
},
|
|
383
|
+
"amountIn": "02540be400",
|
|
384
|
+
"amountOut": "02499c61210a",
|
|
385
|
+
"priceImpact": -25051.79,
|
|
386
|
+
"gasEfficiency": 1314518,
|
|
387
|
+
"provider": "CETUS",
|
|
388
|
+
"route": [
|
|
389
|
+
"CETUS"
|
|
390
|
+
],
|
|
391
|
+
"timestamp": 1753068407309
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"gasMetrics": {
|
|
395
|
+
"computationCost": "710000",
|
|
396
|
+
"storageCost": "17761200",
|
|
397
|
+
"storageRebate": "16605468",
|
|
398
|
+
"nonRefundableStorageFee": "167732",
|
|
399
|
+
"totalGasCost": "2033464",
|
|
400
|
+
"gasUsed": "710000",
|
|
401
|
+
"gasPrice": "1000",
|
|
402
|
+
"success": true
|
|
403
|
+
},
|
|
404
|
+
"amountIn": "02540be400",
|
|
405
|
+
"amountOut": "025e5cb1",
|
|
406
|
+
"priceImpact": 99.6,
|
|
407
|
+
"gasEfficiency": 19,
|
|
408
|
+
"provider": "CETUS",
|
|
409
|
+
"route": [
|
|
410
|
+
"CETUS -> CETUS"
|
|
411
|
+
],
|
|
412
|
+
"timestamp": 1753068558374
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"gasMetrics": {
|
|
416
|
+
"computationCost": "710000",
|
|
417
|
+
"storageCost": "11757200",
|
|
418
|
+
"storageRebate": "10661508",
|
|
419
|
+
"nonRefundableStorageFee": "107692",
|
|
420
|
+
"totalGasCost": "1913384",
|
|
421
|
+
"gasUsed": "710000",
|
|
422
|
+
"gasPrice": "1000",
|
|
423
|
+
"success": true
|
|
424
|
+
},
|
|
425
|
+
"amountIn": "174876e800",
|
|
426
|
+
"amountOut": "17bd4bb4",
|
|
427
|
+
"priceImpact": 99.6,
|
|
428
|
+
"gasEfficiency": 208,
|
|
429
|
+
"provider": "CETUS",
|
|
430
|
+
"route": [
|
|
431
|
+
"CETUS"
|
|
432
|
+
],
|
|
433
|
+
"timestamp": 1753068718257
|
|
434
|
+
}
|
|
435
|
+
],
|
|
436
|
+
"summary": {
|
|
437
|
+
"v2AverageGas": "2746411",
|
|
438
|
+
"v3AverageGas": "2332419",
|
|
439
|
+
"gasSavingsPercent": 15.07,
|
|
440
|
+
"v2SuccessRate": 100,
|
|
441
|
+
"v3SuccessRate": 100,
|
|
442
|
+
"totalTests": 20
|
|
443
|
+
}
|
|
444
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
Version,Provider,Success,AmountIn,AmountOut,TotalGasCost,ComputationCost,GasEfficiency,PriceImpact,OriginalPaths,MergedPaths,PathReduction%,Timestamp
|
|
2
|
+
V2,MAGMA,true,5000000,1249657424,2815816,1420000,443,-24893.14,2,2,0.0,1753084009245
|
|
3
|
+
V2,MAGMA,true,50000000,12493047072,3206456,1420000,3896,-24886.09,3,3,0.0,1753084017093
|
|
4
|
+
V2,MAGMA,true,500000000,124784471893,3470936,1420000,35951,-24856.89,4,4,0.0,1753084025711
|
|
5
|
+
V2,MAGMA,true,100000000000,24599033923744,5270776,2130000,4667061,-24499.03,2,2,0.0,1753084037553
|
|
6
|
+
V2,CETUS,true,500000,124966122,2007168,710000,62,-24893.22,2,2,0.0,1753084050469
|
|
7
|
+
V2,CETUS,true,5000000,1249412379,1884200,710000,663,-24888.24,1,1,0.0,1753084061383
|
|
8
|
+
V2,CETUS,true,50000000,12492135092,2034528,710000,6140,-24884.27,2,2,0.0,1753084073839
|
|
9
|
+
V2,CETUS,true,10000000000,2497954364243,1913384,710000,1305516,-24879.54,1,1,0.0,1753084089280
|
|
10
|
+
V2,CETUS,true,10000000000,39997501,2034528,710000,19,99.6,2,2,0.0,1753084250912
|
|
11
|
+
V2,CETUS,true,100000000000,399345271,5872104,3550000,68,99.6,11,11,0.0,1753084442109
|
|
12
|
+
V3,MAGMA,true,5000000,1249657424,2105816,710000,593,-24893.14,2,2,0.0,1753084011913
|
|
13
|
+
V3,MAGMA,true,50000000,12493047072,2496456,710000,5004,-24886.09,3,3,0.0,1753084019807
|
|
14
|
+
V3,MAGMA,true,500000000,124783414019,3470936,1420000,35950,-24856.68,4,4,0.0,1753084028301
|
|
15
|
+
V3,MAGMA,true,100000000000,24599033923744,4560776,1420000,5393607,-24499.03,2,2,0.0,1753084041285
|
|
16
|
+
V3,CETUS,true,500000,124966122,2007168,710000,62,-24893.22,2,2,0.0,1753084053505
|
|
17
|
+
V3,CETUS,true,5000000,1249412379,1884200,710000,663,-24888.24,1,1,0.0,1753084065192
|
|
18
|
+
V3,CETUS,true,50000000,12491557861,3014936,1420000,4143,-24883.11,4,4,0.0,1753084077894
|
|
19
|
+
V3,CETUS,true,10000000000,2497931576309,1913384,710000,1305504,-24879.31,1,1,0.0,1753084093134
|
|
20
|
+
V3,CETUS,true,10000000000,39964228,5084888,2840000,7,99.6,10,9,10.0,1753084303624
|
|
21
|
+
V3,CETUS,true,100000000000,399385069,3288688,1420000,121,99.6,7,6,14.3,1753084493911
|