Draft: 4.(balance_tracker) Addicional reward tracking, more optimalization of processing functions
Compare changes
Files
4+ 35
− 22
@@ -29,7 +28,7 @@ VALUES
@@ -40,7 +39,7 @@ CREATE TABLE IF NOT EXISTS btracker_app.current_account_balances
@@ -51,8 +50,8 @@ CREATE TABLE IF NOT EXISTS btracker_app.current_account_rewards
@@ -62,17 +61,16 @@ CREATE TABLE IF NOT EXISTS btracker_app.current_accounts_delegations
@@ -81,18 +79,18 @@ CREATE TABLE IF NOT EXISTS btracker_app.current_account_withdraws
@@ -104,7 +102,7 @@ CREATE TABLE IF NOT EXISTS btracker_app.current_account_savings
@@ -112,10 +110,18 @@ CREATE TABLE IF NOT EXISTS btracker_app.transfer_saving_id
@@ -219,7 +225,7 @@ FOR __balance_change IN
@@ -230,6 +236,7 @@ FOR __balance_change IN
@@ -268,19 +275,21 @@ END LOOP;
@@ -340,8 +349,11 @@ CASE ___balance_change.op_type
@@ -524,4 +536,5 @@ END
\ No newline at end of file