MCPcopy Create free account

hub / github.com/Supercycled/cake_sniper / functions

Functions745 in github.com/Supercycled/cake_sniper

↓ 84 callersMethodTransact
Transact invokes the (paid) contract method with params as input values.
dark_forester/contracts/uniswap/router.go:4656
↓ 69 callersMethodCall
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for sim
dark_forester/contracts/uniswap/router.go:4645
↓ 25 callersMethodTransfer
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
dark_forester/contracts/uniswap/router.go:4651
↓ 24 callersFunctionformatEthWeiToEther
(etherAmount *big.Int)
dark_forester/services/txHelpers.go:23
↓ 18 callersMethodTransact
Transact invokes the (paid) contract method with params as input values.
dark_forester/contracts/uniswap/abi/uniswapRouter.go:151
↓ 9 callersFunctionWaitRoom
(client *ethclient.Client, txHash common.Hash, statusResults chan *SandwichResult, txType string)
dark_forester/services/sandwicherHelper.go:162
↓ 9 callersFunctionformatERC20Decimals
Format # of tokens transferred into required float
dark_forester/services/txHelpers.go:68
↓ 9 callersFunctiongetTokenName
(tokenAddress common.Address, client *ethclient.Client)
dark_forester/services/txHelpers.go:90
↓ 8 callersMethodCall
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for sim
dark_forester/contracts/uniswap/abi/uniswapRouter.go:140
↓ 8 callersMethodFactory
Factory is a free data retrieval call binding the contract method 0xc45a0155. Solidity: function factory() view returns(address)
dark_forester/contracts/uniswap/router.go:1671
↓ 7 callersMethodCall
Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for sim
dark_forester/contracts/erc20/erc20.go:140
↓ 7 callersFunction_getAmountOut
Equivalent of _getAmountOut function of the PCS router. Calculates z.
dark_forester/services/assessProfitability.go:15
↓ 6 callersMethodGetAmountIn
GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259. Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn
dark_forester/contracts/uniswap/router.go:5159
↓ 6 callersMethodGetAmountOut
GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4. Solidity: function getAmountOut(uint256 amountIn, uint256 reserveI
dark_forester/contracts/uniswap/router.go:5190
↓ 6 callersMethodGetAmountsIn
GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74. Solidity: function getAmountsIn(uint256 amountOut, address[] path)
dark_forester/contracts/uniswap/router.go:5221
↓ 6 callersMethodGetAmountsOut
GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f. Solidity: function getAmountsOut(uint256 amountIn, address[] path
dark_forester/contracts/uniswap/router.go:5252
↓ 6 callersMethodGetPair
GetPair is a free data retrieval call binding the contract method 0xe6a43905. Solidity: function getPair(address tokenA, address tokenB) view returns
dark_forester/contracts/uniswap/router.go:1060
↓ 6 callersMethodQuote
Quote is a free data retrieval call binding the contract method 0xad615dec. Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reser
dark_forester/contracts/uniswap/router.go:5283
↓ 6 callersMethodWETH
WETH is a free data retrieval call binding the contract method 0xad5c4648. Solidity: function WETH() view returns(address)
dark_forester/contracts/uniswap/router.go:5097
↓ 5 callersMethodAddLiquidity
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:5321
↓ 5 callersMethodAddLiquidityETH
AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719. Solidity: function addLiquidityETH(address token, uint256 amoun
dark_forester/contracts/uniswap/router.go:5342
↓ 5 callersMethodBalanceOf
BalanceOf is a free data retrieval call binding the contract method 0x70a08231. Solidity: function balanceOf(address tokenOwner) view returns(uint256
dark_forester/contracts/erc20/erc20.go:203
↓ 5 callersMethodRemoveLiquidity
RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde. Solidity: function removeLiquidity(address tokenA, address toke
dark_forester/contracts/uniswap/router.go:5363
↓ 5 callersMethodRemoveLiquidityETH
RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec. Solidity: function removeLiquidityETH(address token, uint256
dark_forester/contracts/uniswap/router.go:5384
↓ 5 callersMethodRemoveLiquidityETHWithPermit
RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a. Solidity: function removeLiquidityETHWithPermit(ad
dark_forester/contracts/uniswap/router.go:5426
↓ 5 callersMethodRemoveLiquidityWithPermit
RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c. Solidity: function removeLiquidityWithPermit(address
dark_forester/contracts/uniswap/router.go:5468
↓ 5 callersMethodSwapETHForExactTokens
SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41. Solidity: function swapETHForExactTokens(uint256 amountOu
dark_forester/contracts/uniswap/router.go:5489
↓ 5 callersMethodSwapExactETHForTokens
SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5. Solidity: function swapExactETHForTokens(uint256 amountOu
dark_forester/contracts/uniswap/router.go:5510
↓ 5 callersMethodSwapExactTokensForETH
SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5. Solidity: function swapExactTokensForETH(uint256 amountIn
dark_forester/contracts/uniswap/router.go:5552
↓ 5 callersMethodSwapExactTokensForTokens
SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739. Solidity: function swapExactTokensForTokens(uint256 am
dark_forester/contracts/uniswap/router.go:5594
↓ 5 callersMethodSwapTokensForExactETH
SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a. Solidity: function swapTokensForExactETH(uint256 amountOu
dark_forester/contracts/uniswap/router.go:5636
↓ 5 callersMethodSwapTokensForExactTokens
SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee. Solidity: function swapTokensForExactTokens(uint256 am
dark_forester/contracts/uniswap/router.go:5657
↓ 5 callersFunctiongetTxSenderAddressQuick
(tx *types.Transaction, client *ethclient.Client)
dark_forester/services/uniswapHelper.go:15
↓ 4 callersMethodAllowance
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. Solidity: function allowance(address owner, address spender) view ret
dark_forester/contracts/uniswap/router.go:190
↓ 4 callersMethodBalanceOf
BalanceOf is a free data retrieval call binding the contract method 0x70a08231. Solidity: function balanceOf(address owner) view returns(uint256)
dark_forester/contracts/uniswap/router.go:221
↓ 4 callersMethodDecimals
Decimals is a free data retrieval call binding the contract method 0x313ce567. Solidity: function decimals() view returns(uint8)
dark_forester/contracts/uniswap/router.go:252
↓ 4 callersMethodName
Name is a free data retrieval call binding the contract method 0x06fdde03. Solidity: function name() view returns(string)
dark_forester/contracts/uniswap/router.go:283
↓ 4 callersMethodName
Name is a free data retrieval call binding the contract method 0x06fdde03. Solidity: function name() view returns(string)
dark_forester/contracts/erc20/erc20.go:255
↓ 4 callersMethodSymbol
Symbol is a free data retrieval call binding the contract method 0x95d89b41. Solidity: function symbol() view returns(string)
dark_forester/contracts/uniswap/router.go:314
↓ 4 callersMethodSymbol
Symbol is a free data retrieval call binding the contract method 0x95d89b41. Solidity: function symbol() view returns(string)
dark_forester/contracts/erc20/erc20.go:281
↓ 4 callersMethodTotalSupply
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. Solidity: function totalSupply() view returns(uint256)
dark_forester/contracts/uniswap/router.go:345
↓ 4 callersMethodTransact
Transact invokes the (paid) contract method with params as input values.
dark_forester/contracts/erc20/erc20.go:151
↓ 4 callersFunctionbindErc20
bindErc20 binds a generic wrapper to an already deployed contract.
dark_forester/contracts/erc20/erc20.go:128
↓ 4 callersFunctionbindIERC20
bindIERC20 binds a generic wrapper to an already deployed contract.
dark_forester/contracts/uniswap/router.go:141
↓ 4 callersFunctionbindIPancakeFactory
bindIPancakeFactory binds a generic wrapper to an already deployed contract.
dark_forester/contracts/uniswap/router.go:856
↓ 4 callersFunctionbindIPancakePair
bindIPancakePair binds a generic wrapper to an already deployed contract.
dark_forester/contracts/uniswap/router.go:1436
↓ 4 callersFunctionbindIPancakeRouter01
bindIPancakeRouter01 binds a generic wrapper to an already deployed contract.
dark_forester/contracts/uniswap/router.go:3265
↓ 4 callersFunctionbindIPancakeRouter02
bindIPancakeRouter02 binds a generic wrapper to an already deployed contract.
dark_forester/contracts/uniswap/router.go:3907
↓ 4 callersFunctionbindIWETH
bindIWETH binds a generic wrapper to an already deployed contract.
dark_forester/contracts/uniswap/router.go:4633
↓ 4 callersFunctionbindPancakeLibrary
bindPancakeLibrary binds a generic wrapper to an already deployed contract.
dark_forester/contracts/uniswap/router.go:4858
↓ 4 callersFunctionbindPancakeRouter
bindPancakeRouter binds a generic wrapper to an already deployed contract.
dark_forester/contracts/uniswap/router.go:5048
↓ 4 callersFunctionbindSafeMath
bindSafeMath binds a generic wrapper to an already deployed contract.
dark_forester/contracts/uniswap/router.go:5805
↓ 4 callersFunctionbindTransferHelper
bindTransferHelper binds a generic wrapper to an already deployed contract.
dark_forester/contracts/uniswap/router.go:5967
↓ 4 callersFunctionbindUniswap
bindUniswap binds a generic wrapper to an already deployed contract.
dark_forester/contracts/uniswap/abi/uniswapRouter.go:128
↓ 4 callersFunctionformatEthWeiToEther
convert WEI to ETH
dark_forester/dark_forester.go:27
↓ 3 callersMethodApprove
Approve is a paid mutator transaction binding the contract method 0x095ea7b3. Solidity: function approve(address spender, uint256 value) returns(bool
dark_forester/contracts/uniswap/router.go:383
↓ 3 callersMethodDecimals
Decimals is a free data retrieval call binding the contract method 0x313ce567. Solidity: function decimals() view returns(uint8)
dark_forester/contracts/erc20/erc20.go:229
↓ 3 callersMethodGetReserves
GetReserves is a free data retrieval call binding the contract method 0x0902f1ac. Solidity: function getReserves() view returns(uint112 reserve0, uin
dark_forester/contracts/uniswap/router.go:1702
↓ 3 callersMethodRemoveLiquidityETHSupportingFeeOnTransferTokens
RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb. Solidity: function removeLiquid
dark_forester/contracts/uniswap/router.go:5405
↓ 3 callersMethodRemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens
RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984. Solidity: function re
dark_forester/contracts/uniswap/router.go:5447
↓ 3 callersMethodSwapExactETHForTokensSupportingFeeOnTransferTokens
SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95. Solidity: function swapExact
dark_forester/contracts/uniswap/router.go:5531
↓ 3 callersMethodSwapExactTokensForETHSupportingFeeOnTransferTokens
SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947. Solidity: function swapExact
dark_forester/contracts/uniswap/router.go:5573
↓ 3 callersMethodSwapExactTokensForTokensSupportingFeeOnTransferTokens
SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795. Solidity: function swapEx
dark_forester/contracts/uniswap/router.go:5615
↓ 3 callersMethodToken0
Token0 is a free data retrieval call binding the contract method 0x0dfe1681. Solidity: function token0() view returns(address)
dark_forester/contracts/uniswap/router.go:1938
↓ 3 callersMethodTransfer
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
dark_forester/contracts/erc20/erc20.go:146
↓ 3 callersMethodTransferFrom
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd. Solidity: function transferFrom(address from, address to, uint256
dark_forester/contracts/uniswap/router.go:425
↓ 3 callersFunction_buildFrontrunAnalytics
(victimHash, frontrunHash, backrunHash common.Hash, client *ethclient.Client, revertedFront, revertedBack bool
dark_forester/services/sandwicherHelper.go:209
↓ 3 callersFunction_reinitAnalytics
()
dark_forester/services/sandwicherHelper.go:251
↓ 3 callersFunctiongetTxSenderAddress
(tx *types.Transaction, client *ethclient.Client)
dark_forester/services/txHelpers.go:14
↓ 2 callersMethodAllPairs
AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b. Solidity: function allPairs(uint256 ) view returns(address pair)
dark_forester/contracts/uniswap/router.go:936
↓ 2 callersMethodAllPairsLength
AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3. Solidity: function allPairsLength() view returns(uint256)
dark_forester/contracts/uniswap/router.go:967
↓ 2 callersMethodAllowance
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. Solidity: function allowance(address tokenOwner, address spender) vie
dark_forester/contracts/erc20/erc20.go:177
↓ 2 callersMethodDOMAINSEPARATOR
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515. Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
dark_forester/contracts/uniswap/router.go:1485
↓ 2 callersMethodError
Error returns any retrieval or parsing error occurred during filtering.
dark_forester/contracts/erc20/erc20.go:449
↓ 2 callersMethodFactory
Factory is a free data retrieval call binding the contract method 0xc45a0155. Solidity: function factory() view returns(address)
dark_forester/contracts/uniswap/abi/uniswapRouter.go:203
↓ 2 callersMethodFeeTo
FeeTo is a free data retrieval call binding the contract method 0x017e7e58. Solidity: function feeTo() view returns(address)
dark_forester/contracts/uniswap/router.go:998
↓ 2 callersMethodFeeToSetter
FeeToSetter is a free data retrieval call binding the contract method 0x094b7415. Solidity: function feeToSetter() view returns(address)
dark_forester/contracts/uniswap/router.go:1029
↓ 2 callersMethodGetAmountIn
GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259. Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn
dark_forester/contracts/uniswap/abi/uniswapRouter.go:229
↓ 2 callersMethodGetAmountOut
GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4. Solidity: function getAmountOut(uint256 amountIn, uint256 reserveI
dark_forester/contracts/uniswap/abi/uniswapRouter.go:255
↓ 2 callersMethodGetAmountsIn
GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74. Solidity: function getAmountsIn(uint256 amountOut, address[] path)
dark_forester/contracts/uniswap/abi/uniswapRouter.go:281
↓ 2 callersMethodGetAmountsOut
GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f. Solidity: function getAmountsOut(uint256 amountIn, address[] path
dark_forester/contracts/uniswap/abi/uniswapRouter.go:307
↓ 2 callersMethodINITCODEPAIRHASH
INITCODEPAIRHASH is a free data retrieval call binding the contract method 0x5855a25a. Solidity: function INIT_CODE_PAIR_HASH() view returns(bytes32)
dark_forester/contracts/uniswap/router.go:905
↓ 2 callersMethodKLast
KLast is a free data retrieval call binding the contract method 0x7464fc3d. Solidity: function kLast() view returns(uint256)
dark_forester/contracts/uniswap/router.go:1752
↓ 2 callersMethodMINIMUMLIQUIDITY
MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56. Solidity: function MINIMUM_LIQUIDITY() pure returns(uint256)
dark_forester/contracts/uniswap/router.go:1516
↓ 2 callersMethodNonces
Nonces is a free data retrieval call binding the contract method 0x7ecebe00. Solidity: function nonces(address owner) view returns(uint256)
dark_forester/contracts/uniswap/router.go:1814
↓ 2 callersMethodPERMITTYPEHASH
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f. Solidity: function PERMIT_TYPEHASH() pure returns(bytes32)
dark_forester/contracts/uniswap/router.go:1547
↓ 2 callersMethodPrice0CumulativeLast
Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5. Solidity: function price0CumulativeLast() view returns(uin
dark_forester/contracts/uniswap/router.go:1845
↓ 2 callersMethodPrice1CumulativeLast
Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493. Solidity: function price1CumulativeLast() view returns(uin
dark_forester/contracts/uniswap/router.go:1876
↓ 2 callersMethodQuote
Quote is a free data retrieval call binding the contract method 0xad615dec. Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reser
dark_forester/contracts/uniswap/abi/uniswapRouter.go:333
↓ 2 callersMethodToken1
Token1 is a free data retrieval call binding the contract method 0xd21220a7. Solidity: function token1() view returns(address)
dark_forester/contracts/uniswap/router.go:1969
↓ 2 callersMethodTotalSupply
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. Solidity: function totalSupply() view returns(uint256)
dark_forester/contracts/erc20/erc20.go:307
↓ 2 callersMethodWETH
WETH is a free data retrieval call binding the contract method 0xad5c4648. Solidity: function WETH() view returns(address)
dark_forester/contracts/uniswap/abi/uniswapRouter.go:177
↓ 2 callersFunction_flushAnalyticFile
(structToWrite interface{})
dark_forester/services/sandwicherHelper.go:255
↓ 2 callersFunction_quote
(amin, reserveIn, reserveOut)
scripts/scheduler.py:23
↓ 2 callersFunction_sharedAnalytics
(victimHash common.Hash, client *ethclient.Client, oldBalanceTrigger *big.Int)
dark_forester/services/sandwicherHelper.go:237
↓ 2 callersFunction_waitForPendingState
(client *ethclient.Client, txHash common.Hash, ctx context.Context, txType string)
dark_forester/services/sandwicherHelper.go:168
↓ 2 callersFunctionbuildSwapETHData
(tx *types.Transaction, client *ethclient.Client)
dark_forester/services/uniswapHelper.go:293
↓ 2 callersFunctioncreate_account
()
scripts/scheduler.py:93
↓ 2 callersFunctiongetReservesData
get reserves of a PCS pair an return it
dark_forester/services/assessProfitability.go:31
↓ 2 callersFunctionloadSellers
(client *ethclient.Client, ctx context.Context)
dark_forester/services/sandwicherHelper.go:34
next →1–100 of 745, ranked by callers