Skip to content

Commit

Permalink
feat: add icx burned series #44
Browse files Browse the repository at this point in the history
  • Loading branch information
robcxyz committed Jun 25, 2024
1 parent e7d9cbe commit c2ec78b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions balanced_backend/cron/method_addresses.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ def update_contract_methods():
else:
logger.info("Failed to get stability_accepted_tokens...")

# https://github.com/balancednetwork/balanced-backend/issues/45
contract_methods.append(
{
"contract_name": f"bnusd_balance_of_balanced_savings",
Expand All @@ -172,3 +173,21 @@ def update_contract_methods():
"init_chart_block": 77723450,
}
)

# https://github.com/balancednetwork/balanced-backend/issues/44
contract_methods.append(
{
"contract_name": f"balanced_icon_burner_icx_burned",
"params": {
"to": "cxdc30a0d3a1f131565c071272a20bc0b06fd4c17b",
"dataType": "call",
"data": {
"method": "getBurnedAmount",
},
},
"decimals": 18,
# First Tx
# https://tracker.icon.community/transaction/0x58098a0dbbdf1d25b8d4fdb41bf8662324dfa312c6967010c493731f8abdf79a
"init_chart_block": 77246123,
}
)

0 comments on commit c2ec78b

Please sign in to comment.