2026-05-20 - Currency Project: Difference between revisions
Jump to navigation
Jump to search
Created page with "Development - Izara Currency old: Development - Service - Currencies = Overview = * Shared project where users can create currency tables used in Izara Market, Izara Supply, Izara Accounting etc * A table is a list of conversions from one currency to another * Currencies are not limited to standards, anyone can create any currency, so external projects must allow fo..." |
No edit summary |
||
| Line 1: | Line 1: | ||
[[Development - Izara Currency]] | [[Development - Izara Currency]] | ||
old: | old: | ||
[[Development - Service - Currencies]] | [[Development - Service - Currencies]] | ||
= Overview = | = Overview = | ||
| Line 15: | Line 18: | ||
* Can dig data from multiple tables | * Can dig data from multiple tables | ||
* Can perform functions on values to return single value | * Can perform functions on values to return single value | ||
* Calcs are a handler service same as currencyTableStandard so requests get sent to currencyTable and Manager chooses if handled by tableStandard or calc | |||
* Can request directly from currencyTable or currencyCalc | * Can request directly from currencyTable or currencyCalc | ||
Revision as of 00:49, 20 May 2026
old:
Development - Service - Currencies
Overview
- Shared project where users can create currency tables used in Izara Market, Izara Supply, Izara Accounting etc
- A table is a list of conversions from one currency to another
- Currencies are not limited to standards, anyone can create any currency, so external projects must allow for table returning not found result
- Each currency table has RBAC
Currency Calcs
- Currency functions allow an extra layer on top of currency tables to calculate rate
- Can dig data from multiple tables
- Can perform functions on values to return single value
- Calcs are a handler service same as currencyTableStandard so requests get sent to currencyTable and Manager chooses if handled by tableStandard or calc
- Can request directly from currencyTable or currencyCalc
Oracles
- Digging currency rates from outside sources, eg central banks for accounting purposes
- Try using shared currencyTable structure, but have hardcoded per oracle flows that update it
Historical rates
- Changes need to be recorded in graph so can extract historical rates
- This might be required for eg accounting transactions that require a rate on a specific timestamp
notes
- maintaining historical rates may use large resources for eg oracles that update regularly
- perhaps build resourceUse for data/logic costs per currencyTable
- also have setting whether historical rates are stored per currencyTable