-
Shaopeng Wang authored
* Rename oracle rpc fn name. * Update to new set_lock api. * Fix due to pallet_balances breaking changes. * Remove unused imports. * fmt
Shaopeng Wang authored* Rename oracle rpc fn name. * Update to new set_lock api. * Fix due to pallet_balances breaking changes. * Remove unused imports. * fmt
lib.rs 259 B
//! Runtime API definition for oracle module.
#![cfg_attr(not(feature = "std"), no_std)]
use codec::Codec;
sp_api::decl_runtime_apis! {
pub trait OracleApi<Key, Value> where
Key: Codec,
Value: Codec,
{
fn get_value(key: Key) -> Option<Value>;
}
}