Implement balance (#20)

This commit is contained in:
Cyrill Leutwiler
2024-06-03 12:21:49 +02:00
committed by GitHub
parent 1ba806be1f
commit 5ff17da695
6 changed files with 103 additions and 4 deletions
@@ -15,6 +15,8 @@ pub mod exports {
pub mod imports {
pub static ADDRESS: &str = "address";
pub static BALANCE: &str = "balance";
pub static BLOCK_NUMBER: &str = "block_number";
pub static CALL: &str = "seal_call";
@@ -45,8 +47,9 @@ pub mod imports {
/// All imported runtime API symbols.
/// Useful for configuring common attributes and linkage.
pub static IMPORTS: [&str; 15] = [
pub static IMPORTS: [&str; 16] = [
ADDRESS,
BALANCE,
BLOCK_NUMBER,
CALL,
CALLER,