@somnia-chain/contracts-sdk 0.2.0 → 0.3.5
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 +32 -1
- package/dist/abis.d.ts +21 -1
- package/dist/abis.js +17 -1
- package/dist/enumerate.d.ts +56 -0
- package/dist/enumerate.js +70 -0
- package/dist/gen/abi/somnia-accounts/SafeProxyFactory.d.ts +2 -0
- package/dist/gen/abi/somnia-accounts/SafeProxyFactory.js +3 -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 +2 -2
- package/dist/gen/abi/somnia-markets/BinaryMarketsModule.d.ts +2 -2
- package/dist/gen/abi/somnia-markets/BinaryMarketsModule.js +2 -2
- package/dist/gen/abi/somnia-markets/FeedMarketCreator.d.ts +2 -0
- package/dist/gen/abi/somnia-markets/FeedMarketCreator.js +3 -0
- package/dist/gen/abi/somnia-markets/FeedMarketCreator.legacy1.d.ts +2 -0
- package/dist/gen/abi/somnia-markets/FeedMarketCreator.legacy1.js +3 -0
- package/dist/gen/abi/somnia-markets/FeedMarketCreator.legacy2.d.ts +2 -0
- package/dist/gen/abi/somnia-markets/FeedMarketCreator.legacy2.js +3 -0
- package/dist/gen/abi/somnia-markets/FeedMarketCreator.legacy3.d.ts +2 -0
- package/dist/gen/abi/somnia-markets/FeedMarketCreator.legacy3.js +3 -0
- package/dist/gen/abi/somnia-markets/FeedMarketCreator.legacy4.d.ts +2 -0
- package/dist/gen/abi/somnia-markets/FeedMarketCreator.legacy4.js +3 -0
- package/dist/gen/abi/somnia-markets/FeedMarketCreator.legacy5.d.ts +2 -0
- package/dist/gen/abi/somnia-markets/FeedMarketCreator.legacy5.js +3 -0
- package/dist/gen/abi/somnia-markets/PriceFeedOracleAdapter.d.ts +2 -0
- package/dist/gen/abi/somnia-markets/PriceFeedOracleAdapter.js +3 -0
- package/dist/gen/abi/somnia-markets/PriceFeedOracleAdapter.legacy1.d.ts +2 -0
- package/dist/gen/abi/somnia-markets/PriceFeedOracleAdapter.legacy1.js +3 -0
- package/dist/gen/abi/somnia-markets/PriceFeedOracleAdapter.legacy2.d.ts +2 -0
- package/dist/gen/abi/somnia-markets/PriceFeedOracleAdapter.legacy2.js +3 -0
- package/dist/gen/abi/somnia-markets/venue-2.marketCreator.js +4 -0
- package/dist/gen/abi/somnia-markets/venue-4.marketCreator.d.ts +2 -0
- package/dist/gen/abi/somnia-markets/venue-4.marketCreator.js +3 -0
- package/dist/gen/abi/somnia-markets/venue-4.marketCreatorPolicy.d.ts +2 -0
- package/dist/gen/abi/somnia-markets/venue-4.marketCreatorPolicy.js +3 -0
- package/dist/gen/abi/somnia-markets/venue-5.marketCreator.d.ts +2 -2
- package/dist/gen/abi/somnia-markets/venue-5.marketCreator.js +2 -2
- package/dist/gen/abis/{9611b42c6d5f.d.ts → 2fd67c1745ef.d.ts} +35 -2
- package/dist/gen/abis/{9611b42c6d5f.js → 2fd67c1745ef.js} +44 -2
- package/dist/gen/abis/44d37d7ba560.d.ts +180 -0
- package/dist/gen/abis/44d37d7ba560.js +233 -0
- package/dist/gen/abis/{49cb4deac436.d.ts → 88eb6f69cc13.d.ts} +145 -57
- package/dist/gen/abis/{49cb4deac436.js → 88eb6f69cc13.js} +183 -70
- package/dist/gen/abis/89e2309cce3a.d.ts +1010 -0
- package/dist/gen/abis/89e2309cce3a.js +1301 -0
- package/dist/gen/abis/a032a21f83aa.d.ts +1048 -0
- package/dist/gen/abis/a032a21f83aa.js +1371 -0
- package/dist/gen/abis-index.d.ts +6999 -4643
- package/dist/gen/abis-index.js +10 -4
- package/dist/gen/meta.d.ts +2 -2
- package/dist/gen/meta.js +2 -2
- package/dist/gen/registry.d.ts +213 -43
- package/dist/gen/registry.js +213 -43
- package/dist/index.d.ts +54 -4
- package/dist/index.js +16 -22
- package/package.json +1 -1
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
export declare const abi_44d37d7ba560: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly internalType: "address";
|
|
4
|
+
readonly name: "_singleton";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
}, {
|
|
7
|
+
readonly internalType: "bytes";
|
|
8
|
+
readonly name: "initializer";
|
|
9
|
+
readonly type: "bytes";
|
|
10
|
+
}, {
|
|
11
|
+
readonly internalType: "uint256";
|
|
12
|
+
readonly name: "saltNonce";
|
|
13
|
+
readonly type: "uint256";
|
|
14
|
+
}];
|
|
15
|
+
readonly name: "createChainSpecificProxyWithNonce";
|
|
16
|
+
readonly outputs: readonly [{
|
|
17
|
+
readonly internalType: "contract SafeProxy";
|
|
18
|
+
readonly name: "proxy";
|
|
19
|
+
readonly type: "address";
|
|
20
|
+
}];
|
|
21
|
+
readonly stateMutability: "nonpayable";
|
|
22
|
+
readonly type: "function";
|
|
23
|
+
}, {
|
|
24
|
+
readonly inputs: readonly [{
|
|
25
|
+
readonly internalType: "address";
|
|
26
|
+
readonly name: "_singleton";
|
|
27
|
+
readonly type: "address";
|
|
28
|
+
}, {
|
|
29
|
+
readonly internalType: "bytes";
|
|
30
|
+
readonly name: "initializer";
|
|
31
|
+
readonly type: "bytes";
|
|
32
|
+
}, {
|
|
33
|
+
readonly internalType: "uint256";
|
|
34
|
+
readonly name: "saltNonce";
|
|
35
|
+
readonly type: "uint256";
|
|
36
|
+
}];
|
|
37
|
+
readonly name: "createChainSpecificProxyWithNonceL2";
|
|
38
|
+
readonly outputs: readonly [{
|
|
39
|
+
readonly internalType: "contract SafeProxy";
|
|
40
|
+
readonly name: "proxy";
|
|
41
|
+
readonly type: "address";
|
|
42
|
+
}];
|
|
43
|
+
readonly stateMutability: "nonpayable";
|
|
44
|
+
readonly type: "function";
|
|
45
|
+
}, {
|
|
46
|
+
readonly inputs: readonly [{
|
|
47
|
+
readonly internalType: "address";
|
|
48
|
+
readonly name: "_singleton";
|
|
49
|
+
readonly type: "address";
|
|
50
|
+
}, {
|
|
51
|
+
readonly internalType: "bytes";
|
|
52
|
+
readonly name: "initializer";
|
|
53
|
+
readonly type: "bytes";
|
|
54
|
+
}, {
|
|
55
|
+
readonly internalType: "uint256";
|
|
56
|
+
readonly name: "saltNonce";
|
|
57
|
+
readonly type: "uint256";
|
|
58
|
+
}];
|
|
59
|
+
readonly name: "createProxyWithNonce";
|
|
60
|
+
readonly outputs: readonly [{
|
|
61
|
+
readonly internalType: "contract SafeProxy";
|
|
62
|
+
readonly name: "proxy";
|
|
63
|
+
readonly type: "address";
|
|
64
|
+
}];
|
|
65
|
+
readonly stateMutability: "nonpayable";
|
|
66
|
+
readonly type: "function";
|
|
67
|
+
}, {
|
|
68
|
+
readonly inputs: readonly [{
|
|
69
|
+
readonly internalType: "address";
|
|
70
|
+
readonly name: "_singleton";
|
|
71
|
+
readonly type: "address";
|
|
72
|
+
}, {
|
|
73
|
+
readonly internalType: "bytes";
|
|
74
|
+
readonly name: "initializer";
|
|
75
|
+
readonly type: "bytes";
|
|
76
|
+
}, {
|
|
77
|
+
readonly internalType: "uint256";
|
|
78
|
+
readonly name: "saltNonce";
|
|
79
|
+
readonly type: "uint256";
|
|
80
|
+
}];
|
|
81
|
+
readonly name: "createProxyWithNonceL2";
|
|
82
|
+
readonly outputs: readonly [{
|
|
83
|
+
readonly internalType: "contract SafeProxy";
|
|
84
|
+
readonly name: "proxy";
|
|
85
|
+
readonly type: "address";
|
|
86
|
+
}];
|
|
87
|
+
readonly stateMutability: "nonpayable";
|
|
88
|
+
readonly type: "function";
|
|
89
|
+
}, {
|
|
90
|
+
readonly inputs: readonly [];
|
|
91
|
+
readonly name: "getChainId";
|
|
92
|
+
readonly outputs: readonly [{
|
|
93
|
+
readonly internalType: "uint256";
|
|
94
|
+
readonly name: "";
|
|
95
|
+
readonly type: "uint256";
|
|
96
|
+
}];
|
|
97
|
+
readonly stateMutability: "view";
|
|
98
|
+
readonly type: "function";
|
|
99
|
+
}, {
|
|
100
|
+
readonly inputs: readonly [];
|
|
101
|
+
readonly name: "proxyCreationCode";
|
|
102
|
+
readonly outputs: readonly [{
|
|
103
|
+
readonly internalType: "bytes";
|
|
104
|
+
readonly name: "";
|
|
105
|
+
readonly type: "bytes";
|
|
106
|
+
}];
|
|
107
|
+
readonly stateMutability: "pure";
|
|
108
|
+
readonly type: "function";
|
|
109
|
+
}, {
|
|
110
|
+
readonly anonymous: false;
|
|
111
|
+
readonly inputs: readonly [{
|
|
112
|
+
readonly indexed: true;
|
|
113
|
+
readonly internalType: "contract SafeProxy";
|
|
114
|
+
readonly name: "proxy";
|
|
115
|
+
readonly type: "address";
|
|
116
|
+
}, {
|
|
117
|
+
readonly indexed: false;
|
|
118
|
+
readonly internalType: "address";
|
|
119
|
+
readonly name: "singleton";
|
|
120
|
+
readonly type: "address";
|
|
121
|
+
}, {
|
|
122
|
+
readonly indexed: false;
|
|
123
|
+
readonly internalType: "bytes";
|
|
124
|
+
readonly name: "initializer";
|
|
125
|
+
readonly type: "bytes";
|
|
126
|
+
}, {
|
|
127
|
+
readonly indexed: false;
|
|
128
|
+
readonly internalType: "uint256";
|
|
129
|
+
readonly name: "saltNonce";
|
|
130
|
+
readonly type: "uint256";
|
|
131
|
+
}, {
|
|
132
|
+
readonly indexed: false;
|
|
133
|
+
readonly internalType: "uint256";
|
|
134
|
+
readonly name: "chainId";
|
|
135
|
+
readonly type: "uint256";
|
|
136
|
+
}];
|
|
137
|
+
readonly name: "ChainSpecificProxyCreationL2";
|
|
138
|
+
readonly type: "event";
|
|
139
|
+
}, {
|
|
140
|
+
readonly anonymous: false;
|
|
141
|
+
readonly inputs: readonly [{
|
|
142
|
+
readonly indexed: true;
|
|
143
|
+
readonly internalType: "contract SafeProxy";
|
|
144
|
+
readonly name: "proxy";
|
|
145
|
+
readonly type: "address";
|
|
146
|
+
}, {
|
|
147
|
+
readonly indexed: false;
|
|
148
|
+
readonly internalType: "address";
|
|
149
|
+
readonly name: "singleton";
|
|
150
|
+
readonly type: "address";
|
|
151
|
+
}];
|
|
152
|
+
readonly name: "ProxyCreation";
|
|
153
|
+
readonly type: "event";
|
|
154
|
+
}, {
|
|
155
|
+
readonly anonymous: false;
|
|
156
|
+
readonly inputs: readonly [{
|
|
157
|
+
readonly indexed: true;
|
|
158
|
+
readonly internalType: "contract SafeProxy";
|
|
159
|
+
readonly name: "proxy";
|
|
160
|
+
readonly type: "address";
|
|
161
|
+
}, {
|
|
162
|
+
readonly indexed: false;
|
|
163
|
+
readonly internalType: "address";
|
|
164
|
+
readonly name: "singleton";
|
|
165
|
+
readonly type: "address";
|
|
166
|
+
}, {
|
|
167
|
+
readonly indexed: false;
|
|
168
|
+
readonly internalType: "bytes";
|
|
169
|
+
readonly name: "initializer";
|
|
170
|
+
readonly type: "bytes";
|
|
171
|
+
}, {
|
|
172
|
+
readonly indexed: false;
|
|
173
|
+
readonly internalType: "uint256";
|
|
174
|
+
readonly name: "saltNonce";
|
|
175
|
+
readonly type: "uint256";
|
|
176
|
+
}];
|
|
177
|
+
readonly name: "ProxyCreationL2";
|
|
178
|
+
readonly type: "event";
|
|
179
|
+
}];
|
|
180
|
+
export declare const digest = "sha256:44d37d7ba560dba7bd43fa13576d99f6a5639c68466445e79fe5bfbd73cdfd39";
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
// Generated by `registry sdk` from dist-public/ — do not edit.
|
|
2
|
+
export const abi_44d37d7ba560 = [
|
|
3
|
+
{
|
|
4
|
+
"inputs": [
|
|
5
|
+
{
|
|
6
|
+
"internalType": "address",
|
|
7
|
+
"name": "_singleton",
|
|
8
|
+
"type": "address"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"internalType": "bytes",
|
|
12
|
+
"name": "initializer",
|
|
13
|
+
"type": "bytes"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"internalType": "uint256",
|
|
17
|
+
"name": "saltNonce",
|
|
18
|
+
"type": "uint256"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"name": "createChainSpecificProxyWithNonce",
|
|
22
|
+
"outputs": [
|
|
23
|
+
{
|
|
24
|
+
"internalType": "contract SafeProxy",
|
|
25
|
+
"name": "proxy",
|
|
26
|
+
"type": "address"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"stateMutability": "nonpayable",
|
|
30
|
+
"type": "function"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"inputs": [
|
|
34
|
+
{
|
|
35
|
+
"internalType": "address",
|
|
36
|
+
"name": "_singleton",
|
|
37
|
+
"type": "address"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"internalType": "bytes",
|
|
41
|
+
"name": "initializer",
|
|
42
|
+
"type": "bytes"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"internalType": "uint256",
|
|
46
|
+
"name": "saltNonce",
|
|
47
|
+
"type": "uint256"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"name": "createChainSpecificProxyWithNonceL2",
|
|
51
|
+
"outputs": [
|
|
52
|
+
{
|
|
53
|
+
"internalType": "contract SafeProxy",
|
|
54
|
+
"name": "proxy",
|
|
55
|
+
"type": "address"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"stateMutability": "nonpayable",
|
|
59
|
+
"type": "function"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"inputs": [
|
|
63
|
+
{
|
|
64
|
+
"internalType": "address",
|
|
65
|
+
"name": "_singleton",
|
|
66
|
+
"type": "address"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"internalType": "bytes",
|
|
70
|
+
"name": "initializer",
|
|
71
|
+
"type": "bytes"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"internalType": "uint256",
|
|
75
|
+
"name": "saltNonce",
|
|
76
|
+
"type": "uint256"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"name": "createProxyWithNonce",
|
|
80
|
+
"outputs": [
|
|
81
|
+
{
|
|
82
|
+
"internalType": "contract SafeProxy",
|
|
83
|
+
"name": "proxy",
|
|
84
|
+
"type": "address"
|
|
85
|
+
}
|
|
86
|
+
],
|
|
87
|
+
"stateMutability": "nonpayable",
|
|
88
|
+
"type": "function"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"inputs": [
|
|
92
|
+
{
|
|
93
|
+
"internalType": "address",
|
|
94
|
+
"name": "_singleton",
|
|
95
|
+
"type": "address"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"internalType": "bytes",
|
|
99
|
+
"name": "initializer",
|
|
100
|
+
"type": "bytes"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"internalType": "uint256",
|
|
104
|
+
"name": "saltNonce",
|
|
105
|
+
"type": "uint256"
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"name": "createProxyWithNonceL2",
|
|
109
|
+
"outputs": [
|
|
110
|
+
{
|
|
111
|
+
"internalType": "contract SafeProxy",
|
|
112
|
+
"name": "proxy",
|
|
113
|
+
"type": "address"
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"stateMutability": "nonpayable",
|
|
117
|
+
"type": "function"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"inputs": [],
|
|
121
|
+
"name": "getChainId",
|
|
122
|
+
"outputs": [
|
|
123
|
+
{
|
|
124
|
+
"internalType": "uint256",
|
|
125
|
+
"name": "",
|
|
126
|
+
"type": "uint256"
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"stateMutability": "view",
|
|
130
|
+
"type": "function"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"inputs": [],
|
|
134
|
+
"name": "proxyCreationCode",
|
|
135
|
+
"outputs": [
|
|
136
|
+
{
|
|
137
|
+
"internalType": "bytes",
|
|
138
|
+
"name": "",
|
|
139
|
+
"type": "bytes"
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"stateMutability": "pure",
|
|
143
|
+
"type": "function"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"anonymous": false,
|
|
147
|
+
"inputs": [
|
|
148
|
+
{
|
|
149
|
+
"indexed": true,
|
|
150
|
+
"internalType": "contract SafeProxy",
|
|
151
|
+
"name": "proxy",
|
|
152
|
+
"type": "address"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"indexed": false,
|
|
156
|
+
"internalType": "address",
|
|
157
|
+
"name": "singleton",
|
|
158
|
+
"type": "address"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"indexed": false,
|
|
162
|
+
"internalType": "bytes",
|
|
163
|
+
"name": "initializer",
|
|
164
|
+
"type": "bytes"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"indexed": false,
|
|
168
|
+
"internalType": "uint256",
|
|
169
|
+
"name": "saltNonce",
|
|
170
|
+
"type": "uint256"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"indexed": false,
|
|
174
|
+
"internalType": "uint256",
|
|
175
|
+
"name": "chainId",
|
|
176
|
+
"type": "uint256"
|
|
177
|
+
}
|
|
178
|
+
],
|
|
179
|
+
"name": "ChainSpecificProxyCreationL2",
|
|
180
|
+
"type": "event"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"anonymous": false,
|
|
184
|
+
"inputs": [
|
|
185
|
+
{
|
|
186
|
+
"indexed": true,
|
|
187
|
+
"internalType": "contract SafeProxy",
|
|
188
|
+
"name": "proxy",
|
|
189
|
+
"type": "address"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"indexed": false,
|
|
193
|
+
"internalType": "address",
|
|
194
|
+
"name": "singleton",
|
|
195
|
+
"type": "address"
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"name": "ProxyCreation",
|
|
199
|
+
"type": "event"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"anonymous": false,
|
|
203
|
+
"inputs": [
|
|
204
|
+
{
|
|
205
|
+
"indexed": true,
|
|
206
|
+
"internalType": "contract SafeProxy",
|
|
207
|
+
"name": "proxy",
|
|
208
|
+
"type": "address"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"indexed": false,
|
|
212
|
+
"internalType": "address",
|
|
213
|
+
"name": "singleton",
|
|
214
|
+
"type": "address"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"indexed": false,
|
|
218
|
+
"internalType": "bytes",
|
|
219
|
+
"name": "initializer",
|
|
220
|
+
"type": "bytes"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"indexed": false,
|
|
224
|
+
"internalType": "uint256",
|
|
225
|
+
"name": "saltNonce",
|
|
226
|
+
"type": "uint256"
|
|
227
|
+
}
|
|
228
|
+
],
|
|
229
|
+
"name": "ProxyCreationL2",
|
|
230
|
+
"type": "event"
|
|
231
|
+
}
|
|
232
|
+
];
|
|
233
|
+
export const digest = "sha256:44d37d7ba560dba7bd43fa13576d99f6a5639c68466445e79fe5bfbd73cdfd39";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const abi_88eb6f69cc13: readonly [{
|
|
2
2
|
readonly inputs: readonly [];
|
|
3
3
|
readonly stateMutability: "nonpayable";
|
|
4
4
|
readonly type: "constructor";
|
|
@@ -393,6 +393,89 @@ export declare const abi_49cb4deac436: readonly [{
|
|
|
393
393
|
}];
|
|
394
394
|
readonly stateMutability: "view";
|
|
395
395
|
readonly type: "function";
|
|
396
|
+
}, {
|
|
397
|
+
readonly inputs: readonly [{
|
|
398
|
+
readonly internalType: "bytes32";
|
|
399
|
+
readonly name: "marketId";
|
|
400
|
+
readonly type: "bytes32";
|
|
401
|
+
}];
|
|
402
|
+
readonly name: "marketRecord";
|
|
403
|
+
readonly outputs: readonly [{
|
|
404
|
+
readonly components: readonly [{
|
|
405
|
+
readonly internalType: "uint256";
|
|
406
|
+
readonly name: "oracleQuestionId";
|
|
407
|
+
readonly type: "uint256";
|
|
408
|
+
}, {
|
|
409
|
+
readonly internalType: "uint8";
|
|
410
|
+
readonly name: "outcomeSlotCount";
|
|
411
|
+
readonly type: "uint8";
|
|
412
|
+
}, {
|
|
413
|
+
readonly internalType: "enum VoidPolicy";
|
|
414
|
+
readonly name: "voidPolicy";
|
|
415
|
+
readonly type: "uint8";
|
|
416
|
+
}, {
|
|
417
|
+
readonly internalType: "contract IERC20";
|
|
418
|
+
readonly name: "collateral";
|
|
419
|
+
readonly type: "address";
|
|
420
|
+
}, {
|
|
421
|
+
readonly internalType: "uint32";
|
|
422
|
+
readonly name: "originOperatorId";
|
|
423
|
+
readonly type: "uint32";
|
|
424
|
+
}, {
|
|
425
|
+
readonly internalType: "bytes32";
|
|
426
|
+
readonly name: "originVenueId";
|
|
427
|
+
readonly type: "bytes32";
|
|
428
|
+
}, {
|
|
429
|
+
readonly internalType: "contract IOracleAdapter";
|
|
430
|
+
readonly name: "oracleAdapter";
|
|
431
|
+
readonly type: "address";
|
|
432
|
+
}, {
|
|
433
|
+
readonly internalType: "address";
|
|
434
|
+
readonly name: "creator";
|
|
435
|
+
readonly type: "address";
|
|
436
|
+
}, {
|
|
437
|
+
readonly internalType: "address";
|
|
438
|
+
readonly name: "market";
|
|
439
|
+
readonly type: "address";
|
|
440
|
+
}, {
|
|
441
|
+
readonly internalType: "address";
|
|
442
|
+
readonly name: "pool";
|
|
443
|
+
readonly type: "address";
|
|
444
|
+
}, {
|
|
445
|
+
readonly internalType: "uint256";
|
|
446
|
+
readonly name: "yesId";
|
|
447
|
+
readonly type: "uint256";
|
|
448
|
+
}, {
|
|
449
|
+
readonly internalType: "uint256";
|
|
450
|
+
readonly name: "noId";
|
|
451
|
+
readonly type: "uint256";
|
|
452
|
+
}, {
|
|
453
|
+
readonly internalType: "uint64";
|
|
454
|
+
readonly name: "nonce";
|
|
455
|
+
readonly type: "uint64";
|
|
456
|
+
}, {
|
|
457
|
+
readonly internalType: "uint64";
|
|
458
|
+
readonly name: "tradingStart";
|
|
459
|
+
readonly type: "uint64";
|
|
460
|
+
}, {
|
|
461
|
+
readonly internalType: "uint64";
|
|
462
|
+
readonly name: "expiry";
|
|
463
|
+
readonly type: "uint64";
|
|
464
|
+
}, {
|
|
465
|
+
readonly internalType: "uint256";
|
|
466
|
+
readonly name: "referenceQuestionId";
|
|
467
|
+
readonly type: "uint256";
|
|
468
|
+
}, {
|
|
469
|
+
readonly internalType: "bytes";
|
|
470
|
+
readonly name: "context";
|
|
471
|
+
readonly type: "bytes";
|
|
472
|
+
}];
|
|
473
|
+
readonly internalType: "struct BinaryMarketsModule.MarketRecord";
|
|
474
|
+
readonly name: "rec";
|
|
475
|
+
readonly type: "tuple";
|
|
476
|
+
}];
|
|
477
|
+
readonly stateMutability: "view";
|
|
478
|
+
readonly type: "function";
|
|
396
479
|
}, {
|
|
397
480
|
readonly inputs: readonly [{
|
|
398
481
|
readonly internalType: "bytes32";
|
|
@@ -451,61 +534,66 @@ export declare const abi_49cb4deac436: readonly [{
|
|
|
451
534
|
}];
|
|
452
535
|
readonly name: "markets";
|
|
453
536
|
readonly outputs: readonly [{
|
|
454
|
-
readonly
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
537
|
+
readonly components: readonly [{
|
|
538
|
+
readonly internalType: "uint256";
|
|
539
|
+
readonly name: "oracleQuestionId";
|
|
540
|
+
readonly type: "uint256";
|
|
541
|
+
}, {
|
|
542
|
+
readonly internalType: "uint8";
|
|
543
|
+
readonly name: "outcomeSlotCount";
|
|
544
|
+
readonly type: "uint8";
|
|
545
|
+
}, {
|
|
546
|
+
readonly internalType: "enum VoidPolicy";
|
|
547
|
+
readonly name: "voidPolicy";
|
|
548
|
+
readonly type: "uint8";
|
|
549
|
+
}, {
|
|
550
|
+
readonly internalType: "contract IERC20";
|
|
551
|
+
readonly name: "collateral";
|
|
552
|
+
readonly type: "address";
|
|
553
|
+
}, {
|
|
554
|
+
readonly internalType: "uint32";
|
|
555
|
+
readonly name: "originOperatorId";
|
|
556
|
+
readonly type: "uint32";
|
|
557
|
+
}, {
|
|
558
|
+
readonly internalType: "bytes32";
|
|
559
|
+
readonly name: "originVenueId";
|
|
560
|
+
readonly type: "bytes32";
|
|
561
|
+
}, {
|
|
562
|
+
readonly internalType: "contract IOracleAdapter";
|
|
563
|
+
readonly name: "oracleAdapter";
|
|
564
|
+
readonly type: "address";
|
|
565
|
+
}, {
|
|
566
|
+
readonly internalType: "address";
|
|
567
|
+
readonly name: "creator";
|
|
568
|
+
readonly type: "address";
|
|
569
|
+
}, {
|
|
570
|
+
readonly internalType: "address";
|
|
571
|
+
readonly name: "market";
|
|
572
|
+
readonly type: "address";
|
|
573
|
+
}, {
|
|
574
|
+
readonly internalType: "address";
|
|
575
|
+
readonly name: "pool";
|
|
576
|
+
readonly type: "address";
|
|
577
|
+
}, {
|
|
578
|
+
readonly internalType: "uint256";
|
|
579
|
+
readonly name: "yesId";
|
|
580
|
+
readonly type: "uint256";
|
|
581
|
+
}, {
|
|
582
|
+
readonly internalType: "uint256";
|
|
583
|
+
readonly name: "noId";
|
|
584
|
+
readonly type: "uint256";
|
|
585
|
+
}, {
|
|
586
|
+
readonly internalType: "uint64";
|
|
587
|
+
readonly name: "tradingStart";
|
|
588
|
+
readonly type: "uint64";
|
|
589
|
+
}, {
|
|
590
|
+
readonly internalType: "uint64";
|
|
591
|
+
readonly name: "expiry";
|
|
592
|
+
readonly type: "uint64";
|
|
593
|
+
}];
|
|
594
|
+
readonly internalType: "struct BinaryMarketsModule.MarketView";
|
|
595
|
+
readonly name: "v";
|
|
596
|
+
readonly type: "tuple";
|
|
509
597
|
}];
|
|
510
598
|
readonly stateMutability: "view";
|
|
511
599
|
readonly type: "function";
|
|
@@ -2038,4 +2126,4 @@ export declare const abi_49cb4deac436: readonly [{
|
|
|
2038
2126
|
readonly name: "ZeroAmount";
|
|
2039
2127
|
readonly type: "error";
|
|
2040
2128
|
}];
|
|
2041
|
-
export declare const digest = "sha256:
|
|
2129
|
+
export declare const digest = "sha256:88eb6f69cc133fbfe2018ac3d4117fd00acbac9f546b2abdff8ea4c592fcb2b9";
|