MCPcopy Create free account

hub / github.com/beansgum/simple-arbitrage-go / functions

Functions337 in github.com/beansgum/simple-arbitrage-go

↓ 18 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
traderjoepair/traderjoepair.go:148
↓ 18 callersMethodTransact
Transact invokes the (paid) contract method with params as input values.
swaprouter/swaprouter.go:159
↓ 16 callersFunctionToWei
(iamount interface{})
helpers/utils.go:32
↓ 14 callersFunctionToDecimal
(ivalue interface{})
helpers/utils.go:15
↓ 11 callersMethodTransact
Transact invokes the (paid) contract method with params as input values.
traderjoepair/traderjoepair.go:159
↓ 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
swaprouter/swaprouter.go:148
↓ 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
erc20/erc20.go:148
↓ 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
flashbundle/flashbundle.go:148
↓ 7 callersMethodGetTokensOut
(tokenIn, tokenOut common.Address, amountIn *big.Int)
market/market.go:122
↓ 6 callersMethodFindPair
(tokenIn, tokenOut common.Address)
market/market.go:94
↓ 4 callersMethodFindPairTokens
(pairAddresses []common.Address)
market/market.go:16
↓ 4 callersMethodFindPairs
FindPairs is a free data retrieval call binding the contract method 0xdac11388. Solidity: function findPairs(address _uniswapFactory, address[][] pai
flashbundle/flashbundle.go:216
↓ 4 callersMethodTransact
Transact invokes the (paid) contract method with params as input values.
erc20/erc20.go:159
↓ 4 callersMethodTransact
Transact invokes the (paid) contract method with params as input values.
flashbundle/flashbundle.go:159
↓ 4 callersMethodUniswapWeth
(_wethAmountToFirstMarket *big.Int, targets []common.Address, payloads [][]byte)
strategy/crossmarket.go:19
↓ 4 callersFunctionbindErc20
bindErc20 binds a generic wrapper to an already deployed contract.
erc20/erc20.go:136
↓ 4 callersFunctionbindFlashbundle
bindFlashbundle binds a generic wrapper to an already deployed contract.
flashbundle/flashbundle.go:136
↓ 4 callersFunctionbindSwaprouter
bindSwaprouter binds a generic wrapper to an already deployed contract.
swaprouter/swaprouter.go:136
↓ 4 callersFunctionbindTraderjoepair
bindTraderjoepair binds a generic wrapper to an already deployed contract.
traderjoepair/traderjoepair.go:136
↓ 3 callersMethodGetReservesByPairs
GetReservesByPairs is a free data retrieval call binding the contract method 0x4dbf0f39. Solidity: function getReservesByPairs(address[] _pairs) view
flashbundle/flashbundle.go:278
↓ 3 callersMethodToken0
Token0 is a free data retrieval call binding the contract method 0x0dfe1681. Solidity: function token0() view returns(address)
traderjoepair/traderjoepair.go:638
↓ 3 callersMethodToken1
Token1 is a free data retrieval call binding the contract method 0xd21220a7. Solidity: function token1() view returns(address)
traderjoepair/traderjoepair.go:669
↓ 3 callersMethodTransfer
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
traderjoepair/traderjoepair.go:154
↓ 3 callersMethodTransfer
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
erc20/erc20.go:154
↓ 3 callersFunctiontokenAddress
(token1, token2 common.Address)
market/market.go:90
↓ 2 callersMethodAddress
()
market/market.go:61
↓ 2 callersMethodAllowance
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. Solidity: function allowance(address , address ) view returns(uint256
traderjoepair/traderjoepair.go:278
↓ 2 callersMethodAllowance
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. Solidity: function allowance(address _owner, address _spender) view r
erc20/erc20.go:185
↓ 2 callersMethodBalanceOf
BalanceOf is a free data retrieval call binding the contract method 0x70a08231. Solidity: function balanceOf(address ) view returns(uint256)
traderjoepair/traderjoepair.go:309
↓ 2 callersMethodBalanceOf
BalanceOf is a free data retrieval call binding the contract method 0x70a08231. Solidity: function balanceOf(address _owner) view returns(uint256 bal
erc20/erc20.go:216
↓ 2 callersMethodDOMAINSEPARATOR
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515. Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
traderjoepair/traderjoepair.go:185
↓ 2 callersMethodDecimals
Decimals is a free data retrieval call binding the contract method 0x313ce567. Solidity: function decimals() view returns(uint8)
traderjoepair/traderjoepair.go:340
↓ 2 callersMethodDecimals
Decimals is a free data retrieval call binding the contract method 0x313ce567. Solidity: function decimals() view returns(uint8)
erc20/erc20.go:247
↓ 2 callersMethodFactory
Factory is a free data retrieval call binding the contract method 0xc45a0155. Solidity: function factory() view returns(address)
swaprouter/swaprouter.go:216
↓ 2 callersMethodFactory
Factory is a free data retrieval call binding the contract method 0xc45a0155. Solidity: function factory() view returns(address)
traderjoepair/traderjoepair.go:371
↓ 2 callersMethodGetAmountIn
GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259. Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn
swaprouter/swaprouter.go:247
↓ 2 callersMethodGetAmountOut
GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4. Solidity: function getAmountOut(uint256 amountIn, uint256 reserveI
swaprouter/swaprouter.go:278
↓ 2 callersMethodGetAmountsIn
GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74. Solidity: function getAmountsIn(uint256 amountOut, address[] path)
swaprouter/swaprouter.go:309
↓ 2 callersMethodGetAmountsOut
GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f. Solidity: function getAmountsOut(uint256 amountIn, address[] path
swaprouter/swaprouter.go:340
↓ 2 callersMethodGetPairsByIndexRange
GetPairsByIndexRange is a free data retrieval call binding the contract method 0xab2217e4. Solidity: function getPairsByIndexRange(address _uniswapFa
flashbundle/flashbundle.go:247
↓ 2 callersMethodGetReserves
GetReserves is a free data retrieval call binding the contract method 0x0902f1ac. Solidity: function getReserves() view returns(uint112 _reserve0, ui
traderjoepair/traderjoepair.go:402
↓ 2 callersMethodKLast
KLast is a free data retrieval call binding the contract method 0x7464fc3d. Solidity: function kLast() view returns(uint256)
traderjoepair/traderjoepair.go:452
↓ 2 callersMethodMINIMUMLIQUIDITY
MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56. Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)
traderjoepair/traderjoepair.go:216
↓ 2 callersMethodName
Name is a free data retrieval call binding the contract method 0x06fdde03. Solidity: function name() view returns(string)
traderjoepair/traderjoepair.go:483
↓ 2 callersMethodName
Name is a free data retrieval call binding the contract method 0x06fdde03. Solidity: function name() view returns(string)
erc20/erc20.go:278
↓ 2 callersMethodName
()
market/market.go:57
↓ 2 callersFunctionNewMarket
(name string, marketAddress common.Address, pairs []*Pair, flashbot FlashBot)
market/market.go:30
↓ 2 callersFunctionNewPair
(address common.Address)
market/types.go:139
↓ 2 callersMethodNonces
Nonces is a free data retrieval call binding the contract method 0x7ecebe00. Solidity: function nonces(address ) view returns(uint256)
traderjoepair/traderjoepair.go:514
↓ 2 callersMethodPERMITTYPEHASH
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f. Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
traderjoepair/traderjoepair.go:247
↓ 2 callersMethodPrice0CumulativeLast
Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5. Solidity: function price0CumulativeLast() view returns(uin
traderjoepair/traderjoepair.go:545
↓ 2 callersMethodPrice1CumulativeLast
Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493. Solidity: function price1CumulativeLast() view returns(uin
traderjoepair/traderjoepair.go:576
↓ 2 callersMethodQuote
Quote is a free data retrieval call binding the contract method 0xad615dec. Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reser
swaprouter/swaprouter.go:371
↓ 2 callersMethodSymbol
Symbol is a free data retrieval call binding the contract method 0x95d89b41. Solidity: function symbol() view returns(string)
traderjoepair/traderjoepair.go:607
↓ 2 callersMethodSymbol
Symbol is a free data retrieval call binding the contract method 0x95d89b41. Solidity: function symbol() view returns(string)
erc20/erc20.go:309
↓ 2 callersMethodTotalSupply
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. Solidity: function totalSupply() view returns(uint256)
traderjoepair/traderjoepair.go:700
↓ 2 callersMethodTotalSupply
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. Solidity: function totalSupply() view returns(uint256)
erc20/erc20.go:340
↓ 2 callersMethodWETH
WETH is a free data retrieval call binding the contract method 0xad5c4648. Solidity: function WETH() view returns(address)
swaprouter/swaprouter.go:185
↓ 2 callersFunctionWrapBigInt
(b *big.Int)
helpers/utils.go:57
↓ 2 callersMethodtxAuth
()
main.go:82
↓ 1 callersMethodAddLiquidity
AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700. Solidity: function addLiquidity(address tokenA, address tokenB, ui
swaprouter/swaprouter.go:409
↓ 1 callersMethodAddLiquidityETH
AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719. Solidity: function addLiquidityETH(address token, uint256 amoun
swaprouter/swaprouter.go:430
↓ 1 callersMethodApprove
Approve is a paid mutator transaction binding the contract method 0x095ea7b3. Solidity: function approve(address spender, uint256 value) returns(bool
traderjoepair/traderjoepair.go:738
↓ 1 callersMethodApprove
Approve is a paid mutator transaction binding the contract method 0x095ea7b3. Solidity: function approve(address _spender, uint256 _value) returns(bo
erc20/erc20.go:378
↓ 1 callersMethodBurn
Burn is a paid mutator transaction binding the contract method 0x89afcb44. Solidity: function burn(address to) returns(uint256 amount0, uint256 amoun
traderjoepair/traderjoepair.go:759
↓ 1 callersMethodBuyCallData
(amountIn *big.Int)
market/types.go:43
↓ 1 callersMethodEvaluateMarkets
(markets []*market.Market, tokens []common.Address)
strategy/crossmarket.go:30
↓ 1 callersMethodFallback
Fallback is a paid mutator transaction binding the contract fallback function. Solidity: fallback() payable returns()
erc20/erc20.go:441
↓ 1 callersMethodGetTokensIn
(tokenIn, tokenOut common.Address, amountOut *big.Int)
market/market.go:110
↓ 1 callersMethodInitialize
Initialize is a paid mutator transaction binding the contract method 0x485cc955. Solidity: function initialize(address _token0, address _token1) retu
traderjoepair/traderjoepair.go:780
↓ 1 callersMethodMint
Mint is a paid mutator transaction binding the contract method 0x6a627842. Solidity: function mint(address to) returns(uint256 liquidity)
traderjoepair/traderjoepair.go:801
↓ 1 callersFunctionNewCrossMarketArbitrage
(flashBot FlashBot)
strategy/crossmarket.go:26
↓ 1 callersFunctionNewFlashbundle
NewFlashbundle creates a new instance of Flashbundle, bound to a specific deployed contract.
flashbundle/flashbundle.go:100
↓ 1 callersFunctionNewTraderjoepair
NewTraderjoepair creates a new instance of Traderjoepair, bound to a specific deployed contract.
traderjoepair/traderjoepair.go:100
↓ 1 callersMethodPermit
Permit is a paid mutator transaction binding the contract method 0xd505accf. Solidity: function permit(address owner, address spender, uint256 value,
traderjoepair/traderjoepair.go:822
↓ 1 callersMethodProfit
()
market/types.go:37
↓ 1 callersMethodReceive
Receive is a paid mutator transaction binding the contract receive function. Solidity: receive() payable returns()
swaprouter/swaprouter.go:766
↓ 1 callersMethodReceive
Receive is a paid mutator transaction binding the contract receive function. Solidity: receive() payable returns()
flashbundle/flashbundle.go:379
↓ 1 callersMethodRemoveLiquidity
RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde. Solidity: function removeLiquidity(address tokenA, address toke
swaprouter/swaprouter.go:451
↓ 1 callersMethodRemoveLiquidityETH
RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec. Solidity: function removeLiquidityETH(address token, uint256
swaprouter/swaprouter.go:472
↓ 1 callersMethodRemoveLiquidityETHSupportingFeeOnTransferTokens
RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb. Solidity: function removeLiquid
swaprouter/swaprouter.go:493
↓ 1 callersMethodRemoveLiquidityETHWithPermit
RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a. Solidity: function removeLiquidityETHWithPermit(ad
swaprouter/swaprouter.go:514
↓ 1 callersMethodRemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens
RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984. Solidity: function re
swaprouter/swaprouter.go:535
↓ 1 callersMethodRemoveLiquidityWithPermit
RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c. Solidity: function removeLiquidityWithPermit(address
swaprouter/swaprouter.go:556
↓ 1 callersMethodSellCallData
(amountIn *big.Int, recipient common.Address)
market/types.go:88
↓ 1 callersMethodSkim
Skim is a paid mutator transaction binding the contract method 0xbc25cf77. Solidity: function skim(address to) returns()
traderjoepair/traderjoepair.go:843
↓ 1 callersMethodSwap
Swap is a paid mutator transaction binding the contract method 0x022c0d9f. Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to
traderjoepair/traderjoepair.go:864
↓ 1 callersMethodSwapETHForExactTokens
SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41. Solidity: function swapETHForExactTokens(uint256 amountOu
swaprouter/swaprouter.go:577
↓ 1 callersMethodSwapExactETHForTokens
SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5. Solidity: function swapExactETHForTokens(uint256 amountOu
swaprouter/swaprouter.go:598
↓ 1 callersMethodSwapExactETHForTokensSupportingFeeOnTransferTokens
SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95. Solidity: function swapExact
swaprouter/swaprouter.go:619
↓ 1 callersMethodSwapExactTokensForETH
SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5. Solidity: function swapExactTokensForETH(uint256 amountIn
swaprouter/swaprouter.go:640
↓ 1 callersMethodSwapExactTokensForETHSupportingFeeOnTransferTokens
SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947. Solidity: function swapExact
swaprouter/swaprouter.go:661
↓ 1 callersMethodSwapExactTokensForTokens
SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739. Solidity: function swapExactTokensForTokens(uint256 am
swaprouter/swaprouter.go:682
↓ 1 callersMethodSwapExactTokensForTokensSupportingFeeOnTransferTokens
SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795. Solidity: function swapEx
swaprouter/swaprouter.go:703
↓ 1 callersMethodSwapTokensForExactETH
SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a. Solidity: function swapTokensForExactETH(uint256 amountOu
swaprouter/swaprouter.go:724
↓ 1 callersMethodSwapTokensForExactTokens
SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee. Solidity: function swapTokensForExactTokens(uint256 am
swaprouter/swaprouter.go:745
↓ 1 callersMethodSync
Sync is a paid mutator transaction binding the contract method 0xfff6cae9. Solidity: function sync() returns()
traderjoepair/traderjoepair.go:885
↓ 1 callersMethodTransfer
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
swaprouter/swaprouter.go:154
↓ 1 callersMethodTransfer
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
flashbundle/flashbundle.go:154
↓ 1 callersMethodTransferFrom
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd. Solidity: function transferFrom(address from, address to, uint256
traderjoepair/traderjoepair.go:927
next →1–100 of 337, ranked by callers