mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-19 16:21:45 +03:00
d44457fc32
* bump snarkvm rev * update default gitignore * impl leo execute * bump snarkvm 0.14.5 * modify examples wip * update run.sh examples * impl env file * clippy warning * fix auction example * fix auction example env * generate new private key for new env - tests failing due to env not found err * commit error changes * Fix tests; clippy * Get examples working * leo build checks that build dir is well formed; clippy * Clean up * Update examples/README.md Co-authored-by: d0cd <pranavsaig@gmail.com> Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com> * do not commit .avm files * use snarkvm commands --------- Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com> Co-authored-by: Pranav Gaddamadugu <pranav@aleo.org> Co-authored-by: d0cd <pranavsaig@gmail.com>
26 lines
1.1 KiB
Plaintext
26 lines
1.1 KiB
Plaintext
// The program input for vote/src/main.leo
|
|
[propose]
|
|
info: ProposalInfo = ProposalInfo {
|
|
title: 2077160157502449938194577302446444field,
|
|
content: 1452374294790018907888397545906607852827800436field,
|
|
proposer: aleo1kkk52quhnxgn2nfrcd9jqk7c9x27c23f2wvw7fyzcze56yahvcgszgttu2,
|
|
};
|
|
|
|
[new_ticket]
|
|
pid: field = 2264670486490520844857553240576860973319410481267184439818180411609250173817field;
|
|
voter: address = aleo1mgfq6g40l6zkhsm063n3uhr43qk5e0zsua5aszeq5080dsvlcvxsn0rrau;
|
|
|
|
[agree]
|
|
ticket: Ticket = Ticket {
|
|
owner: aleo1mgfq6g40l6zkhsm063n3uhr43qk5e0zsua5aszeq5080dsvlcvxsn0rrau,
|
|
pid: 2264670486490520844857553240576860973319410481267184439818180411609250173817field,
|
|
_nonce: 1637267040221574073903539416642641433705357302885235345311606754421919550724group
|
|
};
|
|
|
|
[disagree]
|
|
ticket: Ticket = Ticket {
|
|
owner: aleo1mgfq6g40l6zkhsm063n3uhr43qk5e0zsua5aszeq5080dsvlcvxsn0rrau,
|
|
pid: 2264670486490520844857553240576860973319410481267184439818180411609250173817field,
|
|
_nonce: 1637267040221574073903539416642641433705357302885235345311606754421919550724group
|
|
};
|