You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trentmc
changed the title
Check balances of both wallets before submitting prediction
[Pdr bot] Check balances of both wallets before submitting prediction
Mar 1, 2024
* Add and use check_balances function
* Correct vars
* Linter issues
* Formatting and fixes
* Add test_balance_check test
* Add token mock
* Add get_balance function mock
* make sure to use wei
* Linter fix
* Old school formatting
* Formatting
* Fix types
* Formatting
* Fix var names in test_balance_check
* Add properties up_addr and down_addr
* Better variable names and single line log
* native_token -> rose_token
* Add ROSE and OCEAN properties
* Fix attr
* Get tokens from web3 pp
* Formatting
* Add mock properties
* Fix typ
* Fix mocks
* Fix the mocks in test_balance_check test
* Remove unused funcs from mock
* Mock tokens in main pred test
* Fix mock
* Fix mock setup
* Fix mocks
Check OCEAN and ROSEa balances of both wallets before submitting prediction. Do not submit if insufficient balance.
The text was updated successfully, but these errors were encountered: