@somnia-chain/contracts-sdk 0.3.9 → 0.3.13
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/gen/abi/prophecy-oracle/OracleCore.js +6 -0
- package/dist/gen/abi/prophecy-oracle/OracleEntryPoint.d.ts +2 -2
- package/dist/gen/abi/prophecy-oracle/OracleEntryPoint.js +8 -2
- package/dist/gen/abi/prophecy-oracle/PriceFeedScheduler.js +6 -0
- package/dist/gen/abi/prophecy-oracle/QuestionModerationRegistry.js +6 -0
- package/dist/gen/abi/prophecy-oracle/QuestionNameRegistry.js +6 -0
- package/dist/gen/abi/somnia-agents/agentRegistry.js +7 -0
- package/dist/gen/abi/somnia-dex-protocol/dream-vault.implementation.d.ts +2 -2
- package/dist/gen/abi/somnia-dex-protocol/dream-vault.implementation.js +7 -2
- package/dist/gen/abi/somnia-dex-protocol/perp-liquidation-swapper.implementation.d.ts +2 -2
- package/dist/gen/abi/somnia-dex-protocol/perp-liquidation-swapper.implementation.js +2 -6
- package/dist/gen/abi/somnia-dex-protocol/perps-protocol.LIT-PERP_baseToken.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps-protocol.LIT-PERP_baseToken.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps-protocol.WTI-PERP_baseToken.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps-protocol.WTI-PERP_baseToken.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps-protocol.ZEC-PERP_baseToken.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps-protocol.ZEC-PERP_baseToken.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps-protocol.perpsKeeperLens.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps-protocol.perpsKeeperLens.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.COIN.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.COIN.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.GOOGL.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.GOOGL.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HOOD.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HOOD.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HYNX.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.HYNX.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.INTC.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.INTC.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.LITE.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.LITE.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.MRVL.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.MRVL.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.MSTR.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.MSTR.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.TSLA.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.TSLA.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.WTI.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.WTI.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XAG.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XAG.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XAU.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/perps.perpStopOrderRegistries.XAU.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/spot-pool.SpotPool_Implementation.js +4 -0
- package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.spotStopOrderRegistryImplementation.d.ts +2 -2
- package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.spotStopOrderRegistryImplementation.js +2 -6
- package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.USDT_USDso.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.USDT_USDso.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.bWBTC_USDso.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.bWBTC_USDso.js +3 -0
- package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.bWETH_USDso.d.ts +2 -0
- package/dist/gen/abi/somnia-dex-protocol/stop-order-registries.stopOrderRegistries.bWETH_USDso.js +3 -0
- package/dist/gen/abi/somnia-markets/FeedMarketCreatorFactory.d.ts +2 -0
- package/dist/gen/abi/somnia-markets/FeedMarketCreatorFactory.js +3 -0
- package/dist/gen/abi/somnia-markets/SomiLock.d.ts +2 -2
- package/dist/gen/abi/somnia-markets/SomiLock.js +2 -2
- package/dist/gen/abi/somnia-markets/UserVaultFactory.d.ts +2 -0
- package/dist/gen/abi/somnia-markets/UserVaultFactory.js +3 -0
- package/dist/gen/abi/somnia-markets/UserVaultImpl.d.ts +2 -0
- package/dist/gen/abi/somnia-markets/UserVaultImpl.js +3 -0
- package/dist/gen/abis/1d0ea05bc53d.d.ts +231 -0
- package/dist/gen/abis/1d0ea05bc53d.js +301 -0
- package/dist/gen/abis/32cc7a5169e1.d.ts +1704 -0
- package/dist/gen/abis/32cc7a5169e1.js +2200 -0
- package/dist/gen/abis/49ad550ed87e.d.ts +692 -0
- package/dist/gen/abis/49ad550ed87e.js +897 -0
- package/dist/gen/abis/4a5210d62566.d.ts +2197 -0
- package/dist/gen/abis/4a5210d62566.js +2834 -0
- package/dist/gen/abis/{1a2db3035880.d.ts → 59f72604787a.d.ts} +419 -497
- package/dist/gen/abis/{1a2db3035880.js → 59f72604787a.js} +482 -576
- package/dist/gen/abis/{9818d0265866.d.ts → 5a4a0858050e.d.ts} +486 -472
- package/dist/gen/abis/{9818d0265866.js → 5a4a0858050e.js} +563 -531
- package/dist/gen/abis/914f4b7b21d6.d.ts +853 -0
- package/dist/gen/abis/914f4b7b21d6.js +1118 -0
- package/dist/gen/abis/{afc6a4821e4a.d.ts → ac9568ce34c8.d.ts} +260 -3
- package/dist/gen/abis/{afc6a4821e4a.js → ac9568ce34c8.js} +332 -3
- package/dist/gen/abis/d0e583337129.d.ts +575 -0
- package/dist/gen/abis/d0e583337129.js +741 -0
- package/dist/gen/abis/d4649fdaaab6.d.ts +713 -0
- package/dist/gen/abis/d4649fdaaab6.js +925 -0
- package/dist/gen/abis/ee870f549cb8.d.ts +888 -0
- package/dist/gen/abis/ee870f549cb8.js +1147 -0
- package/dist/gen/abis-index.d.ts +134 -46682
- package/dist/gen/abis-index.js +22 -6
- package/dist/gen/meta.d.ts +2 -2
- package/dist/gen/meta.js +2 -2
- package/dist/gen/registry.d.ts +1912 -33
- package/dist/gen/registry.js +1914 -33
- package/package.json +1 -1
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
// Generated by `registry sdk` from dist-public/ — do not edit.
|
|
2
|
+
export const abi_1d0ea05bc53d = [
|
|
3
|
+
{
|
|
4
|
+
"inputs": [
|
|
5
|
+
{
|
|
6
|
+
"internalType": "address",
|
|
7
|
+
"name": "implementation",
|
|
8
|
+
"type": "address"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"stateMutability": "nonpayable",
|
|
12
|
+
"type": "constructor"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"inputs": [],
|
|
16
|
+
"name": "IMPLEMENTATION",
|
|
17
|
+
"outputs": [
|
|
18
|
+
{
|
|
19
|
+
"internalType": "address",
|
|
20
|
+
"name": "",
|
|
21
|
+
"type": "address"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"stateMutability": "view",
|
|
25
|
+
"type": "function"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"inputs": [
|
|
29
|
+
{
|
|
30
|
+
"internalType": "address",
|
|
31
|
+
"name": "owner",
|
|
32
|
+
"type": "address"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"internalType": "contract BinaryMarketsModule",
|
|
36
|
+
"name": "module",
|
|
37
|
+
"type": "address"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"internalType": "contract PriceFeedOracleAdapter",
|
|
41
|
+
"name": "adapter",
|
|
42
|
+
"type": "address"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"components": [
|
|
46
|
+
{
|
|
47
|
+
"internalType": "uint256",
|
|
48
|
+
"name": "tickSize",
|
|
49
|
+
"type": "uint256"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"internalType": "uint256",
|
|
53
|
+
"name": "minQuantity",
|
|
54
|
+
"type": "uint256"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"internalType": "uint256",
|
|
58
|
+
"name": "lotSize",
|
|
59
|
+
"type": "uint256"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"internalType": "struct OrderBookParameters",
|
|
63
|
+
"name": "bookParams",
|
|
64
|
+
"type": "tuple"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"internalType": "bytes32",
|
|
68
|
+
"name": "salt",
|
|
69
|
+
"type": "bytes32"
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"name": "create",
|
|
73
|
+
"outputs": [
|
|
74
|
+
{
|
|
75
|
+
"internalType": "contract FeedMarketCreator",
|
|
76
|
+
"name": "creator",
|
|
77
|
+
"type": "address"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"internalType": "contract MarketCreatorPolicy",
|
|
81
|
+
"name": "policy",
|
|
82
|
+
"type": "address"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"stateMutability": "nonpayable",
|
|
86
|
+
"type": "function"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"inputs": [],
|
|
90
|
+
"name": "creatorCount",
|
|
91
|
+
"outputs": [
|
|
92
|
+
{
|
|
93
|
+
"internalType": "uint256",
|
|
94
|
+
"name": "count",
|
|
95
|
+
"type": "uint256"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"stateMutability": "view",
|
|
99
|
+
"type": "function"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"inputs": [
|
|
103
|
+
{
|
|
104
|
+
"internalType": "uint256",
|
|
105
|
+
"name": "",
|
|
106
|
+
"type": "uint256"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"name": "creators",
|
|
110
|
+
"outputs": [
|
|
111
|
+
{
|
|
112
|
+
"internalType": "address",
|
|
113
|
+
"name": "",
|
|
114
|
+
"type": "address"
|
|
115
|
+
}
|
|
116
|
+
],
|
|
117
|
+
"stateMutability": "view",
|
|
118
|
+
"type": "function"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"inputs": [
|
|
122
|
+
{
|
|
123
|
+
"internalType": "uint256",
|
|
124
|
+
"name": "offset",
|
|
125
|
+
"type": "uint256"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"internalType": "uint256",
|
|
129
|
+
"name": "limit",
|
|
130
|
+
"type": "uint256"
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"name": "creatorsPaged",
|
|
134
|
+
"outputs": [
|
|
135
|
+
{
|
|
136
|
+
"internalType": "address[]",
|
|
137
|
+
"name": "page",
|
|
138
|
+
"type": "address[]"
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"stateMutability": "view",
|
|
142
|
+
"type": "function"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"inputs": [
|
|
146
|
+
{
|
|
147
|
+
"internalType": "address",
|
|
148
|
+
"name": "deployer",
|
|
149
|
+
"type": "address"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"internalType": "address",
|
|
153
|
+
"name": "owner",
|
|
154
|
+
"type": "address"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"internalType": "contract BinaryMarketsModule",
|
|
158
|
+
"name": "module",
|
|
159
|
+
"type": "address"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"internalType": "contract PriceFeedOracleAdapter",
|
|
163
|
+
"name": "adapter",
|
|
164
|
+
"type": "address"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"components": [
|
|
168
|
+
{
|
|
169
|
+
"internalType": "uint256",
|
|
170
|
+
"name": "tickSize",
|
|
171
|
+
"type": "uint256"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"internalType": "uint256",
|
|
175
|
+
"name": "minQuantity",
|
|
176
|
+
"type": "uint256"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"internalType": "uint256",
|
|
180
|
+
"name": "lotSize",
|
|
181
|
+
"type": "uint256"
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"internalType": "struct OrderBookParameters",
|
|
185
|
+
"name": "bookParams",
|
|
186
|
+
"type": "tuple"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"internalType": "bytes32",
|
|
190
|
+
"name": "salt",
|
|
191
|
+
"type": "bytes32"
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"name": "predictAddresses",
|
|
195
|
+
"outputs": [
|
|
196
|
+
{
|
|
197
|
+
"internalType": "address",
|
|
198
|
+
"name": "creator",
|
|
199
|
+
"type": "address"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"internalType": "address",
|
|
203
|
+
"name": "policy",
|
|
204
|
+
"type": "address"
|
|
205
|
+
}
|
|
206
|
+
],
|
|
207
|
+
"stateMutability": "view",
|
|
208
|
+
"type": "function"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"anonymous": false,
|
|
212
|
+
"inputs": [
|
|
213
|
+
{
|
|
214
|
+
"indexed": true,
|
|
215
|
+
"internalType": "address",
|
|
216
|
+
"name": "creator",
|
|
217
|
+
"type": "address"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"indexed": true,
|
|
221
|
+
"internalType": "address",
|
|
222
|
+
"name": "owner",
|
|
223
|
+
"type": "address"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"indexed": false,
|
|
227
|
+
"internalType": "address",
|
|
228
|
+
"name": "policy",
|
|
229
|
+
"type": "address"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"indexed": false,
|
|
233
|
+
"internalType": "address",
|
|
234
|
+
"name": "module",
|
|
235
|
+
"type": "address"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"indexed": false,
|
|
239
|
+
"internalType": "address",
|
|
240
|
+
"name": "adapter",
|
|
241
|
+
"type": "address"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"indexed": false,
|
|
245
|
+
"internalType": "address",
|
|
246
|
+
"name": "implementation",
|
|
247
|
+
"type": "address"
|
|
248
|
+
}
|
|
249
|
+
],
|
|
250
|
+
"name": "FeedMarketCreatorCreated",
|
|
251
|
+
"type": "event"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"inputs": [],
|
|
255
|
+
"name": "Create2EmptyBytecode",
|
|
256
|
+
"type": "error"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"inputs": [],
|
|
260
|
+
"name": "FailedDeployment",
|
|
261
|
+
"type": "error"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"inputs": [
|
|
265
|
+
{
|
|
266
|
+
"internalType": "uint256",
|
|
267
|
+
"name": "balance",
|
|
268
|
+
"type": "uint256"
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"internalType": "uint256",
|
|
272
|
+
"name": "needed",
|
|
273
|
+
"type": "uint256"
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
"name": "InsufficientBalance",
|
|
277
|
+
"type": "error"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"inputs": [
|
|
281
|
+
{
|
|
282
|
+
"internalType": "address",
|
|
283
|
+
"name": "implementation",
|
|
284
|
+
"type": "address"
|
|
285
|
+
}
|
|
286
|
+
],
|
|
287
|
+
"name": "InvalidImplementation",
|
|
288
|
+
"type": "error"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"inputs": [],
|
|
292
|
+
"name": "ZeroAddress",
|
|
293
|
+
"type": "error"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"inputs": [],
|
|
297
|
+
"name": "ZeroOwner",
|
|
298
|
+
"type": "error"
|
|
299
|
+
}
|
|
300
|
+
];
|
|
301
|
+
export const digest = "sha256:1d0ea05bc53dc9a2909cce8db2cc6597ac7606623c1d35c44a67a40873202ce0";
|