mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-21 08:31:33 +03:00
24 lines
584 B
Plaintext
24 lines
584 B
Plaintext
|
[[public]]
|
||
|
|
||
|
[state]
|
||
|
leaf_index: u32 = 0;
|
||
|
root: u8[32] = [0u8; 32];
|
||
|
|
||
|
[[private]]
|
||
|
|
||
|
[record]
|
||
|
serial_number: u8[32] = [0u8; 32];
|
||
|
commitment: u8[32] = [0u8; 32];
|
||
|
owner: address = aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j8;
|
||
|
value: u64 = 5;
|
||
|
payload: u8[32] = [0u8; 32];
|
||
|
birth_program_id: u8[32] = [0u8; 32];
|
||
|
death_program_id: u8[32] = [0u8; 32];
|
||
|
serial_number_nonce: u8[32] = [0u8; 32];
|
||
|
commitment_randomness: u8[32] = [0u8; 32];
|
||
|
|
||
|
[state_leaf]
|
||
|
path: u8[32][2] = [ [0u8; 32], [0u8; 32] ];
|
||
|
memo: u8[32] = [0u8; 32];
|
||
|
network_id: u8 = 0;
|
||
|
leaf_randomness: u8[32] = [0u8; 32];
|