mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-27 20:24:52 +03:00
8 lines
291 B
Plaintext
8 lines
291 B
Plaintext
// The program input for message/src/main.leo
|
|
// To pass "m" into the "main" function we
|
|
// 1. Define the "Message" type.
|
|
// 2. Use brackets `{ }` to enclose the circuit members.
|
|
// 3. Define each circuit member `name : value`.
|
|
[main]
|
|
m: Message = Message { first: 2field, second: 3field };
|