github.com/filecoin-project/specs-actors/v4@v4.0.2/actors/builtin/singletons.go (about) 1 package builtin 2 3 import ( 4 addr "github.com/filecoin-project/go-address" 5 ) 6 7 // Addresses for singleton system actors. 8 var ( 9 // Distinguished AccountActor that is the source of system implicit messages. 10 SystemActorAddr = mustMakeAddress(0) 11 InitActorAddr = mustMakeAddress(1) 12 RewardActorAddr = mustMakeAddress(2) 13 CronActorAddr = mustMakeAddress(3) 14 StoragePowerActorAddr = mustMakeAddress(4) 15 StorageMarketActorAddr = mustMakeAddress(5) 16 VerifiedRegistryActorAddr = mustMakeAddress(6) 17 // Distinguished AccountActor that is the destination of all burnt funds. 18 BurntFundsActorAddr = mustMakeAddress(99) 19 ) 20 21 const FirstNonSingletonActorId = 100 22 23 func mustMakeAddress(id uint64) addr.Address { 24 address, err := addr.NewIDAddress(id) 25 if err != nil { 26 panic(err) 27 } 28 return address 29 }