HydraDX-node
HydraDX-node copied to clipboard
HydraDX node - cross-chain liquidity protocol built on Substrate
currently, we have a function which updates LRNA based on the value calculated. it receives a parameter which tells whether it should burn some or mint some. however, all liquidity...
Usable balance of an account should be the free balance minus the frozen/locked balance. ### Description https://github.com/galacticcouncil/HydraDX-node/blob/20c8ac6079b8b3d6f16a9f15e9e43353ea6b9abc/pallets/omnipool/src/lib.rs#L1048 The quoted code above does not implement the correct logic of checking usable...
- [x] Add missing spot price providers for all AMMs - [x] Add functionality to get spot price for given route
Fixes #771
## Description Assets bridged from other consensus systems using the new Bridge Hub system parachain are held in reserve in Asset Hub. Asset Hub contains a second instance of the...
This PR also adds `existential_deposit` method to `Inspect` trait.
We want to apply 10% discount on native asset fees. ## Description ## Related Issue ## Motivation and Context ## How Has This Been Tested? ## Checklist: - [ ]...
In the current implementation, we are checking only the incoming transaction flow to our chain, this can open up a possibility to do a loop attack where attacker transfers funds...
Added a few more integration tests to cover edge cases as we figured out a way to cover them meaningfully. ## Description ## Related Issue ## Motivation and Context ##...