MCPcopy Index your code
hub / github.com/WorldDbs/specs-actors

github.com/WorldDbs/specs-actors @v1.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1.0 ↗ · + Follow
1,970 symbols 10,824 edges 204 files 598 documented · 30% updated 5y agov1.1.0 · 2021-05-21★ 89
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Filecoin actors

CircleCI codecov go.dev reference

This repo is the specification of the Filecoin builtin actors, in the form of executable code.

This is a companion to the rest of the Filecoin Specification, but also directly usable by Go implementations of Filecoin.

Versioning

Releases of this repo follow semantic versioning rules, with consideration of distributed state machines. - The major version will remain 0 or 1 for the forseeable future. We do not bump the major version every time there's a backwards-incompatible change in state machine evaluation, or actor interfaces, because this interacts very poorly with Go's module resolution, requiring a change of all import paths. After 1.0 we may consider using the major version number to version the Runtime interface, which is the link between the actors and the system in which they are embedded. - A minor version change indicates a backwards-incompatible change in the state machine evaluation, including actor exported methods or constant values, while retaining compatibility of the Runtime interface. This means that the same sequence of messages might produce different states at two different versions. In a blockchain, this would usually require a coordinated network upgrade or "hard fork". After 1.0, a minor version change may alter behaviour but not exported code or actor interfaces. - A patch version change may alter state evaluation (but not exported code or actor interfaces). After 1.0, a patch version change indicates a backward compatible fix or improvement that doesn't change state evaluation semantics or exported interfaces.

License

This repository is dual-licensed under Apache 2.0 and MIT terms.

Copyright 2019-2020. Protocol Labs, Inc.

Extension points exported contracts — how you extend this code

StateMigration (Interface)
(no doc) [14 implementers]
actors/migration/nv7/top.go
Store (Interface)
Store defines the storage module exposed to actors. [3 implementers]
actors/runtime/runtime.go
Agent (Interface)
(no doc) [5 implementers]
support/agent/sim.go
StateMigration (Interface)
(no doc) [14 implementers]
actors/migration/nv3/migrators.go
Message (Interface)
Message contains information available to the actor about the executing message. These values are fixed for the duration [3 …
actors/runtime/runtime.go
SimState (Interface)
Internal Types [1 implementers]
support/agent/sim.go
StateMigration (Interface)
(no doc) [14 implementers]
actors/migration/nv4/top.go
Syscalls (Interface)
Pure functions implemented as primitives by the runtime. [3 implementers]
actors/runtime/runtime.go

Core symbols most depended-on inside this repo

Equal
called by 677
support/mock/mockrt.go
SetCaller
called by 269
support/mock/mockrt.go
Build
called by 246
support/mock/builder.go
NewPowerPairZero
called by 245
actors/builtin/miner/partition_state.go
SetEpoch
called by 229
support/mock/mockrt.go
Add
called by 224
actors/builtin/miner/partition_state.go
Call
called by 221
support/mock/mockrt.go
Abortf
called by 216
actors/runtime/runtime.go

Shape

Method 1,088
Function 608
Struct 235
Interface 21
TypeAlias 15
FuncType 3

Languages

Go100%
Python1%

Modules by API surface

support/mock/mockrt.go101 symbols
actors/builtin/miner/miner_test.go101 symbols
support/agent/sim.go74 symbols
actors/builtin/miner/miner_actor.go69 symbols
support/vm/invocation_context.go63 symbols
actors/builtin/market/market_test.go60 symbols
actors/builtin/miner/miner_state.go53 symbols
support/agent/miner_agent.go46 symbols
support/vm/vm.go45 symbols
actors/runtime/runtime.go40 symbols
actors/builtin/power/power_test.go37 symbols
actors/builtin/multisig/multisig_test.go34 symbols

For agents

$ claude mcp add specs-actors \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page