1
1
mirror of https://github.com/ProvableHQ/leo.git synced 2025-01-01 14:42:10 +03:00
leo/tests/compiler/records/declaration.leo
2022-07-07 16:15:11 -07:00

17 lines
244 B
Plaintext

/*
namespace: Compile
expectation: Pass
*/
record Token {
// The token owner.
owner: address,
// The Aleo balance (in gates).
gates: u64,
// The token amount.
amount: u64,
}
function main() -> bool {
return true;
}