Yuichiro Aoki

Results 20 comments of Yuichiro Aoki

Did you compile your code with the following command?? ``` yarn compile ```

That error message is ambiguous, but it happens when you try to borrow more tokens than the dodo pool has.

That error msg was from uniswap contract, TransferHelper.sol. ref. https://docs.uniswap.org/protocol/reference/error-codes I cannot tell what the cause of this error. Maybe fee wrong or the pool didn't have much liquidity?

Probably because the contract doesn't have a receive or payable function, so the contract cannot receive any native token (MATIC on polygon).

Since the way the bot trade is different from the 1inch does, you may not trade with the prices you'd expect. Also, the prices move too fast. Currently, I don't...

Maybe that's true. I think relying solely on 1inch api to detect price changes is one of the problem. I will fork some blocks where the flashloan failed because of...

That's right. paraswap as well

I thought this error happened when you fail to borrow a loan token from dodo. ```typescript it("should be reverted with `INSUFFICIENT_INPUT_AMOUNT` when the bot set a wrong dodo pool and...

Sure. I opened an issue on that. https://github.com/yuichiroaoki/poly-flash/issues/4

> I made a new try, AWS new VM and new contract, reinstalled everything, Im waiting a new transaction to be done on the new contract... I have set 800...