mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-15 15:52:13 +11:00
27 lines
No EOL
327 B
Text
27 lines
No EOL
327 B
Text
package bank_dom
|
|
|
|
struct Transaction
|
|
{
|
|
string counterparty = "";
|
|
bool receiving = false;
|
|
uint32 amount = 0;
|
|
timestamp time;
|
|
}
|
|
|
|
struct Logs
|
|
{
|
|
Transaction[] data;
|
|
}
|
|
|
|
struct User
|
|
{
|
|
uint32 balance = 0;
|
|
uint64 password = 0;
|
|
Logs? logs = null;
|
|
}
|
|
|
|
struct Global
|
|
{
|
|
string[] keys;
|
|
User[] users;
|
|
} |