diff --git a/lotuspond/front/src/StorageNode.js b/lotuspond/front/src/StorageNode.js index d86c83549..c4895c2ea 100644 --- a/lotuspond/front/src/StorageNode.js +++ b/lotuspond/front/src/StorageNode.js @@ -8,20 +8,27 @@ const stateConnecting = 'connecting' const stateGettingToken = 'getting-token' let sealCodes = [ - "Undefined", - "Empty", - "Packing", - "Unsealed", - "PreCommitting", - "PreCommitted", - "Committing", - "CommitWait", - "Proving", + "UndefinedSectorState", + "Empty", + "Packing", + "Unsealed", + "PreCommitting", + "WaitSeed", + "Committing", + "CommitWait", + "FinalizeSector", + "Proving", - "SealFailed", - "PreCommitFailed", - "SealCommitFailed", - "CommitFailed", + "SealFailed", + "PreCommitFailed", + "SealCommitFailed", + "CommitFailed", + "PackingFailed", + + "FailedUnrecoverable", + "Faulty", + "FaultReported", + "FaultedFinal", ] class StorageNode extends React.Component { diff --git a/lotuspond/front/src/chain/code.js b/lotuspond/front/src/chain/code.js index c8ffc0b03..af519c9c2 100644 --- a/lotuspond/front/src/chain/code.js +++ b/lotuspond/front/src/chain/code.js @@ -1,9 +1,12 @@ export default { - account: "fil/1/account", - power: "fil/1/power", - market: "fil/1/market", - miner: "fil/1/miner", - multisig: "fil/1/multisig", + system: "fil/1/system", init: "fil/1/init", - paych: "fil/1/paych", + cron: "fil/1/cron", + account: "fil/1/account", + power: "fil/1/storagepower", + miner: "fil/1/storageminer", + market: "fil/1/storagemarket", + paych: "fil/1/paymentchannel", + multisig: "fil/1/multisig", + reward: "fil/1/reward", } diff --git a/lotuspond/front/src/chain/methods.js b/lotuspond/front/src/chain/methods.js index 172531c5a..8e2896836 100644 --- a/lotuspond/front/src/chain/methods.js +++ b/lotuspond/front/src/chain/methods.js @@ -4,54 +4,23 @@ export default { [code.account]: [ "Send", "Constructor", - "GetAddress", + "PubkeyAddress", ], - [code.power]: [ + [code.init]: [ "Send", "Constructor", - "CreateStorageMiner", - "SlashConsensusFault", - "UpdateStorage", - "GetTotalStorage", - "PowerLookup", - "IsMiner", - "StorageCollateralForSize" + "Exec", ], - [code.market]: [ + [code.cron]: [ "Send", "Constructor", - "WithdrawBalance", - "AddBalance", - "CheckLockedBalance", - "PublishStorageDeals", - "HandleCronAction", - "SettleExpiredDeals", - "ProcessStorageDealsPayment", - "SlashStorageDealCollateral", - "GetLastExpirationFromDealIDs", - "ActivateStorageDeals", + "EpochTick", ], - [code.miner]: [ + [code.reward]: [ "Send", "Constructor", - "PreCommitSector", - "ProveCommitSector", - "SubmitPoSt", - "SlashStorageFault", - "GetCurrentProvingSet", - "ArbitrateDeal", - "DePledge", - "GetOwner", - "GetWorkerAddr", - "GetPower", - "GetPeerID", - "GetSectorSize", - "UpdatePeerID", - "ChangeWorker", - "IsSlashed", - "IsLate", - "DeclareFaults", - "SlashConsensusFault", + "AwardBlockReward", + "WithdrawReward", ], [code.multisig]: [ "Send", @@ -63,19 +32,58 @@ export default { "AddSigner", "RemoveSigner", "SwapSigner", - "ChangeRequirement", - ], - [code.init]: [ - "Send", - "Constructor", - "Exec", - "GetIdForAddress" + "ChangeNumApprovalsThreshold", ], [code.paych]: [ "Send", "Constructor", "UpdateChannelState", - "Close", + "Settle", "Collect", ], + [code.market]: [ + "Send", + "Constructor", + "AddBalance", + "WithdrawBalance", + "HandleExpiredDeals", + "PublishStorageDeals", + "VerifyDealsOnSectorProveCommit", + "OnMinerSectorsTerminate", + "ComputeDataCommitment", + "GetWeightForDealSet", + ], + [code.power]: [ + "Send", + "Constructor", + "AddBalance", + "WithdrawBalance", + "CreateMiner", + "DeleteMiner", + "OnSectorProveCommit", + "OnSectorTerminate", + "OnSectorTemporaryFaultEffectiveBegin", + "OnSectorTemporaryFaultEffectiveEnd", + "OnSectorModifyWeightDesc", + "OnMinerWindowedPoStSuccess", + "OnMinerWindowedPoStFailure", + "EnrollCronEvent", + "ReportConsensusFault", + "OnEpochTickEnd", + ], + [code.miner]: [ + "Send", + "Constructor", + "ControlAddresses", + "ChangeWorkerAddress", + "ChangePeerID", + "SubmitWindowedPoSt", + "OnDeleteMiner", + "PreCommitSector", + "ProveCommitSector", + "ExtendSectorExpiration", + "TerminateSectors", + "DeclareTemporaryFaults", + "OnDeferredCronEvent", + ], } \ No newline at end of file