This repository was archived by the owner on Apr 14, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FEE_CONSTANTS_URL = "https://raw.githubusercontent.com/BalancerMaxis/multisig-ops/f7e0425b59e474b01d2ede125053238460792630/config/protocol_fees_constants.json"
2- CORE_POOLS_URL = "https://raw.githubusercontent.com/BalancerMaxis/bal_addresses/main/outputs/core_pools.json"
32REROUTE_CONFIG_URL = "https://raw.githubusercontent.com/BalancerMaxis/multisig-ops/main/config/core_pools_rerouting.json"
43POOL_OVERRIDES_URL = "https://raw.githubusercontent.com/BalancerMaxis/multisig-ops/main/config/pool_incentives_overrides.json"
54SNAPSHOT_URL = "https://hub.snapshot.org/graphql?"
Original file line number Diff line number Diff line change @@ -43,10 +43,18 @@ def get_report(start_date, end_date):
4343 yesterday = today - timedelta (days = 1 )
4444 epoch_start = today - timedelta (days = 14 )
4545
46- report = get_report (yesterday .strftime ("%Y-%m-%d" ), today .strftime ("%Y-%m-%d" ))
46+ v2_report = get_report (yesterday .strftime ("%Y-%m-%d" ), today .strftime ("%Y-%m-%d" ))
47+
4748 with open (
4849 f"fee_allocator/fees_collected/v2_fees_{ epoch_start .strftime ('%Y-%m-%d' )} _{ today .strftime ('%Y-%m-%d' )} .json" ,
4950 "w" ,
5051 ) as f :
51- json .dump (report , f , indent = 2 )
52+ json .dump (v2_report , f , indent = 2 )
53+
54+ with open (
55+ f"fee_allocator/fees_collected/v3_fees_{ epoch_start .strftime ('%Y-%m-%d' )} _{ today .strftime ('%Y-%m-%d' )} .json" ,
56+ "w" ,
57+ ) as f :
58+ empty_v3_fees = {chain : 0 for chain in v2_report .keys ()}
59+ json .dump (empty_v3_fees , f , indent = 2 )
5260
You can’t perform that action at this time.
0 commit comments