Crate forest_actor[−][src]
Re-exports
pub use self::util::*; |
pub use ipld_amt; |
pub use ipld_hamt; |
Modules
account | |
cron | |
init | |
market | |
miner | |
multisig | |
network | |
paych | |
power | |
reward | |
singletons | |
system | |
util | |
verifreg |
Macros
actor_error | Convenience macro for generating Actor Errors |
Structs
Enums
ExitCode | ExitCode defines the exit code from the VM execution |
Constants
EPOCHS_IN_DAY | |
EPOCHS_IN_HOUR | |
EPOCHS_IN_YEAR | |
EPOCH_DURATION_SECONDS | Duration of each tipset epoch. |
EXPECTED_LEADERS_PER_EPOCH | The expected number of block producers in each epoch. |
FIRST_NON_SINGLETON_ADDR | Defines first available ID address after builtin actors |
SECONDS_IN_DAY | |
SECONDS_IN_HOUR | |
SECONDS_IN_YEAR | |
SECTOR_QUALITY_PRECISION | Precision used for making QA power calculations |
Functions
check_empty_params | Used when invocation requires parameters to be an empty array of bytes |
consensus_miner_min_power | Returns the minimum storage power required for each seal proof types. |
invoke_code | |
is_account_actor | Returns true if the code belongs to an account actor. |
is_builtin_actor | Returns true if the code |
is_principal | Tests whether a code CID represents an actor that can be an external principal: i.e. an account or multisig. |
is_singleton_actor | Returns true if the code belongs to a singleton actor. |
make_empty_map | Create a hamt with a custom bitwidth. |
make_map_with_root | Create a map with a root cid. |
make_map_with_root_and_bitwidth | Create a map with a root cid. |
parse_uint_key | |
u64_key |
Type Definitions
DealID | Deal identifier used in market and miner actors |
DealWeight | Deal weight |
Map | Map type to be used within actors. The underlying type is a hamt. |
MethodNum | Method number indicator for calling actor methods |
TokenAmount |