Struct forest_actor::multisig::Actor[][src]

pub struct Actor;

Multisig Actor

Implementations

impl Actor[src]

pub fn constructor<BS, RT>(
    rt: &mut RT,
    params: ConstructorParams
) -> Result<(), ActorError> where
    BS: BlockStore,
    RT: Runtime<BS>, 
[src]

Constructor for Multisig actor

pub fn propose<BS, RT>(
    rt: &mut RT,
    params: ProposeParams
) -> Result<ProposeReturn, ActorError> where
    BS: BlockStore,
    RT: Runtime<BS>, 
[src]

Multisig actor propose function

pub fn approve<BS, RT>(
    rt: &mut RT,
    params: TxnIDParams
) -> Result<ApproveReturn, ActorError> where
    BS: BlockStore,
    RT: Runtime<BS>, 
[src]

Multisig actor approve function

pub fn cancel<BS, RT>(
    rt: &mut RT,
    params: TxnIDParams
) -> Result<(), ActorError> where
    BS: BlockStore,
    RT: Runtime<BS>, 
[src]

Multisig actor cancel function

pub fn add_signer<BS, RT>(
    rt: &mut RT,
    params: AddSignerParams
) -> Result<(), ActorError> where
    BS: BlockStore,
    RT: Runtime<BS>, 
[src]

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>, 
[src]

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>, 
[src]

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>, 
[src]

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>, 
[src]

Multisig actor function to change number of approvals needed

Trait Implementations

impl ActorCode for Actor[src]

Auto Trait Implementations

impl RefUnwindSafe for Actor

impl Send for Actor

impl Sync for Actor

impl Unpin for Actor

impl UnwindSafe for Actor

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,