fil_actor_account_v11/
lib.rs

1// Copyright 2019-2022 ChainSafe Systems
2// SPDX-License-Identifier: Apache-2.0, MIT
3
4use fvm_shared3::METHOD_CONSTRUCTOR;
5use num_derive::FromPrimitive;
6
7pub use self::state::State;
8pub use types::*;
9
10mod state;
11mod types;
12
13/// Account actor methods available
14#[derive(FromPrimitive)]
15#[repr(u64)]
16pub enum Method {
17    Constructor = METHOD_CONSTRUCTOR,
18    PubkeyAddress = 2,
19    // Deprecated in v10
20    // AuthenticateMessage = 3,
21    AuthenticateMessageExported = frc42_dispatch::method_hash!("AuthenticateMessage"),
22}