Macket
Macket
I'm getting this error: **Unhandled Rejection (Error): call revert exception (method="aggregate((address,bytes)[])", errorSignature=null, errorArgs=[null], reason=null, code=CALL_EXCEPTION, version=abi/5.1.0)** 
Code: ``` import { Provider } from 'ethers-multicall'; import { ethers } from 'ethers'; (async function() { const provider = new ethers.providers.JsonRpcProvider('http://localhost:8545/'); const ethcallProvider = new Provider(provider); await ethcallProvider.init(); const...
I'm getting this error: **Unhandled Rejection (Error): call revert exception (method="aggregate((address,bytes)[])", errorSignature=null, errorArgs=[null], reason=null, code=CALL_EXCEPTION, version=abi/5.1.0)** 
``` wxFeeCalculator.calculatePercentDiscountedBuyingFee( "DG2xFkPdDwKUoBkzGAhQtLpSGzfXLiCYPEzeKH2Ad24p", 1.1048, 2000000000, ) ``` This code returns 11928292 which is 0.01 Waves equivalent. Must be about 88103604.
``` def tradableBalance(self, assetPair): try: req = self.pywaves.wrapper('/matcher/orderbook/%s/%s/tradableBalance/%s' % (pywaves.DEFAULT_CURRENCY if assetPair.asset1.assetId == '' else assetPair.asset1.assetId, pywaves.DEFAULT_CURRENCY if assetPair.asset2.assetId == '' else assetPair.asset2.assetId, self.address), host=self.pywaves.MATCHER) if self.pywaves.OFFLINE: return req amountBalance...
To make it working now I do the following: ``` const { parseUnits } = require("@ethersproject/units"); ... const result = await erc20Token.withdrawStart(50, {maxPriorityFeePerGas: parseUnits("30", "gwei").toString()}); ```
Examples of soft and hard liquidation through Curve cryptopool
- Fork test wiring new MintController and AMM implementations to MintFactory to ensure we can do that in prod smoothly - Small fix and refactor for LP price_oracles fork test