Example #1
0
 public ulong GetBalance(string address)
 {
     return(PersistentState.GetUInt64($"Balance:{address}"));
 }
Example #2
0
 public ulong BalanceOf(Address owner)
 {
     return(PersistentState.GetUInt64($"Balance:{owner}"));
 }
Example #3
0
 public ulong GetEventEscrow(string eventUniqueId)
 {
     return(PersistentState.GetUInt64($"EventEscrow:{eventUniqueId}"));
 }