0g-chain/x/incentive/keeper/adapters/swap
Derrick Lee f52a581ea9
Add GetSynchronizedClaim and swap adapter (#1386)
* Add source adapters to keeper, implement GetSynchronizedClaim

* Iterate acc shares sorted

* Add swap adapter, update tests to use swap claimtype

* Add swap adapter test

* Add tests for non-empty pools

* Iterate over source ids instead of sorted keys
2022-11-14 17:55:10 -08:00
..
adapter_test.go Add GetSynchronizedClaim and swap adapter (#1386) 2022-11-14 17:55:10 -08:00
adapter.go Add GetSynchronizedClaim and swap adapter (#1386) 2022-11-14 17:55:10 -08:00