Documentation ¶
Index ¶
- Constants
- Variables
- func ActorNameByCode(c cid.Cid) string
- func IsAccountActor(c cid.Cid) bool
- func IsBuiltinActor(c cid.Cid) bool
- func IsExpertActor(c cid.Cid) bool
- func IsFlowChannelActor(c cid.Cid) bool
- func IsMultisigActor(c cid.Cid) bool
- func IsPaymentChannelActor(c cid.Cid) bool
- func IsStorageMarketActor(c cid.Cid) bool
- func IsStorageMinerActor(c cid.Cid) bool
- func Load(store adt.Store, act *types.Actor) (cbor.Marshaler, error)
- func RegisterActorState(code cid.Cid, loader ActorStateLoader)
- type ActorStateLoader
- type PoStProof
- type SectorInfo
Constants ¶
View Source
const ( EpochDurationSeconds = builtin.EpochDurationSeconds EpochsInDay = builtin.EpochsInDay SecondsInDay = builtin.SecondsInDay )
View Source
const ( MethodSend = builtin.MethodSend MethodConstructor = builtin.MethodConstructor )
Variables ¶
View Source
var ( FoundationIDAddress = makeAddress("f080") InvestorIDAddress = makeAddress("f081") TeamIDAddress = makeAddress("f082") DefaultGovernorIDAddress = makeAddress("f083") )
View Source
var ActorStateLoaders = make(map[cid.Cid]ActorStateLoader)
View Source
var BurntFundsActorAddr = builtin.BurntFundsActorAddr
View Source
var CronActorAddr = builtin.CronActorAddr
View Source
var (
ExpectedLeadersPerEpoch = builtin.ExpectedLeadersPerEpoch
)
View Source
var SystemActorAddr = builtin.SystemActorAddr
Functions ¶
func ActorNameByCode ¶
func ActorNameByCode(c cid.Cid) string
func IsAccountActor ¶
func IsAccountActor(c cid.Cid) bool
func IsBuiltinActor ¶
func IsBuiltinActor(c cid.Cid) bool
func IsExpertActor ¶
func IsExpertActor(c cid.Cid) bool
func IsFlowChannelActor ¶
func IsFlowChannelActor(c cid.Cid) bool
func IsMultisigActor ¶
func IsMultisigActor(c cid.Cid) bool
func IsPaymentChannelActor ¶
func IsPaymentChannelActor(c cid.Cid) bool
func IsStorageMarketActor ¶
func IsStorageMarketActor(c cid.Cid) bool
func IsStorageMinerActor ¶
func IsStorageMinerActor(c cid.Cid) bool
func RegisterActorState ¶
func RegisterActorState(code cid.Cid, loader ActorStateLoader)
Types ¶
type ActorStateLoader ¶
type SectorInfo ¶
type SectorInfo = proof.SectorInfo
TODO: Why does actors have 2 different versions of this?
Click to show internal directories.
Click to hide internal directories.