leo/examples/message/inputs/message.in

8 lines
291 B
Plaintext
Raw Normal View History

// The program input for message/src/main.leo
2022-07-16 01:08:22 +03:00
// 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]
2022-07-16 01:08:22 +03:00
m: Message = Message { first: 2field, second: 3field };