interim checkin of changes for audit; bumped version number

This commit is contained in:
Some Random Crypto Guy
2025-01-29 15:39:08 +00:00
parent 2a4d08b67f
commit a7c1ba652b
49 changed files with 1692 additions and 899 deletions
+7 -7
View File
@@ -31,7 +31,7 @@
namespace oracle {
const std::vector<std::string> ASSET_TYPES = {"SAL", "VSD", "BURN"};
const std::vector<std::string> ASSET_TYPES = {"SAL", "SAL1", "BURN"};
class asset_type_counts
{
@@ -40,12 +40,12 @@ namespace oracle {
// Fields
uint64_t SAL;
uint64_t VSD;
uint64_t SAL1;
uint64_t BURN;
asset_type_counts() noexcept
: SAL(0)
, VSD(0)
, SAL1(0)
, BURN(0)
{
}
@@ -54,8 +54,8 @@ namespace oracle {
{
if (asset_type == "SAL") {
return SAL;
} else if (asset_type == "VSD") {
return VSD;
} else if (asset_type == "SAL1") {
return SAL1;
} else if (asset_type == "BURN") {
return BURN;
}
@@ -67,8 +67,8 @@ namespace oracle {
{
if (asset_type == "SAL") {
SAL += val;
} else if (asset_type == "VSD") {
VSD += val;
} else if (asset_type == "SAL1") {
SAL1 += val;
} else if (asset_type == "BURN") {
BURN += val;
}