mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-22 09:41:37 +03:00
19 lines
290 B
Plaintext
19 lines
290 B
Plaintext
/*
|
|
namespace: Compile
|
|
expectation: Pass
|
|
input_files: inputs/add.in
|
|
*/
|
|
|
|
record Token {
|
|
// The token owner.
|
|
owner: address,
|
|
// The Aleo balance (in gates).
|
|
gates: u64,
|
|
// The token amount.
|
|
amount: u64,
|
|
}
|
|
|
|
@program
|
|
function main(a: u8, b:u8) -> u8 {
|
|
return a + b;
|
|
} |