Struct forest_actor::multisig::Actor
source · [−]pub struct Actor;
Expand description
Multisig Actor
Implementations
pub fn constructor<BS, RT>(
rt: &mut RT,
params: ConstructorParams
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
pub fn constructor<BS, RT>(
rt: &mut RT,
params: ConstructorParams
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
Constructor for Multisig actor
pub fn propose<BS, RT>(
rt: &mut RT,
params: ProposeParams
) -> Result<ProposeReturn, ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
pub fn propose<BS, RT>(
rt: &mut RT,
params: ProposeParams
) -> Result<ProposeReturn, ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
Multisig actor propose function
pub fn approve<BS, RT>(
rt: &mut RT,
params: TxnIDParams
) -> Result<ApproveReturn, ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
pub fn approve<BS, RT>(
rt: &mut RT,
params: TxnIDParams
) -> Result<ApproveReturn, ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
Multisig actor approve function
pub fn cancel<BS, RT>(
rt: &mut RT,
params: TxnIDParams
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
pub fn cancel<BS, RT>(
rt: &mut RT,
params: TxnIDParams
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
Multisig actor cancel function
pub fn add_signer<BS, RT>(
rt: &mut RT,
params: AddSignerParams
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
pub fn add_signer<BS, RT>(
rt: &mut RT,
params: AddSignerParams
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
Multisig actor function to add signers to multisig
pub fn remove_signer<BS, RT>(
rt: &mut RT,
params: RemoveSignerParams
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
pub fn remove_signer<BS, RT>(
rt: &mut RT,
params: RemoveSignerParams
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
Multisig actor function to remove signers to multisig
pub fn swap_signer<BS, RT>(
rt: &mut RT,
params: SwapSignerParams
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
pub fn swap_signer<BS, RT>(
rt: &mut RT,
params: SwapSignerParams
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
Multisig actor function to swap signers to multisig
pub fn change_num_approvals_threshold<BS, RT>(
rt: &mut RT,
params: ChangeNumApprovalsThresholdParams
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
pub fn change_num_approvals_threshold<BS, RT>(
rt: &mut RT,
params: ChangeNumApprovalsThresholdParams
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
Multisig actor function to change number of approvals needed
pub fn lock_balance<BS, RT>(
rt: &mut RT,
params: LockBalanceParams
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
pub fn lock_balance<BS, RT>(
rt: &mut RT,
params: LockBalanceParams
) -> Result<(), ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
Multisig actor function to change number of approvals needed
Trait Implementations
fn invoke_method<BS, RT>(
rt: &mut RT,
method: MethodNum,
params: &Serialized
) -> Result<Serialized, ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
fn invoke_method<BS, RT>(
rt: &mut RT,
method: MethodNum,
params: &Serialized
) -> Result<Serialized, ActorError> where
BS: BlockStore,
RT: Runtime<BS>,
Invokes method with runtime on the actor’s code. Method number will match one defined by the Actor, and parameters will be serialized and used in execution Read more