DeCoster's picture
create a triangular arbitrage system in node js and ether v6 on the ethereum mainnet based on the following input file: { "routes": [ { "description": "WETH for DAI on UniswapV2 > DAI for PEPE on Pancakeswap > PEPE for WETH on SushiSwap", "borrowTokenT0": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", "t0decimals": 18, "swapOnExchangeR1": "0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D", "swapForTokenT1": "0x6B175474E89094C44Da98b954EedeAC495271d0F", "t1decimals": 18, "swapOnExchangeR2": "0xEfF92A263d31888d860bD50809A8D171709b7b1c", "swapForTokenT2": "0x6982508145454Ce325dDbE47a25d4ec3d2311933", "t2decimals": 18, "swapBackOnExchangeR3": "0xd9e1cE17f2641f24aE83637ab66a2cca9C378B9F" }, {"description": "PEPE for DAI on UniswapV2 > DAI for WETH on Pancakeswap > WETH for PEPE on SushiSwap", ... } ] }
b0f38c2 verified
Raw History Blame Contribute Delete
763 Bytes
/* Custom styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
}
.route-card {
transition: all 0.3s ease;
border-left: 4px solid transparent;
}
.route-card:hover {
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.route-card.active {
border-left-color: #8b5cf6;
}
/* Scrollbar styling */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
background: #4b5563;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #6b7280;
}