Trait fil_actors_shared::ext::TokenStateExt
source · pub trait TokenStateExt {
// Required method
fn get_balance_opt<BS: Blockstore>(
&self,
bs: &BS,
owner: ActorID,
) -> Result<Option<TokenAmount>, StateError>;
}
Expand description
Lotus compatibility layer.
Required Methods§
fn get_balance_opt<BS: Blockstore>( &self, bs: &BS, owner: ActorID, ) -> Result<Option<TokenAmount>, StateError>
Object Safety§
This trait is not object safe.