mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-28 12:45:26 +03:00
21 lines
358 B
Plaintext
21 lines
358 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_files: inputs/add.in
|
|
*/
|
|
|
|
program test.aleo {
|
|
record Token {
|
|
// The token owner.
|
|
owner: address,
|
|
// The Aleo balance (in gates).
|
|
gates: u64,
|
|
// The token amount.
|
|
amount: u64,
|
|
}
|
|
|
|
transition main(a: u8, b:u8) -> u8 {
|
|
return a + b;
|
|
}
|
|
}
|