Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating DEFAULT_MIN_PROFIT_BNT to 1 #19

Merged
merged 2 commits into from
Jul 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export WEB3_ALCHEMY_PROJECT_ID="0-USE-YOUR-OWN-ALCHEMY-PROJECT-ID-HERE"
export ETH_PRIVATE_KEY_BE_CAREFUL="0x123-USE-YOUR-OWN-PRIVATE-KEY-HERE"
export DEFAULT_MIN_PROFIT_BNT="200"
export DEFAULT_MIN_PROFIT_BNT="1"

#******** For Development - not required to run bot ********#
export ETHERSCAN_TOKEN="ONLY_REQUIRED_IN_DEV"
Expand Down
1 change: 1 addition & 0 deletions fastlane_bot/data/event_test_data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"uniswap_v2_event": {"args": {"reserve0": 10941658708636, "reserve1": 10971030461349}, "event": "Sync", "logIndex": 255, "transactionIndex": 115, "transactionHash": "0xecca41359219ee5a0e73652d1bea48bdc73216f294e865416da3f27232fee6e8", "address": "0x3041CbD36888bECc7bbCBc0045E3B1f144466f5f", "blockHash": "0x859b0803d75c861baa46e4e02be794187fd9a28a048f19ca148ff7f22e80c8ff", "blockNumber": 17613636}, "sushiswap_v2_event": {"args": {"reserve0": 6543521908014628725401090, "reserve1": 2535973648121313922634}, "event": "Sync", "logIndex": 93, "transactionIndex": 38, "transactionHash": "0xc7c0560a8829fb43e05003ef07de8ce682167bb8a16a5e73d832a6a15513dace", "address": "0x4A86C01d67965f8cB3d0AAA2c655705E64097C31", "blockHash": "0xefc338e7672291a889029a206f93a50feba92ba7be9e1210f382d79cf2fc9972", "blockNumber": 17613685}, "uniswap_v3_event": {"args": {"sender": "0x0000000000a84D1a9B0063A910315C7fFA9Cd248", "recipient": "0x0000000000a84D1a9B0063A910315C7fFA9Cd248", "amount0": 1001531661949054480779, "amount1": -1560777208046492502, "sqrtPriceX96": 3141136922601321808510033604, "liquidity": 27271279776041947233926, "tick": -64559}, "event": "Swap", "logIndex": 48, "transactionIndex": 4, "transactionHash": "0x2063e741127ec1a61b03f5c1e01a5ba83c695606e56b8b705b69f0218c6433f4", "address": "0xcBcC3cBaD991eC59204be2963b4a87951E4d292B", "blockHash": "0xc4c2ffbf7e0a2b94721eee92a8acaed343d2f332bcd83bf0b66d63b826d78cf6", "blockNumber": 17613637}, "bancor_v3_event": {"args": {"pool": "0x4691937a7508860F876c9c0a2a617E7d9E945D4B", "tkn_address": "0x4691937a7508860F876c9c0a2a617E7d9E945D4B", "prevLiquidity": 2969054758119920810356648, "newLiquidity": 2981332708522538339515032}, "event": "TradingLiquidityUpdated", "logIndex": 35, "transactionIndex": 4, "transactionHash": "0x2063e741127ec1a61b03f5c1e01a5ba83c695606e56b8b705b69f0218c6433f4", "address": "0xB67d563287D12B1F41579cB687b04988Ad564C6C", "blockHash": "0xc4c2ffbf7e0a2b94721eee92a8acaed343d2f332bcd83bf0b66d63b826d78cf6", "blockNumber": 17613637}, "carbon_v1_event_update": {"args": {"id": 340282366920938463463374607431768211699, "token0": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE", "token1": "0x6B175474E89094C44Da98b954EedeAC495271d0F", "order0": [1020304, 30000000000000000000, 80181217415, 6293971818901], "order1": [64052264601120813405051, 64052264601120813405051, 164724635005760, 1875443170982464], "reason": 1}, "event": "StrategyUpdated", "logIndex": 378, "transactionIndex": 157, "transactionHash": "0x78aeca0f0f6263a93b5f6208241e302a1994ad614968fa161ca072727b9a5f4b", "address": "0xC537e898CD774e2dCBa3B14Ea6f34C93d5eA45e1", "blockHash": "0x5d9484d50eaf69a1c5715e0a52b58a3d362bce09ff5517bc43ff6fe2cfa2965f", "blockNumber": 17613884}, "carbon_v1_event_delete": {"args": {"owner": "0x1f660f4C9e0c833520eEfE7e207249B3Fa7DB92F", "token0": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE", "token1": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "id": 1701411834604692317316873037158841057369, "order0": [250000000000000000, 250000000000000000, 0, 4414201427359729], "order1": [446009466, 446009466, 0, 10901478971]}, "event": "StrategyDeleted", "logIndex": 454, "transactionIndex": 158, "transactionHash": "0x6e2ee77bb751644a1f0f693f4e7b2547be495d5473b378b36b58a8c72ba92421", "address": "0xC537e898CD774e2dCBa3B14Ea6f34C93d5eA45e1", "blockHash": "0x898cd767e25952ae0a2de3714efb6406846702815bb8f77cdbea5824a0e1d6ff", "blockNumber": 17614185}, "carbon_v1_event_create": {"args": {"owner": "0x11B1785D9Ac81480c03210e89F1508c8c115888E", "token0": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE", "token1": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "id": 1701411834604692317316873037158841057529, "order0": [0, 0, 3041871764463936, 4414201427359729], "order1": [383896420, 383896420, 235894417, 11805182669]}, "event": "StrategyCreated", "logIndex": 227, "transactionIndex": 89, "transactionHash": "0x8f6ee587bd72cfa8a1a3faf165825c528df8a587827f182f099deed71c998b75", "address": "0xC537e898CD774e2dCBa3B14Ea6f34C93d5eA45e1", "blockHash": "0x7fcc4a119651992df2fd94d7d8c33f895c2076480badf5ccc6b08e78e053f8fe", "blockNumber": 17599450}, "carbon_v1_event_create_for_update": {"args": {"owner": "0x11B1785D9Ac81480c03210e89F1508c8c115888E", "id": 340282366920938463463374607431768211699, "token0": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE", "token1": "0x6B175474E89094C44Da98b954EedeAC495271d0F", "order0": [0, 0, 0, 0], "order1": [0, 0, 0, 0]}, "event": "StrategyCreated", "logIndex": 378, "transactionIndex": 157, "transactionHash": "0x78aeca0f0f6263a93b5f6208241e302a1994ad614968fa161ca072727b9a5f4b", "address": "0xC537e898CD774e2dCBa3B14Ea6f34C93d5eA45e1", "blockHash": "0x5d9484d50eaf69a1c5715e0a52b58a3d362bce09ff5517bc43ff6fe2cfa2965f", "blockNumber": 17613884}, "carbon_v1_event_create_for_delete": {"args": {"owner": "0x1f660f4C9e0c833520eEfE7e207249B3Fa7DB92F", "token0": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE", "token1": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48", "id": 1701411834604692317316873037158841057369, "order0": [250000000000000000, 250000000000000000, 0, 4414201427359729], "order1": [446009466, 446009466, 0, 10901478971]}, "event": "StrategyCreated", "logIndex": 454, "transactionIndex": 158, "transactionHash": "0x6e2ee77bb751644a1f0f693f4e7b2547be495d5473b378b36b58a8c72ba92421", "address": "0xC537e898CD774e2dCBa3B14Ea6f34C93d5eA45e1", "blockHash": "0x898cd767e25952ae0a2de3714efb6406846702815bb8f77cdbea5824a0e1d6ff", "blockNumber": 17614185}}
1 change: 1 addition & 0 deletions fastlane_bot/data/test_pool_data.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions fastlane_bot/data/tests/latest_pool_data_testing.json

Large diffs are not rendered by default.

Loading