forked from ton-society/the-open-league
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Related to ton-society#328 Add functionality to fetch wallet balance using contract executor and update relevant methods to include wallet balance calculation. * **backends/contracts_executor.py** - Add `get_wallet_balance` method to fetch wallet balance. - Update `execute` method to handle new method type for fetching wallet balance. * **backends/defillama/tvl.py** - Add `get_wallet_balance` method. - Update `_do_calculate` method to include wallet balance calculation for each project. * **backends/defillama/volume.py** - Add `get_wallet_balance` method. - Update `_do_calculate` method to include wallet balance calculation for each project. * **backends/redoubt/apps_v2.py** - Add `get_wallet_balance` method. * **backends/redoubt/apps.py** - Add `get_wallet_balance` method. * **backends/redoubt/tokens.py** - Add `get_wallet_balance` method. * **backends/tonapi.py** - Add `get_wallet_balance` method. * **backends/toncenter_cpp/apps_v2_projects.py** - Add `get_wallet_balance` method. - Update `_do_calculate` method to include wallet balance calculation for each project. * **backends/toncenter_cpp/apps_v2_users.py** - Add `get_wallet_balance` method. * **models/backend.py** - Add `get_wallet_balance` method. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/ton-society/the-open-league/issues/328?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information
Showing
10 changed files
with
49 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters