filecoin 0.0.0 → 0.5.1

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.
Files changed (95) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +139 -10
  3. package/bin/filecoin.js +7 -0
  4. package/dist/chunks/_esm-BBXTTBLC.js +9 -0
  5. package/dist/chunks/_esm-BBXTTBLC.js.map +7 -0
  6. package/dist/chunks/ccip-TGFMQFIR.js +3 -0
  7. package/dist/chunks/ccip-TGFMQFIR.js.map +7 -0
  8. package/dist/chunks/chunk-2VZELE36.js +124 -0
  9. package/dist/chunks/chunk-2VZELE36.js.map +7 -0
  10. package/dist/chunks/chunk-35V77X3C.js +12 -0
  11. package/dist/chunks/chunk-35V77X3C.js.map +7 -0
  12. package/dist/chunks/chunk-3TJUKWFC.js +6 -0
  13. package/dist/chunks/chunk-3TJUKWFC.js.map +7 -0
  14. package/dist/chunks/chunk-5CKSVYCY.js +4 -0
  15. package/dist/chunks/chunk-5CKSVYCY.js.map +7 -0
  16. package/dist/chunks/chunk-7MEK5RQ7.js +11 -0
  17. package/dist/chunks/chunk-7MEK5RQ7.js.map +7 -0
  18. package/dist/chunks/chunk-AHVL5QFR.js +4 -0
  19. package/dist/chunks/chunk-AHVL5QFR.js.map +7 -0
  20. package/dist/chunks/chunk-CC75NTEJ.js +5 -0
  21. package/dist/chunks/chunk-CC75NTEJ.js.map +7 -0
  22. package/dist/chunks/chunk-D63BUPKY.js +3 -0
  23. package/dist/chunks/chunk-D63BUPKY.js.map +7 -0
  24. package/dist/chunks/chunk-FCVBKUS5.js +4 -0
  25. package/dist/chunks/chunk-FCVBKUS5.js.map +7 -0
  26. package/dist/chunks/chunk-I5AWWJGL.js +3 -0
  27. package/dist/chunks/chunk-I5AWWJGL.js.map +7 -0
  28. package/dist/chunks/chunk-IFG72OQD.js +4 -0
  29. package/dist/chunks/chunk-IFG72OQD.js.map +7 -0
  30. package/dist/chunks/chunk-JUFFOBKU.js +59 -0
  31. package/dist/chunks/chunk-JUFFOBKU.js.map +7 -0
  32. package/dist/chunks/chunk-P2G2GV6U.js +3 -0
  33. package/dist/chunks/chunk-P2G2GV6U.js.map +7 -0
  34. package/dist/chunks/chunk-PSXNKYPA.js +3 -0
  35. package/dist/chunks/chunk-PSXNKYPA.js.map +7 -0
  36. package/dist/chunks/chunk-QAYTK26Z.js +4 -0
  37. package/dist/chunks/chunk-QAYTK26Z.js.map +7 -0
  38. package/dist/chunks/chunk-QLZRQUR6.js +4 -0
  39. package/dist/chunks/chunk-QLZRQUR6.js.map +7 -0
  40. package/dist/chunks/chunk-RK6JJQZL.js +41 -0
  41. package/dist/chunks/chunk-RK6JJQZL.js.map +7 -0
  42. package/dist/chunks/chunk-S2DTA2FM.js +3 -0
  43. package/dist/chunks/chunk-S2DTA2FM.js.map +7 -0
  44. package/dist/chunks/chunk-SVWQJYA5.js +3 -0
  45. package/dist/chunks/chunk-SVWQJYA5.js.map +7 -0
  46. package/dist/chunks/chunk-TCUXKQ65.js +4 -0
  47. package/dist/chunks/chunk-TCUXKQ65.js.map +7 -0
  48. package/dist/chunks/chunk-UW35AN2V.js +186 -0
  49. package/dist/chunks/chunk-UW35AN2V.js.map +7 -0
  50. package/dist/chunks/chunk-VGOSQFKJ.js +3 -0
  51. package/dist/chunks/chunk-VGOSQFKJ.js.map +7 -0
  52. package/dist/chunks/chunk-YIAP3JO3.js +3 -0
  53. package/dist/chunks/chunk-YIAP3JO3.js.map +7 -0
  54. package/dist/chunks/chunk-ZAMDBJVN.js +3 -0
  55. package/dist/chunks/chunk-ZAMDBJVN.js.map +7 -0
  56. package/dist/chunks/delete-SPJVG4ZK.js +3 -0
  57. package/dist/chunks/delete-SPJVG4ZK.js.map +7 -0
  58. package/dist/chunks/doctor-AQGSDILX.js +3 -0
  59. package/dist/chunks/doctor-AQGSDILX.js.map +7 -0
  60. package/dist/chunks/get-C4RUQWRS.js +3 -0
  61. package/dist/chunks/get-C4RUQWRS.js.map +7 -0
  62. package/dist/chunks/inspect-NXI72CUH.js +3 -0
  63. package/dist/chunks/inspect-NXI72CUH.js.map +7 -0
  64. package/dist/chunks/inspect-SBGOKBEP.js +3 -0
  65. package/dist/chunks/inspect-SBGOKBEP.js.map +7 -0
  66. package/dist/chunks/login-3LYCAAPW.js +4 -0
  67. package/dist/chunks/login-3LYCAAPW.js.map +7 -0
  68. package/dist/chunks/logout-JLRMENQI.js +3 -0
  69. package/dist/chunks/logout-JLRMENQI.js.map +7 -0
  70. package/dist/chunks/ls-N5D6HCA4.js +3 -0
  71. package/dist/chunks/ls-N5D6HCA4.js.map +7 -0
  72. package/dist/chunks/ls-O5RNPZCH.js +3 -0
  73. package/dist/chunks/ls-O5RNPZCH.js.map +7 -0
  74. package/dist/chunks/map-error-QLS3CQMO.js +3 -0
  75. package/dist/chunks/map-error-QLS3CQMO.js.map +7 -0
  76. package/dist/chunks/put-GTJP7IFM.js +3 -0
  77. package/dist/chunks/put-GTJP7IFM.js.map +7 -0
  78. package/dist/chunks/resume-BCEYVRX7.js +3 -0
  79. package/dist/chunks/resume-BCEYVRX7.js.map +7 -0
  80. package/dist/chunks/secp256k1-2OHXXNYZ.js +3 -0
  81. package/dist/chunks/secp256k1-2OHXXNYZ.js.map +7 -0
  82. package/dist/chunks/skills.run-E7FJPXEM.js +5 -0
  83. package/dist/chunks/skills.run-E7FJPXEM.js.map +7 -0
  84. package/dist/chunks/status-IWMRFMPV.js +3 -0
  85. package/dist/chunks/status-IWMRFMPV.js.map +7 -0
  86. package/dist/main.js +3 -0
  87. package/dist/main.js.map +7 -0
  88. package/dist/tsconfig.tsbuildinfo +1 -0
  89. package/package.json +49 -10
  90. package/skills/filecoin/SKILL.md +41 -0
  91. package/basic_types.md +0 -94
  92. package/chain.md +0 -280
  93. package/index.js +0 -1
  94. package/messages.md +0 -1684
  95. package/state.md +0 -1415
package/messages.md DELETED
@@ -1,1684 +0,0 @@
1
- # Filecoin Messages Data Structures
2
-
3
- * [InitActor](#initactor)
4
- * [v0](#v0)
5
- * [Constructor](#constructor)
6
- * [Exec](#exec)
7
- * [v2](#v2)
8
- * [Constructor](#constructor-1)
9
- * [Exec](#exec-1)
10
- * [RewardActor](#rewardactor)
11
- * [v0](#v0-1)
12
- * [Constructor](#constructor-2)
13
- * [AwardBlockReward](#awardblockreward)
14
- * [ThisEpochReward](#thisepochreward)
15
- * [UpdateNetworkKPI](#updatenetworkkpi)
16
- * [v2](#v2-1)
17
- * [Constructor](#constructor-3)
18
- * [AwardBlockReward](#awardblockreward-1)
19
- * [ThisEpochReward](#thisepochreward-1)
20
- * [UpdateNetworkKPI](#updatenetworkkpi-1)
21
- * [CronActor](#cronactor)
22
- * [v0](#v0-2)
23
- * [Constructor](#constructor-4)
24
- * [EpochTick](#epochtick)
25
- * [v2](#v2-2)
26
- * [Constructor](#constructor-5)
27
- * [EpochTick](#epochtick-1)
28
- * [AccountActor](#accountactor)
29
- * [v0](#v0-3)
30
- * [Constructor](#constructor-6)
31
- * [PubkeyAddress](#pubkeyaddress)
32
- * [v2](#v2-3)
33
- * [Constructor](#constructor-7)
34
- * [PubkeyAddress](#pubkeyaddress-1)
35
- * [StorageMarketActor](#storagemarketactor)
36
- * [v0](#v0-4)
37
- * [Constructor](#constructor-8)
38
- * [AddBalance](#addbalance)
39
- * [WithdrawBalance](#withdrawbalance)
40
- * [PublishStorageDeals](#publishstoragedeals)
41
- * [VerifyDealsForActivation](#verifydealsforactivation)
42
- * [ActivateDeals](#activatedeals)
43
- * [OnMinerSectorsTerminate](#onminersectorsterminate)
44
- * [ComputeDataCommitment](#computedatacommitment)
45
- * [CronTick](#crontick)
46
- * [v2](#v2-4)
47
- * [Constructor](#constructor-9)
48
- * [AddBalance](#addbalance-1)
49
- * [WithdrawBalance](#withdrawbalance-1)
50
- * [PublishStorageDeals](#publishstoragedeals-1)
51
- * [VerifyDealsForActivation](#verifydealsforactivation-1)
52
- * [ActivateDeals](#activatedeals-1)
53
- * [OnMinerSectorsTerminate](#onminersectorsterminate-1)
54
- * [ComputeDataCommitment](#computedatacommitment-1)
55
- * [CronTick](#crontick-1)
56
- * [StorageMinerActor](#storagemineractor)
57
- * [v0](#v0-5)
58
- * [Constructor](#constructor-10)
59
- * [ControlAddresses](#controladdresses)
60
- * [ChangeWorkerAddress](#changeworkeraddress)
61
- * [ChangePeerID](#changepeerid)
62
- * [SubmitWindowedPoSt](#submitwindowedpost)
63
- * [PreCommitSector](#precommitsector)
64
- * [ProveCommitSector](#provecommitsector)
65
- * [ExtendSectorExpiration](#extendsectorexpiration)
66
- * [TerminateSectors](#terminatesectors)
67
- * [DeclareFaults](#declarefaults)
68
- * [DeclareFaultsRecovered](#declarefaultsrecovered)
69
- * [OnDeferredCronEvent](#ondeferredcronevent)
70
- * [CheckSectorProven](#checksectorproven)
71
- * [AddLockedFund](#addlockedfund)
72
- * [ReportConsensusFault](#reportconsensusfault)
73
- * [WithdrawBalance](#withdrawbalance-2)
74
- * [ConfirmSectorProofsValid](#confirmsectorproofsvalid)
75
- * [ChangeMultiaddrs](#changemultiaddrs)
76
- * [CompactPartitions](#compactpartitions)
77
- * [CompactSectorNumbers](#compactsectornumbers)
78
- * [v2](#v2-5)
79
- * [Constructor](#constructor-11)
80
- * [ControlAddresses](#controladdresses-1)
81
- * [ChangeWorkerAddress](#changeworkeraddress-1)
82
- * [ChangePeerID](#changepeerid-1)
83
- * [SubmitWindowedPoSt](#submitwindowedpost-1)
84
- * [PreCommitSector](#precommitsector-1)
85
- * [ProveCommitSector](#provecommitsector-1)
86
- * [ExtendSectorExpiration](#extendsectorexpiration-1)
87
- * [TerminateSectors](#terminatesectors-1)
88
- * [DeclareFaults](#declarefaults-1)
89
- * [DeclareFaultsRecovered](#declarefaultsrecovered-1)
90
- * [OnDeferredCronEvent](#ondeferredcronevent-1)
91
- * [CheckSectorProven](#checksectorproven-1)
92
- * [ApplyRewards](#applyrewards)
93
- * [ReportConsensusFault](#reportconsensusfault-1)
94
- * [WithdrawBalance](#withdrawbalance-3)
95
- * [ConfirmSectorProofsValid](#confirmsectorproofsvalid-1)
96
- * [ChangeMultiaddrs](#changemultiaddrs-1)
97
- * [CompactPartitions](#compactpartitions-1)
98
- * [CompactSectorNumbers](#compactsectornumbers-1)
99
- * [ConfirmUpdateWorkerKey](#confirmupdateworkerkey)
100
- * [RepayDebt](#repaydebt)
101
- * [ChangeOwnerAddress](#changeowneraddress)
102
- * [MultisigActor](#multisigactor)
103
- * [v0](#v0-6)
104
- * [Constructor](#constructor-12)
105
- * [Propose](#propose)
106
- * [Approve](#approve)
107
- * [Cancel](#cancel)
108
- * [AddSigner](#addsigner)
109
- * [RemoveSigner](#removesigner)
110
- * [SwapSigner](#swapsigner)
111
- * [ChangeNumApprovalsThreshold](#changenumapprovalsthreshold)
112
- * [LockBalance](#lockbalance)
113
- * [v2](#v2-6)
114
- * [Constructor](#constructor-13)
115
- * [Propose](#propose-1)
116
- * [Approve](#approve-1)
117
- * [Cancel](#cancel-1)
118
- * [AddSigner](#addsigner-1)
119
- * [RemoveSigner](#removesigner-1)
120
- * [SwapSigner](#swapsigner-1)
121
- * [ChangeNumApprovalsThreshold](#changenumapprovalsthreshold-1)
122
- * [LockBalance](#lockbalance-1)
123
- * [PaymentChannelActor](#paymentchannelactor)
124
- * [v0](#v0-7)
125
- * [Constructor](#constructor-14)
126
- * [UpdateChannelState](#updatechannelstate)
127
- * [Settle](#settle)
128
- * [Collect](#collect)
129
- * [v2](#v2-7)
130
- * [Constructor](#constructor-15)
131
- * [UpdateChannelState](#updatechannelstate-1)
132
- * [Settle](#settle-1)
133
- * [Collect](#collect-1)
134
- * [StoragePowerActor](#storagepoweractor)
135
- * [v0](#v0-8)
136
- * [Constructor](#constructor-16)
137
- * [CreateMiner](#createminer)
138
- * [UpdateClaimedPower](#updateclaimedpower)
139
- * [EnrollCronEvent](#enrollcronevent)
140
- * [OnEpochTickEnd](#onepochtickend)
141
- * [UpdatePledgeTotal](#updatepledgetotal)
142
- * [OnConsensusFault](#onconsensusfault)
143
- * [SubmitPoRepForBulkVerify](#submitporepforbulkverify)
144
- * [CurrentTotalPower](#currenttotalpower)
145
- * [v2](#v2-8)
146
- * [Constructor](#constructor-17)
147
- * [CreateMiner](#createminer-1)
148
- * [UpdateClaimedPower](#updateclaimedpower-1)
149
- * [EnrollCronEvent](#enrollcronevent-1)
150
- * [OnEpochTickEnd](#onepochtickend-1)
151
- * [UpdatePledgeTotal](#updatepledgetotal-1)
152
- * [OnConsensusFault](#onconsensusfault-1)
153
- * [SubmitPoRepForBulkVerify](#submitporepforbulkverify-1)
154
- * [CurrentTotalPower](#currenttotalpower-1)
155
- * [VerifiedRegistryActor](#verifiedregistryactor)
156
- * [v0](#v0-9)
157
- * [Constructor](#constructor-18)
158
- * [AddVerifier](#addverifier)
159
- * [RemoveVerifier](#removeverifier)
160
- * [AddVerifiedClient](#addverifiedclient)
161
- * [UseBytes](#usebytes)
162
- * [RestoreBytes](#restorebytes)
163
- * [v2](#v2-9)
164
- * [Constructor](#constructor-19)
165
- * [AddVerifier](#addverifier-1)
166
- * [RemoveVerifier](#removeverifier-1)
167
- * [AddVerifiedClient](#addverifiedclient-1)
168
- * [UseBytes](#usebytes-1)
169
- * [RestoreBytes](#restorebytes-1)
170
- * [SystemActor](#systemactor)
171
- * [v0](#v0-10)
172
- * [Constructor](#constructor-20)
173
- * [v2](#v2-10)
174
- * [Constructor](#constructor-21)
175
-
176
- Each actor accepts a number of messages. Each message requires a DAG-CBOR encoded parameters structure and a DAG-CBOR encoded return value.
177
-
178
- Below, the message type parameters are named in the following way: `MessageParamsACTORVXTYPE` where `ACTOR` is the actor name, `X` is the version (`0` or `2`) and `TYPE` is the message type. Likewise, the returns are named `MessageReturnACTORVXTYPE`.
179
-
180
- Most parameters and returns are identical between v0 and v2. The types are present for v2 in all cases but are aliased to the v0 type where the details haven't changed.
181
-
182
- ## InitActor
183
-
184
- ### v0
185
-
186
- #### Constructor
187
-
188
- ```ipldsch
189
- type MessageParamsInitV0Constructor struct {
190
- NetworkName String
191
- } representation tuple
192
-
193
- type MessageReturnInitV0Constructor struct {
194
- } representation tuple
195
- ```
196
-
197
- #### Exec
198
-
199
- ```ipldsch
200
- type MessageParamsInitV0Exec struct {
201
- CodeCID &Any # An inline CID encoded as raw+identity
202
- ConstructorParams Bytes
203
- } representation tuple
204
-
205
- type MessageReturnInitV0Exec struct {
206
- IDAddress Address # The canonical ID-based address for the actor
207
- RobustAddress Address # A more expensive but re-org-safe address for the newly created actor
208
- } representation tuple
209
- ```
210
-
211
- ### v2
212
-
213
- #### Constructor
214
-
215
- ```ipldsch
216
- type MessageParamsInitV2Constructor MessageParamsInitV0Constructor
217
- type MessageReturnInitV2Constructor MessageReturnInitV0Constructor
218
- ```
219
-
220
- #### Exec
221
-
222
- ```ipldsch
223
- type MessageParamsInitV2Exec MessageParamsInitV0Exec
224
- type MessageReturnInitV2Exec MessageReturnInitV0Exec
225
- ```
226
-
227
- ## RewardActor
228
-
229
- ### v0
230
-
231
- #### Constructor
232
-
233
- ```ipldsch
234
- type MessageParamsRewardV0Constructor StoragePower
235
-
236
- type MessageReturnRewardV0Constructor struct {
237
- } representation tuple
238
- ```
239
-
240
- #### AwardBlockReward
241
-
242
- ```ipldsch
243
- type MessageParamsRewardV0AwardBlockReward struct {
244
- Miner Address
245
- Penalty TokenAmount # penalty for including bad messages in a block, >= 0
246
- GasReward TokenAmount # gas reward from all gas fees in a block, >= 0
247
- WinCount Int # number of reward units won, > 0
248
- } representation tuple
249
-
250
- type MessageReturnRewardV0Constructor struct {
251
- } representation tuple
252
- ```
253
-
254
- #### ThisEpochReward
255
-
256
- ```ipldsch
257
- type MessageParamsRewardV0ThisEpochReward struct {
258
- } representation tuple
259
-
260
- type MessageReturnRewardV0ThisEpochReward struct {
261
- ThisEpochReward TokenAmount
262
- ThisEpochRewardSmoothed FilterEstimate
263
- ThisEpochBaselinePower StoragePower
264
- } representation tuple
265
- ```
266
-
267
- #### UpdateNetworkKPI
268
-
269
- ```ipldsch
270
- type MessageParamsRewardV0UpdateNetworkKPI StoragePower
271
-
272
- type MessageReturnRewardV0UpdateNetworkKPI struct {
273
- } representation tuple
274
- ```
275
-
276
- ### v2
277
-
278
- #### Constructor
279
-
280
- ```ipldsch
281
- type MessageParamsRewardV2Constructor MessageParamsRewardV0Constructor
282
- type MessageReturnRewardV2Constructor MessageReturnRewardV0Constructor
283
- ```
284
-
285
- #### AwardBlockReward
286
-
287
- ```ipldsch
288
- type MessageParamsRewardV2AwardBlockReward MessageParamsRewardV0AwardBlockReward
289
- type MessageReturnRewardV2Constructor MessageReturnRewardV0Constructor
290
- ```
291
-
292
- #### ThisEpochReward
293
-
294
- ```ipldsch
295
- type MessageParamsRewardV2ThisEpochReward MessageParamsRewardV0ThisEpochReward
296
-
297
- type MessageReturnRewardV2ThisEpochReward struct {
298
- ThisEpochRewardSmoothed FilterEstimate
299
- ThisEpochBaselinePower StoragePower
300
- } representation tuple
301
- ```
302
-
303
- #### UpdateNetworkKPI
304
-
305
- ```ipldsch
306
- type MessageParamsRewardV2UpdateNetworkKPI MessageParamsRewardV0UpdateNetworkKPI
307
- type MessageReturnRewardV2UpdateNetworkKPI MessageReturnRewardV0UpdateNetworkKPI
308
- ```
309
-
310
- ## CronActor
311
-
312
- ### v0
313
-
314
- #### Constructor
315
-
316
- ```ipldsch
317
- type MessageParamsCronV0Constructor struct {
318
- Entries [CronV0Entry]
319
- } representation tuple
320
-
321
- type MessageReturnCronV0Constructor struct {
322
- } representation tuple
323
- ```
324
-
325
- #### EpochTick
326
-
327
- ```ipldsch
328
- type MessageParamsCronV0EpochTick struct {
329
- } representation tuple
330
-
331
- type MessageReturnCronV0EpochTick struct {
332
- } representation tuple
333
- ```
334
-
335
- ### v2
336
-
337
- #### Constructor
338
-
339
- ```ipldsch
340
- type MessageParamsCronV2Constructor MessageParamsCronV0Constructor
341
- type MessageReturnCronV2Constructor MessageReturnCronV0Constructor
342
- ```
343
-
344
- #### EpochTick
345
-
346
- ```ipldsch
347
- type MessageParamsCronV2EpochTick MessageParamsCronV0EpochTick
348
- type MessageReturnCronV2EpochTick MessageReturnCronV0EpochTick
349
- ```
350
-
351
- ## AccountActor
352
-
353
- ### v0
354
-
355
- #### Constructor
356
-
357
- ```ipldsch
358
- type MessageParamsAccountV0Constructor Address
359
-
360
- type MessageReturnAccountV0Constructor struct {
361
- } representation tuple
362
- ```
363
-
364
- #### PubkeyAddress
365
-
366
- ```ipldsch
367
- type MessageParamsAccountV0PubkeyAddress struct {
368
- } representation tuple
369
-
370
- type MessageReturnAccountV0PubkeyAddress Address
371
- ```
372
-
373
- ### v2
374
-
375
- #### Constructor
376
-
377
- ```ipldsch
378
- type MessageParamsAccountV2Constructor MessageParamsAccountV0Constructor
379
- type MessageReturnAccountV2Constructor MessageReturnAccountV0Constructor
380
- ```
381
-
382
- #### PubkeyAddress
383
-
384
- ```ipldsch
385
- type MessageParamsAccountV2PubkeyAddress MessageParamsAccountV0PubkeyAddress
386
- type MessageReturnAccountV2PubkeyAddress MessageReturnAccountV0PubkeyAddress
387
- ```
388
-
389
- ## StorageMarketActor
390
-
391
- ### v0
392
-
393
- #### Constructor
394
-
395
- ```ipldsch
396
- type MessageParamsMarketV0Constructor struct {
397
- } representation tuple
398
-
399
- type MessageReturnMarketV0Constructor struct {
400
- } representation tuple
401
- ```
402
-
403
- #### AddBalance
404
-
405
- ```ipldsch
406
- type MessageParamsMarketV0AddBalance Address
407
-
408
- type MessageReturnMarketV0AddBalance struct {
409
- } representation tuple
410
- ```
411
-
412
- #### WithdrawBalance
413
-
414
- ```ipldsch
415
- type MessageParamsMarketV0WithdrawBalance struct {
416
- ProviderOrClientAmount Address
417
- Amount TokenAmount
418
- } representation tuple
419
-
420
- type MessageReturnMarketV0WithdrawBalance struct {
421
- } representation tuple
422
- ```
423
-
424
- #### PublishStorageDeals
425
-
426
- ```ipldsch
427
- type MessageParamsMarketV0PublishStorageDeals struct {
428
- Deals [MarketClientDealProposal]
429
- } representation tuple
430
-
431
- type MarketClientDealProposal struct {
432
- Proposal MarketV0DealProposal
433
- ClientSignature Signature
434
- } representation tuple
435
-
436
- type MessageReturnMarketV0PublishStorageDeals struct {
437
- IDs [DealID]
438
- } representation tuple
439
- ```
440
-
441
- #### VerifyDealsForActivation
442
-
443
- ```ipldsch
444
- type MessageParamsMarketV0VerifyDealsForActivation struct {
445
- DealIDs [DealID]
446
- SectorExpiry ChainEpoch
447
- SectorStart ChainEpoch
448
- } representation tuple
449
-
450
- type MessageReturnMarketV0VerifyDealsForActivation struct {
451
- DealWeight DealWeight
452
- VerifiedDealWeight DealWeight
453
- } representation tuple
454
- ```
455
-
456
- #### ActivateDeals
457
-
458
- ```ipldsch
459
- type MessageParamsMarketV0ActivateDeals struct {
460
- DealIDs [DealID]
461
- SectorExpiry ChainEpoch
462
- } representation tuple
463
-
464
- type MessageReturnMarketV0ActivateDeals struct {
465
- } representation tuple
466
- ```
467
-
468
- #### OnMinerSectorsTerminate
469
-
470
- ```ipldsch
471
- type MessageParamsMarketV0OnMinerSectorsTerminate struct {
472
- Epoch ChainEpoch
473
- DealIDs [DealID]
474
- } representation tuple
475
-
476
- type MessageReturnMarketV0OnMinerSectorsTerminate struct {
477
- } representation tuple
478
- ```
479
-
480
- #### ComputeDataCommitment
481
-
482
- ```ipldsch
483
- type MessageParamsMarketV0ComputeDataCommitment struct {
484
- DealIDs [DealID]
485
- SectorType RegisteredSealProof
486
- } representation tuple
487
-
488
- # CommD: A CID with fil-commitment-unsealed + sha2_256-trunc254-padded
489
- type MessageReturnMarketV0ComputeDataCommitment &Any
490
- ```
491
-
492
- #### CronTick
493
-
494
- ```ipldsch
495
- type MessageParamsMarketV0CronTick struct {
496
- } representation tuple
497
-
498
- type MessageReturnMarketV0CronTick struct {
499
- } representation tuple
500
- ```
501
-
502
- ### v2
503
-
504
- #### Constructor
505
-
506
- ```ipldsch
507
- type MessageParamsMarketV2Constructor MessageParamsMarketV0Constructor
508
- type MessageReturnMarketV2Constructor MessageReturnMarketV0Constructor
509
- ```
510
-
511
- #### AddBalance
512
-
513
- ```ipldsch
514
- type MessageParamsMarketV2AddBalance MessageParamsMarketV0AddBalance
515
- type MessageReturnMarketV2AddBalance MessageReturnMarketV0AddBalance
516
- ```
517
-
518
- #### WithdrawBalance
519
-
520
- ```ipldsch
521
- type MessageParamsMarketV2WithdrawBalance MessageParamsMarketV0WithdrawBalance
522
- type MessageReturnMarketV2WithdrawBalance MessageReturnMarketV0WithdrawBalance
523
- ```
524
-
525
- #### PublishStorageDeals
526
-
527
- ```ipldsch
528
- type MessageParamsMarketV2PublishStorageDeals MessageParamsMarketV0PublishStorageDeals
529
- type MessageReturnMarketV2PublishStorageDeals MessageReturnMarketV0PublishStorageDeals
530
- ```
531
-
532
- #### VerifyDealsForActivation
533
-
534
- ```ipldsch
535
- type MessageParamsMarketV2VerifyDealsForActivation MessageParamsMarketV0VerifyDealsForActivation
536
-
537
- type MessageReturnMarketV2VerifyDealsForActivation struct {
538
- DealWeight DealWeight
539
- VerifiedDealWeight DealWeight
540
- DealSpace Int
541
- } representation tuple
542
- ```
543
-
544
- #### ActivateDeals
545
-
546
- ```ipldsch
547
- type MessageParamsMarketV2ActivateDeals MessageParamsMarketV0ActivateDeals
548
- type MessageReturnMarketV2ActivateDeals MessageReturnMarketV0ActivateDeals
549
- ```
550
-
551
- #### OnMinerSectorsTerminate
552
-
553
- ```ipldsch
554
- type MessageParamsMarketV2OnMinerSectorsTerminate MessageParamsMarketV0OnMinerSectorsTerminate
555
- type MessageReturnMarketV2OnMinerSectorsTerminate MessageReturnMarketV0OnMinerSectorsTerminate
556
- ```
557
-
558
- #### ComputeDataCommitment
559
-
560
- ```ipldsch
561
- type MessageParamsMarketV2ComputeDataCommitment MessageParamsMarketV0ComputeDataCommitment
562
- type MessageReturnMarketV2ComputeDataCommitment MessageReturnMarketV0ComputeDataCommitment
563
- ```
564
-
565
- #### CronTick
566
-
567
- ```ipldsch
568
- type MessageParamsMarketV2CronTick MessageParamsMarketV0CronTick
569
- type MessageReturnMarketV2CronTick MessageReturnMarketV0CronTick
570
- ```
571
-
572
- ## StorageMinerActor
573
-
574
- ### v0
575
-
576
- #### Constructor
577
-
578
- ```ipldsch
579
- type MessageParamsMinerV0Constructor struct {
580
- OwnerAddr Address
581
- WorkerAddr Address
582
- ControlAddrs [Address]
583
- SealProofType RegisteredSealProof
584
- PeerId PeerID
585
- Multiaddrs [Multiaddrs]
586
- } representation tuple
587
-
588
- type MessageReturnMinerV0Constructor struct {
589
- } representation tuple
590
- ```
591
-
592
- #### ControlAddresses
593
-
594
- ```ipldsch
595
- type MessageParamsMinerV0ControlAddresses struct {
596
- } representation tuple
597
-
598
- type MessageReturnMinerV0ControlAddresses struct {
599
- Owner Address
600
- Worker Address
601
- ControlAddrs [Address]
602
- } representation tuple
603
- ```
604
-
605
- #### ChangeWorkerAddress
606
-
607
- ```ipldsch
608
- type MessageParamsMinerV0ChangeWorkerAddress struct {
609
- NewWorker Address
610
- NewControlAddrs [Address]
611
- } representation tuple
612
-
613
- type MessageReturnMinerV0ChangeWorkerAddress struct {
614
- } representation tuple
615
- ```
616
-
617
- #### ChangePeerID
618
-
619
- ```ipldsch
620
- type MessageParamsMinerV0ChangePeerID struct {
621
- NewID PeerID
622
- } representation tuple
623
-
624
- type MessageReturnMinerV0ChangePeerID struct {
625
- } representation tuple
626
- ```
627
-
628
- #### SubmitWindowedPoSt
629
-
630
- ```ipldsch
631
- # Information submitted by a miner to provide a Window PoSt.
632
- type MessageParamsMinerV0SubmitWindowedPoSt struct {
633
- # The deadline index which the submission targets
634
- Deadline Int
635
- # The partitions being proven
636
- Partitions [MinerPostPartition]
637
- # Array of proofs, one per distinct registered proof type present in the sectors being proven.
638
- # In the usual case of a single proof type, this array will always have a single element (independent of number of partitions).
639
- Proofs [PoStProof]
640
- # The epoch at which these proofs is being committed to a particular chain
641
- ChainCommitEpoch ChainEpoch
642
- # The ticket randomness on the chain at the ChainCommitEpoch on the chain this post is committed to
643
- ChainCommitRand Bytes
644
- } representation tuple
645
-
646
- type MinerPostPartition struct {
647
- Index Int
648
- Skipped BitField
649
- } representation tuple
650
-
651
- type PoStProof struct {
652
- PoStProof RegisteredPoStProof
653
- ProofBytes Bytes
654
- } representation tuple
655
-
656
- type RegisteredPoStProof int
657
-
658
- type MessageReturnMinerV0SubmitWindowedPoSt struct {
659
- } representation tuple
660
- ```
661
-
662
- #### PreCommitSector
663
-
664
- ```ipldsch
665
- type MessageParamsMinerV0PreCommitSector MinerV0SectorPreCommitInfo
666
-
667
- type MessageReturnMinerV0PreCommitSector struct {
668
- } representation tuple
669
- ```
670
-
671
- #### ProveCommitSector
672
-
673
- ```ipldsch
674
- type MessageParamsMinerV0ProveCommitSector struct {
675
- SectorNumber SectorNumber
676
- Proof Bytes
677
- } representation tuple
678
-
679
- type MessageReturnMinerV0ProveCommitSector struct {
680
- } representation tuple
681
- ```
682
-
683
- #### ExtendSectorExpiration
684
-
685
- ```ipldsch
686
- type MessageParamsMinerV0ExtendSectorExpiration struct {
687
- Extension [MinerExpirationExtend]
688
- } representation tuple
689
-
690
- type MinerExpirationExtend struct {
691
- Deadline Int
692
- Partition Int
693
- Sectors BitField
694
- NewExpiration ChainEpoch
695
- } representation tuple
696
-
697
- type MessageReturnMinerV0ExtendSectorExpiration struct {
698
- } representation tuple
699
- ```
700
-
701
- #### TerminateSectors
702
-
703
- ```ipldsch
704
- type MessageParamsMinerV0TerminateSectors struct {
705
- Terminations [MinerTerminationDeclaration]
706
- } representation tuple
707
-
708
- type MinerTerminationDeclaration struct {
709
- Deadline Int
710
- Partition Int
711
- Sectors BitField
712
- } representation tuple
713
-
714
- type MessageReturnMinerV0TerminateSectors struct {
715
- # Set to true if all early termination work has been completed. When
716
- # false, the miner may choose to repeatedly invoke TerminateSectors
717
- # with no new sectors to process the remainder of the pending
718
- # terminations. While pending terminations are outstanding, the miner
719
- # will not be able to withdraw funds.
720
- Done Bool
721
- } representation tuple
722
- ```
723
-
724
- #### DeclareFaults
725
-
726
- ```ipldsch
727
- type MessageParamsMinerV0DeclareFaults struct {
728
- Faults [MinerFaultDeclaration]
729
- } representation tuple
730
-
731
- type MinerFaultDeclaration struct {
732
- Deadline Int
733
- Partition Int
734
- Sectors BitField
735
- } representation tuple
736
-
737
- type MessageReturnMinerV0DeclareFaults struct {
738
- } representation tuple
739
- ```
740
-
741
- #### DeclareFaultsRecovered
742
-
743
- ```ipldsch
744
- type MessageParamsMinerV0DeclareFaultsRecovered struct {
745
- Recoveries [MinerRecoveryDeclaration]
746
- } representation tuple
747
-
748
- type MinerRecoveryDeclaration struct {
749
- Deadline Int
750
- Partition Int
751
- Sectors BitField
752
- } representation tuple
753
-
754
- type MessageReturnMinerV0DeclareFaultsRecovered struct {
755
- } representation tuple
756
- ```
757
-
758
- #### OnDeferredCronEvent
759
-
760
- ```ipldsch
761
- type MessageParamsMinerV0OnDeferredCronEvent struct {
762
- EventType CronEventType
763
- } representation tuple
764
-
765
- type CronEventType int
766
-
767
- type MessageReturnMinerV0OnDeferredCronEvent struct {
768
- } representation tuple
769
- ```
770
-
771
- #### CheckSectorProven
772
-
773
- ```ipldsch
774
- type MessageParamsMinerV0CheckSectorProven struct {
775
- SectorNumber SectorNumber
776
- } representation tuple
777
-
778
- type MessageReturnMinerV0CheckSectorProven struct {
779
- } representation tuple
780
- ```
781
-
782
- #### AddLockedFund
783
-
784
- ```ipldsch
785
- type MessageParamsMinerV0AddLockedFund TokenAmount
786
-
787
- type MessageReturnMinerV0AddLockedFund struct {
788
- } representation tuple
789
- ```
790
-
791
- #### ReportConsensusFault
792
-
793
- ```ipldsch
794
- type MessageParamsMinerV0ReportConsensusFault struct {
795
- BlockHeader1 Bytes
796
- BlockHeader2 Bytes
797
- BlockHeaderExtra Bytes
798
- } representation tuple
799
-
800
- type MessageReturnMinerV0ReportConsensusFault struct {
801
- } representation tuple
802
- ```
803
-
804
- #### WithdrawBalance
805
-
806
- ```ipldsch
807
- type MessageParamsMinerV0WithdrawBalance struct {
808
- AmountRequested TokenAmount
809
- } representation tuple
810
-
811
- type MessageReturnMinerV0WithdrawBalance struct {
812
- } representation tuple
813
- ```
814
-
815
- #### ConfirmSectorProofsValid
816
-
817
- ```ipldsch
818
- type MessageParamsMinerV0ConfirmSectorProofsValid struct {
819
- Sectors [SectorNumber]
820
- } representation tuple
821
-
822
- type MessageReturnMinerV0ConfirmSectorProofsValid struct {
823
- } representation tuple
824
- ```
825
-
826
- #### ChangeMultiaddrs
827
-
828
- ```ipldsch
829
- type MessageParamsMinerV0ChangeMultiaddrs struct {
830
- NewMultiaddrs [Multiaddrs]
831
- } representation tuple
832
-
833
- type MessageReturnMinerV0ChangeMultiaddrs struct {
834
- } representation tuple
835
- ```
836
-
837
- #### CompactPartitions
838
-
839
- ```ipldsch
840
- type MessageParamsMinerV0CompactPartitions struct {
841
- Deadline Int
842
- Partitions BitField
843
- } representation tuple
844
-
845
- type MessageReturnMinerV0CompactPartitions struct {
846
- } representation tuple
847
- ```
848
-
849
- #### CompactSectorNumbers
850
-
851
- ```ipldsch
852
- type MessageParamsMinerV0CompactSectorNumbers struct {
853
- MaskSectorNumbers BitField
854
- } representation tuple
855
-
856
- type MessageReturnMinerV0CompactSectorNumbers struct {
857
- } representation tuple
858
- ```
859
-
860
- ### v2
861
-
862
- #### Constructor
863
-
864
- ```ipldsch
865
- type MessageParamsMinerV2Constructor MessageParamsMinerV0Constructor
866
- type MessageReturnMinerV2Constructor MessageReturnMinerV0Constructor
867
- ```
868
-
869
- #### ControlAddresses
870
-
871
- ```ipldsch
872
- type MessageParamsMinerV2ControlAddresses MessageParamsMinerV0ControlAddresses
873
-
874
- type MessageReturnMinerV2ControlAddresses struct {
875
- Owner Address
876
- Worker Address
877
- ControlAddrs [Address]
878
- } representation tuple
879
-
880
- ```
881
-
882
- #### ChangeWorkerAddress
883
-
884
- ```ipldsch
885
- type MessageParamsMinerV2ChangeWorkerAddress MessageParamsMinerV0ChangeWorkerAddress
886
- type MessageReturnMinerV2ChangeWorkerAddress MessageReturnMinerV0ChangeWorkerAddress
887
- ```
888
-
889
- #### ChangePeerID
890
-
891
- ```ipldsch
892
- type MessageParamsMinerV2ChangePeerID MessageParamsMinerV0ChangePeerID
893
- type MessageReturnMinerV2ChangePeerID MessageReturnMinerV0ChangePeerID
894
- ```
895
-
896
- #### SubmitWindowedPoSt
897
-
898
- ```ipldsch
899
- type MessageParamsMinerV2SubmitWindowedPoSt MessageParamsMinerV0SubmitWindowedPoSt
900
- type MessageReturnMinerV2SubmitWindowedPoSt MessageReturnMinerV0SubmitWindowedPoSt
901
- ```
902
-
903
- #### PreCommitSector
904
-
905
- ```ipldsch
906
- type MessageParamsMinerV2PreCommitSector MessageParamsMinerV0PreCommitSector
907
- type MessageReturnMinerV2PreCommitSector MessageReturnMinerV0PreCommitSector
908
- ```
909
-
910
- #### ProveCommitSector
911
-
912
- ```ipldsch
913
- type MessageParamsMinerV2ProveCommitSector MessageParamsMinerV0ProveCommitSector
914
- type MessageReturnMinerV2ProveCommitSector MessageReturnMinerV0ProveCommitSector
915
- ```
916
-
917
- #### ExtendSectorExpiration
918
-
919
- ```ipldsch
920
- type MessageParamsMinerV2ExtendSectorExpiration MessageParamsMinerV0ExtendSectorExpiration
921
- type MessageReturnMinerV2ExtendSectorExpiration MessageReturnMinerV0ExtendSectorExpiration
922
- ```
923
-
924
- #### TerminateSectors
925
-
926
- ```ipldsch
927
- type MessageParamsMinerV2TerminateSectors MessageParamsMinerV0TerminateSectors
928
- type MessageReturnMinerV2TerminateSectors MessageReturnMinerV0TerminateSectors
929
- ```
930
-
931
- #### DeclareFaults
932
-
933
- ```ipldsch
934
- type MessageParamsMinerV2DeclareFaults MessageParamsMinerV0DeclareFaults
935
- type MessageReturnMinerV2DeclareFaults MessageReturnMinerV0DeclareFaults
936
- ```
937
-
938
- #### DeclareFaultsRecovered
939
-
940
- ```ipldsch
941
- type MessageParamsMinerV2DeclareFaultsRecovered MessageParamsMinerV0DeclareFaultsRecovered
942
- type MessageReturnMinerV2DeclareFaultsRecovered MessageReturnMinerV0DeclareFaultsRecovered
943
- ```
944
-
945
- #### OnDeferredCronEvent
946
-
947
- ```ipldsch
948
- type MessageParamsMinerV2OnDeferredCronEvent MessageParamsMinerV0OnDeferredCronEvent
949
- type MessageReturnMinerV2OnDeferredCronEvent MessageReturnMinerV0OnDeferredCronEvent
950
- ```
951
-
952
- #### CheckSectorProven
953
-
954
- ```ipldsch
955
- type MessageParamsMinerV2CheckSectorProven MessageParamsMinerV0CheckSectorProven
956
- type MessageReturnMinerV2CheckSectorProven MessageReturnMinerV0CheckSectorProven
957
- ```
958
-
959
- #### ApplyRewards
960
-
961
- ```ipldsch
962
- type MessageParamsMinerV2ApplyRewards struct {
963
- Reward TokenAmount
964
- Penalty TokenAmount
965
- } representation tuple
966
-
967
- type MessageReturnMinerV2ApplyRewards struct {
968
- } representation tuple
969
- ```
970
-
971
- #### ReportConsensusFault
972
-
973
- ```ipldsch
974
- type MessageParamsMinerV2ReportConsensusFault MessageParamsMinerV0ReportConsensusFault
975
- type MessageReturnMinerV2ReportConsensusFault MessageReturnMinerV0ReportConsensusFault
976
- ```
977
-
978
- #### WithdrawBalance
979
-
980
- ```ipldsch
981
- type MessageParamsMinerV2WithdrawBalance MessageParamsMinerV0WithdrawBalance
982
- type MessageReturnMinerV2WithdrawBalance MessageReturnMinerV0WithdrawBalance
983
- ```
984
-
985
- #### ConfirmSectorProofsValid
986
-
987
- ```ipldsch
988
- type MessageParamsMinerV2ConfirmSectorProofsValid MessageParamsMinerV0ConfirmSectorProofsValid
989
- type MessageReturnMinerV2ConfirmSectorProofsValid MessageReturnMinerV0ConfirmSectorProofsValid
990
- ```
991
-
992
- #### ChangeMultiaddrs
993
-
994
- ```ipldsch
995
- type MessageParamsMinerV2ChangeMultiaddrs MessageParamsMinerV0ChangeMultiaddrs
996
- type MessageReturnMinerV2ChangeMultiaddrs MessageReturnMinerV0ChangeMultiaddrs
997
- ```
998
-
999
- #### CompactPartitions
1000
-
1001
- ```ipldsch
1002
- type MessageParamsMinerV2CompactPartitions MessageParamsMinerV0CompactPartitions
1003
- type MessageReturnMinerV2CompactPartitions MessageReturnMinerV0CompactPartitions
1004
- ```
1005
-
1006
- #### CompactSectorNumbers
1007
-
1008
- ```ipldsch
1009
- type MessageParamsMinerV2CompactSectorNumbers MessageParamsMinerV0CompactSectorNumbers
1010
- type MessageReturnMinerV2CompactSectorNumbers MessageReturnMinerV0CompactSectorNumbers
1011
- ```
1012
-
1013
- #### ConfirmUpdateWorkerKey
1014
-
1015
- ```ipldsch
1016
- type MessageParamsMinerV2ConfirmUpdateWorkerKey struct {
1017
- } representation tuple
1018
-
1019
- type MessageReturnMinerV2ConfirmUpdateWorkerKey struct {
1020
- } representation tuple
1021
- ```
1022
-
1023
- #### RepayDebt
1024
-
1025
- ```ipldsch
1026
- type MessageParamsMinerV2RepayDebt struct {
1027
- } representation tuple
1028
-
1029
- type MessageReturnMinerV2RepayDebt struct {
1030
- } representation tuple
1031
- ```
1032
-
1033
- #### ChangeOwnerAddress
1034
-
1035
- ```ipldsch
1036
- type MessageParamsMinerV2ChangeOwnerAddress Address
1037
-
1038
- type MessageReturnMinerV2ChangeOwnerAddress struct {
1039
- } representation tuple
1040
- ```
1041
-
1042
- ## MultisigActor
1043
-
1044
- ### v0
1045
-
1046
- #### Constructor
1047
-
1048
- ```ipldsch
1049
- type MessageParamsMultisigV0Constructor struct {
1050
- Signers [Address]
1051
- NumApprovalsThreshold Int
1052
- UnlockDuration ChainEpoch
1053
- StartEpoch ChainEpoch
1054
- } representation tuple
1055
-
1056
- type MessageReturnMultisigV0Constructor struct {
1057
- } representation tuple
1058
- ```
1059
-
1060
- #### Propose
1061
-
1062
- ```ipldsch
1063
- type MessageParamsMultisigV0Propose struct {
1064
- To Address
1065
- Value BigInt
1066
- Method MethodNum
1067
- Params Bytes
1068
- } representation tuple
1069
-
1070
- type MessageReturnMultisigV0Propose struct {
1071
- # TxnID is the ID of the proposed transaction
1072
- TxnID TransactionID
1073
- # Applied indicates if the transaction was applied as opposed to proposed but not applied due to lack of approvals
1074
- Applied Bool
1075
- # Code is the exitcode of the transaction, if Applied is false this field should be ignored.
1076
- Code ExitCode
1077
- # Ret is the return vale of the transaction, if Applied is false this field should be ignored.
1078
- Ret Byte
1079
- } representation tuple
1080
- ```
1081
-
1082
- #### Approve
1083
-
1084
- ```ipldsch
1085
- type MessageParamsMultisigV0Approve MultisigTransactionID
1086
-
1087
- type MultisigTransactionID struct {
1088
- ID TransactionID
1089
- ProposeHash Bytes
1090
- } representation tuple
1091
-
1092
- type MessageReturnMultisigV0Approve struct {
1093
- # Applied indicates if the transaction was applied as opposed to proposed but not applied due to lack of approvals
1094
- Applied Bool
1095
- # Code is the exitcode of the transaction, if Applied is false this field should be ignored.
1096
- Code ExitCode
1097
- # Ret is the return vale of the transaction, if Applied is false this field should be ignored.
1098
- Ret Bytes
1099
- } representation tuple
1100
- ```
1101
-
1102
- #### Cancel
1103
-
1104
- ```ipldsch
1105
- type MessageParamsMultisigV0Cancel MultisigTransactionID
1106
-
1107
- type MessageReturnMultisigV0Cancel struct {
1108
- } representation tuple
1109
- ```
1110
-
1111
- #### AddSigner
1112
-
1113
- ```ipldsch
1114
- type MessageParamsMultisigV0AddSigner struct {
1115
- Signer Address
1116
- Increase Bool
1117
- } representation tuple
1118
-
1119
- type MessageReturnMultisigV0AddSigner struct {
1120
- } representation tuple
1121
- ```
1122
-
1123
- #### RemoveSigner
1124
-
1125
- ```ipldsch
1126
- type MessageParamsMultisigV0RemoveSigner struct {
1127
- Signer Address
1128
- Decrease Bool
1129
- } representation tuple
1130
-
1131
- type MessageReturnMultisigV0RemoveSigner struct {
1132
- } representation tuple
1133
- ```
1134
-
1135
- #### SwapSigner
1136
-
1137
- ```ipldsch
1138
- type MessageParamsMultisigV0SwapSigner struct {
1139
- From Address
1140
- To Address
1141
- } representation tuple
1142
-
1143
- type MessageReturnMultisigV0SwapSigner struct {
1144
- } representation tuple
1145
- ```
1146
-
1147
- #### ChangeNumApprovalsThreshold
1148
-
1149
- ```ipldsch
1150
- type MessageParamsMultisigV0ChangeThreshold struct {
1151
- NewThreshold Int
1152
- } representation tuple
1153
-
1154
- type MessageReturnMultisigV0ChangeThreshold struct {
1155
- } representation tuple
1156
- ```
1157
-
1158
- #### LockBalance
1159
-
1160
- ```ipldsch
1161
- type MessageParamsMultisigV0LockBalance struct {
1162
- StartEpoch ChainEpoch
1163
- UnlockDuration ChainEpoch
1164
- Amount TokenAmount
1165
- } representation tuple
1166
-
1167
- type MessageReturnMultisigV0LockBalance struct {
1168
- } representation tuple
1169
- ```
1170
-
1171
- ### v2
1172
-
1173
- #### Constructor
1174
-
1175
- ```ipldsch
1176
- type MessageParamsMultisigV2Constructor struct {
1177
- Signers [addr.Address]
1178
- NumApprovalsThreshold Int
1179
- UnlockDuration ChainEpoch
1180
- StartEpoch ChainEpoch
1181
- } representation tuple
1182
-
1183
- type MessageReturnMultisigV2Constructor MessageReturnMultisigV0Constructor
1184
- ```
1185
-
1186
- #### Propose
1187
-
1188
- ```ipldsch
1189
- type MessageParamsMultisigV2Propose MessageParamsMultisigV0Propose
1190
- type MessageReturnMultisigV2Propose MessageReturnMultisigV0Propose
1191
- ```
1192
-
1193
- #### Approve
1194
-
1195
- ```ipldsch
1196
- type MessageParamsMultisigV2Approve MessageParamsMultisigV0Approve
1197
- type MessageReturnMultisigV2Approve MessageReturnMultisigV0Approve
1198
- ```
1199
-
1200
- #### Cancel
1201
-
1202
- ```ipldsch
1203
- type MessageParamsMultisigV2Cancel MessageParamsMultisigV0ancel
1204
- type MessageReturnMultisigV2Cancel MessageReturnMultisigV0Cancel
1205
- ```
1206
-
1207
- #### AddSigner
1208
-
1209
- ```ipldsch
1210
- type MessageParamsMultisigV2AddSigner MessageParamsMultisigV0AddSigner
1211
- type MessageReturnMultisigV2AddSigner MessageReturnMultisigV0AddSigner
1212
- ```
1213
-
1214
- #### RemoveSigner
1215
-
1216
- ```ipldsch
1217
- type MessageParamsMultisigV2RemoveSigner MessageParamsMultisigV0RemoveSigner
1218
- type MessageReturnMultisigV2RemoveSigner MessageReturnMultisigV0RemoveSigner
1219
- ```
1220
-
1221
- #### SwapSigner
1222
-
1223
- ```ipldsch
1224
- type MessageParamsMultisigV2SwapSigner MessageParamsMultisigV0SwapSigner
1225
- type MessageReturnMultisigV2SwapSigner MessageReturnMultisigV0SwapSigner
1226
- ```
1227
-
1228
- #### ChangeNumApprovalsThreshold
1229
-
1230
- ```ipldsch
1231
- type MessageParamsMultisigV2ChangeThreshold MessageParamsMultisigV0ChangeThreshold
1232
- type MessageReturnMultisigV2ChangeThreshold MessageReturnMultisigV0ChangeThreshold
1233
- ```
1234
-
1235
- #### LockBalance
1236
-
1237
- ```ipldsch
1238
- type MessageParamsMultisigV2LockBalance MessageParamsMultisigV0LockBalance
1239
- type MessageReturnMultisigV2LockBalance MessageReturnMultisigV0LockBalance
1240
- ```
1241
-
1242
- ## PaymentChannelActor
1243
-
1244
- ### v0
1245
-
1246
- #### Constructor
1247
-
1248
- ```ipldsch
1249
- type MessageParamsPaychV0Constructor struct {
1250
- From Address # Payer
1251
- To Address # Payee
1252
- } representation tuple
1253
-
1254
- type MessageReturnPaychV0Constructor struct {
1255
- } representation tuple
1256
- ```
1257
-
1258
- #### UpdateChannelState
1259
-
1260
- ```ipldsch
1261
- type MessageParamsPaychV0UpdateChannelState struct {
1262
- Sv SignedVoucher
1263
- Secret Bytes
1264
- Proof Bytes
1265
- } representation tuple
1266
-
1267
- # A voucher is sent by `From` to `To` off-chain in order to enable
1268
- # `To` to redeem payments on-chain in the future
1269
- type SignedVoucher struct {
1270
- # ChannelAddr is the address of the payment channel this signed voucher is valid for
1271
- ChannelAddr Address
1272
- # TimeLockMin sets a min epoch before which the voucher cannot be redeemed
1273
- TimeLockMin ChainEpoch
1274
- # TimeLockMax sets a max epoch beyond which the voucher cannot be redeemed
1275
- # TimeLockMax set to 0 means no timeout
1276
- TimeLockMax ChainEpoch
1277
- # (optional) The SecretPreImage is used by `To` to validate
1278
- SecretPreimage optional Bytes
1279
- # (optional) Extra can be specified by `From` to add a verification method to the voucher
1280
- Extra optional nullable ModVerifyParams
1281
- # Specifies which lane the Voucher merges into (will be created if does not exist)
1282
- Lane Int
1283
- # Specifies which lane the Voucher merges into (will be created if does not exist)
1284
- Nonce Int
1285
- # Amount voucher can be redeemed for
1286
- Amount BigInt
1287
- # (optional) MinSettleHeight can extend channel MinSettleHeight if needed
1288
- MinSettleHeight optional ChainEpoch
1289
- # (optional) Set of lanes to be merged into `Lane`
1290
- Merges optional [Merge]
1291
- # Sender's signature over the voucher
1292
- Signature nullable Signature
1293
- } representation tuple
1294
-
1295
- # Modular Verification method
1296
- type ModVerifyParams struct {
1297
- Method MethodNum
1298
- Params Bytes
1299
- } representation tuple
1300
-
1301
- type Merge struct {
1302
- Lane Int
1303
- Nonce Int
1304
- } representation tuple
1305
-
1306
- type MessageReturnPaychV0UpdateChannelState struct {
1307
- } representation tuple
1308
- ```
1309
-
1310
- #### Settle
1311
-
1312
- ```ipldsch
1313
- type MessageParamsPaychV0Settle struct {
1314
- } representation tuple
1315
-
1316
- type MessageReturnPaychV0Settle struct {
1317
- } representation tuple
1318
- ```
1319
-
1320
- #### Collect
1321
-
1322
- ```ipldsch
1323
- type MessageParamsPaychV0Collect struct {
1324
- } representation tuple
1325
-
1326
- type MessageReturnPaychV0Collect struct {
1327
- } representation tuple
1328
- ```
1329
-
1330
- ### v2
1331
-
1332
- #### Constructor
1333
-
1334
- ```ipldsch
1335
- type MessageParamsPaychV2Constructor MessageParamsPaychV0Constructor
1336
- type MessageReturnPaychV2Constructor MessageReturnPaychV0Constructor
1337
- ```
1338
-
1339
- #### UpdateChannelState
1340
-
1341
- ```ipldsch
1342
- type MessageParamsPaychV2UpdateChannelState struct {
1343
- Sv SignedVoucher
1344
- Secret Bytes
1345
- } representation tuple
1346
-
1347
- type MessageReturnPaychV2UpdateChannelState MessageReturnPaychV0UpdateChannelState
1348
- ```
1349
-
1350
- #### Settle
1351
-
1352
- ```ipldsch
1353
- type MessageParamsPaychV2Settle MessageParamsPaychV0Settle
1354
- type MessageReturnPaychV2Settle MessageReturnPaychV0Settle
1355
- ```
1356
-
1357
- #### Collect
1358
-
1359
- ```ipldsch
1360
- type MessageParamsPaychV2Collect MessageParamsPaychV0Collect
1361
- type MessageReturnPaychV2Collect MessageReturnPaychV0Collect
1362
- ```
1363
-
1364
- ## StoragePowerActor
1365
-
1366
- ### v0
1367
-
1368
- #### Constructor
1369
-
1370
- ```ipldsch
1371
- type MessageParamsPowerV0Constructor struct {
1372
- } representation tuple
1373
-
1374
- type MessageReturnPowerV0Constructor struct {
1375
- } representation tuple
1376
- ```
1377
-
1378
- #### CreateMiner
1379
-
1380
- ```ipldsch
1381
- type MessageParamsPowerV0CreateMiner struct {
1382
- Owner Address
1383
- Worker Address
1384
- SealProofType RegisteredSealProof
1385
- Peer PeerID
1386
- Multiaddrs [Multiaddrs]
1387
- } representation tuple
1388
-
1389
- type MessageReturnPowerV0CreateMine struct {
1390
- IDAddress Address # The canonical ID-based address for the actor
1391
- RobustAddress Address # A more expensive but re-org-safe address for the newly created actor
1392
- } representation tuple
1393
- ```
1394
-
1395
- #### UpdateClaimedPower
1396
-
1397
- ```ipldsch
1398
- type MessageParamsPowerV0UpdateClaimedPower struct {
1399
- RawByteDelta StoragePower
1400
- QualityAdjustedDelta StoragePower
1401
- } representation tuple
1402
-
1403
- type MessageReturnPowerV0UpdateClaimedPower struct {
1404
- } representation tuple
1405
- ```
1406
-
1407
- #### EnrollCronEvent
1408
-
1409
- ```ipldsch
1410
- type MessageParamsPowerV0EnrollCronEvent struct {
1411
- EventEpoch ChainEpoch
1412
- Payload Bytes
1413
- } representation tuple
1414
-
1415
- type MessageReturnPowerV0EnrollCronEvent struct {
1416
- } representation tuple
1417
- ```
1418
-
1419
- #### OnEpochTickEnd
1420
-
1421
- ```ipldsch
1422
- type MessageParamsPowerV0OnEpochTickEnd struct {
1423
- } representation tuple
1424
-
1425
- type MessageReturnPowerV0OnEpochTickEnd struct {
1426
- } representation tuple
1427
- ```
1428
-
1429
- #### UpdatePledgeTotal
1430
-
1431
- ```ipldsch
1432
- type MessageParamsPowerV0UpdatePledgeTotal TokenAmount
1433
-
1434
- type MessageReturnPowerV0UpdatePledgeTotal struct {
1435
- } representation tuple
1436
- ```
1437
-
1438
- #### OnConsensusFault
1439
-
1440
- ```ipldsch
1441
- type MessageParamsPowerV0OnConsensusFault TokenAmount
1442
-
1443
- type MessageReturnPowerV0OnConsensusFault struct {
1444
- } representation tuple
1445
- ```
1446
-
1447
- #### SubmitPoRepForBulkVerify
1448
-
1449
- ```ipldsch
1450
- type MessageParamsPowerV0SubmitPoRepForBulkVerify SealVerifyInfo
1451
-
1452
- type MessageReturnPowerV0SubmitPoRepForBulkVerify struct {
1453
- } representation tuple
1454
- ```
1455
-
1456
- #### CurrentTotalPower
1457
-
1458
- ```ipldsch
1459
- type MessageParamsPowerV0SubmitPoRepForBulkVerify struct {
1460
- } representation tuple
1461
-
1462
- type MessageReturnPowerV0CurrentTotal struct {
1463
- RawBytePower StoragePower
1464
- QualityAdjPower StoragePower
1465
- PledgeCollateral TokenAmount
1466
- QualityAdjPowerSmoothed nullable FilterEstimate
1467
- } representation tuple
1468
- ```
1469
-
1470
- ### v2
1471
-
1472
- #### Constructor
1473
-
1474
- ```ipldsch
1475
- type MessageParamsPowerV2Constructor struct {
1476
- OwnerAddr Address
1477
- WorkerAddr Address
1478
- ControlAddrs [Address]
1479
- SealProofType RegisteredSealProof
1480
- PeerId PeerID
1481
- Multiaddrs [Multiaddrs]
1482
- } representation tuple
1483
-
1484
- type MessageReturnPowerV2Constructor MessageReturnPowerV0Constructor
1485
- ```
1486
-
1487
- #### CreateMiner
1488
-
1489
- ```ipldsch
1490
- type MessageParamsPowerV2CreateMiner MessageParamsPowerV0CreateMiner
1491
- type MessageReturnPowerV2CreateMine MessageReturnPowerV0CreateMine
1492
- ```
1493
-
1494
- #### UpdateClaimedPower
1495
-
1496
- ```ipldsch
1497
- type MessageParamsPowerV2UpdateClaimedPower MessageParamsPowerV0UpdateClaimedPower
1498
- type MessageReturnPowerV2UpdateClaimedPower MessageReturnPowerV0UpdateClaimedPower
1499
- ```
1500
-
1501
- #### EnrollCronEvent
1502
-
1503
- ```ipldsch
1504
- type MessageParamsPowerV2EnrollCronEvent MessageParamsPowerV0EnrollCronEvent
1505
- type MessageReturnPowerV2EnrollCronEvent MessageReturnPowerV0EnrollCronEvent
1506
- ```
1507
-
1508
- #### OnEpochTickEnd
1509
-
1510
- ```ipldsch
1511
- type MessageParamsPowerV2OnEpochTickEnd MessageParamsPowerV0OnEpochTickEnd
1512
- type MessageReturnPowerV2OnEpochTickEnd MessageReturnPowerV0OnEpochTickEnd
1513
- ```
1514
-
1515
- #### UpdatePledgeTotal
1516
-
1517
- ```ipldsch
1518
- type MessageParamsPowerV2UpdatePledgeTotal MessageParamsPowerV0UpdatePledgeTotal
1519
- type MessageReturnPowerV2UpdatePledgeTotal MessageReturnPowerV0UpdatePledgeTotal
1520
- ```
1521
-
1522
- #### OnConsensusFault
1523
-
1524
- ```ipldsch
1525
- type MessageParamsPowerV2OnConsensusFault MessageParamsPowerV0OnConsensusFault
1526
- type MessageReturnPowerV2OnConsensusFault MessageReturnPowerV0OnConsensusFault
1527
- ```
1528
-
1529
- #### SubmitPoRepForBulkVerify
1530
-
1531
- ```ipldsch
1532
- type MessageParamsPowerV2SubmitPoRepForBulkVerify MessageParamsPowerV0SubmitPoRepForBulkVerify
1533
- type MessageReturnPowerV2SubmitPoRepForBulkVerify MessageReturnPowerV0SubmitPoRepForBulkVerify
1534
- ```
1535
-
1536
- #### CurrentTotalPower
1537
-
1538
- ```ipldsch
1539
- type MessageParamsPowerV2SubmitPoRepForBulkVerify MessageParamsPowerV2SubmitPoRepForBulkVerify
1540
-
1541
- type MessageReturnPowerV2CurrentTotal struct {
1542
- RawBytePower StoragePower
1543
- QualityAdjPower StoragePower
1544
- PledgeCollateral TokenAmount
1545
- QualityAdjPowerSmoothed FilterEstimate
1546
- } representation tuple
1547
- ```
1548
-
1549
- ## VerifiedRegistryActor
1550
-
1551
- ### v0
1552
-
1553
- #### Constructor
1554
-
1555
- ```ipldsch
1556
- type MessageParamsVerifregV0Constructor Address
1557
-
1558
- type MessageReturnVerifregV0Constructor struct {
1559
- } representation tuple
1560
- ```
1561
-
1562
- #### AddVerifier
1563
-
1564
- ```ipldsch
1565
- type MessageParamsVerifregV0AddVerifier struct {
1566
- Address Address
1567
- Allowance DataCap
1568
- } representation tuple
1569
-
1570
- type MessageReturnVerifregV0AddVerifier struct {
1571
- } representation tuple
1572
- ```
1573
-
1574
- #### RemoveVerifier
1575
-
1576
- ```ipldsch
1577
- type MessageParamsVerifregV0RemoveVerifier Address
1578
-
1579
- type MessageReturnVerifregV0RemoveVerifier struct {
1580
- } representation tuple
1581
- ```
1582
-
1583
- #### AddVerifiedClient
1584
-
1585
- ```ipldsch
1586
- type MessageParamsVerifregV0AddVerifiedClient struct {
1587
- Address Address
1588
- Allowance DataCap
1589
- } representation tuple
1590
-
1591
- type MessageReturnVerifregV0AddVerifiedClientstruct struct {
1592
- } representation tuple
1593
- ```
1594
-
1595
- #### UseBytes
1596
-
1597
- ```ipldsch
1598
- type MessageParamsVerifregV0UseBytes struct {
1599
- Address Address # Address of verified client
1600
- DealSize StoragePower # Number of bytes to use
1601
- } representation tuple
1602
-
1603
- type MessageReturnVerifregV0UseBytes struct {
1604
- } representation tuple
1605
- ```
1606
-
1607
- #### RestoreBytes
1608
-
1609
- ```ipldsch
1610
- type MessageParamsVerifregV0RestoreBytes struct {
1611
- Address Address
1612
- DealSize StoragePower
1613
- } representation tuple
1614
-
1615
- type MessageReturnVerifregV0RestoreBytes struct {
1616
- } representation tuple
1617
- ```
1618
-
1619
- ### v2
1620
-
1621
- #### Constructor
1622
-
1623
- ```ipldsch
1624
- type MessageParamsVerifregV2Constructor MessageParamsVerifregV0Constructor
1625
- type MessageReturnVerifregV2Constructor MessageReturnVerifregV0Constructor
1626
- ```
1627
-
1628
- #### AddVerifier
1629
-
1630
- ```ipldsch
1631
- type MessageParamsVerifregV2AddVerifier MessageParamsVerifregV0AddVerifier
1632
- type MessageReturnVerifregV2AddVerifier MessageReturnVerifregV0AddVerifier
1633
- ```
1634
-
1635
- #### RemoveVerifier
1636
-
1637
- ```ipldsch
1638
- type MessageParamsVerifregV2RemoveVerifier MessageParamsVerifregV0RemoveVerifier
1639
- type MessageReturnVerifregV2RemoveVerifier MessageReturnVerifregV0RemoveVerifier
1640
- ```
1641
-
1642
- #### AddVerifiedClient
1643
-
1644
- ```ipldsch
1645
- type MessageParamsVerifregV2AddVerifiedClient MessageParamsVerifregV0AddVerifiedClient
1646
- type MessageReturnVerifregV2AddVerifiedClientstruct MessageReturnVerifregV0AddVerifiedClientstruct
1647
- ```
1648
-
1649
- #### UseBytes
1650
-
1651
- ```ipldsch
1652
- type MessageParamsVerifregV2UseBytes MessageParamsVerifregV0UseBytes
1653
- type MessageReturnVerifregV2UseBytes MessageReturnVerifregV0UseBytes
1654
- ```
1655
-
1656
- #### RestoreBytes
1657
-
1658
- ```ipldsch
1659
- type MessageParamsVerifregV2RestoreBytes MessageParamsVerifregV0RestoreBytes
1660
- type MessageReturnVerifregV2RestoreBytes MessageReturnVerifregV0RestoreBytes
1661
- ```
1662
-
1663
- ## SystemActor
1664
-
1665
- ### v0
1666
-
1667
- #### Constructor
1668
-
1669
- ```ipldsch
1670
- type MessageParamsSystemV0Constructor struct {
1671
- } representation tuple
1672
-
1673
- type MessageReturnSystemV0Constructor struct {
1674
- } representation tuple
1675
- ```
1676
-
1677
- ### v2
1678
-
1679
- #### Constructor
1680
-
1681
- ```ipldsch
1682
- type MessageParamsSystemV2Constructor MessageParamsSystemV0Constructor
1683
- type MessageReturnSystemV2Constructor MessageReturnSystemV0Constructor
1684
- ```