Trait runtime::SudoPallet

source ·
pub trait SudoPallet {
    // Required methods
    fn sudo<'life0, 'async_trait>(
        &'life0 self,
        call: EncodedCall
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn set_storage<'life0, 'life1, 'life2, 'async_trait, V>(
        &'life0 self,
        module: &'life1 str,
        key: &'life2 str,
        value: V
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where V: 'async_trait + Encode + Send + Sync,
             Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn set_redeem_period<'life0, 'async_trait>(
        &'life0 self,
        period: BlockNumber
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn set_parachain_confirmations<'life0, 'async_trait>(
        &'life0 self,
        value: BlockNumber
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn set_bitcoin_confirmations<'life0, 'async_trait>(
        &'life0 self,
        value: u32
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn disable_difficulty_check<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn set_issue_period<'life0, 'async_trait>(
        &'life0 self,
        period: u32
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn insert_authorized_oracle<'life0, 'async_trait>(
        &'life0 self,
        account_id: AccountId,
        name: String
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn set_replace_period<'life0, 'async_trait>(
        &'life0 self,
        period: u32
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn set_balances<'life0, 'async_trait>(
        &'life0 self,
        amounts: Vec<(AccountId, u128, u128, CurrencyId)>
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn sudo<'life0, 'async_trait>( &'life0 self, call: EncodedCall ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn set_storage<'life0, 'life1, 'life2, 'async_trait, V>( &'life0 self, module: &'life1 str, key: &'life2 str, value: V ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where V: 'async_trait + Encode + Send + Sync, Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source

fn set_redeem_period<'life0, 'async_trait>( &'life0 self, period: BlockNumber ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn set_parachain_confirmations<'life0, 'async_trait>( &'life0 self, value: BlockNumber ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn set_bitcoin_confirmations<'life0, 'async_trait>( &'life0 self, value: u32 ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn disable_difficulty_check<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn set_issue_period<'life0, 'async_trait>( &'life0 self, period: u32 ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn insert_authorized_oracle<'life0, 'async_trait>( &'life0 self, account_id: AccountId, name: String ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn set_replace_period<'life0, 'async_trait>( &'life0 self, period: u32 ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn set_balances<'life0, 'async_trait>( &'life0 self, amounts: Vec<(AccountId, u128, u128, CurrencyId)> ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§