Coverage Report

Created: 2022-11-10 19:56

/home/runner/work/creditcoin/creditcoin/pallets/creditcoin/runtime-api/src/lib.rs
Line
Count
Source
1
1
#![cfg_attr(not(feature = "std"), no_std)]#![cfg_attr(not(feature = "std"), no_std)]
2
3
use codec::Codec;
4
extern crate alloc;
5
use alloc::vec::Vec;
6
7
4
sp_api::decl_runtime_apis! {
8
4
  pub trait TaskApi<AccountId: Codec> {
9
4
    fn offchain_nonce_key(acc: &AccountId) -> Vec<u8>;
10
4
  }
11
4
}2