pub trait HasComponentRoyalties {
    // Required methods
    fn set_royalty<M: ToString>(&self, method: M, amount: RoyaltyAmount);
    fn lock_royalty<M: ToString>(&self, method: M);
    fn claim_component_royalties(&self) -> Bucket;
}

Required Methods§

source

fn set_royalty<M: ToString>(&self, method: M, amount: RoyaltyAmount)

source

fn lock_royalty<M: ToString>(&self, method: M)

source

fn claim_component_royalties(&self) -> Bucket

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O, S> HasComponentRoyalties for Global<O>
where O: HasStub<Stub = S>, S: ObjectStub<AddressType = ComponentAddress>,