Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/beansgum/simple-arbitrage-go
/ functions
Functions
337 in github.com/beansgum/simple-arbitrage-go
⨍
Functions
337
◇
Types & classes
64
↓ 18 callers
Method
Call
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 callers
Method
Transact
Transact invokes the (paid) contract method with params as input values.
swaprouter/swaprouter.go:159
↓ 16 callers
Function
ToWei
(iamount interface{})
helpers/utils.go:32
↓ 14 callers
Function
ToDecimal
(ivalue interface{})
helpers/utils.go:15
↓ 11 callers
Method
Transact
Transact invokes the (paid) contract method with params as input values.
traderjoepair/traderjoepair.go:159
↓ 8 callers
Method
Call
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 callers
Method
Call
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 callers
Method
Call
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 callers
Method
GetTokensOut
(tokenIn, tokenOut common.Address, amountIn *big.Int)
market/market.go:122
↓ 6 callers
Method
FindPair
(tokenIn, tokenOut common.Address)
market/market.go:94
↓ 4 callers
Method
FindPairTokens
(pairAddresses []common.Address)
market/market.go:16
↓ 4 callers
Method
FindPairs
FindPairs is a free data retrieval call binding the contract method 0xdac11388. Solidity: function findPairs(address _uniswapFactory, address[][] pai
flashbundle/flashbundle.go:216
↓ 4 callers
Method
Transact
Transact invokes the (paid) contract method with params as input values.
erc20/erc20.go:159
↓ 4 callers
Method
Transact
Transact invokes the (paid) contract method with params as input values.
flashbundle/flashbundle.go:159
↓ 4 callers
Method
UniswapWeth
(_wethAmountToFirstMarket *big.Int, targets []common.Address, payloads [][]byte)
strategy/crossmarket.go:19
↓ 4 callers
Function
bindErc20
bindErc20 binds a generic wrapper to an already deployed contract.
erc20/erc20.go:136
↓ 4 callers
Function
bindFlashbundle
bindFlashbundle binds a generic wrapper to an already deployed contract.
flashbundle/flashbundle.go:136
↓ 4 callers
Function
bindSwaprouter
bindSwaprouter binds a generic wrapper to an already deployed contract.
swaprouter/swaprouter.go:136
↓ 4 callers
Function
bindTraderjoepair
bindTraderjoepair binds a generic wrapper to an already deployed contract.
traderjoepair/traderjoepair.go:136
↓ 3 callers
Method
GetReservesByPairs
GetReservesByPairs is a free data retrieval call binding the contract method 0x4dbf0f39. Solidity: function getReservesByPairs(address[] _pairs) view
flashbundle/flashbundle.go:278
↓ 3 callers
Method
Token0
Token0 is a free data retrieval call binding the contract method 0x0dfe1681. Solidity: function token0() view returns(address)
traderjoepair/traderjoepair.go:638
↓ 3 callers
Method
Token1
Token1 is a free data retrieval call binding the contract method 0xd21220a7. Solidity: function token1() view returns(address)
traderjoepair/traderjoepair.go:669
↓ 3 callers
Method
Transfer
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
traderjoepair/traderjoepair.go:154
↓ 3 callers
Method
Transfer
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
erc20/erc20.go:154
↓ 3 callers
Function
tokenAddress
(token1, token2 common.Address)
market/market.go:90
↓ 2 callers
Method
Address
()
market/market.go:61
↓ 2 callers
Method
Allowance
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 callers
Method
Allowance
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 callers
Method
BalanceOf
BalanceOf is a free data retrieval call binding the contract method 0x70a08231. Solidity: function balanceOf(address ) view returns(uint256)
traderjoepair/traderjoepair.go:309
↓ 2 callers
Method
BalanceOf
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 callers
Method
DOMAINSEPARATOR
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515. Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
traderjoepair/traderjoepair.go:185
↓ 2 callers
Method
Decimals
Decimals is a free data retrieval call binding the contract method 0x313ce567. Solidity: function decimals() view returns(uint8)
traderjoepair/traderjoepair.go:340
↓ 2 callers
Method
Decimals
Decimals is a free data retrieval call binding the contract method 0x313ce567. Solidity: function decimals() view returns(uint8)
erc20/erc20.go:247
↓ 2 callers
Method
Factory
Factory is a free data retrieval call binding the contract method 0xc45a0155. Solidity: function factory() view returns(address)
swaprouter/swaprouter.go:216
↓ 2 callers
Method
Factory
Factory is a free data retrieval call binding the contract method 0xc45a0155. Solidity: function factory() view returns(address)
traderjoepair/traderjoepair.go:371
↓ 2 callers
Method
GetAmountIn
GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259. Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn
swaprouter/swaprouter.go:247
↓ 2 callers
Method
GetAmountOut
GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4. Solidity: function getAmountOut(uint256 amountIn, uint256 reserveI
swaprouter/swaprouter.go:278
↓ 2 callers
Method
GetAmountsIn
GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74. Solidity: function getAmountsIn(uint256 amountOut, address[] path)
swaprouter/swaprouter.go:309
↓ 2 callers
Method
GetAmountsOut
GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f. Solidity: function getAmountsOut(uint256 amountIn, address[] path
swaprouter/swaprouter.go:340
↓ 2 callers
Method
GetPairsByIndexRange
GetPairsByIndexRange is a free data retrieval call binding the contract method 0xab2217e4. Solidity: function getPairsByIndexRange(address _uniswapFa
flashbundle/flashbundle.go:247
↓ 2 callers
Method
GetReserves
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 callers
Method
KLast
KLast is a free data retrieval call binding the contract method 0x7464fc3d. Solidity: function kLast() view returns(uint256)
traderjoepair/traderjoepair.go:452
↓ 2 callers
Method
MINIMUMLIQUIDITY
MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56. Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)
traderjoepair/traderjoepair.go:216
↓ 2 callers
Method
Name
Name is a free data retrieval call binding the contract method 0x06fdde03. Solidity: function name() view returns(string)
traderjoepair/traderjoepair.go:483
↓ 2 callers
Method
Name
Name is a free data retrieval call binding the contract method 0x06fdde03. Solidity: function name() view returns(string)
erc20/erc20.go:278
↓ 2 callers
Method
Name
()
market/market.go:57
↓ 2 callers
Function
NewMarket
(name string, marketAddress common.Address, pairs []*Pair, flashbot FlashBot)
market/market.go:30
↓ 2 callers
Function
NewPair
(address common.Address)
market/types.go:139
↓ 2 callers
Method
Nonces
Nonces is a free data retrieval call binding the contract method 0x7ecebe00. Solidity: function nonces(address ) view returns(uint256)
traderjoepair/traderjoepair.go:514
↓ 2 callers
Method
PERMITTYPEHASH
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f. Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
traderjoepair/traderjoepair.go:247
↓ 2 callers
Method
Price0CumulativeLast
Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5. Solidity: function price0CumulativeLast() view returns(uin
traderjoepair/traderjoepair.go:545
↓ 2 callers
Method
Price1CumulativeLast
Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493. Solidity: function price1CumulativeLast() view returns(uin
traderjoepair/traderjoepair.go:576
↓ 2 callers
Method
Quote
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 callers
Method
Symbol
Symbol is a free data retrieval call binding the contract method 0x95d89b41. Solidity: function symbol() view returns(string)
traderjoepair/traderjoepair.go:607
↓ 2 callers
Method
Symbol
Symbol is a free data retrieval call binding the contract method 0x95d89b41. Solidity: function symbol() view returns(string)
erc20/erc20.go:309
↓ 2 callers
Method
TotalSupply
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. Solidity: function totalSupply() view returns(uint256)
traderjoepair/traderjoepair.go:700
↓ 2 callers
Method
TotalSupply
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd. Solidity: function totalSupply() view returns(uint256)
erc20/erc20.go:340
↓ 2 callers
Method
WETH
WETH is a free data retrieval call binding the contract method 0xad5c4648. Solidity: function WETH() view returns(address)
swaprouter/swaprouter.go:185
↓ 2 callers
Function
WrapBigInt
(b *big.Int)
helpers/utils.go:57
↓ 2 callers
Method
txAuth
()
main.go:82
↓ 1 callers
Method
AddLiquidity
AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700. Solidity: function addLiquidity(address tokenA, address tokenB, ui
swaprouter/swaprouter.go:409
↓ 1 callers
Method
AddLiquidityETH
AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719. Solidity: function addLiquidityETH(address token, uint256 amoun
swaprouter/swaprouter.go:430
↓ 1 callers
Method
Approve
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 callers
Method
Approve
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 callers
Method
Burn
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 callers
Method
BuyCallData
(amountIn *big.Int)
market/types.go:43
↓ 1 callers
Method
EvaluateMarkets
(markets []*market.Market, tokens []common.Address)
strategy/crossmarket.go:30
↓ 1 callers
Method
Fallback
Fallback is a paid mutator transaction binding the contract fallback function. Solidity: fallback() payable returns()
erc20/erc20.go:441
↓ 1 callers
Method
GetTokensIn
(tokenIn, tokenOut common.Address, amountOut *big.Int)
market/market.go:110
↓ 1 callers
Method
Initialize
Initialize is a paid mutator transaction binding the contract method 0x485cc955. Solidity: function initialize(address _token0, address _token1) retu
traderjoepair/traderjoepair.go:780
↓ 1 callers
Method
Mint
Mint is a paid mutator transaction binding the contract method 0x6a627842. Solidity: function mint(address to) returns(uint256 liquidity)
traderjoepair/traderjoepair.go:801
↓ 1 callers
Function
NewCrossMarketArbitrage
(flashBot FlashBot)
strategy/crossmarket.go:26
↓ 1 callers
Function
NewFlashbundle
NewFlashbundle creates a new instance of Flashbundle, bound to a specific deployed contract.
flashbundle/flashbundle.go:100
↓ 1 callers
Function
NewTraderjoepair
NewTraderjoepair creates a new instance of Traderjoepair, bound to a specific deployed contract.
traderjoepair/traderjoepair.go:100
↓ 1 callers
Method
Permit
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 callers
Method
Profit
()
market/types.go:37
↓ 1 callers
Method
Receive
Receive is a paid mutator transaction binding the contract receive function. Solidity: receive() payable returns()
swaprouter/swaprouter.go:766
↓ 1 callers
Method
Receive
Receive is a paid mutator transaction binding the contract receive function. Solidity: receive() payable returns()
flashbundle/flashbundle.go:379
↓ 1 callers
Method
RemoveLiquidity
RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde. Solidity: function removeLiquidity(address tokenA, address toke
swaprouter/swaprouter.go:451
↓ 1 callers
Method
RemoveLiquidityETH
RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec. Solidity: function removeLiquidityETH(address token, uint256
swaprouter/swaprouter.go:472
↓ 1 callers
Method
RemoveLiquidityETHSupportingFeeOnTransferTokens
RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb. Solidity: function removeLiquid
swaprouter/swaprouter.go:493
↓ 1 callers
Method
RemoveLiquidityETHWithPermit
RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a. Solidity: function removeLiquidityETHWithPermit(ad
swaprouter/swaprouter.go:514
↓ 1 callers
Method
RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens
RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984. Solidity: function re
swaprouter/swaprouter.go:535
↓ 1 callers
Method
RemoveLiquidityWithPermit
RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c. Solidity: function removeLiquidityWithPermit(address
swaprouter/swaprouter.go:556
↓ 1 callers
Method
SellCallData
(amountIn *big.Int, recipient common.Address)
market/types.go:88
↓ 1 callers
Method
Skim
Skim is a paid mutator transaction binding the contract method 0xbc25cf77. Solidity: function skim(address to) returns()
traderjoepair/traderjoepair.go:843
↓ 1 callers
Method
Swap
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 callers
Method
SwapETHForExactTokens
SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41. Solidity: function swapETHForExactTokens(uint256 amountOu
swaprouter/swaprouter.go:577
↓ 1 callers
Method
SwapExactETHForTokens
SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5. Solidity: function swapExactETHForTokens(uint256 amountOu
swaprouter/swaprouter.go:598
↓ 1 callers
Method
SwapExactETHForTokensSupportingFeeOnTransferTokens
SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95. Solidity: function swapExact
swaprouter/swaprouter.go:619
↓ 1 callers
Method
SwapExactTokensForETH
SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5. Solidity: function swapExactTokensForETH(uint256 amountIn
swaprouter/swaprouter.go:640
↓ 1 callers
Method
SwapExactTokensForETHSupportingFeeOnTransferTokens
SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947. Solidity: function swapExact
swaprouter/swaprouter.go:661
↓ 1 callers
Method
SwapExactTokensForTokens
SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739. Solidity: function swapExactTokensForTokens(uint256 am
swaprouter/swaprouter.go:682
↓ 1 callers
Method
SwapExactTokensForTokensSupportingFeeOnTransferTokens
SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795. Solidity: function swapEx
swaprouter/swaprouter.go:703
↓ 1 callers
Method
SwapTokensForExactETH
SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a. Solidity: function swapTokensForExactETH(uint256 amountOu
swaprouter/swaprouter.go:724
↓ 1 callers
Method
SwapTokensForExactTokens
SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee. Solidity: function swapTokensForExactTokens(uint256 am
swaprouter/swaprouter.go:745
↓ 1 callers
Method
Sync
Sync is a paid mutator transaction binding the contract method 0xfff6cae9. Solidity: function sync() returns()
traderjoepair/traderjoepair.go:885
↓ 1 callers
Method
Transfer
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
swaprouter/swaprouter.go:154
↓ 1 callers
Method
Transfer
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
flashbundle/flashbundle.go:154
↓ 1 callers
Method
TransferFrom
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