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