mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-03 05:43:08 +00:00
serialiaze PublicSCContext
This commit is contained in:
parent
d6b6d92122
commit
6447545ec4
@ -1,9 +1,11 @@
|
||||
use std::collections::BTreeMap;
|
||||
|
||||
use accounts::account_core::{AccountAddress, AccountPublicMask};
|
||||
use serde::{Serialize};
|
||||
use storage::merkle_tree_public::TreeHashType;
|
||||
|
||||
///Strucutre, representing context, given to a smart contract on a call
|
||||
#[derive(Serialize)]
|
||||
pub struct PublicSCContext {
|
||||
pub caller_address: AccountAddress,
|
||||
pub caller_balance: u64,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user