diff options
Diffstat (limited to 'main/cashu.h')
| -rw-r--r-- | main/cashu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/cashu.h b/main/cashu.h index 4c3d43b..76ad2eb 100644 --- a/main/cashu.h +++ b/main/cashu.h | |||
| @@ -37,6 +37,9 @@ esp_err_t cashu_check_proof_states(const char *mint_url, const cashu_token_t *to | |||
| 37 | uint64_t cashu_calculate_allotment_ms(uint64_t token_amount, uint64_t price_per_step, | 37 | uint64_t cashu_calculate_allotment_ms(uint64_t token_amount, uint64_t price_per_step, |
| 38 | uint64_t step_size_ms); | 38 | uint64_t step_size_ms); |
| 39 | 39 | ||
| 40 | uint64_t cashu_calculate_allotment(uint64_t token_amount, uint64_t price_per_step, | ||
| 41 | const char *metric, uint64_t step_size); | ||
| 42 | |||
| 40 | bool cashu_is_mint_accepted(const char *mint_url); | 43 | bool cashu_is_mint_accepted(const char *mint_url); |
| 41 | 44 | ||
| 42 | #endif | 45 | #endif |