Open gregdhill opened 2 years ago
Note that on Issue and Redeem, the lib implements extra lib-only functionality (namely, support for batching). I don't think we had any plans for implementing batching in the parachain directly, so these would not be replaceable by RPCs.
Instead of re-implementing (and testing) complex parachain logic, we should switch to using RPCs.
balanceAt
+totalSupply
request
(find vaults for amount)request
(find vaults for amount)computeReward
+getBlockRewardAPY
,getPremiumRedeemVaults
See: https://github.com/interlay/interbtc/issues/695