Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
balance_tracker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
balance_tracker
Merge requests
!23
Draft: 4.(balance_tracker) Addicional reward tracking, more optimalization of processing functions
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Draft: 4.(balance_tracker) Addicional reward tracking, more optimalization of processing functions
mzander/extended-rewards
into
develop
Overview
0
Commits
5
Pipelines
0
Changes
5
Closed
Michal Zander
requested to merge
mzander/extended-rewards
into
develop
1 year ago
Overview
0
Commits
5
Pipelines
0
Changes
4
Expand
0
0
Merge request reports
Compare
version 2
version 5
8b1dfcbf
1 year ago
version 4
1c2ffeda
1 year ago
version 3
2b2d2470
1 year ago
version 2
4d0bfe84
1 year ago
version 1
522a95fa
1 year ago
develop (base)
and
version 3
latest version
1d19abed
5 commits,
1 year ago
version 5
8b1dfcbf
4 commits,
1 year ago
version 4
1c2ffeda
3 commits,
1 year ago
version 3
2b2d2470
3 commits,
1 year ago
version 2
4d0bfe84
5 commits,
1 year ago
version 1
522a95fa
4 commits,
1 year ago
Show latest version
4 files
+
109
−
114
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
db/btracker_app.sql
+
3
−
3
Options
@@ -287,9 +287,9 @@ FOR ___balance_change IN
ov
.
block_num
as
source_op_block
,
ov
.
op_type_id
as
op_type
FROM
hive
.
btracker_app_operations_view
ov
WHERE
(
ov
.
op_type_id
IN
(
40
,
41
,
62
,
32
,
33
,
34
,
59
,
39
,
4
,
20
,
56
,
60
,
53
)
or
WHERE
(
ov
.
op_type_id
IN
(
40
,
41
,
62
,
32
,
33
,
34
,
59
,
39
,
4
,
20
,
56
,
60
,
52
,
53
)
or
(
ov
.
op_type_id
=
55
and
((
ov
.
body
::
jsonb
)
->
'value'
->>
'is_saved_into_hbd_balance'
)::
BOOLEAN
=
false
)
or
(
ov
.
op_type_id
IN
(
51
,
52
,
63
)
and
((
ov
.
body
::
jsonb
)
->
'value'
->>
'payout_must_be_claimed'
)::
BOOLEAN
=
true
))
(
ov
.
op_type_id
IN
(
51
,
63
)
and
((
ov
.
body
::
jsonb
)
->
'value'
->>
'payout_must_be_claimed'
)::
BOOLEAN
=
true
))
AND
ov
.
block_num
BETWEEN
_from
AND
_to
--delegations (40,41,62)
@@ -350,7 +350,7 @@ CASE ___balance_change.op_type
PERFORM
btracker_app
.
process_fill_vesting_withdraw_operation
(
___balance_change
.
body
);
WHEN
53
THEN
PERFORM
btracker_app
.
process_comment_reward_operation
(
___balance_change
.
body
,
___balance_change
.
source_op
,
___balance_change
.
source_op_block
);
PERFORM
btracker_app
.
process_comment_reward_operation
(
___balance_change
.
body
);
WHEN
60
THEN
CASE
((
___balance_change
.
body
::
jsonb
)
->
'value'
->>
'hardfork_id'
)::
INT
Loading