leo/examples/token
Collin Chin d83c4be330
Implement Mapping::get_or_use (#2413)
* get_or_init -> get_or_use

* use mapping get_or_use in examples

* fix codegen for Mapping::get_or_use

* fix tests for Mapping::get_or_use

* fix warnings, update snarvm rev

* bump circle rust img v1.70

* fix codegen

* update snarkvm rev and regen tests

* Update compiler/parser/src/parser/expression.rs

Co-authored-by: d0cd <pranavsaig@gmail.com>
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>

* Delete program.json

Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>

* Delete program.json

Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>

---------

Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
Co-authored-by: d0cd <pranavsaig@gmail.com>
2023-06-13 12:09:33 -07:00
..
inputs [Update] snarkvm 0.11.0 (#2377) 2023-05-10 21:32:37 -07:00
src Implement Mapping::get_or_use (#2413) 2023-06-13 12:09:33 -07:00
.gitignore Update token example 2022-09-06 12:14:36 -07:00
program.json Update token example 2022-09-06 12:14:36 -07:00
README.md unify leo examples with workshop, run all examples in circleci 2022-09-21 15:59:33 -07:00

workshop/token

A transparent & shielded custom token in Leo.

How to Build

To compile this Leo program, run:

leo build