mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-22 09:41:37 +03:00
19 lines
346 B
Plaintext
19 lines
346 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Fail
|
|
*/
|
|
|
|
record Token {
|
|
// The token owner.
|
|
owner: address,
|
|
// The token owner.
|
|
owner: address, // Cannot define two record variables with the same name.
|
|
// The Aleo balance (in gates).
|
|
gates: u64,
|
|
// The token amount.
|
|
amount: u64,
|
|
}
|
|
|
|
function main() -> bool {
|
|
return true;
|
|
} |