sablier 2.0.0-beta.6 → 2.0.0-beta.8
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/evm/index.d.ts +0 -24
- package/dist/evm/index.d.ts.map +1 -1
- package/dist/evm/index.js +1 -49
- package/dist/evm/index.js.map +1 -1
- package/dist/evm/releases/airdrops/index.d.ts +9632 -1
- package/dist/evm/releases/airdrops/index.d.ts.map +1 -1
- package/dist/evm/releases/airdrops/index.js.map +1 -1
- package/dist/evm/releases/airdrops/v1.1/abi.d.ts +670 -2
- package/dist/evm/releases/airdrops/v1.1/abi.d.ts.map +1 -1
- package/dist/evm/releases/airdrops/v1.1/abi.js.map +1 -1
- package/dist/evm/releases/airdrops/v1.1/index.d.ts +671 -1
- package/dist/evm/releases/airdrops/v1.1/index.d.ts.map +1 -1
- package/dist/evm/releases/airdrops/v1.2/abi.d.ts +1438 -2
- package/dist/evm/releases/airdrops/v1.2/abi.d.ts.map +1 -1
- package/dist/evm/releases/airdrops/v1.2/abi.js.map +1 -1
- package/dist/evm/releases/airdrops/v1.2/index.d.ts +1439 -1
- package/dist/evm/releases/airdrops/v1.2/index.d.ts.map +1 -1
- package/dist/evm/releases/airdrops/v1.3/abi.d.ts +2999 -2
- package/dist/evm/releases/airdrops/v1.3/abi.d.ts.map +1 -1
- package/dist/evm/releases/airdrops/v1.3/abi.js.map +1 -1
- package/dist/evm/releases/airdrops/v1.3/index.d.ts +2999 -1
- package/dist/evm/releases/airdrops/v1.3/index.d.ts.map +1 -1
- package/dist/evm/releases/airdrops/v2.0/abi.d.ts +4545 -2
- package/dist/evm/releases/airdrops/v2.0/abi.d.ts.map +1 -1
- package/dist/evm/releases/airdrops/v2.0/abi.js.map +1 -1
- package/dist/evm/releases/airdrops/v2.0/index.d.ts +4545 -1
- package/dist/evm/releases/airdrops/v2.0/index.d.ts.map +1 -1
- package/dist/evm/releases/data.d.ts +35643 -4
- package/dist/evm/releases/data.d.ts.map +1 -1
- package/dist/evm/releases/flow/index.d.ts +5372 -1
- package/dist/evm/releases/flow/index.d.ts.map +1 -1
- package/dist/evm/releases/flow/index.js.map +1 -1
- package/dist/evm/releases/flow/v1.0/abi.d.ts +1804 -2
- package/dist/evm/releases/flow/v1.0/abi.d.ts.map +1 -1
- package/dist/evm/releases/flow/v1.0/abi.js.map +1 -1
- package/dist/evm/releases/flow/v1.0/index.d.ts +1804 -1
- package/dist/evm/releases/flow/v1.0/index.d.ts.map +1 -1
- package/dist/evm/releases/flow/v1.1/abi.d.ts +1833 -2
- package/dist/evm/releases/flow/v1.1/abi.d.ts.map +1 -1
- package/dist/evm/releases/flow/v1.1/abi.js.map +1 -1
- package/dist/evm/releases/flow/v1.1/index.d.ts +1833 -1
- package/dist/evm/releases/flow/v1.1/index.d.ts.map +1 -1
- package/dist/evm/releases/flow/v2.0/abi.d.ts +1736 -2
- package/dist/evm/releases/flow/v2.0/abi.d.ts.map +1 -1
- package/dist/evm/releases/flow/v2.0/abi.js.map +1 -1
- package/dist/evm/releases/flow/v2.0/index.d.ts +1736 -1
- package/dist/evm/releases/flow/v2.0/index.d.ts.map +1 -1
- package/dist/evm/releases/legacy/index.d.ts +1482 -1
- package/dist/evm/releases/legacy/index.d.ts.map +1 -1
- package/dist/evm/releases/legacy/index.js.map +1 -1
- package/dist/evm/releases/legacy/v1.0/index.d.ts +1224 -1
- package/dist/evm/releases/legacy/v1.0/index.d.ts.map +1 -1
- package/dist/evm/releases/legacy/v1.1/index.d.ts +259 -1
- package/dist/evm/releases/legacy/v1.1/index.d.ts.map +1 -1
- package/dist/evm/releases/lockup/index.d.ts +19157 -1
- package/dist/evm/releases/lockup/index.d.ts.map +1 -1
- package/dist/evm/releases/lockup/index.js.map +1 -1
- package/dist/evm/releases/lockup/v1.0/abi.d.ts +3974 -2
- package/dist/evm/releases/lockup/v1.0/abi.d.ts.map +1 -1
- package/dist/evm/releases/lockup/v1.0/abi.js.map +1 -1
- package/dist/evm/releases/lockup/v1.0/index.d.ts +3975 -1
- package/dist/evm/releases/lockup/v1.0/index.d.ts.map +1 -1
- package/dist/evm/releases/lockup/v1.1/abi.d.ts +4120 -2
- package/dist/evm/releases/lockup/v1.1/abi.d.ts.map +1 -1
- package/dist/evm/releases/lockup/v1.1/abi.js.map +1 -1
- package/dist/evm/releases/lockup/v1.1/index.d.ts +4121 -1
- package/dist/evm/releases/lockup/v1.1/index.d.ts.map +1 -1
- package/dist/evm/releases/lockup/v1.2/abi.d.ts +5999 -2
- package/dist/evm/releases/lockup/v1.2/abi.d.ts.map +1 -1
- package/dist/evm/releases/lockup/v1.2/abi.js.map +1 -1
- package/dist/evm/releases/lockup/v1.2/index.d.ts +6000 -1
- package/dist/evm/releases/lockup/v1.2/index.d.ts.map +1 -1
- package/dist/evm/releases/lockup/v2.0/abi.d.ts +2612 -2
- package/dist/evm/releases/lockup/v2.0/abi.d.ts.map +1 -1
- package/dist/evm/releases/lockup/v2.0/abi.js.map +1 -1
- package/dist/evm/releases/lockup/v2.0/index.d.ts +2612 -1
- package/dist/evm/releases/lockup/v2.0/index.d.ts.map +1 -1
- package/dist/evm/releases/lockup/v3.0/abi.d.ts +2464 -2
- package/dist/evm/releases/lockup/v3.0/abi.d.ts.map +1 -1
- package/dist/evm/releases/lockup/v3.0/abi.js.map +1 -1
- package/dist/evm/releases/lockup/v3.0/index.d.ts +2464 -1
- package/dist/evm/releases/lockup/v3.0/index.d.ts.map +1 -1
- package/dist/evm/releases/resolvers.d.ts +2 -2
- package/dist/evm/releases/resolvers.d.ts.map +1 -1
- package/dist/evm/releases/resolvers.js.map +1 -1
- package/dist/evm/types.d.ts +5 -7
- package/dist/evm/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,1835 @@
|
|
|
1
1
|
import type { Sablier } from "../../../../types";
|
|
2
|
-
|
|
2
|
+
import manifest from "./manifest";
|
|
3
|
+
export declare const release: Sablier.Release.Standard<{
|
|
4
|
+
[manifest.SABLIER_FLOW]: readonly [{
|
|
5
|
+
readonly type: "constructor";
|
|
6
|
+
readonly inputs: readonly [{
|
|
7
|
+
readonly name: "initialAdmin";
|
|
8
|
+
readonly type: "address";
|
|
9
|
+
readonly internalType: "address";
|
|
10
|
+
}, {
|
|
11
|
+
readonly name: "initialNFTDescriptor";
|
|
12
|
+
readonly type: "address";
|
|
13
|
+
readonly internalType: "contract IFlowNFTDescriptor";
|
|
14
|
+
}];
|
|
15
|
+
readonly stateMutability: "nonpayable";
|
|
16
|
+
}, {
|
|
17
|
+
readonly type: "function";
|
|
18
|
+
readonly name: "MAX_FEE";
|
|
19
|
+
readonly inputs: readonly [];
|
|
20
|
+
readonly outputs: readonly [{
|
|
21
|
+
readonly name: "";
|
|
22
|
+
readonly type: "uint256";
|
|
23
|
+
readonly internalType: "UD60x18";
|
|
24
|
+
}];
|
|
25
|
+
readonly stateMutability: "view";
|
|
26
|
+
}, {
|
|
27
|
+
readonly type: "function";
|
|
28
|
+
readonly name: "adjustRatePerSecond";
|
|
29
|
+
readonly inputs: readonly [{
|
|
30
|
+
readonly name: "streamId";
|
|
31
|
+
readonly type: "uint256";
|
|
32
|
+
readonly internalType: "uint256";
|
|
33
|
+
}, {
|
|
34
|
+
readonly name: "newRatePerSecond";
|
|
35
|
+
readonly type: "uint128";
|
|
36
|
+
readonly internalType: "UD21x18";
|
|
37
|
+
}];
|
|
38
|
+
readonly outputs: readonly [];
|
|
39
|
+
readonly stateMutability: "payable";
|
|
40
|
+
}, {
|
|
41
|
+
readonly type: "function";
|
|
42
|
+
readonly name: "admin";
|
|
43
|
+
readonly inputs: readonly [];
|
|
44
|
+
readonly outputs: readonly [{
|
|
45
|
+
readonly name: "";
|
|
46
|
+
readonly type: "address";
|
|
47
|
+
readonly internalType: "address";
|
|
48
|
+
}];
|
|
49
|
+
readonly stateMutability: "view";
|
|
50
|
+
}, {
|
|
51
|
+
readonly type: "function";
|
|
52
|
+
readonly name: "aggregateBalance";
|
|
53
|
+
readonly inputs: readonly [{
|
|
54
|
+
readonly name: "token";
|
|
55
|
+
readonly type: "address";
|
|
56
|
+
readonly internalType: "contract IERC20";
|
|
57
|
+
}];
|
|
58
|
+
readonly outputs: readonly [{
|
|
59
|
+
readonly name: "amount";
|
|
60
|
+
readonly type: "uint256";
|
|
61
|
+
readonly internalType: "uint256";
|
|
62
|
+
}];
|
|
63
|
+
readonly stateMutability: "view";
|
|
64
|
+
}, {
|
|
65
|
+
readonly type: "function";
|
|
66
|
+
readonly name: "approve";
|
|
67
|
+
readonly inputs: readonly [{
|
|
68
|
+
readonly name: "to";
|
|
69
|
+
readonly type: "address";
|
|
70
|
+
readonly internalType: "address";
|
|
71
|
+
}, {
|
|
72
|
+
readonly name: "tokenId";
|
|
73
|
+
readonly type: "uint256";
|
|
74
|
+
readonly internalType: "uint256";
|
|
75
|
+
}];
|
|
76
|
+
readonly outputs: readonly [];
|
|
77
|
+
readonly stateMutability: "nonpayable";
|
|
78
|
+
}, {
|
|
79
|
+
readonly type: "function";
|
|
80
|
+
readonly name: "balanceOf";
|
|
81
|
+
readonly inputs: readonly [{
|
|
82
|
+
readonly name: "owner";
|
|
83
|
+
readonly type: "address";
|
|
84
|
+
readonly internalType: "address";
|
|
85
|
+
}];
|
|
86
|
+
readonly outputs: readonly [{
|
|
87
|
+
readonly name: "";
|
|
88
|
+
readonly type: "uint256";
|
|
89
|
+
readonly internalType: "uint256";
|
|
90
|
+
}];
|
|
91
|
+
readonly stateMutability: "view";
|
|
92
|
+
}, {
|
|
93
|
+
readonly type: "function";
|
|
94
|
+
readonly name: "batch";
|
|
95
|
+
readonly inputs: readonly [{
|
|
96
|
+
readonly name: "calls";
|
|
97
|
+
readonly type: "bytes[]";
|
|
98
|
+
readonly internalType: "bytes[]";
|
|
99
|
+
}];
|
|
100
|
+
readonly outputs: readonly [{
|
|
101
|
+
readonly name: "results";
|
|
102
|
+
readonly type: "bytes[]";
|
|
103
|
+
readonly internalType: "bytes[]";
|
|
104
|
+
}];
|
|
105
|
+
readonly stateMutability: "payable";
|
|
106
|
+
}, {
|
|
107
|
+
readonly type: "function";
|
|
108
|
+
readonly name: "collectFees";
|
|
109
|
+
readonly inputs: readonly [];
|
|
110
|
+
readonly outputs: readonly [];
|
|
111
|
+
readonly stateMutability: "nonpayable";
|
|
112
|
+
}, {
|
|
113
|
+
readonly type: "function";
|
|
114
|
+
readonly name: "collectProtocolRevenue";
|
|
115
|
+
readonly inputs: readonly [{
|
|
116
|
+
readonly name: "token";
|
|
117
|
+
readonly type: "address";
|
|
118
|
+
readonly internalType: "contract IERC20";
|
|
119
|
+
}, {
|
|
120
|
+
readonly name: "to";
|
|
121
|
+
readonly type: "address";
|
|
122
|
+
readonly internalType: "address";
|
|
123
|
+
}];
|
|
124
|
+
readonly outputs: readonly [];
|
|
125
|
+
readonly stateMutability: "nonpayable";
|
|
126
|
+
}, {
|
|
127
|
+
readonly type: "function";
|
|
128
|
+
readonly name: "coveredDebtOf";
|
|
129
|
+
readonly inputs: readonly [{
|
|
130
|
+
readonly name: "streamId";
|
|
131
|
+
readonly type: "uint256";
|
|
132
|
+
readonly internalType: "uint256";
|
|
133
|
+
}];
|
|
134
|
+
readonly outputs: readonly [{
|
|
135
|
+
readonly name: "coveredDebt";
|
|
136
|
+
readonly type: "uint128";
|
|
137
|
+
readonly internalType: "uint128";
|
|
138
|
+
}];
|
|
139
|
+
readonly stateMutability: "view";
|
|
140
|
+
}, {
|
|
141
|
+
readonly type: "function";
|
|
142
|
+
readonly name: "create";
|
|
143
|
+
readonly inputs: readonly [{
|
|
144
|
+
readonly name: "sender";
|
|
145
|
+
readonly type: "address";
|
|
146
|
+
readonly internalType: "address";
|
|
147
|
+
}, {
|
|
148
|
+
readonly name: "recipient";
|
|
149
|
+
readonly type: "address";
|
|
150
|
+
readonly internalType: "address";
|
|
151
|
+
}, {
|
|
152
|
+
readonly name: "ratePerSecond";
|
|
153
|
+
readonly type: "uint128";
|
|
154
|
+
readonly internalType: "UD21x18";
|
|
155
|
+
}, {
|
|
156
|
+
readonly name: "token";
|
|
157
|
+
readonly type: "address";
|
|
158
|
+
readonly internalType: "contract IERC20";
|
|
159
|
+
}, {
|
|
160
|
+
readonly name: "transferable";
|
|
161
|
+
readonly type: "bool";
|
|
162
|
+
readonly internalType: "bool";
|
|
163
|
+
}];
|
|
164
|
+
readonly outputs: readonly [{
|
|
165
|
+
readonly name: "streamId";
|
|
166
|
+
readonly type: "uint256";
|
|
167
|
+
readonly internalType: "uint256";
|
|
168
|
+
}];
|
|
169
|
+
readonly stateMutability: "payable";
|
|
170
|
+
}, {
|
|
171
|
+
readonly type: "function";
|
|
172
|
+
readonly name: "createAndDeposit";
|
|
173
|
+
readonly inputs: readonly [{
|
|
174
|
+
readonly name: "sender";
|
|
175
|
+
readonly type: "address";
|
|
176
|
+
readonly internalType: "address";
|
|
177
|
+
}, {
|
|
178
|
+
readonly name: "recipient";
|
|
179
|
+
readonly type: "address";
|
|
180
|
+
readonly internalType: "address";
|
|
181
|
+
}, {
|
|
182
|
+
readonly name: "ratePerSecond";
|
|
183
|
+
readonly type: "uint128";
|
|
184
|
+
readonly internalType: "UD21x18";
|
|
185
|
+
}, {
|
|
186
|
+
readonly name: "token";
|
|
187
|
+
readonly type: "address";
|
|
188
|
+
readonly internalType: "contract IERC20";
|
|
189
|
+
}, {
|
|
190
|
+
readonly name: "transferable";
|
|
191
|
+
readonly type: "bool";
|
|
192
|
+
readonly internalType: "bool";
|
|
193
|
+
}, {
|
|
194
|
+
readonly name: "amount";
|
|
195
|
+
readonly type: "uint128";
|
|
196
|
+
readonly internalType: "uint128";
|
|
197
|
+
}];
|
|
198
|
+
readonly outputs: readonly [{
|
|
199
|
+
readonly name: "streamId";
|
|
200
|
+
readonly type: "uint256";
|
|
201
|
+
readonly internalType: "uint256";
|
|
202
|
+
}];
|
|
203
|
+
readonly stateMutability: "payable";
|
|
204
|
+
}, {
|
|
205
|
+
readonly type: "function";
|
|
206
|
+
readonly name: "depletionTimeOf";
|
|
207
|
+
readonly inputs: readonly [{
|
|
208
|
+
readonly name: "streamId";
|
|
209
|
+
readonly type: "uint256";
|
|
210
|
+
readonly internalType: "uint256";
|
|
211
|
+
}];
|
|
212
|
+
readonly outputs: readonly [{
|
|
213
|
+
readonly name: "depletionTime";
|
|
214
|
+
readonly type: "uint256";
|
|
215
|
+
readonly internalType: "uint256";
|
|
216
|
+
}];
|
|
217
|
+
readonly stateMutability: "view";
|
|
218
|
+
}, {
|
|
219
|
+
readonly type: "function";
|
|
220
|
+
readonly name: "deposit";
|
|
221
|
+
readonly inputs: readonly [{
|
|
222
|
+
readonly name: "streamId";
|
|
223
|
+
readonly type: "uint256";
|
|
224
|
+
readonly internalType: "uint256";
|
|
225
|
+
}, {
|
|
226
|
+
readonly name: "amount";
|
|
227
|
+
readonly type: "uint128";
|
|
228
|
+
readonly internalType: "uint128";
|
|
229
|
+
}, {
|
|
230
|
+
readonly name: "sender";
|
|
231
|
+
readonly type: "address";
|
|
232
|
+
readonly internalType: "address";
|
|
233
|
+
}, {
|
|
234
|
+
readonly name: "recipient";
|
|
235
|
+
readonly type: "address";
|
|
236
|
+
readonly internalType: "address";
|
|
237
|
+
}];
|
|
238
|
+
readonly outputs: readonly [];
|
|
239
|
+
readonly stateMutability: "payable";
|
|
240
|
+
}, {
|
|
241
|
+
readonly type: "function";
|
|
242
|
+
readonly name: "depositAndPause";
|
|
243
|
+
readonly inputs: readonly [{
|
|
244
|
+
readonly name: "streamId";
|
|
245
|
+
readonly type: "uint256";
|
|
246
|
+
readonly internalType: "uint256";
|
|
247
|
+
}, {
|
|
248
|
+
readonly name: "amount";
|
|
249
|
+
readonly type: "uint128";
|
|
250
|
+
readonly internalType: "uint128";
|
|
251
|
+
}];
|
|
252
|
+
readonly outputs: readonly [];
|
|
253
|
+
readonly stateMutability: "payable";
|
|
254
|
+
}, {
|
|
255
|
+
readonly type: "function";
|
|
256
|
+
readonly name: "depositViaBroker";
|
|
257
|
+
readonly inputs: readonly [{
|
|
258
|
+
readonly name: "streamId";
|
|
259
|
+
readonly type: "uint256";
|
|
260
|
+
readonly internalType: "uint256";
|
|
261
|
+
}, {
|
|
262
|
+
readonly name: "totalAmount";
|
|
263
|
+
readonly type: "uint128";
|
|
264
|
+
readonly internalType: "uint128";
|
|
265
|
+
}, {
|
|
266
|
+
readonly name: "sender";
|
|
267
|
+
readonly type: "address";
|
|
268
|
+
readonly internalType: "address";
|
|
269
|
+
}, {
|
|
270
|
+
readonly name: "recipient";
|
|
271
|
+
readonly type: "address";
|
|
272
|
+
readonly internalType: "address";
|
|
273
|
+
}, {
|
|
274
|
+
readonly name: "broker";
|
|
275
|
+
readonly type: "tuple";
|
|
276
|
+
readonly internalType: "struct Broker";
|
|
277
|
+
readonly components: readonly [{
|
|
278
|
+
readonly name: "account";
|
|
279
|
+
readonly type: "address";
|
|
280
|
+
readonly internalType: "address";
|
|
281
|
+
}, {
|
|
282
|
+
readonly name: "fee";
|
|
283
|
+
readonly type: "uint256";
|
|
284
|
+
readonly internalType: "UD60x18";
|
|
285
|
+
}];
|
|
286
|
+
}];
|
|
287
|
+
readonly outputs: readonly [];
|
|
288
|
+
readonly stateMutability: "payable";
|
|
289
|
+
}, {
|
|
290
|
+
readonly type: "function";
|
|
291
|
+
readonly name: "getApproved";
|
|
292
|
+
readonly inputs: readonly [{
|
|
293
|
+
readonly name: "tokenId";
|
|
294
|
+
readonly type: "uint256";
|
|
295
|
+
readonly internalType: "uint256";
|
|
296
|
+
}];
|
|
297
|
+
readonly outputs: readonly [{
|
|
298
|
+
readonly name: "";
|
|
299
|
+
readonly type: "address";
|
|
300
|
+
readonly internalType: "address";
|
|
301
|
+
}];
|
|
302
|
+
readonly stateMutability: "view";
|
|
303
|
+
}, {
|
|
304
|
+
readonly type: "function";
|
|
305
|
+
readonly name: "getBalance";
|
|
306
|
+
readonly inputs: readonly [{
|
|
307
|
+
readonly name: "streamId";
|
|
308
|
+
readonly type: "uint256";
|
|
309
|
+
readonly internalType: "uint256";
|
|
310
|
+
}];
|
|
311
|
+
readonly outputs: readonly [{
|
|
312
|
+
readonly name: "balance";
|
|
313
|
+
readonly type: "uint128";
|
|
314
|
+
readonly internalType: "uint128";
|
|
315
|
+
}];
|
|
316
|
+
readonly stateMutability: "view";
|
|
317
|
+
}, {
|
|
318
|
+
readonly type: "function";
|
|
319
|
+
readonly name: "getRatePerSecond";
|
|
320
|
+
readonly inputs: readonly [{
|
|
321
|
+
readonly name: "streamId";
|
|
322
|
+
readonly type: "uint256";
|
|
323
|
+
readonly internalType: "uint256";
|
|
324
|
+
}];
|
|
325
|
+
readonly outputs: readonly [{
|
|
326
|
+
readonly name: "ratePerSecond";
|
|
327
|
+
readonly type: "uint128";
|
|
328
|
+
readonly internalType: "UD21x18";
|
|
329
|
+
}];
|
|
330
|
+
readonly stateMutability: "view";
|
|
331
|
+
}, {
|
|
332
|
+
readonly type: "function";
|
|
333
|
+
readonly name: "getRecipient";
|
|
334
|
+
readonly inputs: readonly [{
|
|
335
|
+
readonly name: "streamId";
|
|
336
|
+
readonly type: "uint256";
|
|
337
|
+
readonly internalType: "uint256";
|
|
338
|
+
}];
|
|
339
|
+
readonly outputs: readonly [{
|
|
340
|
+
readonly name: "recipient";
|
|
341
|
+
readonly type: "address";
|
|
342
|
+
readonly internalType: "address";
|
|
343
|
+
}];
|
|
344
|
+
readonly stateMutability: "view";
|
|
345
|
+
}, {
|
|
346
|
+
readonly type: "function";
|
|
347
|
+
readonly name: "getSender";
|
|
348
|
+
readonly inputs: readonly [{
|
|
349
|
+
readonly name: "streamId";
|
|
350
|
+
readonly type: "uint256";
|
|
351
|
+
readonly internalType: "uint256";
|
|
352
|
+
}];
|
|
353
|
+
readonly outputs: readonly [{
|
|
354
|
+
readonly name: "sender";
|
|
355
|
+
readonly type: "address";
|
|
356
|
+
readonly internalType: "address";
|
|
357
|
+
}];
|
|
358
|
+
readonly stateMutability: "view";
|
|
359
|
+
}, {
|
|
360
|
+
readonly type: "function";
|
|
361
|
+
readonly name: "getSnapshotDebtScaled";
|
|
362
|
+
readonly inputs: readonly [{
|
|
363
|
+
readonly name: "streamId";
|
|
364
|
+
readonly type: "uint256";
|
|
365
|
+
readonly internalType: "uint256";
|
|
366
|
+
}];
|
|
367
|
+
readonly outputs: readonly [{
|
|
368
|
+
readonly name: "snapshotDebtScaled";
|
|
369
|
+
readonly type: "uint256";
|
|
370
|
+
readonly internalType: "uint256";
|
|
371
|
+
}];
|
|
372
|
+
readonly stateMutability: "view";
|
|
373
|
+
}, {
|
|
374
|
+
readonly type: "function";
|
|
375
|
+
readonly name: "getSnapshotTime";
|
|
376
|
+
readonly inputs: readonly [{
|
|
377
|
+
readonly name: "streamId";
|
|
378
|
+
readonly type: "uint256";
|
|
379
|
+
readonly internalType: "uint256";
|
|
380
|
+
}];
|
|
381
|
+
readonly outputs: readonly [{
|
|
382
|
+
readonly name: "snapshotTime";
|
|
383
|
+
readonly type: "uint40";
|
|
384
|
+
readonly internalType: "uint40";
|
|
385
|
+
}];
|
|
386
|
+
readonly stateMutability: "view";
|
|
387
|
+
}, {
|
|
388
|
+
readonly type: "function";
|
|
389
|
+
readonly name: "getStream";
|
|
390
|
+
readonly inputs: readonly [{
|
|
391
|
+
readonly name: "streamId";
|
|
392
|
+
readonly type: "uint256";
|
|
393
|
+
readonly internalType: "uint256";
|
|
394
|
+
}];
|
|
395
|
+
readonly outputs: readonly [{
|
|
396
|
+
readonly name: "stream";
|
|
397
|
+
readonly type: "tuple";
|
|
398
|
+
readonly internalType: "struct Flow.Stream";
|
|
399
|
+
readonly components: readonly [{
|
|
400
|
+
readonly name: "balance";
|
|
401
|
+
readonly type: "uint128";
|
|
402
|
+
readonly internalType: "uint128";
|
|
403
|
+
}, {
|
|
404
|
+
readonly name: "ratePerSecond";
|
|
405
|
+
readonly type: "uint128";
|
|
406
|
+
readonly internalType: "UD21x18";
|
|
407
|
+
}, {
|
|
408
|
+
readonly name: "sender";
|
|
409
|
+
readonly type: "address";
|
|
410
|
+
readonly internalType: "address";
|
|
411
|
+
}, {
|
|
412
|
+
readonly name: "snapshotTime";
|
|
413
|
+
readonly type: "uint40";
|
|
414
|
+
readonly internalType: "uint40";
|
|
415
|
+
}, {
|
|
416
|
+
readonly name: "isStream";
|
|
417
|
+
readonly type: "bool";
|
|
418
|
+
readonly internalType: "bool";
|
|
419
|
+
}, {
|
|
420
|
+
readonly name: "isTransferable";
|
|
421
|
+
readonly type: "bool";
|
|
422
|
+
readonly internalType: "bool";
|
|
423
|
+
}, {
|
|
424
|
+
readonly name: "isVoided";
|
|
425
|
+
readonly type: "bool";
|
|
426
|
+
readonly internalType: "bool";
|
|
427
|
+
}, {
|
|
428
|
+
readonly name: "token";
|
|
429
|
+
readonly type: "address";
|
|
430
|
+
readonly internalType: "contract IERC20";
|
|
431
|
+
}, {
|
|
432
|
+
readonly name: "tokenDecimals";
|
|
433
|
+
readonly type: "uint8";
|
|
434
|
+
readonly internalType: "uint8";
|
|
435
|
+
}, {
|
|
436
|
+
readonly name: "snapshotDebtScaled";
|
|
437
|
+
readonly type: "uint256";
|
|
438
|
+
readonly internalType: "uint256";
|
|
439
|
+
}];
|
|
440
|
+
}];
|
|
441
|
+
readonly stateMutability: "view";
|
|
442
|
+
}, {
|
|
443
|
+
readonly type: "function";
|
|
444
|
+
readonly name: "getToken";
|
|
445
|
+
readonly inputs: readonly [{
|
|
446
|
+
readonly name: "streamId";
|
|
447
|
+
readonly type: "uint256";
|
|
448
|
+
readonly internalType: "uint256";
|
|
449
|
+
}];
|
|
450
|
+
readonly outputs: readonly [{
|
|
451
|
+
readonly name: "token";
|
|
452
|
+
readonly type: "address";
|
|
453
|
+
readonly internalType: "contract IERC20";
|
|
454
|
+
}];
|
|
455
|
+
readonly stateMutability: "view";
|
|
456
|
+
}, {
|
|
457
|
+
readonly type: "function";
|
|
458
|
+
readonly name: "getTokenDecimals";
|
|
459
|
+
readonly inputs: readonly [{
|
|
460
|
+
readonly name: "streamId";
|
|
461
|
+
readonly type: "uint256";
|
|
462
|
+
readonly internalType: "uint256";
|
|
463
|
+
}];
|
|
464
|
+
readonly outputs: readonly [{
|
|
465
|
+
readonly name: "tokenDecimals";
|
|
466
|
+
readonly type: "uint8";
|
|
467
|
+
readonly internalType: "uint8";
|
|
468
|
+
}];
|
|
469
|
+
readonly stateMutability: "view";
|
|
470
|
+
}, {
|
|
471
|
+
readonly type: "function";
|
|
472
|
+
readonly name: "isApprovedForAll";
|
|
473
|
+
readonly inputs: readonly [{
|
|
474
|
+
readonly name: "owner";
|
|
475
|
+
readonly type: "address";
|
|
476
|
+
readonly internalType: "address";
|
|
477
|
+
}, {
|
|
478
|
+
readonly name: "operator";
|
|
479
|
+
readonly type: "address";
|
|
480
|
+
readonly internalType: "address";
|
|
481
|
+
}];
|
|
482
|
+
readonly outputs: readonly [{
|
|
483
|
+
readonly name: "";
|
|
484
|
+
readonly type: "bool";
|
|
485
|
+
readonly internalType: "bool";
|
|
486
|
+
}];
|
|
487
|
+
readonly stateMutability: "view";
|
|
488
|
+
}, {
|
|
489
|
+
readonly type: "function";
|
|
490
|
+
readonly name: "isPaused";
|
|
491
|
+
readonly inputs: readonly [{
|
|
492
|
+
readonly name: "streamId";
|
|
493
|
+
readonly type: "uint256";
|
|
494
|
+
readonly internalType: "uint256";
|
|
495
|
+
}];
|
|
496
|
+
readonly outputs: readonly [{
|
|
497
|
+
readonly name: "result";
|
|
498
|
+
readonly type: "bool";
|
|
499
|
+
readonly internalType: "bool";
|
|
500
|
+
}];
|
|
501
|
+
readonly stateMutability: "view";
|
|
502
|
+
}, {
|
|
503
|
+
readonly type: "function";
|
|
504
|
+
readonly name: "isStream";
|
|
505
|
+
readonly inputs: readonly [{
|
|
506
|
+
readonly name: "streamId";
|
|
507
|
+
readonly type: "uint256";
|
|
508
|
+
readonly internalType: "uint256";
|
|
509
|
+
}];
|
|
510
|
+
readonly outputs: readonly [{
|
|
511
|
+
readonly name: "result";
|
|
512
|
+
readonly type: "bool";
|
|
513
|
+
readonly internalType: "bool";
|
|
514
|
+
}];
|
|
515
|
+
readonly stateMutability: "view";
|
|
516
|
+
}, {
|
|
517
|
+
readonly type: "function";
|
|
518
|
+
readonly name: "isTransferable";
|
|
519
|
+
readonly inputs: readonly [{
|
|
520
|
+
readonly name: "streamId";
|
|
521
|
+
readonly type: "uint256";
|
|
522
|
+
readonly internalType: "uint256";
|
|
523
|
+
}];
|
|
524
|
+
readonly outputs: readonly [{
|
|
525
|
+
readonly name: "result";
|
|
526
|
+
readonly type: "bool";
|
|
527
|
+
readonly internalType: "bool";
|
|
528
|
+
}];
|
|
529
|
+
readonly stateMutability: "view";
|
|
530
|
+
}, {
|
|
531
|
+
readonly type: "function";
|
|
532
|
+
readonly name: "isVoided";
|
|
533
|
+
readonly inputs: readonly [{
|
|
534
|
+
readonly name: "streamId";
|
|
535
|
+
readonly type: "uint256";
|
|
536
|
+
readonly internalType: "uint256";
|
|
537
|
+
}];
|
|
538
|
+
readonly outputs: readonly [{
|
|
539
|
+
readonly name: "result";
|
|
540
|
+
readonly type: "bool";
|
|
541
|
+
readonly internalType: "bool";
|
|
542
|
+
}];
|
|
543
|
+
readonly stateMutability: "view";
|
|
544
|
+
}, {
|
|
545
|
+
readonly type: "function";
|
|
546
|
+
readonly name: "name";
|
|
547
|
+
readonly inputs: readonly [];
|
|
548
|
+
readonly outputs: readonly [{
|
|
549
|
+
readonly name: "";
|
|
550
|
+
readonly type: "string";
|
|
551
|
+
readonly internalType: "string";
|
|
552
|
+
}];
|
|
553
|
+
readonly stateMutability: "view";
|
|
554
|
+
}, {
|
|
555
|
+
readonly type: "function";
|
|
556
|
+
readonly name: "nextStreamId";
|
|
557
|
+
readonly inputs: readonly [];
|
|
558
|
+
readonly outputs: readonly [{
|
|
559
|
+
readonly name: "";
|
|
560
|
+
readonly type: "uint256";
|
|
561
|
+
readonly internalType: "uint256";
|
|
562
|
+
}];
|
|
563
|
+
readonly stateMutability: "view";
|
|
564
|
+
}, {
|
|
565
|
+
readonly type: "function";
|
|
566
|
+
readonly name: "nftDescriptor";
|
|
567
|
+
readonly inputs: readonly [];
|
|
568
|
+
readonly outputs: readonly [{
|
|
569
|
+
readonly name: "";
|
|
570
|
+
readonly type: "address";
|
|
571
|
+
readonly internalType: "contract IFlowNFTDescriptor";
|
|
572
|
+
}];
|
|
573
|
+
readonly stateMutability: "view";
|
|
574
|
+
}, {
|
|
575
|
+
readonly type: "function";
|
|
576
|
+
readonly name: "ongoingDebtScaledOf";
|
|
577
|
+
readonly inputs: readonly [{
|
|
578
|
+
readonly name: "streamId";
|
|
579
|
+
readonly type: "uint256";
|
|
580
|
+
readonly internalType: "uint256";
|
|
581
|
+
}];
|
|
582
|
+
readonly outputs: readonly [{
|
|
583
|
+
readonly name: "ongoingDebtScaled";
|
|
584
|
+
readonly type: "uint256";
|
|
585
|
+
readonly internalType: "uint256";
|
|
586
|
+
}];
|
|
587
|
+
readonly stateMutability: "view";
|
|
588
|
+
}, {
|
|
589
|
+
readonly type: "function";
|
|
590
|
+
readonly name: "ownerOf";
|
|
591
|
+
readonly inputs: readonly [{
|
|
592
|
+
readonly name: "tokenId";
|
|
593
|
+
readonly type: "uint256";
|
|
594
|
+
readonly internalType: "uint256";
|
|
595
|
+
}];
|
|
596
|
+
readonly outputs: readonly [{
|
|
597
|
+
readonly name: "";
|
|
598
|
+
readonly type: "address";
|
|
599
|
+
readonly internalType: "address";
|
|
600
|
+
}];
|
|
601
|
+
readonly stateMutability: "view";
|
|
602
|
+
}, {
|
|
603
|
+
readonly type: "function";
|
|
604
|
+
readonly name: "pause";
|
|
605
|
+
readonly inputs: readonly [{
|
|
606
|
+
readonly name: "streamId";
|
|
607
|
+
readonly type: "uint256";
|
|
608
|
+
readonly internalType: "uint256";
|
|
609
|
+
}];
|
|
610
|
+
readonly outputs: readonly [];
|
|
611
|
+
readonly stateMutability: "payable";
|
|
612
|
+
}, {
|
|
613
|
+
readonly type: "function";
|
|
614
|
+
readonly name: "protocolFee";
|
|
615
|
+
readonly inputs: readonly [{
|
|
616
|
+
readonly name: "token";
|
|
617
|
+
readonly type: "address";
|
|
618
|
+
readonly internalType: "contract IERC20";
|
|
619
|
+
}];
|
|
620
|
+
readonly outputs: readonly [{
|
|
621
|
+
readonly name: "fee";
|
|
622
|
+
readonly type: "uint256";
|
|
623
|
+
readonly internalType: "UD60x18";
|
|
624
|
+
}];
|
|
625
|
+
readonly stateMutability: "view";
|
|
626
|
+
}, {
|
|
627
|
+
readonly type: "function";
|
|
628
|
+
readonly name: "protocolRevenue";
|
|
629
|
+
readonly inputs: readonly [{
|
|
630
|
+
readonly name: "token";
|
|
631
|
+
readonly type: "address";
|
|
632
|
+
readonly internalType: "contract IERC20";
|
|
633
|
+
}];
|
|
634
|
+
readonly outputs: readonly [{
|
|
635
|
+
readonly name: "revenue";
|
|
636
|
+
readonly type: "uint128";
|
|
637
|
+
readonly internalType: "uint128";
|
|
638
|
+
}];
|
|
639
|
+
readonly stateMutability: "view";
|
|
640
|
+
}, {
|
|
641
|
+
readonly type: "function";
|
|
642
|
+
readonly name: "recover";
|
|
643
|
+
readonly inputs: readonly [{
|
|
644
|
+
readonly name: "token";
|
|
645
|
+
readonly type: "address";
|
|
646
|
+
readonly internalType: "contract IERC20";
|
|
647
|
+
}, {
|
|
648
|
+
readonly name: "to";
|
|
649
|
+
readonly type: "address";
|
|
650
|
+
readonly internalType: "address";
|
|
651
|
+
}];
|
|
652
|
+
readonly outputs: readonly [];
|
|
653
|
+
readonly stateMutability: "nonpayable";
|
|
654
|
+
}, {
|
|
655
|
+
readonly type: "function";
|
|
656
|
+
readonly name: "refund";
|
|
657
|
+
readonly inputs: readonly [{
|
|
658
|
+
readonly name: "streamId";
|
|
659
|
+
readonly type: "uint256";
|
|
660
|
+
readonly internalType: "uint256";
|
|
661
|
+
}, {
|
|
662
|
+
readonly name: "amount";
|
|
663
|
+
readonly type: "uint128";
|
|
664
|
+
readonly internalType: "uint128";
|
|
665
|
+
}];
|
|
666
|
+
readonly outputs: readonly [];
|
|
667
|
+
readonly stateMutability: "payable";
|
|
668
|
+
}, {
|
|
669
|
+
readonly type: "function";
|
|
670
|
+
readonly name: "refundAndPause";
|
|
671
|
+
readonly inputs: readonly [{
|
|
672
|
+
readonly name: "streamId";
|
|
673
|
+
readonly type: "uint256";
|
|
674
|
+
readonly internalType: "uint256";
|
|
675
|
+
}, {
|
|
676
|
+
readonly name: "amount";
|
|
677
|
+
readonly type: "uint128";
|
|
678
|
+
readonly internalType: "uint128";
|
|
679
|
+
}];
|
|
680
|
+
readonly outputs: readonly [];
|
|
681
|
+
readonly stateMutability: "payable";
|
|
682
|
+
}, {
|
|
683
|
+
readonly type: "function";
|
|
684
|
+
readonly name: "refundMax";
|
|
685
|
+
readonly inputs: readonly [{
|
|
686
|
+
readonly name: "streamId";
|
|
687
|
+
readonly type: "uint256";
|
|
688
|
+
readonly internalType: "uint256";
|
|
689
|
+
}];
|
|
690
|
+
readonly outputs: readonly [];
|
|
691
|
+
readonly stateMutability: "payable";
|
|
692
|
+
}, {
|
|
693
|
+
readonly type: "function";
|
|
694
|
+
readonly name: "refundableAmountOf";
|
|
695
|
+
readonly inputs: readonly [{
|
|
696
|
+
readonly name: "streamId";
|
|
697
|
+
readonly type: "uint256";
|
|
698
|
+
readonly internalType: "uint256";
|
|
699
|
+
}];
|
|
700
|
+
readonly outputs: readonly [{
|
|
701
|
+
readonly name: "refundableAmount";
|
|
702
|
+
readonly type: "uint128";
|
|
703
|
+
readonly internalType: "uint128";
|
|
704
|
+
}];
|
|
705
|
+
readonly stateMutability: "view";
|
|
706
|
+
}, {
|
|
707
|
+
readonly type: "function";
|
|
708
|
+
readonly name: "restart";
|
|
709
|
+
readonly inputs: readonly [{
|
|
710
|
+
readonly name: "streamId";
|
|
711
|
+
readonly type: "uint256";
|
|
712
|
+
readonly internalType: "uint256";
|
|
713
|
+
}, {
|
|
714
|
+
readonly name: "ratePerSecond";
|
|
715
|
+
readonly type: "uint128";
|
|
716
|
+
readonly internalType: "UD21x18";
|
|
717
|
+
}];
|
|
718
|
+
readonly outputs: readonly [];
|
|
719
|
+
readonly stateMutability: "payable";
|
|
720
|
+
}, {
|
|
721
|
+
readonly type: "function";
|
|
722
|
+
readonly name: "restartAndDeposit";
|
|
723
|
+
readonly inputs: readonly [{
|
|
724
|
+
readonly name: "streamId";
|
|
725
|
+
readonly type: "uint256";
|
|
726
|
+
readonly internalType: "uint256";
|
|
727
|
+
}, {
|
|
728
|
+
readonly name: "ratePerSecond";
|
|
729
|
+
readonly type: "uint128";
|
|
730
|
+
readonly internalType: "UD21x18";
|
|
731
|
+
}, {
|
|
732
|
+
readonly name: "amount";
|
|
733
|
+
readonly type: "uint128";
|
|
734
|
+
readonly internalType: "uint128";
|
|
735
|
+
}];
|
|
736
|
+
readonly outputs: readonly [];
|
|
737
|
+
readonly stateMutability: "payable";
|
|
738
|
+
}, {
|
|
739
|
+
readonly type: "function";
|
|
740
|
+
readonly name: "safeTransferFrom";
|
|
741
|
+
readonly inputs: readonly [{
|
|
742
|
+
readonly name: "from";
|
|
743
|
+
readonly type: "address";
|
|
744
|
+
readonly internalType: "address";
|
|
745
|
+
}, {
|
|
746
|
+
readonly name: "to";
|
|
747
|
+
readonly type: "address";
|
|
748
|
+
readonly internalType: "address";
|
|
749
|
+
}, {
|
|
750
|
+
readonly name: "tokenId";
|
|
751
|
+
readonly type: "uint256";
|
|
752
|
+
readonly internalType: "uint256";
|
|
753
|
+
}];
|
|
754
|
+
readonly outputs: readonly [];
|
|
755
|
+
readonly stateMutability: "nonpayable";
|
|
756
|
+
}, {
|
|
757
|
+
readonly type: "function";
|
|
758
|
+
readonly name: "safeTransferFrom";
|
|
759
|
+
readonly inputs: readonly [{
|
|
760
|
+
readonly name: "from";
|
|
761
|
+
readonly type: "address";
|
|
762
|
+
readonly internalType: "address";
|
|
763
|
+
}, {
|
|
764
|
+
readonly name: "to";
|
|
765
|
+
readonly type: "address";
|
|
766
|
+
readonly internalType: "address";
|
|
767
|
+
}, {
|
|
768
|
+
readonly name: "tokenId";
|
|
769
|
+
readonly type: "uint256";
|
|
770
|
+
readonly internalType: "uint256";
|
|
771
|
+
}, {
|
|
772
|
+
readonly name: "data";
|
|
773
|
+
readonly type: "bytes";
|
|
774
|
+
readonly internalType: "bytes";
|
|
775
|
+
}];
|
|
776
|
+
readonly outputs: readonly [];
|
|
777
|
+
readonly stateMutability: "nonpayable";
|
|
778
|
+
}, {
|
|
779
|
+
readonly type: "function";
|
|
780
|
+
readonly name: "setApprovalForAll";
|
|
781
|
+
readonly inputs: readonly [{
|
|
782
|
+
readonly name: "operator";
|
|
783
|
+
readonly type: "address";
|
|
784
|
+
readonly internalType: "address";
|
|
785
|
+
}, {
|
|
786
|
+
readonly name: "approved";
|
|
787
|
+
readonly type: "bool";
|
|
788
|
+
readonly internalType: "bool";
|
|
789
|
+
}];
|
|
790
|
+
readonly outputs: readonly [];
|
|
791
|
+
readonly stateMutability: "nonpayable";
|
|
792
|
+
}, {
|
|
793
|
+
readonly type: "function";
|
|
794
|
+
readonly name: "setNFTDescriptor";
|
|
795
|
+
readonly inputs: readonly [{
|
|
796
|
+
readonly name: "newNFTDescriptor";
|
|
797
|
+
readonly type: "address";
|
|
798
|
+
readonly internalType: "contract IFlowNFTDescriptor";
|
|
799
|
+
}];
|
|
800
|
+
readonly outputs: readonly [];
|
|
801
|
+
readonly stateMutability: "nonpayable";
|
|
802
|
+
}, {
|
|
803
|
+
readonly type: "function";
|
|
804
|
+
readonly name: "setProtocolFee";
|
|
805
|
+
readonly inputs: readonly [{
|
|
806
|
+
readonly name: "token";
|
|
807
|
+
readonly type: "address";
|
|
808
|
+
readonly internalType: "contract IERC20";
|
|
809
|
+
}, {
|
|
810
|
+
readonly name: "newProtocolFee";
|
|
811
|
+
readonly type: "uint256";
|
|
812
|
+
readonly internalType: "UD60x18";
|
|
813
|
+
}];
|
|
814
|
+
readonly outputs: readonly [];
|
|
815
|
+
readonly stateMutability: "nonpayable";
|
|
816
|
+
}, {
|
|
817
|
+
readonly type: "function";
|
|
818
|
+
readonly name: "statusOf";
|
|
819
|
+
readonly inputs: readonly [{
|
|
820
|
+
readonly name: "streamId";
|
|
821
|
+
readonly type: "uint256";
|
|
822
|
+
readonly internalType: "uint256";
|
|
823
|
+
}];
|
|
824
|
+
readonly outputs: readonly [{
|
|
825
|
+
readonly name: "status";
|
|
826
|
+
readonly type: "uint8";
|
|
827
|
+
readonly internalType: "enum Flow.Status";
|
|
828
|
+
}];
|
|
829
|
+
readonly stateMutability: "view";
|
|
830
|
+
}, {
|
|
831
|
+
readonly type: "function";
|
|
832
|
+
readonly name: "supportsInterface";
|
|
833
|
+
readonly inputs: readonly [{
|
|
834
|
+
readonly name: "interfaceId";
|
|
835
|
+
readonly type: "bytes4";
|
|
836
|
+
readonly internalType: "bytes4";
|
|
837
|
+
}];
|
|
838
|
+
readonly outputs: readonly [{
|
|
839
|
+
readonly name: "";
|
|
840
|
+
readonly type: "bool";
|
|
841
|
+
readonly internalType: "bool";
|
|
842
|
+
}];
|
|
843
|
+
readonly stateMutability: "view";
|
|
844
|
+
}, {
|
|
845
|
+
readonly type: "function";
|
|
846
|
+
readonly name: "symbol";
|
|
847
|
+
readonly inputs: readonly [];
|
|
848
|
+
readonly outputs: readonly [{
|
|
849
|
+
readonly name: "";
|
|
850
|
+
readonly type: "string";
|
|
851
|
+
readonly internalType: "string";
|
|
852
|
+
}];
|
|
853
|
+
readonly stateMutability: "view";
|
|
854
|
+
}, {
|
|
855
|
+
readonly type: "function";
|
|
856
|
+
readonly name: "tokenURI";
|
|
857
|
+
readonly inputs: readonly [{
|
|
858
|
+
readonly name: "streamId";
|
|
859
|
+
readonly type: "uint256";
|
|
860
|
+
readonly internalType: "uint256";
|
|
861
|
+
}];
|
|
862
|
+
readonly outputs: readonly [{
|
|
863
|
+
readonly name: "uri";
|
|
864
|
+
readonly type: "string";
|
|
865
|
+
readonly internalType: "string";
|
|
866
|
+
}];
|
|
867
|
+
readonly stateMutability: "view";
|
|
868
|
+
}, {
|
|
869
|
+
readonly type: "function";
|
|
870
|
+
readonly name: "totalDebtOf";
|
|
871
|
+
readonly inputs: readonly [{
|
|
872
|
+
readonly name: "streamId";
|
|
873
|
+
readonly type: "uint256";
|
|
874
|
+
readonly internalType: "uint256";
|
|
875
|
+
}];
|
|
876
|
+
readonly outputs: readonly [{
|
|
877
|
+
readonly name: "totalDebt";
|
|
878
|
+
readonly type: "uint256";
|
|
879
|
+
readonly internalType: "uint256";
|
|
880
|
+
}];
|
|
881
|
+
readonly stateMutability: "view";
|
|
882
|
+
}, {
|
|
883
|
+
readonly type: "function";
|
|
884
|
+
readonly name: "transferAdmin";
|
|
885
|
+
readonly inputs: readonly [{
|
|
886
|
+
readonly name: "newAdmin";
|
|
887
|
+
readonly type: "address";
|
|
888
|
+
readonly internalType: "address";
|
|
889
|
+
}];
|
|
890
|
+
readonly outputs: readonly [];
|
|
891
|
+
readonly stateMutability: "nonpayable";
|
|
892
|
+
}, {
|
|
893
|
+
readonly type: "function";
|
|
894
|
+
readonly name: "transferFrom";
|
|
895
|
+
readonly inputs: readonly [{
|
|
896
|
+
readonly name: "from";
|
|
897
|
+
readonly type: "address";
|
|
898
|
+
readonly internalType: "address";
|
|
899
|
+
}, {
|
|
900
|
+
readonly name: "to";
|
|
901
|
+
readonly type: "address";
|
|
902
|
+
readonly internalType: "address";
|
|
903
|
+
}, {
|
|
904
|
+
readonly name: "tokenId";
|
|
905
|
+
readonly type: "uint256";
|
|
906
|
+
readonly internalType: "uint256";
|
|
907
|
+
}];
|
|
908
|
+
readonly outputs: readonly [];
|
|
909
|
+
readonly stateMutability: "nonpayable";
|
|
910
|
+
}, {
|
|
911
|
+
readonly type: "function";
|
|
912
|
+
readonly name: "uncoveredDebtOf";
|
|
913
|
+
readonly inputs: readonly [{
|
|
914
|
+
readonly name: "streamId";
|
|
915
|
+
readonly type: "uint256";
|
|
916
|
+
readonly internalType: "uint256";
|
|
917
|
+
}];
|
|
918
|
+
readonly outputs: readonly [{
|
|
919
|
+
readonly name: "uncoveredDebt";
|
|
920
|
+
readonly type: "uint256";
|
|
921
|
+
readonly internalType: "uint256";
|
|
922
|
+
}];
|
|
923
|
+
readonly stateMutability: "view";
|
|
924
|
+
}, {
|
|
925
|
+
readonly type: "function";
|
|
926
|
+
readonly name: "void";
|
|
927
|
+
readonly inputs: readonly [{
|
|
928
|
+
readonly name: "streamId";
|
|
929
|
+
readonly type: "uint256";
|
|
930
|
+
readonly internalType: "uint256";
|
|
931
|
+
}];
|
|
932
|
+
readonly outputs: readonly [];
|
|
933
|
+
readonly stateMutability: "payable";
|
|
934
|
+
}, {
|
|
935
|
+
readonly type: "function";
|
|
936
|
+
readonly name: "withdraw";
|
|
937
|
+
readonly inputs: readonly [{
|
|
938
|
+
readonly name: "streamId";
|
|
939
|
+
readonly type: "uint256";
|
|
940
|
+
readonly internalType: "uint256";
|
|
941
|
+
}, {
|
|
942
|
+
readonly name: "to";
|
|
943
|
+
readonly type: "address";
|
|
944
|
+
readonly internalType: "address";
|
|
945
|
+
}, {
|
|
946
|
+
readonly name: "amount";
|
|
947
|
+
readonly type: "uint128";
|
|
948
|
+
readonly internalType: "uint128";
|
|
949
|
+
}];
|
|
950
|
+
readonly outputs: readonly [{
|
|
951
|
+
readonly name: "withdrawnAmount";
|
|
952
|
+
readonly type: "uint128";
|
|
953
|
+
readonly internalType: "uint128";
|
|
954
|
+
}, {
|
|
955
|
+
readonly name: "protocolFeeAmount";
|
|
956
|
+
readonly type: "uint128";
|
|
957
|
+
readonly internalType: "uint128";
|
|
958
|
+
}];
|
|
959
|
+
readonly stateMutability: "payable";
|
|
960
|
+
}, {
|
|
961
|
+
readonly type: "function";
|
|
962
|
+
readonly name: "withdrawMax";
|
|
963
|
+
readonly inputs: readonly [{
|
|
964
|
+
readonly name: "streamId";
|
|
965
|
+
readonly type: "uint256";
|
|
966
|
+
readonly internalType: "uint256";
|
|
967
|
+
}, {
|
|
968
|
+
readonly name: "to";
|
|
969
|
+
readonly type: "address";
|
|
970
|
+
readonly internalType: "address";
|
|
971
|
+
}];
|
|
972
|
+
readonly outputs: readonly [{
|
|
973
|
+
readonly name: "withdrawnAmount";
|
|
974
|
+
readonly type: "uint128";
|
|
975
|
+
readonly internalType: "uint128";
|
|
976
|
+
}, {
|
|
977
|
+
readonly name: "protocolFeeAmount";
|
|
978
|
+
readonly type: "uint128";
|
|
979
|
+
readonly internalType: "uint128";
|
|
980
|
+
}];
|
|
981
|
+
readonly stateMutability: "payable";
|
|
982
|
+
}, {
|
|
983
|
+
readonly type: "function";
|
|
984
|
+
readonly name: "withdrawableAmountOf";
|
|
985
|
+
readonly inputs: readonly [{
|
|
986
|
+
readonly name: "streamId";
|
|
987
|
+
readonly type: "uint256";
|
|
988
|
+
readonly internalType: "uint256";
|
|
989
|
+
}];
|
|
990
|
+
readonly outputs: readonly [{
|
|
991
|
+
readonly name: "withdrawableAmount";
|
|
992
|
+
readonly type: "uint128";
|
|
993
|
+
readonly internalType: "uint128";
|
|
994
|
+
}];
|
|
995
|
+
readonly stateMutability: "view";
|
|
996
|
+
}, {
|
|
997
|
+
readonly type: "event";
|
|
998
|
+
readonly name: "AdjustFlowStream";
|
|
999
|
+
readonly inputs: readonly [{
|
|
1000
|
+
readonly name: "streamId";
|
|
1001
|
+
readonly type: "uint256";
|
|
1002
|
+
readonly indexed: true;
|
|
1003
|
+
readonly internalType: "uint256";
|
|
1004
|
+
}, {
|
|
1005
|
+
readonly name: "totalDebt";
|
|
1006
|
+
readonly type: "uint256";
|
|
1007
|
+
readonly indexed: false;
|
|
1008
|
+
readonly internalType: "uint256";
|
|
1009
|
+
}, {
|
|
1010
|
+
readonly name: "oldRatePerSecond";
|
|
1011
|
+
readonly type: "uint128";
|
|
1012
|
+
readonly indexed: false;
|
|
1013
|
+
readonly internalType: "UD21x18";
|
|
1014
|
+
}, {
|
|
1015
|
+
readonly name: "newRatePerSecond";
|
|
1016
|
+
readonly type: "uint128";
|
|
1017
|
+
readonly indexed: false;
|
|
1018
|
+
readonly internalType: "UD21x18";
|
|
1019
|
+
}];
|
|
1020
|
+
readonly anonymous: false;
|
|
1021
|
+
}, {
|
|
1022
|
+
readonly type: "event";
|
|
1023
|
+
readonly name: "Approval";
|
|
1024
|
+
readonly inputs: readonly [{
|
|
1025
|
+
readonly name: "owner";
|
|
1026
|
+
readonly type: "address";
|
|
1027
|
+
readonly indexed: true;
|
|
1028
|
+
readonly internalType: "address";
|
|
1029
|
+
}, {
|
|
1030
|
+
readonly name: "approved";
|
|
1031
|
+
readonly type: "address";
|
|
1032
|
+
readonly indexed: true;
|
|
1033
|
+
readonly internalType: "address";
|
|
1034
|
+
}, {
|
|
1035
|
+
readonly name: "tokenId";
|
|
1036
|
+
readonly type: "uint256";
|
|
1037
|
+
readonly indexed: true;
|
|
1038
|
+
readonly internalType: "uint256";
|
|
1039
|
+
}];
|
|
1040
|
+
readonly anonymous: false;
|
|
1041
|
+
}, {
|
|
1042
|
+
readonly type: "event";
|
|
1043
|
+
readonly name: "ApprovalForAll";
|
|
1044
|
+
readonly inputs: readonly [{
|
|
1045
|
+
readonly name: "owner";
|
|
1046
|
+
readonly type: "address";
|
|
1047
|
+
readonly indexed: true;
|
|
1048
|
+
readonly internalType: "address";
|
|
1049
|
+
}, {
|
|
1050
|
+
readonly name: "operator";
|
|
1051
|
+
readonly type: "address";
|
|
1052
|
+
readonly indexed: true;
|
|
1053
|
+
readonly internalType: "address";
|
|
1054
|
+
}, {
|
|
1055
|
+
readonly name: "approved";
|
|
1056
|
+
readonly type: "bool";
|
|
1057
|
+
readonly indexed: false;
|
|
1058
|
+
readonly internalType: "bool";
|
|
1059
|
+
}];
|
|
1060
|
+
readonly anonymous: false;
|
|
1061
|
+
}, {
|
|
1062
|
+
readonly type: "event";
|
|
1063
|
+
readonly name: "BatchMetadataUpdate";
|
|
1064
|
+
readonly inputs: readonly [{
|
|
1065
|
+
readonly name: "_fromTokenId";
|
|
1066
|
+
readonly type: "uint256";
|
|
1067
|
+
readonly indexed: false;
|
|
1068
|
+
readonly internalType: "uint256";
|
|
1069
|
+
}, {
|
|
1070
|
+
readonly name: "_toTokenId";
|
|
1071
|
+
readonly type: "uint256";
|
|
1072
|
+
readonly indexed: false;
|
|
1073
|
+
readonly internalType: "uint256";
|
|
1074
|
+
}];
|
|
1075
|
+
readonly anonymous: false;
|
|
1076
|
+
}, {
|
|
1077
|
+
readonly type: "event";
|
|
1078
|
+
readonly name: "CollectFees";
|
|
1079
|
+
readonly inputs: readonly [{
|
|
1080
|
+
readonly name: "admin";
|
|
1081
|
+
readonly type: "address";
|
|
1082
|
+
readonly indexed: true;
|
|
1083
|
+
readonly internalType: "address";
|
|
1084
|
+
}, {
|
|
1085
|
+
readonly name: "feeAmount";
|
|
1086
|
+
readonly type: "uint256";
|
|
1087
|
+
readonly indexed: true;
|
|
1088
|
+
readonly internalType: "uint256";
|
|
1089
|
+
}];
|
|
1090
|
+
readonly anonymous: false;
|
|
1091
|
+
}, {
|
|
1092
|
+
readonly type: "event";
|
|
1093
|
+
readonly name: "CollectProtocolRevenue";
|
|
1094
|
+
readonly inputs: readonly [{
|
|
1095
|
+
readonly name: "admin";
|
|
1096
|
+
readonly type: "address";
|
|
1097
|
+
readonly indexed: true;
|
|
1098
|
+
readonly internalType: "address";
|
|
1099
|
+
}, {
|
|
1100
|
+
readonly name: "token";
|
|
1101
|
+
readonly type: "address";
|
|
1102
|
+
readonly indexed: true;
|
|
1103
|
+
readonly internalType: "contract IERC20";
|
|
1104
|
+
}, {
|
|
1105
|
+
readonly name: "to";
|
|
1106
|
+
readonly type: "address";
|
|
1107
|
+
readonly indexed: false;
|
|
1108
|
+
readonly internalType: "address";
|
|
1109
|
+
}, {
|
|
1110
|
+
readonly name: "revenue";
|
|
1111
|
+
readonly type: "uint128";
|
|
1112
|
+
readonly indexed: false;
|
|
1113
|
+
readonly internalType: "uint128";
|
|
1114
|
+
}];
|
|
1115
|
+
readonly anonymous: false;
|
|
1116
|
+
}, {
|
|
1117
|
+
readonly type: "event";
|
|
1118
|
+
readonly name: "CreateFlowStream";
|
|
1119
|
+
readonly inputs: readonly [{
|
|
1120
|
+
readonly name: "streamId";
|
|
1121
|
+
readonly type: "uint256";
|
|
1122
|
+
readonly indexed: false;
|
|
1123
|
+
readonly internalType: "uint256";
|
|
1124
|
+
}, {
|
|
1125
|
+
readonly name: "sender";
|
|
1126
|
+
readonly type: "address";
|
|
1127
|
+
readonly indexed: true;
|
|
1128
|
+
readonly internalType: "address";
|
|
1129
|
+
}, {
|
|
1130
|
+
readonly name: "recipient";
|
|
1131
|
+
readonly type: "address";
|
|
1132
|
+
readonly indexed: true;
|
|
1133
|
+
readonly internalType: "address";
|
|
1134
|
+
}, {
|
|
1135
|
+
readonly name: "ratePerSecond";
|
|
1136
|
+
readonly type: "uint128";
|
|
1137
|
+
readonly indexed: false;
|
|
1138
|
+
readonly internalType: "UD21x18";
|
|
1139
|
+
}, {
|
|
1140
|
+
readonly name: "token";
|
|
1141
|
+
readonly type: "address";
|
|
1142
|
+
readonly indexed: true;
|
|
1143
|
+
readonly internalType: "contract IERC20";
|
|
1144
|
+
}, {
|
|
1145
|
+
readonly name: "transferable";
|
|
1146
|
+
readonly type: "bool";
|
|
1147
|
+
readonly indexed: false;
|
|
1148
|
+
readonly internalType: "bool";
|
|
1149
|
+
}];
|
|
1150
|
+
readonly anonymous: false;
|
|
1151
|
+
}, {
|
|
1152
|
+
readonly type: "event";
|
|
1153
|
+
readonly name: "DepositFlowStream";
|
|
1154
|
+
readonly inputs: readonly [{
|
|
1155
|
+
readonly name: "streamId";
|
|
1156
|
+
readonly type: "uint256";
|
|
1157
|
+
readonly indexed: true;
|
|
1158
|
+
readonly internalType: "uint256";
|
|
1159
|
+
}, {
|
|
1160
|
+
readonly name: "funder";
|
|
1161
|
+
readonly type: "address";
|
|
1162
|
+
readonly indexed: true;
|
|
1163
|
+
readonly internalType: "address";
|
|
1164
|
+
}, {
|
|
1165
|
+
readonly name: "amount";
|
|
1166
|
+
readonly type: "uint128";
|
|
1167
|
+
readonly indexed: false;
|
|
1168
|
+
readonly internalType: "uint128";
|
|
1169
|
+
}];
|
|
1170
|
+
readonly anonymous: false;
|
|
1171
|
+
}, {
|
|
1172
|
+
readonly type: "event";
|
|
1173
|
+
readonly name: "MetadataUpdate";
|
|
1174
|
+
readonly inputs: readonly [{
|
|
1175
|
+
readonly name: "_tokenId";
|
|
1176
|
+
readonly type: "uint256";
|
|
1177
|
+
readonly indexed: false;
|
|
1178
|
+
readonly internalType: "uint256";
|
|
1179
|
+
}];
|
|
1180
|
+
readonly anonymous: false;
|
|
1181
|
+
}, {
|
|
1182
|
+
readonly type: "event";
|
|
1183
|
+
readonly name: "PauseFlowStream";
|
|
1184
|
+
readonly inputs: readonly [{
|
|
1185
|
+
readonly name: "streamId";
|
|
1186
|
+
readonly type: "uint256";
|
|
1187
|
+
readonly indexed: true;
|
|
1188
|
+
readonly internalType: "uint256";
|
|
1189
|
+
}, {
|
|
1190
|
+
readonly name: "sender";
|
|
1191
|
+
readonly type: "address";
|
|
1192
|
+
readonly indexed: true;
|
|
1193
|
+
readonly internalType: "address";
|
|
1194
|
+
}, {
|
|
1195
|
+
readonly name: "recipient";
|
|
1196
|
+
readonly type: "address";
|
|
1197
|
+
readonly indexed: true;
|
|
1198
|
+
readonly internalType: "address";
|
|
1199
|
+
}, {
|
|
1200
|
+
readonly name: "totalDebt";
|
|
1201
|
+
readonly type: "uint256";
|
|
1202
|
+
readonly indexed: false;
|
|
1203
|
+
readonly internalType: "uint256";
|
|
1204
|
+
}];
|
|
1205
|
+
readonly anonymous: false;
|
|
1206
|
+
}, {
|
|
1207
|
+
readonly type: "event";
|
|
1208
|
+
readonly name: "Recover";
|
|
1209
|
+
readonly inputs: readonly [{
|
|
1210
|
+
readonly name: "admin";
|
|
1211
|
+
readonly type: "address";
|
|
1212
|
+
readonly indexed: true;
|
|
1213
|
+
readonly internalType: "address";
|
|
1214
|
+
}, {
|
|
1215
|
+
readonly name: "token";
|
|
1216
|
+
readonly type: "address";
|
|
1217
|
+
readonly indexed: true;
|
|
1218
|
+
readonly internalType: "contract IERC20";
|
|
1219
|
+
}, {
|
|
1220
|
+
readonly name: "to";
|
|
1221
|
+
readonly type: "address";
|
|
1222
|
+
readonly indexed: false;
|
|
1223
|
+
readonly internalType: "address";
|
|
1224
|
+
}, {
|
|
1225
|
+
readonly name: "surplus";
|
|
1226
|
+
readonly type: "uint256";
|
|
1227
|
+
readonly indexed: false;
|
|
1228
|
+
readonly internalType: "uint256";
|
|
1229
|
+
}];
|
|
1230
|
+
readonly anonymous: false;
|
|
1231
|
+
}, {
|
|
1232
|
+
readonly type: "event";
|
|
1233
|
+
readonly name: "RefundFromFlowStream";
|
|
1234
|
+
readonly inputs: readonly [{
|
|
1235
|
+
readonly name: "streamId";
|
|
1236
|
+
readonly type: "uint256";
|
|
1237
|
+
readonly indexed: true;
|
|
1238
|
+
readonly internalType: "uint256";
|
|
1239
|
+
}, {
|
|
1240
|
+
readonly name: "sender";
|
|
1241
|
+
readonly type: "address";
|
|
1242
|
+
readonly indexed: true;
|
|
1243
|
+
readonly internalType: "address";
|
|
1244
|
+
}, {
|
|
1245
|
+
readonly name: "amount";
|
|
1246
|
+
readonly type: "uint128";
|
|
1247
|
+
readonly indexed: false;
|
|
1248
|
+
readonly internalType: "uint128";
|
|
1249
|
+
}];
|
|
1250
|
+
readonly anonymous: false;
|
|
1251
|
+
}, {
|
|
1252
|
+
readonly type: "event";
|
|
1253
|
+
readonly name: "RestartFlowStream";
|
|
1254
|
+
readonly inputs: readonly [{
|
|
1255
|
+
readonly name: "streamId";
|
|
1256
|
+
readonly type: "uint256";
|
|
1257
|
+
readonly indexed: true;
|
|
1258
|
+
readonly internalType: "uint256";
|
|
1259
|
+
}, {
|
|
1260
|
+
readonly name: "sender";
|
|
1261
|
+
readonly type: "address";
|
|
1262
|
+
readonly indexed: true;
|
|
1263
|
+
readonly internalType: "address";
|
|
1264
|
+
}, {
|
|
1265
|
+
readonly name: "ratePerSecond";
|
|
1266
|
+
readonly type: "uint128";
|
|
1267
|
+
readonly indexed: false;
|
|
1268
|
+
readonly internalType: "UD21x18";
|
|
1269
|
+
}];
|
|
1270
|
+
readonly anonymous: false;
|
|
1271
|
+
}, {
|
|
1272
|
+
readonly type: "event";
|
|
1273
|
+
readonly name: "SetNFTDescriptor";
|
|
1274
|
+
readonly inputs: readonly [{
|
|
1275
|
+
readonly name: "admin";
|
|
1276
|
+
readonly type: "address";
|
|
1277
|
+
readonly indexed: true;
|
|
1278
|
+
readonly internalType: "address";
|
|
1279
|
+
}, {
|
|
1280
|
+
readonly name: "oldNFTDescriptor";
|
|
1281
|
+
readonly type: "address";
|
|
1282
|
+
readonly indexed: false;
|
|
1283
|
+
readonly internalType: "contract IFlowNFTDescriptor";
|
|
1284
|
+
}, {
|
|
1285
|
+
readonly name: "newNFTDescriptor";
|
|
1286
|
+
readonly type: "address";
|
|
1287
|
+
readonly indexed: false;
|
|
1288
|
+
readonly internalType: "contract IFlowNFTDescriptor";
|
|
1289
|
+
}];
|
|
1290
|
+
readonly anonymous: false;
|
|
1291
|
+
}, {
|
|
1292
|
+
readonly type: "event";
|
|
1293
|
+
readonly name: "SetProtocolFee";
|
|
1294
|
+
readonly inputs: readonly [{
|
|
1295
|
+
readonly name: "admin";
|
|
1296
|
+
readonly type: "address";
|
|
1297
|
+
readonly indexed: true;
|
|
1298
|
+
readonly internalType: "address";
|
|
1299
|
+
}, {
|
|
1300
|
+
readonly name: "token";
|
|
1301
|
+
readonly type: "address";
|
|
1302
|
+
readonly indexed: true;
|
|
1303
|
+
readonly internalType: "contract IERC20";
|
|
1304
|
+
}, {
|
|
1305
|
+
readonly name: "oldProtocolFee";
|
|
1306
|
+
readonly type: "uint256";
|
|
1307
|
+
readonly indexed: false;
|
|
1308
|
+
readonly internalType: "UD60x18";
|
|
1309
|
+
}, {
|
|
1310
|
+
readonly name: "newProtocolFee";
|
|
1311
|
+
readonly type: "uint256";
|
|
1312
|
+
readonly indexed: false;
|
|
1313
|
+
readonly internalType: "UD60x18";
|
|
1314
|
+
}];
|
|
1315
|
+
readonly anonymous: false;
|
|
1316
|
+
}, {
|
|
1317
|
+
readonly type: "event";
|
|
1318
|
+
readonly name: "Transfer";
|
|
1319
|
+
readonly inputs: readonly [{
|
|
1320
|
+
readonly name: "from";
|
|
1321
|
+
readonly type: "address";
|
|
1322
|
+
readonly indexed: true;
|
|
1323
|
+
readonly internalType: "address";
|
|
1324
|
+
}, {
|
|
1325
|
+
readonly name: "to";
|
|
1326
|
+
readonly type: "address";
|
|
1327
|
+
readonly indexed: true;
|
|
1328
|
+
readonly internalType: "address";
|
|
1329
|
+
}, {
|
|
1330
|
+
readonly name: "tokenId";
|
|
1331
|
+
readonly type: "uint256";
|
|
1332
|
+
readonly indexed: true;
|
|
1333
|
+
readonly internalType: "uint256";
|
|
1334
|
+
}];
|
|
1335
|
+
readonly anonymous: false;
|
|
1336
|
+
}, {
|
|
1337
|
+
readonly type: "event";
|
|
1338
|
+
readonly name: "TransferAdmin";
|
|
1339
|
+
readonly inputs: readonly [{
|
|
1340
|
+
readonly name: "oldAdmin";
|
|
1341
|
+
readonly type: "address";
|
|
1342
|
+
readonly indexed: true;
|
|
1343
|
+
readonly internalType: "address";
|
|
1344
|
+
}, {
|
|
1345
|
+
readonly name: "newAdmin";
|
|
1346
|
+
readonly type: "address";
|
|
1347
|
+
readonly indexed: true;
|
|
1348
|
+
readonly internalType: "address";
|
|
1349
|
+
}];
|
|
1350
|
+
readonly anonymous: false;
|
|
1351
|
+
}, {
|
|
1352
|
+
readonly type: "event";
|
|
1353
|
+
readonly name: "VoidFlowStream";
|
|
1354
|
+
readonly inputs: readonly [{
|
|
1355
|
+
readonly name: "streamId";
|
|
1356
|
+
readonly type: "uint256";
|
|
1357
|
+
readonly indexed: true;
|
|
1358
|
+
readonly internalType: "uint256";
|
|
1359
|
+
}, {
|
|
1360
|
+
readonly name: "sender";
|
|
1361
|
+
readonly type: "address";
|
|
1362
|
+
readonly indexed: true;
|
|
1363
|
+
readonly internalType: "address";
|
|
1364
|
+
}, {
|
|
1365
|
+
readonly name: "recipient";
|
|
1366
|
+
readonly type: "address";
|
|
1367
|
+
readonly indexed: true;
|
|
1368
|
+
readonly internalType: "address";
|
|
1369
|
+
}, {
|
|
1370
|
+
readonly name: "caller";
|
|
1371
|
+
readonly type: "address";
|
|
1372
|
+
readonly indexed: false;
|
|
1373
|
+
readonly internalType: "address";
|
|
1374
|
+
}, {
|
|
1375
|
+
readonly name: "newTotalDebt";
|
|
1376
|
+
readonly type: "uint256";
|
|
1377
|
+
readonly indexed: false;
|
|
1378
|
+
readonly internalType: "uint256";
|
|
1379
|
+
}, {
|
|
1380
|
+
readonly name: "writtenOffDebt";
|
|
1381
|
+
readonly type: "uint256";
|
|
1382
|
+
readonly indexed: false;
|
|
1383
|
+
readonly internalType: "uint256";
|
|
1384
|
+
}];
|
|
1385
|
+
readonly anonymous: false;
|
|
1386
|
+
}, {
|
|
1387
|
+
readonly type: "event";
|
|
1388
|
+
readonly name: "WithdrawFromFlowStream";
|
|
1389
|
+
readonly inputs: readonly [{
|
|
1390
|
+
readonly name: "streamId";
|
|
1391
|
+
readonly type: "uint256";
|
|
1392
|
+
readonly indexed: true;
|
|
1393
|
+
readonly internalType: "uint256";
|
|
1394
|
+
}, {
|
|
1395
|
+
readonly name: "to";
|
|
1396
|
+
readonly type: "address";
|
|
1397
|
+
readonly indexed: true;
|
|
1398
|
+
readonly internalType: "address";
|
|
1399
|
+
}, {
|
|
1400
|
+
readonly name: "token";
|
|
1401
|
+
readonly type: "address";
|
|
1402
|
+
readonly indexed: true;
|
|
1403
|
+
readonly internalType: "contract IERC20";
|
|
1404
|
+
}, {
|
|
1405
|
+
readonly name: "caller";
|
|
1406
|
+
readonly type: "address";
|
|
1407
|
+
readonly indexed: false;
|
|
1408
|
+
readonly internalType: "address";
|
|
1409
|
+
}, {
|
|
1410
|
+
readonly name: "withdrawAmount";
|
|
1411
|
+
readonly type: "uint128";
|
|
1412
|
+
readonly indexed: false;
|
|
1413
|
+
readonly internalType: "uint128";
|
|
1414
|
+
}, {
|
|
1415
|
+
readonly name: "protocolFeeAmount";
|
|
1416
|
+
readonly type: "uint128";
|
|
1417
|
+
readonly indexed: false;
|
|
1418
|
+
readonly internalType: "uint128";
|
|
1419
|
+
}];
|
|
1420
|
+
readonly anonymous: false;
|
|
1421
|
+
}, {
|
|
1422
|
+
readonly type: "error";
|
|
1423
|
+
readonly name: "AddressEmptyCode";
|
|
1424
|
+
readonly inputs: readonly [{
|
|
1425
|
+
readonly name: "target";
|
|
1426
|
+
readonly type: "address";
|
|
1427
|
+
readonly internalType: "address";
|
|
1428
|
+
}];
|
|
1429
|
+
}, {
|
|
1430
|
+
readonly type: "error";
|
|
1431
|
+
readonly name: "AddressInsufficientBalance";
|
|
1432
|
+
readonly inputs: readonly [{
|
|
1433
|
+
readonly name: "account";
|
|
1434
|
+
readonly type: "address";
|
|
1435
|
+
readonly internalType: "address";
|
|
1436
|
+
}];
|
|
1437
|
+
}, {
|
|
1438
|
+
readonly type: "error";
|
|
1439
|
+
readonly name: "CallerNotAdmin";
|
|
1440
|
+
readonly inputs: readonly [{
|
|
1441
|
+
readonly name: "admin";
|
|
1442
|
+
readonly type: "address";
|
|
1443
|
+
readonly internalType: "address";
|
|
1444
|
+
}, {
|
|
1445
|
+
readonly name: "caller";
|
|
1446
|
+
readonly type: "address";
|
|
1447
|
+
readonly internalType: "address";
|
|
1448
|
+
}];
|
|
1449
|
+
}, {
|
|
1450
|
+
readonly type: "error";
|
|
1451
|
+
readonly name: "DelegateCall";
|
|
1452
|
+
readonly inputs: readonly [];
|
|
1453
|
+
}, {
|
|
1454
|
+
readonly type: "error";
|
|
1455
|
+
readonly name: "ERC721IncorrectOwner";
|
|
1456
|
+
readonly inputs: readonly [{
|
|
1457
|
+
readonly name: "sender";
|
|
1458
|
+
readonly type: "address";
|
|
1459
|
+
readonly internalType: "address";
|
|
1460
|
+
}, {
|
|
1461
|
+
readonly name: "tokenId";
|
|
1462
|
+
readonly type: "uint256";
|
|
1463
|
+
readonly internalType: "uint256";
|
|
1464
|
+
}, {
|
|
1465
|
+
readonly name: "owner";
|
|
1466
|
+
readonly type: "address";
|
|
1467
|
+
readonly internalType: "address";
|
|
1468
|
+
}];
|
|
1469
|
+
}, {
|
|
1470
|
+
readonly type: "error";
|
|
1471
|
+
readonly name: "ERC721InsufficientApproval";
|
|
1472
|
+
readonly inputs: readonly [{
|
|
1473
|
+
readonly name: "operator";
|
|
1474
|
+
readonly type: "address";
|
|
1475
|
+
readonly internalType: "address";
|
|
1476
|
+
}, {
|
|
1477
|
+
readonly name: "tokenId";
|
|
1478
|
+
readonly type: "uint256";
|
|
1479
|
+
readonly internalType: "uint256";
|
|
1480
|
+
}];
|
|
1481
|
+
}, {
|
|
1482
|
+
readonly type: "error";
|
|
1483
|
+
readonly name: "ERC721InvalidApprover";
|
|
1484
|
+
readonly inputs: readonly [{
|
|
1485
|
+
readonly name: "approver";
|
|
1486
|
+
readonly type: "address";
|
|
1487
|
+
readonly internalType: "address";
|
|
1488
|
+
}];
|
|
1489
|
+
}, {
|
|
1490
|
+
readonly type: "error";
|
|
1491
|
+
readonly name: "ERC721InvalidOperator";
|
|
1492
|
+
readonly inputs: readonly [{
|
|
1493
|
+
readonly name: "operator";
|
|
1494
|
+
readonly type: "address";
|
|
1495
|
+
readonly internalType: "address";
|
|
1496
|
+
}];
|
|
1497
|
+
}, {
|
|
1498
|
+
readonly type: "error";
|
|
1499
|
+
readonly name: "ERC721InvalidOwner";
|
|
1500
|
+
readonly inputs: readonly [{
|
|
1501
|
+
readonly name: "owner";
|
|
1502
|
+
readonly type: "address";
|
|
1503
|
+
readonly internalType: "address";
|
|
1504
|
+
}];
|
|
1505
|
+
}, {
|
|
1506
|
+
readonly type: "error";
|
|
1507
|
+
readonly name: "ERC721InvalidReceiver";
|
|
1508
|
+
readonly inputs: readonly [{
|
|
1509
|
+
readonly name: "receiver";
|
|
1510
|
+
readonly type: "address";
|
|
1511
|
+
readonly internalType: "address";
|
|
1512
|
+
}];
|
|
1513
|
+
}, {
|
|
1514
|
+
readonly type: "error";
|
|
1515
|
+
readonly name: "ERC721InvalidSender";
|
|
1516
|
+
readonly inputs: readonly [{
|
|
1517
|
+
readonly name: "sender";
|
|
1518
|
+
readonly type: "address";
|
|
1519
|
+
readonly internalType: "address";
|
|
1520
|
+
}];
|
|
1521
|
+
}, {
|
|
1522
|
+
readonly type: "error";
|
|
1523
|
+
readonly name: "ERC721NonexistentToken";
|
|
1524
|
+
readonly inputs: readonly [{
|
|
1525
|
+
readonly name: "tokenId";
|
|
1526
|
+
readonly type: "uint256";
|
|
1527
|
+
readonly internalType: "uint256";
|
|
1528
|
+
}];
|
|
1529
|
+
}, {
|
|
1530
|
+
readonly type: "error";
|
|
1531
|
+
readonly name: "FailedInnerCall";
|
|
1532
|
+
readonly inputs: readonly [];
|
|
1533
|
+
}, {
|
|
1534
|
+
readonly type: "error";
|
|
1535
|
+
readonly name: "PRBMath_MulDiv18_Overflow";
|
|
1536
|
+
readonly inputs: readonly [{
|
|
1537
|
+
readonly name: "x";
|
|
1538
|
+
readonly type: "uint256";
|
|
1539
|
+
readonly internalType: "uint256";
|
|
1540
|
+
}, {
|
|
1541
|
+
readonly name: "y";
|
|
1542
|
+
readonly type: "uint256";
|
|
1543
|
+
readonly internalType: "uint256";
|
|
1544
|
+
}];
|
|
1545
|
+
}, {
|
|
1546
|
+
readonly type: "error";
|
|
1547
|
+
readonly name: "PRBMath_UD60x18_IntoUint128_Overflow";
|
|
1548
|
+
readonly inputs: readonly [{
|
|
1549
|
+
readonly name: "x";
|
|
1550
|
+
readonly type: "uint256";
|
|
1551
|
+
readonly internalType: "UD60x18";
|
|
1552
|
+
}];
|
|
1553
|
+
}, {
|
|
1554
|
+
readonly type: "error";
|
|
1555
|
+
readonly name: "SablierFlowBase_FeeTransferFail";
|
|
1556
|
+
readonly inputs: readonly [{
|
|
1557
|
+
readonly name: "admin";
|
|
1558
|
+
readonly type: "address";
|
|
1559
|
+
readonly internalType: "address";
|
|
1560
|
+
}, {
|
|
1561
|
+
readonly name: "feeAmount";
|
|
1562
|
+
readonly type: "uint256";
|
|
1563
|
+
readonly internalType: "uint256";
|
|
1564
|
+
}];
|
|
1565
|
+
}, {
|
|
1566
|
+
readonly type: "error";
|
|
1567
|
+
readonly name: "SablierFlowBase_NoProtocolRevenue";
|
|
1568
|
+
readonly inputs: readonly [{
|
|
1569
|
+
readonly name: "token";
|
|
1570
|
+
readonly type: "address";
|
|
1571
|
+
readonly internalType: "address";
|
|
1572
|
+
}];
|
|
1573
|
+
}, {
|
|
1574
|
+
readonly type: "error";
|
|
1575
|
+
readonly name: "SablierFlowBase_NotTransferable";
|
|
1576
|
+
readonly inputs: readonly [{
|
|
1577
|
+
readonly name: "streamId";
|
|
1578
|
+
readonly type: "uint256";
|
|
1579
|
+
readonly internalType: "uint256";
|
|
1580
|
+
}];
|
|
1581
|
+
}, {
|
|
1582
|
+
readonly type: "error";
|
|
1583
|
+
readonly name: "SablierFlowBase_ProtocolFeeTooHigh";
|
|
1584
|
+
readonly inputs: readonly [{
|
|
1585
|
+
readonly name: "newProtocolFee";
|
|
1586
|
+
readonly type: "uint256";
|
|
1587
|
+
readonly internalType: "UD60x18";
|
|
1588
|
+
}, {
|
|
1589
|
+
readonly name: "maxFee";
|
|
1590
|
+
readonly type: "uint256";
|
|
1591
|
+
readonly internalType: "UD60x18";
|
|
1592
|
+
}];
|
|
1593
|
+
}, {
|
|
1594
|
+
readonly type: "error";
|
|
1595
|
+
readonly name: "SablierFlowBase_SurplusZero";
|
|
1596
|
+
readonly inputs: readonly [{
|
|
1597
|
+
readonly name: "token";
|
|
1598
|
+
readonly type: "address";
|
|
1599
|
+
readonly internalType: "address";
|
|
1600
|
+
}];
|
|
1601
|
+
}, {
|
|
1602
|
+
readonly type: "error";
|
|
1603
|
+
readonly name: "SablierFlow_BrokerAddressZero";
|
|
1604
|
+
readonly inputs: readonly [];
|
|
1605
|
+
}, {
|
|
1606
|
+
readonly type: "error";
|
|
1607
|
+
readonly name: "SablierFlow_BrokerFeeTooHigh";
|
|
1608
|
+
readonly inputs: readonly [{
|
|
1609
|
+
readonly name: "brokerFee";
|
|
1610
|
+
readonly type: "uint256";
|
|
1611
|
+
readonly internalType: "UD60x18";
|
|
1612
|
+
}, {
|
|
1613
|
+
readonly name: "maxFee";
|
|
1614
|
+
readonly type: "uint256";
|
|
1615
|
+
readonly internalType: "UD60x18";
|
|
1616
|
+
}];
|
|
1617
|
+
}, {
|
|
1618
|
+
readonly type: "error";
|
|
1619
|
+
readonly name: "SablierFlow_DepositAmountZero";
|
|
1620
|
+
readonly inputs: readonly [{
|
|
1621
|
+
readonly name: "streamId";
|
|
1622
|
+
readonly type: "uint256";
|
|
1623
|
+
readonly internalType: "uint256";
|
|
1624
|
+
}];
|
|
1625
|
+
}, {
|
|
1626
|
+
readonly type: "error";
|
|
1627
|
+
readonly name: "SablierFlow_InvalidCalculation";
|
|
1628
|
+
readonly inputs: readonly [{
|
|
1629
|
+
readonly name: "streamId";
|
|
1630
|
+
readonly type: "uint256";
|
|
1631
|
+
readonly internalType: "uint256";
|
|
1632
|
+
}, {
|
|
1633
|
+
readonly name: "availableAmount";
|
|
1634
|
+
readonly type: "uint128";
|
|
1635
|
+
readonly internalType: "uint128";
|
|
1636
|
+
}, {
|
|
1637
|
+
readonly name: "amount";
|
|
1638
|
+
readonly type: "uint128";
|
|
1639
|
+
readonly internalType: "uint128";
|
|
1640
|
+
}];
|
|
1641
|
+
}, {
|
|
1642
|
+
readonly type: "error";
|
|
1643
|
+
readonly name: "SablierFlow_InvalidTokenDecimals";
|
|
1644
|
+
readonly inputs: readonly [{
|
|
1645
|
+
readonly name: "token";
|
|
1646
|
+
readonly type: "address";
|
|
1647
|
+
readonly internalType: "address";
|
|
1648
|
+
}];
|
|
1649
|
+
}, {
|
|
1650
|
+
readonly type: "error";
|
|
1651
|
+
readonly name: "SablierFlow_NotStreamRecipient";
|
|
1652
|
+
readonly inputs: readonly [{
|
|
1653
|
+
readonly name: "recipient";
|
|
1654
|
+
readonly type: "address";
|
|
1655
|
+
readonly internalType: "address";
|
|
1656
|
+
}, {
|
|
1657
|
+
readonly name: "streamRecipient";
|
|
1658
|
+
readonly type: "address";
|
|
1659
|
+
readonly internalType: "address";
|
|
1660
|
+
}];
|
|
1661
|
+
}, {
|
|
1662
|
+
readonly type: "error";
|
|
1663
|
+
readonly name: "SablierFlow_NotStreamSender";
|
|
1664
|
+
readonly inputs: readonly [{
|
|
1665
|
+
readonly name: "sender";
|
|
1666
|
+
readonly type: "address";
|
|
1667
|
+
readonly internalType: "address";
|
|
1668
|
+
}, {
|
|
1669
|
+
readonly name: "streamSender";
|
|
1670
|
+
readonly type: "address";
|
|
1671
|
+
readonly internalType: "address";
|
|
1672
|
+
}];
|
|
1673
|
+
}, {
|
|
1674
|
+
readonly type: "error";
|
|
1675
|
+
readonly name: "SablierFlow_Null";
|
|
1676
|
+
readonly inputs: readonly [{
|
|
1677
|
+
readonly name: "streamId";
|
|
1678
|
+
readonly type: "uint256";
|
|
1679
|
+
readonly internalType: "uint256";
|
|
1680
|
+
}];
|
|
1681
|
+
}, {
|
|
1682
|
+
readonly type: "error";
|
|
1683
|
+
readonly name: "SablierFlow_Overdraw";
|
|
1684
|
+
readonly inputs: readonly [{
|
|
1685
|
+
readonly name: "streamId";
|
|
1686
|
+
readonly type: "uint256";
|
|
1687
|
+
readonly internalType: "uint256";
|
|
1688
|
+
}, {
|
|
1689
|
+
readonly name: "amount";
|
|
1690
|
+
readonly type: "uint128";
|
|
1691
|
+
readonly internalType: "uint128";
|
|
1692
|
+
}, {
|
|
1693
|
+
readonly name: "withdrawableAmount";
|
|
1694
|
+
readonly type: "uint128";
|
|
1695
|
+
readonly internalType: "uint128";
|
|
1696
|
+
}];
|
|
1697
|
+
}, {
|
|
1698
|
+
readonly type: "error";
|
|
1699
|
+
readonly name: "SablierFlow_RatePerSecondNotDifferent";
|
|
1700
|
+
readonly inputs: readonly [{
|
|
1701
|
+
readonly name: "streamId";
|
|
1702
|
+
readonly type: "uint256";
|
|
1703
|
+
readonly internalType: "uint256";
|
|
1704
|
+
}, {
|
|
1705
|
+
readonly name: "ratePerSecond";
|
|
1706
|
+
readonly type: "uint128";
|
|
1707
|
+
readonly internalType: "UD21x18";
|
|
1708
|
+
}];
|
|
1709
|
+
}, {
|
|
1710
|
+
readonly type: "error";
|
|
1711
|
+
readonly name: "SablierFlow_RefundAmountZero";
|
|
1712
|
+
readonly inputs: readonly [{
|
|
1713
|
+
readonly name: "streamId";
|
|
1714
|
+
readonly type: "uint256";
|
|
1715
|
+
readonly internalType: "uint256";
|
|
1716
|
+
}];
|
|
1717
|
+
}, {
|
|
1718
|
+
readonly type: "error";
|
|
1719
|
+
readonly name: "SablierFlow_RefundOverflow";
|
|
1720
|
+
readonly inputs: readonly [{
|
|
1721
|
+
readonly name: "streamId";
|
|
1722
|
+
readonly type: "uint256";
|
|
1723
|
+
readonly internalType: "uint256";
|
|
1724
|
+
}, {
|
|
1725
|
+
readonly name: "refundAmount";
|
|
1726
|
+
readonly type: "uint128";
|
|
1727
|
+
readonly internalType: "uint128";
|
|
1728
|
+
}, {
|
|
1729
|
+
readonly name: "refundableAmount";
|
|
1730
|
+
readonly type: "uint128";
|
|
1731
|
+
readonly internalType: "uint128";
|
|
1732
|
+
}];
|
|
1733
|
+
}, {
|
|
1734
|
+
readonly type: "error";
|
|
1735
|
+
readonly name: "SablierFlow_SenderZeroAddress";
|
|
1736
|
+
readonly inputs: readonly [];
|
|
1737
|
+
}, {
|
|
1738
|
+
readonly type: "error";
|
|
1739
|
+
readonly name: "SablierFlow_StreamBalanceZero";
|
|
1740
|
+
readonly inputs: readonly [{
|
|
1741
|
+
readonly name: "streamId";
|
|
1742
|
+
readonly type: "uint256";
|
|
1743
|
+
readonly internalType: "uint256";
|
|
1744
|
+
}];
|
|
1745
|
+
}, {
|
|
1746
|
+
readonly type: "error";
|
|
1747
|
+
readonly name: "SablierFlow_StreamNotPaused";
|
|
1748
|
+
readonly inputs: readonly [{
|
|
1749
|
+
readonly name: "streamId";
|
|
1750
|
+
readonly type: "uint256";
|
|
1751
|
+
readonly internalType: "uint256";
|
|
1752
|
+
}];
|
|
1753
|
+
}, {
|
|
1754
|
+
readonly type: "error";
|
|
1755
|
+
readonly name: "SablierFlow_StreamPaused";
|
|
1756
|
+
readonly inputs: readonly [{
|
|
1757
|
+
readonly name: "streamId";
|
|
1758
|
+
readonly type: "uint256";
|
|
1759
|
+
readonly internalType: "uint256";
|
|
1760
|
+
}];
|
|
1761
|
+
}, {
|
|
1762
|
+
readonly type: "error";
|
|
1763
|
+
readonly name: "SablierFlow_StreamVoided";
|
|
1764
|
+
readonly inputs: readonly [{
|
|
1765
|
+
readonly name: "streamId";
|
|
1766
|
+
readonly type: "uint256";
|
|
1767
|
+
readonly internalType: "uint256";
|
|
1768
|
+
}];
|
|
1769
|
+
}, {
|
|
1770
|
+
readonly type: "error";
|
|
1771
|
+
readonly name: "SablierFlow_Unauthorized";
|
|
1772
|
+
readonly inputs: readonly [{
|
|
1773
|
+
readonly name: "streamId";
|
|
1774
|
+
readonly type: "uint256";
|
|
1775
|
+
readonly internalType: "uint256";
|
|
1776
|
+
}, {
|
|
1777
|
+
readonly name: "caller";
|
|
1778
|
+
readonly type: "address";
|
|
1779
|
+
readonly internalType: "address";
|
|
1780
|
+
}];
|
|
1781
|
+
}, {
|
|
1782
|
+
readonly type: "error";
|
|
1783
|
+
readonly name: "SablierFlow_WithdrawAmountZero";
|
|
1784
|
+
readonly inputs: readonly [{
|
|
1785
|
+
readonly name: "streamId";
|
|
1786
|
+
readonly type: "uint256";
|
|
1787
|
+
readonly internalType: "uint256";
|
|
1788
|
+
}];
|
|
1789
|
+
}, {
|
|
1790
|
+
readonly type: "error";
|
|
1791
|
+
readonly name: "SablierFlow_WithdrawToZeroAddress";
|
|
1792
|
+
readonly inputs: readonly [{
|
|
1793
|
+
readonly name: "streamId";
|
|
1794
|
+
readonly type: "uint256";
|
|
1795
|
+
readonly internalType: "uint256";
|
|
1796
|
+
}];
|
|
1797
|
+
}, {
|
|
1798
|
+
readonly type: "error";
|
|
1799
|
+
readonly name: "SablierFlow_WithdrawalAddressNotRecipient";
|
|
1800
|
+
readonly inputs: readonly [{
|
|
1801
|
+
readonly name: "streamId";
|
|
1802
|
+
readonly type: "uint256";
|
|
1803
|
+
readonly internalType: "uint256";
|
|
1804
|
+
}, {
|
|
1805
|
+
readonly name: "caller";
|
|
1806
|
+
readonly type: "address";
|
|
1807
|
+
readonly internalType: "address";
|
|
1808
|
+
}, {
|
|
1809
|
+
readonly name: "to";
|
|
1810
|
+
readonly type: "address";
|
|
1811
|
+
readonly internalType: "address";
|
|
1812
|
+
}];
|
|
1813
|
+
}, {
|
|
1814
|
+
readonly type: "error";
|
|
1815
|
+
readonly name: "SafeCastOverflowedUintDowncast";
|
|
1816
|
+
readonly inputs: readonly [{
|
|
1817
|
+
readonly name: "bits";
|
|
1818
|
+
readonly type: "uint8";
|
|
1819
|
+
readonly internalType: "uint8";
|
|
1820
|
+
}, {
|
|
1821
|
+
readonly name: "value";
|
|
1822
|
+
readonly type: "uint256";
|
|
1823
|
+
readonly internalType: "uint256";
|
|
1824
|
+
}];
|
|
1825
|
+
}, {
|
|
1826
|
+
readonly type: "error";
|
|
1827
|
+
readonly name: "SafeERC20FailedOperation";
|
|
1828
|
+
readonly inputs: readonly [{
|
|
1829
|
+
readonly name: "token";
|
|
1830
|
+
readonly type: "address";
|
|
1831
|
+
readonly internalType: "address";
|
|
1832
|
+
}];
|
|
1833
|
+
}];
|
|
1834
|
+
}>;
|
|
3
1835
|
//# sourceMappingURL=index.d.ts.map
|