near_self_update

Trait UpdateApiIntegration

source
pub trait UpdateApiIntegration: HasContract {
    // Provided methods
    fn update_contract(
        &self,
        code: Vec<u8>,
        callback: Option<String>,
    ) -> ContractCall<()> { ... }
    fn contract_version(&self) -> ContractCall<String> { ... }
}

Provided Methods§

Implementors§