leo/examples/interest
2024-06-25 13:40:33 -07:00
..
build [Feature] Implement leo execute (#2491) 2023-07-19 18:04:09 -07:00
inputs WIP removing input files from examples 2024-01-15 15:45:07 -08:00
src Rename console.assert* to assert*. (#2205) 2022-12-06 21:56:48 -08:00
.env change endpoint for local examples 2024-06-25 13:40:33 -07:00
.gitignore [Feature] Implement leo execute (#2491) 2023-07-19 18:04:09 -07:00
leo.lock make example compatible w/ stubs 2023-12-11 13:19:42 -08:00
program.json [Feature] Implement leo execute (#2491) 2023-07-19 18:04:09 -07:00
README.md Update examples and CI 2024-01-15 15:45:08 -08:00

Calculating Interest

This program provides utilities for calculating interest over a fixed or bounded number of iterations.

Running the Program

To run this program, run:

leo run <function-name> <inputs>

where <function_name> is one of the following:

  • fixed_iteration_interest
  • bounded_iteration_interest

Be sure to update inputs/interest.in with the desired inputs.

Executing the Program

To execute this program, run:

leo execute <function_name> <inputs>

where <function_name> is one of the following:

  • fixed_iteration_interest
  • bounded_iteration_interest

Be sure to update inputs/interest.in with the desired inputs.