Documentation ¶
Index ¶
- Constants
- Variables
- func ActorNameByCode(c cid.Cid) string
- func IsAccountActor(c cid.Cid) bool
- func IsBuiltinActor(c cid.Cid) bool
- func IsEthAccountActor(c cid.Cid) bool
- func IsEvmActor(c cid.Cid) bool
- func IsMultisigActor(c cid.Cid) bool
- func IsPaymentChannelActor(c cid.Cid) bool
- func IsPlaceholderActor(c cid.Cid) bool
- func IsStorageMinerActor(c cid.Cid) bool
- func QAPowerForWeight(size abi.SectorSize, duration abi.ChainEpoch, ...) abi.StoragePower
- type ExtendedSectorInfo
- type FilterEstimate
- type PoStProof
- type RegistryEntry
- 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 BurntFundsActorAddr = builtin.BurntFundsActorAddr
View Source
var CronActorAddr = builtin.CronActorAddr
View Source
var EthereumAddressManagerActorAddr = builtin.EthereumAddressManagerActorAddr
View Source
var (
ExpectedLeadersPerEpoch = builtin.ExpectedLeadersPerEpoch
)
View Source
var ReserveAddress = makeAddress("t090")
View Source
var RootVerifierAddress = makeAddress("t080")
View Source
var SaftAddress = makeAddress("t0122")
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 IsEthAccountActor ¶ added in v1.10.0
func IsEthAccountActor(c cid.Cid) bool
func IsEvmActor ¶ added in v1.10.0
func IsEvmActor(c cid.Cid) bool
func IsMultisigActor ¶
func IsMultisigActor(c cid.Cid) bool
func IsPaymentChannelActor ¶
func IsPaymentChannelActor(c cid.Cid) bool
func IsPlaceholderActor ¶ added in v1.10.0
func IsPlaceholderActor(c cid.Cid) bool
func IsStorageMinerActor ¶
func IsStorageMinerActor(c cid.Cid) bool
func QAPowerForWeight ¶
func QAPowerForWeight(size abi.SectorSize, duration abi.ChainEpoch, dealWeight, verifiedWeight abi.DealWeight) abi.StoragePower
Types ¶
type ExtendedSectorInfo ¶
type ExtendedSectorInfo = proof.ExtendedSectorInfo
type FilterEstimate ¶
type FilterEstimate = smoothingtypes.FilterEstimate
type RegistryEntry ¶ added in v1.8.0
type RegistryEntry struct {
// contains filtered or unexported fields
}
func MakeRegistry ¶ added in v1.8.0
func MakeRegistry(av actorstypes.Version) []RegistryEntry
func MakeRegistryLegacy ¶ added in v1.8.0
func MakeRegistryLegacy(actors []rtt.VMActor) []RegistryEntry
func (RegistryEntry) Code ¶ added in v1.8.0
func (r RegistryEntry) Code() cid.Cid
func (RegistryEntry) Exports ¶ added in v1.8.0
func (r RegistryEntry) Exports() map[abi.MethodNum]builtin.MethodMeta
func (RegistryEntry) State ¶ added in v1.8.0
func (r RegistryEntry) State() cbor.Er
type SectorInfo ¶
type SectorInfo = proof.SectorInfo
These are all just type aliases across actor versions. In the future, that might change and we might need to do something fancier.
Click to show internal directories.
Click to hide internal directories.