Giter Club home page Giter Club logo

Comments (11)

olegmitrakhovich avatar olegmitrakhovich commented on August 30, 2024

New block received. Block # 10769902
Kyber -> Uniswap. Dai input / output: 20000 / 20226.65515378271518166
Uniswap -> Kyber. Dai input / output: 20000 / 19864.450886301560153009
<------------------Using Gas Price:----------------------->
<BN: 4614ff8200>
Arb opportunity found Kyber -> Uniswap!
Expected profit: 55.41484450071518166 Dai
New block received. Block # 10769903
Kyber -> Uniswap. Dai input / output: 20000 / 20002.773397261110680253
Uniswap -> Kyber. Dai input / output: 20000 / 19864.36329089209059149
<------------------Using Gas Price:----------------------->
<BN: 4614ff8200>
Kyber -> Uniswap. Dai input / output: 20000 / 20002.773397261110680253
Uniswap -> Kyber. Dai input / output: 20000 / 19864.36329089209059149
<------------------Using Gas Price:----------------------->
<BN: 4614ff8200>
New block received. Block # 10769904
New block received. Block # 10769905
New block received. Block # 10769906
(node:30758) UnhandledPromiseRejectionWarning: Error: Transaction has been reverted by the EVM:
{
"blockHash": "0x5ab8fd72d3c70c8592a81de9b42b6c1056f72393b8119b95d6e7f5cbe5e28ee4",
"blockNumber": 10769905,
"contractAddress": null,
"cumulativeGasUsed": 7898434,
"from": "0x91df1a2da70f5a9085773ea483aa46f7c13a728f",
"gasUsed": 1217128,
"logs": [],
"logsBloom": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000$
"status": false,
"to": "0x92e52890cfa407d9713a6cfcd7fb6f8d50b99fb2",
"transactionHash": "0x92fd033de7fd2807f594a812cb96746c05b62732331e208e67cf2bae8cb0d990",
"transactionIndex": 74
}
at Object.TransactionError (/root/Defi-Arb-Bot/node_modules/web3-core-helpers/src/errors.js:96:21)
at Object.TransactionRevertedWithoutReasonError (/root/Defi-Arb-Bot/node_modules/web3-core-helpers/src/errors.js:108:21)
at /root/Defi-Arb-Bot/node_modules/web3-core-method/src/index.js:482:48
at
at process._tickCallback (internal/process/next_tick.js:188:7)
(node:30758) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or $
Kyber -> Uniswap. Dai input / output: 20000 / 19943.426926241242587365

from defi-arb-bot.

olegmitrakhovich avatar olegmitrakhovich commented on August 30, 2024

https://bloxy.info/tx/0x92fd033de7fd2807f594a812cb96746c05b62732331e208e67cf2bae8cb0d990

from defi-arb-bot.

olegmitrakhovich avatar olegmitrakhovich commented on August 30, 2024

transaction

from defi-arb-bot.

cnspot avatar cnspot commented on August 30, 2024

it mean uniswap sell price<buy price ,so money be come lesser?

from defi-arb-bot.

olegmitrakhovich avatar olegmitrakhovich commented on August 30, 2024

the prices that I am getting are just wrong and there was no ARB in actuality. @cnspot

from defi-arb-bot.

cnspot avatar cnspot commented on August 30, 2024

this bug had fixed now?
the bug of geting wrong prices

from defi-arb-bot.

StrawberryFlavor avatar StrawberryFlavor commented on August 30, 2024

Maybe it would be better not to use dydx loan, just arbitrage on uniswap, the trading pair can be as follows: WETH--> token, token --> DAI, DAI-WETH, this is just an example. This can avoid the extra transaction cost of loan and only use the existing balance

from defi-arb-bot.

olegmitrakhovich avatar olegmitrakhovich commented on August 30, 2024

hmmm good idea...pull request? @StrawberryFlavor

from defi-arb-bot.

krishanb4 avatar krishanb4 commented on August 30, 2024

I think in your wallet must have dydx interest pay amount before getting loan

from defi-arb-bot.

olegmitrakhovich avatar olegmitrakhovich commented on August 30, 2024

sorry, what do you mean? @krishanb4

from defi-arb-bot.

krishanb4 avatar krishanb4 commented on August 30, 2024

if you use DAI(example) your wallet must have dydx fee(DAI) before start arbi. Because if your profit cannot pay dydx loan fee you have to pay it from your wallet DAI balance.

from defi-arb-bot.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.