Rename palette -> frame (#41)

This commit is contained in:
Andrew Jones
2019-11-22 18:35:36 +00:00
committed by GitHub
parent 0b39bbbc30
commit 55e067a294
10 changed files with 27 additions and 27 deletions
+20
View File
@@ -0,0 +1,20 @@
//! Implements support for built-in runtime modules.
use parity_scale_codec::Encode;
pub mod balances;
pub mod contracts;
pub mod system;
/// Creates module calls
pub struct Call<T: Encode> {
pub module: &'static str,
pub function: &'static str,
pub args: T,
}
impl<T: Encode> Call<T> {
pub fn new(module: &'static str, function: &'static str, args: T) -> Self {
Call { module, function, args }
}
}