MCPcopy Create free account

hub / github.com/Supercycled/cake_sniper / functions

Functions745 in github.com/Supercycled/cake_sniper

↓ 2 callersFunctionreinitBinaryResult
()
dark_forester/services/assessProfitability.go:140
↓ 2 callersFunctionsendBackRunningTx
we send backrunning tx only if frontruning succeeded and wasn't cancelled.
dark_forester/services/sandwicher.go:115
↓ 2 callersFunctionshowPairAddress
()
dark_forester/services/sandwicherHelper.go:288
↓ 2 callersFunctionswarmer
(TEMPPATH, PATH, ROUNDS, NUMBERBNB)
scripts/scheduler.py:204
↓ 1 callersMethodAddLiquidity
AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700. Solidity: function addLiquidity(address tokenA, address tokenB, ui
dark_forester/contracts/uniswap/abi/uniswapRouter.go:366
↓ 1 callersMethodAddLiquidityETH
AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719. Solidity: function addLiquidityETH(address token, uint256 amoun
dark_forester/contracts/uniswap/abi/uniswapRouter.go:387
↓ 1 callersMethodApprove
Approve is a paid mutator transaction binding the contract method 0x095ea7b3. Solidity: function approve(address spender, uint256 tokens) returns(boo
dark_forester/contracts/erc20/erc20.go:340
↓ 1 callersMethodBurn
Burn is a paid mutator transaction binding the contract method 0x89afcb44. Solidity: function burn(address to) returns(uint256 amount0, uint256 amoun
dark_forester/contracts/uniswap/router.go:2059
↓ 1 callersMethodCreatePair
CreatePair is a paid mutator transaction binding the contract method 0xc9c65396. Solidity: function createPair(address tokenA, address tokenB) return
dark_forester/contracts/uniswap/router.go:1098
↓ 1 callersMethodDeposit
Deposit is a paid mutator transaction binding the contract method 0xd0e30db0. Solidity: function deposit() payable returns()
dark_forester/contracts/uniswap/router.go:4689
↓ 1 callersFunctionFrontrunningWatchdog
Alter the behaviour of the sandwicher if another bot tries to fuck ours during the sandwich attack.
dark_forester/services/txClassifier.go:57
↓ 1 callersFunctionGetCurrentClient
()
dark_forester/services/initClient.go:24
↓ 1 callersFunctionGetTriggerWBNBBalance
Look onchain for the Trigger contract and return its WBNB balance
dark_forester/global/config.go:324
↓ 1 callersFunctionHandleAddLiquidity
interest Sniping and filter addliquidity tx
dark_forester/services/uniswapClassifier.go:95
↓ 1 callersFunctionHandleAddLiquidityETH
interest Sniping and filter addliquidity tx
dark_forester/services/uniswapClassifier.go:144
↓ 1 callersFunctionHandleSwapExactETHForTokens
This handler has been though for the sandwicher part of the bot.
dark_forester/services/uniswapClassifier.go:32
↓ 1 callersMethodInitialize
Initialize is a paid mutator transaction binding the contract method 0x485cc955. Solidity: function initialize(address , address ) returns()
dark_forester/contracts/uniswap/router.go:2080
↓ 1 callersMethodMint
Mint is a paid mutator transaction binding the contract method 0x6a627842. Solidity: function mint(address to) returns(uint256 liquidity)
dark_forester/contracts/uniswap/router.go:2101
↓ 1 callersMethodPermit
Permit is a paid mutator transaction binding the contract method 0xd505accf. Solidity: function permit(address owner, address spender, uint256 value,
dark_forester/contracts/uniswap/router.go:2122
↓ 1 callersMethodReceive
Receive is a paid mutator transaction binding the contract receive function. Solidity: receive() payable returns()
dark_forester/contracts/uniswap/router.go:5678
↓ 1 callersMethodReceive
Receive is a paid mutator transaction binding the contract receive function. Solidity: receive() payable returns()
dark_forester/contracts/uniswap/abi/uniswapRouter.go:723
↓ 1 callersMethodRemoveLiquidity
RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde. Solidity: function removeLiquidity(address tokenA, address toke
dark_forester/contracts/uniswap/abi/uniswapRouter.go:408
↓ 1 callersMethodRemoveLiquidityETH
RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec. Solidity: function removeLiquidityETH(address token, uint256
dark_forester/contracts/uniswap/abi/uniswapRouter.go:429
↓ 1 callersMethodRemoveLiquidityETHSupportingFeeOnTransferTokens
RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb. Solidity: function removeLiquid
dark_forester/contracts/uniswap/abi/uniswapRouter.go:450
↓ 1 callersMethodRemoveLiquidityETHWithPermit
RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a. Solidity: function removeLiquidityETHWithPermit(ad
dark_forester/contracts/uniswap/abi/uniswapRouter.go:471
↓ 1 callersMethodRemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens
RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984. Solidity: function re
dark_forester/contracts/uniswap/abi/uniswapRouter.go:492
↓ 1 callersMethodRemoveLiquidityWithPermit
RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c. Solidity: function removeLiquidityWithPermit(address
dark_forester/contracts/uniswap/abi/uniswapRouter.go:513
↓ 1 callersMethodSetFeeTo
SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed. Solidity: function setFeeTo(address ) returns()
dark_forester/contracts/uniswap/router.go:1119
↓ 1 callersMethodSetFeeToSetter
SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6. Solidity: function setFeeToSetter(address ) returns()
dark_forester/contracts/uniswap/router.go:1140
↓ 1 callersMethodSkim
Skim is a paid mutator transaction binding the contract method 0xbc25cf77. Solidity: function skim(address to) returns()
dark_forester/contracts/uniswap/router.go:2143
↓ 1 callersFunctionStreamNewTxs
main loop of the bot
dark_forester/dark_forester.go:44
↓ 1 callersMethodSwap
Swap is a paid mutator transaction binding the contract method 0x022c0d9f. Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to
dark_forester/contracts/uniswap/router.go:2164
↓ 1 callersMethodSwapETHForExactTokens
SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41. Solidity: function swapETHForExactTokens(uint256 amountOu
dark_forester/contracts/uniswap/abi/uniswapRouter.go:534
↓ 1 callersMethodSwapExactETHForTokens
SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5. Solidity: function swapExactETHForTokens(uint256 amountOu
dark_forester/contracts/uniswap/abi/uniswapRouter.go:555
↓ 1 callersMethodSwapExactETHForTokensSupportingFeeOnTransferTokens
SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95. Solidity: function swapExact
dark_forester/contracts/uniswap/abi/uniswapRouter.go:576
↓ 1 callersMethodSwapExactTokensForETH
SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5. Solidity: function swapExactTokensForETH(uint256 amountIn
dark_forester/contracts/uniswap/abi/uniswapRouter.go:597
↓ 1 callersMethodSwapExactTokensForETHSupportingFeeOnTransferTokens
SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947. Solidity: function swapExact
dark_forester/contracts/uniswap/abi/uniswapRouter.go:618
↓ 1 callersMethodSwapExactTokensForTokens
SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739. Solidity: function swapExactTokensForTokens(uint256 am
dark_forester/contracts/uniswap/abi/uniswapRouter.go:639
↓ 1 callersMethodSwapExactTokensForTokensSupportingFeeOnTransferTokens
SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795. Solidity: function swapEx
dark_forester/contracts/uniswap/abi/uniswapRouter.go:660
↓ 1 callersMethodSwapTokensForExactETH
SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a. Solidity: function swapTokensForExactETH(uint256 amountOu
dark_forester/contracts/uniswap/abi/uniswapRouter.go:681
↓ 1 callersMethodSwapTokensForExactTokens
SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee. Solidity: function swapTokensForExactTokens(uint256 am
dark_forester/contracts/uniswap/abi/uniswapRouter.go:702
↓ 1 callersMethodSync
Sync is a paid mutator transaction binding the contract method 0xfff6cae9. Solidity: function sync() returns()
dark_forester/contracts/uniswap/router.go:2185
↓ 1 callersMethodTransfer
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
dark_forester/contracts/uniswap/abi/uniswapRouter.go:146
↓ 1 callersMethodTransferFrom
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd. Solidity: function transferFrom(address from, address to, uint256
dark_forester/contracts/erc20/erc20.go:382
↓ 1 callersMethodWithdraw
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d. Solidity: function withdraw(uint256 ) returns()
dark_forester/contracts/uniswap/router.go:4731
↓ 1 callersFunction_binarySearch
perform the binary search to determine optimal amount of WBNB to engage on the sandwich without breaking victim's slippage
dark_forester/services/assessProfitability.go:52
↓ 1 callersFunction_bnbPrice
()
scripts/scheduler.py:16
↓ 1 callersFunction_buildCancelAnalytics
(victimHash, cancelHash common.Hash, client *ethclient.Client, oldBalanceTrigger, gasPriceCancel *big.Int)
dark_forester/services/sandwicherHelper.go:197
↓ 1 callersFunction_checkBalances
(entry)
scripts/scheduler.py:192
↓ 1 callersFunction_expectations
(my_buy, external_buy, reserveIn, reserveOut, queue_number)
scripts/scheduler.py:31
↓ 1 callersFunction_flushNewmarket
(newMarket *NewMarketContent)
dark_forester/services/sandwicherHelper.go:272
↓ 1 callersFunction_handleSendOnClosedChan
()
dark_forester/services/sandwicherHelper.go:191
↓ 1 callersFunction_initConst
INITIIALISER FUNCS /////////////////
dark_forester/global/config.go:161
↓ 1 callersFunction_initSandwicher
()
dark_forester/global/config.go:189
↓ 1 callersFunction_initSniper
(client *ethclient.Client)
dark_forester/global/config.go:274
↓ 1 callersFunction_initSwarm
(TEMPPATH, PATH, ROUNDS, NUMBERBNB)
scripts/scheduler.py:121
↓ 1 callersFunction_prepareBackrun
prepare backrunning tx:
dark_forester/services/sandwicherHelper.go:104
↓ 1 callersFunction_prepareCancel
prepare cancel tx:
dark_forester/services/sandwicherHelper.go:153
↓ 1 callersFunction_prepareFrontrun
prepare frontrunning tx:
dark_forester/services/sandwicherHelper.go:65
↓ 1 callersFunction_prepareSellerBackrun
(client *ethclient.Client, seller *Seller, sellGasPrice *big.Int, confirmedOutTx chan *SandwichResult)
dark_forester/services/sandwicherHelper.go:123
↓ 1 callersFunction_testMinbound
test if we break victim's slippage with MNBOUND WBNB engaged
dark_forester/services/assessProfitability.go:85
↓ 1 callersFunctionassessProfitability
(client *ethclient.Client, tkn_adddress common.Address, txValue, amountOutMinVictim, Rtkn0, Rbnb0 *big.Int)
dark_forester/services/assessProfitability.go:114
↓ 1 callersFunctionbuildAddLiquidityData
(tx *types.Transaction)
dark_forester/services/uniswapHelper.go:139
↓ 1 callersFunctionbuildAddLiquidityEthData
(tx *types.Transaction)
dark_forester/services/uniswapHelper.go:54
↓ 1 callersFunctionbuildAddLiquidityEthFinal
(tx *types.Transaction, client *ethclient.Client, addLiquidity *UniswapAddLiquidityETHInput)
dark_forester/services/uniswapHelper.go:81
↓ 1 callersFunctionbuildAddLiquidityFinal
(tx *types.Transaction, client *ethclient.Client, addLiquidity *UniswapAddLiquidityInput)
dark_forester/services/uniswapHelper.go:170
↓ 1 callersFunctioncheckTxStatus
once all tx has been sent, check for status and feed StatusResults and WatchPending chan that are listening
dark_forester/services/clogger.go:88
↓ 1 callersFunctionconfigureTrigger
()
scripts/scheduler.py:290
↓ 1 callersFunctioncreateBeeBook
()
scripts/scheduler.py:238
↓ 1 callersFunctioncreateSellersBook
()
scripts/scheduler.py:241
↓ 1 callersFunctioncreate_temp_address_book
create the temporary csv file that store addresses
scripts/scheduler.py:69
↓ 1 callersFunctionemmmergencyCancel
(nonce uint64, client *ethclient.Client, gasPriceFront, oldBalanceTrigger *big.Int, frontrunHash, victimHash c
dark_forester/services/sandwicher.go:78
↓ 1 callersFunctionexpectations
(my_buy, external_buy, reserveIn, reserveOut, base_asset="BNB")
scripts/scheduler.py:44
↓ 1 callersFunctionfillHashResults
listen HashResults and fill HashSet with the hashs of the tx just sent
dark_forester/services/clogger.go:75
↓ 1 callersFunctionfillStatusResults
receive infos from StatusResults and fill the StatusSet list with it
dark_forester/services/clogger.go:132
↓ 1 callersFunctiongetMyMaxBuyAmount2
(Rtkn0, Rbnb0, txValue, amountOutMinVictim *big.Int, arrayOfInterest []*big.Int)
dark_forester/services/assessProfitability.go:96
↓ 1 callersFunctiongetTokenSymbol
fetch ERC20 token symbol
dark_forester/dark_forester.go:37
↓ 1 callersFunctiongetTokenSymbol
(tokenAddress common.Address, client *ethclient.Client)
dark_forester/services/txHelpers.go:85
↓ 1 callersFunctionhandleTransaction
(tx *types.Transaction, client *ethclient.Client)
dark_forester/dark_forester.go:137
↓ 1 callersFunctionhandleUniswapTrade
Core method that determines the kind of uniswap trade the tx is
dark_forester/services/uniswapClassifier.go:180
↓ 1 callersFunctionhandleWatchedAddressTx
display transactions of the address you monitor if ADDRESS_MONITOR == true in the config file
dark_forester/services/txClassifier.go:94
↓ 1 callersFunctionisTxMined
(txHash string, client *ethclient.Client)
dark_forester/services/txHelpers.go:34
↓ 1 callersFunctionloadClogger
unmarshall data from bee_book.json and complete the bee struct to avoid racing condition during the transaction sending phase
dark_forester/services/clogger.go:163
↓ 1 callersFunctionmergeBothBooks
()
scripts/sandwich_book_builder.py:88
↓ 1 callersFunctionmonitorRemainingPending
receive signal from WatchPending channel and is responsible for closing the chan when all tx are not pending anymore
dark_forester/services/clogger.go:145
↓ 1 callersFunctionprintCurrrentWhitelisted
()
scripts/sandwich_book_builder.py:157
↓ 1 callersFunctionrefineSandwichBook
()
scripts/sandwich_book_builder.py:8
↓ 1 callersFunctionrefund
(PATH)
scripts/scheduler.py:168
↓ 1 callersFunctionsandwiching
(tx *types.Transaction, client *ethclient.Client)
dark_forester/services/sandwicher.go:18
↓ 1 callersFunctionsandwichingOnSteroid
(tx *types.Transaction, client *ethclient.Client)
dark_forester/services/sandwicherOnSteroid.go:17
↓ 1 callersFunctionsanitizeBook
()
scripts/sandwich_book_builder.py:43
↓ 1 callersFunctionsave_address_book
(TEMPPATH, PATH)
scripts/scheduler.py:80
↓ 1 callersFunctionsendBee
(client *ethclient.Client, ctx context.Context, bee Bee, HashResults chan common.Hash, gasPrice *big.Int)
dark_forester/services/clogger.go:43
↓ 1 callersFunctionsendGlobalToDarkForester
()
scripts/scheduler.py:264
↓ 1 callersFunctiontestMarket
()
scripts/sandwich_book_builder.py:101
MethodAddLiquidity
AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700. Solidity: function addLiquidity(address tokenA, address tokenB, ui
dark_forester/contracts/uniswap/router.go:3531
MethodAddLiquidity
AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700. Solidity: function addLiquidity(address tokenA, address tokenB, ui
dark_forester/contracts/uniswap/router.go:3538
MethodAddLiquidity
AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700. Solidity: function addLiquidity(address tokenA, address tokenB, ui
dark_forester/contracts/uniswap/router.go:3545
MethodAddLiquidity
AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700. Solidity: function addLiquidity(address tokenA, address tokenB, ui
dark_forester/contracts/uniswap/router.go:4173
MethodAddLiquidity
AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700. Solidity: function addLiquidity(address tokenA, address tokenB, ui
dark_forester/contracts/uniswap/router.go:4180
← previousnext →101–200 of 745, ranked by callers