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
↓ 1 callers
Method
TransferFrom
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd. Solidity: function transferFrom(address _from, address _to, uint25
erc20/erc20.go:420
↓ 1 callers
Method
UniswapLoss
UniswapLoss is a paid mutator transaction binding the contract method 0x0b86ebe2. Solidity: function uniswapLoss(uint256 _wethAmountToFirstMarket, ad
flashbundle/flashbundle.go:337
↓ 1 callers
Method
UpdateReserves
(bundleExecutor *flashbundle.Flashbundle)
market/market.go:65
↓ 1 callers
Method
beginArbitrage
()
main.go:94
↓ 1 callers
Method
blockNotifications
()
worker.go:10
↓ 1 callers
Method
getAmountIn
(reserveIn, reserveOut, amountOut *big.Int)
market/market.go:134
↓ 1 callers
Method
getAmountOut
(reserveIn, reserveOut, amountIn *big.Int)
market/market.go:147
↓ 1 callers
Method
getBestCrossedMarket
(crossedMarkets []*market.CrossedMarket)
strategy/crossmarket.go:133
↓ 1 callers
Function
newArbBot
()
main.go:57
Method
AddLiquidity
AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700. Solidity: function addLiquidity(address tokenA, address tokenB, ui
swaprouter/swaprouter.go:402
Method
AddLiquidity
AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700. Solidity: function addLiquidity(address tokenA, address tokenB, ui
swaprouter/swaprouter.go:416
Method
AddLiquidityETH
AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719. Solidity: function addLiquidityETH(address token, uint256 amoun
swaprouter/swaprouter.go:423
Method
AddLiquidityETH
AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719. Solidity: function addLiquidityETH(address token, uint256 amoun
swaprouter/swaprouter.go:437
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:295
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:302
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:202
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:209
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:731
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:745
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:371
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:385
Method
BalanceOf
BalanceOf is a free data retrieval call binding the contract method 0x70a08231. Solidity: function balanceOf(address ) view returns(uint256)
traderjoepair/traderjoepair.go:326
Method
BalanceOf
BalanceOf is a free data retrieval call binding the contract method 0x70a08231. Solidity: function balanceOf(address ) view returns(uint256)
traderjoepair/traderjoepair.go:333
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:233
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:240
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:752
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:766
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:167
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:167
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:167
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:167
Method
Call
Call is a paid mutator transaction binding the contract method 0x6dbf2fa0. Solidity: function call(address _to, uint256 _value, bytes _data) payable
flashbundle/flashbundle.go:309
Method
Call
Call is a paid mutator transaction binding the contract method 0x6dbf2fa0. Solidity: function call(address _to, uint256 _value, bytes _data) payable
flashbundle/flashbundle.go:316
Method
Call
Call is a paid mutator transaction binding the contract method 0x6dbf2fa0. Solidity: function call(address _to, uint256 _value, bytes _data) payable
flashbundle/flashbundle.go:323
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
traderjoepair/traderjoepair.go:1000
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
traderjoepair/traderjoepair.go:1154
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
traderjoepair/traderjoepair.go:1311
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
traderjoepair/traderjoepair.go:1457
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
traderjoepair/traderjoepair.go:1616
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
traderjoepair/traderjoepair.go:1751
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
erc20/erc20.go:514
Method
Close
Close terminates the iteration process, releasing any pending underlying resources.
erc20/erc20.go:668
Method
DOMAINSEPARATOR
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515. Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
traderjoepair/traderjoepair.go:202
Method
DOMAINSEPARATOR
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515. Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
traderjoepair/traderjoepair.go:209
Method
Decimals
Decimals is a free data retrieval call binding the contract method 0x313ce567. Solidity: function decimals() view returns(uint8)
traderjoepair/traderjoepair.go:357
Method
Decimals
Decimals is a free data retrieval call binding the contract method 0x313ce567. Solidity: function decimals() view returns(uint8)
traderjoepair/traderjoepair.go:364
Method
Decimals
Decimals is a free data retrieval call binding the contract method 0x313ce567. Solidity: function decimals() view returns(uint8)
erc20/erc20.go:264
Method
Decimals
Decimals is a free data retrieval call binding the contract method 0x313ce567. Solidity: function decimals() view returns(uint8)
erc20/erc20.go:271
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
traderjoepair/traderjoepair.go:994
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
traderjoepair/traderjoepair.go:1148
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
traderjoepair/traderjoepair.go:1305
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
traderjoepair/traderjoepair.go:1451
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
traderjoepair/traderjoepair.go:1610
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
traderjoepair/traderjoepair.go:1745
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
erc20/erc20.go:508
Method
Error
Error returns any retrieval or parsing error occurred during filtering.
erc20/erc20.go:662
Method
Factory
Factory is a free data retrieval call binding the contract method 0xc45a0155. Solidity: function factory() view returns(address)
swaprouter/swaprouter.go:233
Method
Factory
Factory is a free data retrieval call binding the contract method 0xc45a0155. Solidity: function factory() view returns(address)
swaprouter/swaprouter.go:240
Method
Factory
Factory is a free data retrieval call binding the contract method 0xc45a0155. Solidity: function factory() view returns(address)
traderjoepair/traderjoepair.go:388
Method
Factory
Factory is a free data retrieval call binding the contract method 0xc45a0155. Solidity: function factory() view returns(address)
traderjoepair/traderjoepair.go:395
Method
Fallback
Fallback is a paid mutator transaction binding the contract fallback function. Solidity: fallback() payable returns()
erc20/erc20.go:434
Method
Fallback
Fallback is a paid mutator transaction binding the contract fallback function. Solidity: fallback() payable returns()
erc20/erc20.go:448
Method
FilterApproval
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925. Solid
traderjoepair/traderjoepair.go:1016
Method
FilterApproval
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925. Solid
erc20/erc20.go:530
Method
FilterBurn
FilterBurn is a free log retrieval operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496. Solidity:
traderjoepair/traderjoepair.go:1171
Method
FilterMint
FilterMint is a free log retrieval operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f. Solidity:
traderjoepair/traderjoepair.go:1327
Method
FilterSwap
FilterSwap is a free log retrieval operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822. Solidity:
traderjoepair/traderjoepair.go:1476
Method
FilterSync
FilterSync is a free log retrieval operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1. Solidity:
traderjoepair/traderjoepair.go:1631
Method
FilterTransfer
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef. Solid
traderjoepair/traderjoepair.go:1767
Method
FilterTransfer
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef. Solid
erc20/erc20.go:684
Method
FindPairTokens
(pairAddresses []common.Address)
contract.go:26
Method
FindPairTokens
FindPairTokens is a free data retrieval call binding the contract method 0x4fcaf4ac. Solidity: function findPairTokens(address[] pairAddresses) view
flashbundle/flashbundle.go:185
Method
FindPairTokens
FindPairTokens is a free data retrieval call binding the contract method 0x4fcaf4ac. Solidity: function findPairTokens(address[] pairAddresses) view
flashbundle/flashbundle.go:202
Method
FindPairTokens
FindPairTokens is a free data retrieval call binding the contract method 0x4fcaf4ac. Solidity: function findPairTokens(address[] pairAddresses) view
flashbundle/flashbundle.go:209
Method
FindPairs
FindPairs is a free data retrieval call binding the contract method 0xdac11388. Solidity: function findPairs(address _uniswapFactory, address[][] pai
flashbundle/flashbundle.go:233
Method
FindPairs
FindPairs is a free data retrieval call binding the contract method 0xdac11388. Solidity: function findPairs(address _uniswapFactory, address[][] pai
flashbundle/flashbundle.go:240
Method
GetAmountIn
GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259. Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn
swaprouter/swaprouter.go:264
Method
GetAmountIn
GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259. Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn
swaprouter/swaprouter.go:271
Method
GetAmountOut
GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4. Solidity: function getAmountOut(uint256 amountIn, uint256 reserveI
swaprouter/swaprouter.go:295
Method
GetAmountOut
GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4. Solidity: function getAmountOut(uint256 amountIn, uint256 reserveI
swaprouter/swaprouter.go:302
Method
GetAmountsIn
GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74. Solidity: function getAmountsIn(uint256 amountOut, address[] path)
swaprouter/swaprouter.go:326
Method
GetAmountsIn
GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74. Solidity: function getAmountsIn(uint256 amountOut, address[] path)
swaprouter/swaprouter.go:333
Method
GetAmountsOut
GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f. Solidity: function getAmountsOut(uint256 amountIn, address[] path
swaprouter/swaprouter.go:357
Method
GetAmountsOut
GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f. Solidity: function getAmountsOut(uint256 amountIn, address[] path
swaprouter/swaprouter.go:364
Method
GetPairsByIndexRange
GetPairsByIndexRange is a free data retrieval call binding the contract method 0xab2217e4. Solidity: function getPairsByIndexRange(address _uniswapFa
flashbundle/flashbundle.go:264
Method
GetPairsByIndexRange
GetPairsByIndexRange is a free data retrieval call binding the contract method 0xab2217e4. Solidity: function getPairsByIndexRange(address _uniswapFa
flashbundle/flashbundle.go:271
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:430
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:441
Method
GetReservesByPairs
GetReservesByPairs is a free data retrieval call binding the contract method 0x4dbf0f39. Solidity: function getReservesByPairs(address[] _pairs) view
flashbundle/flashbundle.go:295
Method
GetReservesByPairs
GetReservesByPairs is a free data retrieval call binding the contract method 0x4dbf0f39. Solidity: function getReservesByPairs(address[] _pairs) view
flashbundle/flashbundle.go:302
Method
HasPair
(tokenIn, tokenOut common.Address)
market/market.go:106
Method
Initialize
Initialize is a paid mutator transaction binding the contract method 0x485cc955. Solidity: function initialize(address _token0, address _token1) retu
traderjoepair/traderjoepair.go:773
Method
Initialize
Initialize is a paid mutator transaction binding the contract method 0x485cc955. Solidity: function initialize(address _token0, address _token1) retu
traderjoepair/traderjoepair.go:787
Method
KLast
KLast is a free data retrieval call binding the contract method 0x7464fc3d. Solidity: function kLast() view returns(uint256)
traderjoepair/traderjoepair.go:469
Method
KLast
KLast is a free data retrieval call binding the contract method 0x7464fc3d. Solidity: function kLast() view returns(uint256)
traderjoepair/traderjoepair.go:476
Method
MINIMUMLIQUIDITY
MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56. Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)
traderjoepair/traderjoepair.go:233
Method
MINIMUMLIQUIDITY
MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56. Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)
traderjoepair/traderjoepair.go:240
Method
Mint
Mint is a paid mutator transaction binding the contract method 0x6a627842. Solidity: function mint(address to) returns(uint256 liquidity)
traderjoepair/traderjoepair.go:794
Method
Mint
Mint is a paid mutator transaction binding the contract method 0x6a627842. Solidity: function mint(address to) returns(uint256 liquidity)
traderjoepair/traderjoepair.go:808
Method
Name
Name is a free data retrieval call binding the contract method 0x06fdde03. Solidity: function name() view returns(string)
traderjoepair/traderjoepair.go:500
← previous
next →
101–200 of 337, ranked by callers