MCPcopy Create free account

hub / github.com/0xnibbler/mev-q4-2020 / functions

Functions795 in github.com/0xnibbler/mev-q4-2020

↓ 62 callersMethodString
()
model/amm.go:15
↓ 27 callersMethodHash
()
model/cycle.go:116
↓ 25 callersMethodTransfer
(in bool, addr common.Address, amt *big.Int)
tokens/list.go:314
↓ 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
contracts/sushiswap/UniswapV2Pair.go:157
↓ 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
contracts/uniswapv2/UniswapV2Pair.go:157
↓ 18 callersMethodTransact
Transact invokes the (paid) contract method with params as input values.
contracts/sushiswap/UniswapV2Router02.go:168
↓ 18 callersMethodTransact
Transact invokes the (paid) contract method with params as input values.
contracts/uniswapv2/UniswapV2Router02.go:168
↓ 12 callersMethodAmt
(t common.Address, a model.AMT)
tokens/list.go:207
↓ 11 callersMethodInt
()
model/amt.go:52
↓ 11 callersMethodTransact
Transact invokes the (paid) contract method with params as input values.
contracts/sushiswap/UniswapV2Pair.go:168
↓ 11 callersMethodTransact
Transact invokes the (paid) contract method with params as input values.
contracts/uniswapv2/UniswapV2Pair.go:168
↓ 10 callersMethodamtOut
(amtIn *big.Int, addr, tokenIn common.Address)
amm/uniswapv2.go:316
↓ 10 callersMethodamtOut
func (s *Sushiswap) updatePrices(a common.Address) error { p, ok := s.pairs[a] if !ok { return errors.New("pair not found") } for _, amt := ran
amm/sushiswap.go:362
↓ 8 callersMethodAdd
(c []*model.Cycle)
algo/sched.go:8
↓ 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
contracts/sushiswap/UniswapV2Router02.go:157
↓ 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
contracts/sushiswap/UniswapV2Factory.go:157
↓ 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
contracts/uniswapv2/UniswapV2Router02.go:157
↓ 8 callersMethodSetAmt
(t common.Address, amt *big.Int, amm model.AMM)
algo/algo.go:370
↓ 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
contracts/erc20/token.go:140
↓ 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
contracts/weth/WETH9.go:157
↓ 7 callersMethodGetAmountsOut
(*bind.CallOpts, *big.Int, []common.Address)
util/pull.go:20
↓ 7 callersMethodID
()
amm/uniswapv2.go:45
↓ 7 callersMethodID
()
amm/sushiswap.go:72
↓ 6 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
contracts/uniswapv2/UniswapV2Factory.go:157
↓ 6 callersMethodTransact
Transact invokes the (paid) contract method with params as input values.
contracts/weth/WETH9.go:168
↓ 5 callersMethodClose
Close terminates the iteration process, releasing any pending underlying resources.
contracts/weth/WETH9.go:719
↓ 5 callersMethodTransact
Transact invokes the (paid) contract method with params as input values.
contracts/sushiswap/UniswapV2Factory.go:168
↓ 4 callersFunctionAddressMapToSlice
(m map[common.Address]struct{})
util/common.go:5
↓ 4 callersMethodAllPairs
AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b. Solidity: function allPairs(uint256 ) view returns(address)
contracts/sushiswap/UniswapV2Factory.go:194
↓ 4 callersMethodAllPairsLength
AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3. Solidity: function allPairsLength() view returns(uint256)
contracts/sushiswap/UniswapV2Factory.go:225
↓ 4 callersMethodError
Error returns any retrieval or parsing error occurred during filtering.
contracts/weth/WETH9.go:713
↓ 4 callersMethodFloat
()
model/amt.go:25
↓ 4 callersMethodGetPair
GetPair is a free data retrieval call binding the contract method 0xe6a43905. Solidity: function getPair(address , address ) view returns(address)
contracts/sushiswap/UniswapV2Factory.go:318
↓ 4 callersMethodIsWETH
()
tokens/token.go:22
↓ 4 callersMethodToken0
Token0 is a free data retrieval call binding the contract method 0x0dfe1681. Solidity: function token0() view returns(address)
contracts/sushiswap/UniswapV2Pair.go:647
↓ 4 callersMethodToken1
Token1 is a free data retrieval call binding the contract method 0xd21220a7. Solidity: function token1() view returns(address)
contracts/sushiswap/UniswapV2Pair.go:678
↓ 4 callersMethodTransact
Transact invokes the (paid) contract method with params as input values.
contracts/erc20/token.go:151
↓ 4 callersMethodTransact
Transact invokes the (paid) contract method with params as input values.
contracts/uniswapv2/UniswapV2Factory.go:168
↓ 4 callersMethodUpdate
(fromToken, toToken common.Address, amm model.AMM, rate float64, a model.AMT)
amm/common.go:37
↓ 4 callersFunctionbindToken
bindToken binds a generic wrapper to an already deployed contract.
contracts/erc20/token.go:128
↓ 4 callersFunctionbindUniswapV2Factory
bindUniswapV2Factory binds a generic wrapper to an already deployed contract.
contracts/sushiswap/UniswapV2Factory.go:145
↓ 4 callersFunctionbindUniswapV2Factory
bindUniswapV2Factory binds a generic wrapper to an already deployed contract.
contracts/uniswapv2/UniswapV2Factory.go:145
↓ 4 callersFunctionbindUniswapV2Pair
bindUniswapV2Pair binds a generic wrapper to an already deployed contract.
contracts/sushiswap/UniswapV2Pair.go:145
↓ 4 callersFunctionbindUniswapV2Pair
bindUniswapV2Pair binds a generic wrapper to an already deployed contract.
contracts/uniswapv2/UniswapV2Pair.go:145
↓ 4 callersFunctionbindUniswapV2Router02
bindUniswapV2Router02 binds a generic wrapper to an already deployed contract.
contracts/sushiswap/UniswapV2Router02.go:145
↓ 4 callersFunctionbindUniswapV2Router02
bindUniswapV2Router02 binds a generic wrapper to an already deployed contract.
contracts/uniswapv2/UniswapV2Router02.go:145
↓ 4 callersFunctionbindWETH
bindWETH binds a generic wrapper to an already deployed contract.
contracts/weth/WETH9.go:145
↓ 3 callersMethodByAddr
(a common.Address)
tokens/list.go:254
↓ 3 callersMethodDecimals
Decimals is a free data retrieval call binding the contract method 0x313ce567. Solidity: function decimals() view returns(uint8)
contracts/erc20/token.go:239
↓ 3 callersMethodName
Name is a free data retrieval call binding the contract method 0x06fdde03. Solidity: function name() view returns(string)
contracts/erc20/token.go:270
↓ 3 callersFunctionNewConfig
(rpc *rpc.Client, prices PriceKeeper, tokens *tokens.List, metrics *metrics.Metrics)
amm/common.go:21
↓ 3 callersMethodSave
()
util/pull.go:26
↓ 3 callersMethodStop
()
metrics/metrics.go:116
↓ 3 callersMethodSymbol
Symbol is a free data retrieval call binding the contract method 0x95d89b41. Solidity: function symbol() view returns(string)
contracts/erc20/token.go:301
↓ 3 callersMethodUpdate
(cc map[uint64]float64)
algo/sched.go:9
↓ 3 callersMethodpreMetric
(f func())
metrics/metrics.go:147
↓ 3 callersMethodupdatePrices
(a common.Address)
amm/uniswapv2.go:204
↓ 3 callersMethodupdatePrices
(a common.Address)
amm/sushiswap.go:196
↓ 2 callersMethodAge
()
model/cycle.go:108
↓ 2 callersMethodAllAddresses
()
tokens/list.go:376
↓ 2 callersMethodAllPairs
AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b. Solidity: function allPairs(uint256 ) view returns(address)
contracts/uniswapv2/UniswapV2Factory.go:194
↓ 2 callersMethodAllPairsLength
AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3. Solidity: function allPairsLength() view returns(uint256)
contracts/uniswapv2/UniswapV2Factory.go:225
↓ 2 callersMethodAllowance
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. Solidity: function allowance(address owner, address spender) view ret
contracts/erc20/token.go:177
↓ 2 callersMethodAllowance
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. Solidity: function allowance(address , address ) view returns(uint256
contracts/sushiswap/UniswapV2Pair.go:287
↓ 2 callersMethodAllowance
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. Solidity: function allowance(address , address ) view returns(uint256
contracts/uniswapv2/UniswapV2Pair.go:287
↓ 2 callersMethodAllowance
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e. Solidity: function allowance(address , address ) view returns(uint256
contracts/weth/WETH9.go:194
↓ 2 callersMethodBalanceOf
BalanceOf is a free data retrieval call binding the contract method 0x70a08231. Solidity: function balanceOf(address owner) view returns(uint256)
contracts/erc20/token.go:208
↓ 2 callersMethodBalanceOf
BalanceOf is a free data retrieval call binding the contract method 0x70a08231. Solidity: function balanceOf(address ) view returns(uint256)
contracts/sushiswap/UniswapV2Pair.go:318
↓ 2 callersMethodBalanceOf
BalanceOf is a free data retrieval call binding the contract method 0x70a08231. Solidity: function balanceOf(address ) view returns(uint256)
contracts/uniswapv2/UniswapV2Pair.go:318
↓ 2 callersMethodBalanceOf
BalanceOf is a free data retrieval call binding the contract method 0x70a08231. Solidity: function balanceOf(address ) view returns(uint256)
contracts/weth/WETH9.go:225
↓ 2 callersMethodCopy
()
algo/graph/bf.go:100
↓ 2 callersMethodDOMAINSEPARATOR
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515. Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
contracts/sushiswap/UniswapV2Pair.go:194
↓ 2 callersMethodDOMAINSEPARATOR
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515. Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
contracts/uniswapv2/UniswapV2Pair.go:194
↓ 2 callersMethodDecimals
Decimals is a free data retrieval call binding the contract method 0x313ce567. Solidity: function decimals() view returns(uint8)
contracts/sushiswap/UniswapV2Pair.go:349
↓ 2 callersMethodDecimals
Decimals is a free data retrieval call binding the contract method 0x313ce567. Solidity: function decimals() view returns(uint8)
contracts/uniswapv2/UniswapV2Pair.go:349
↓ 2 callersMethodDecimals
Decimals is a free data retrieval call binding the contract method 0x313ce567. Solidity: function decimals() view returns(uint8)
contracts/weth/WETH9.go:256
↓ 2 callersMethodFactory
Factory is a free data retrieval call binding the contract method 0xc45a0155. Solidity: function factory() view returns(address)
contracts/sushiswap/UniswapV2Router02.go:225
↓ 2 callersMethodFactory
Factory is a free data retrieval call binding the contract method 0xc45a0155. Solidity: function factory() view returns(address)
contracts/sushiswap/UniswapV2Pair.go:380
↓ 2 callersMethodFactory
Factory is a free data retrieval call binding the contract method 0xc45a0155. Solidity: function factory() view returns(address)
contracts/uniswapv2/UniswapV2Router02.go:225
↓ 2 callersMethodFactory
Factory is a free data retrieval call binding the contract method 0xc45a0155. Solidity: function factory() view returns(address)
contracts/uniswapv2/UniswapV2Pair.go:380
↓ 2 callersMethodFeeTo
FeeTo is a free data retrieval call binding the contract method 0x017e7e58. Solidity: function feeTo() view returns(address)
contracts/sushiswap/UniswapV2Factory.go:256
↓ 2 callersMethodFeeTo
FeeTo is a free data retrieval call binding the contract method 0x017e7e58. Solidity: function feeTo() view returns(address)
contracts/uniswapv2/UniswapV2Factory.go:256
↓ 2 callersMethodFeeToSetter
FeeToSetter is a free data retrieval call binding the contract method 0x094b7415. Solidity: function feeToSetter() view returns(address)
contracts/sushiswap/UniswapV2Factory.go:287
↓ 2 callersMethodFeeToSetter
FeeToSetter is a free data retrieval call binding the contract method 0x094b7415. Solidity: function feeToSetter() view returns(address)
contracts/uniswapv2/UniswapV2Factory.go:287
↓ 2 callersMethodGetAllPools
(ctx context.Context, from int)
util/pull.go:24
↓ 2 callersMethodGetAmountIn
GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259. Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn
contracts/sushiswap/UniswapV2Router02.go:256
↓ 2 callersMethodGetAmountIn
GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259. Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn
contracts/uniswapv2/UniswapV2Router02.go:256
↓ 2 callersMethodGetAmountOut
GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4. Solidity: function getAmountOut(uint256 amountIn, uint256 reserveI
contracts/sushiswap/UniswapV2Router02.go:287
↓ 2 callersMethodGetAmountOut
GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4. Solidity: function getAmountOut(uint256 amountIn, uint256 reserveI
contracts/uniswapv2/UniswapV2Router02.go:287
↓ 2 callersMethodGetAmountsIn
GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74. Solidity: function getAmountsIn(uint256 amountOut, address[] path)
contracts/sushiswap/UniswapV2Router02.go:318
↓ 2 callersMethodGetAmountsIn
GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74. Solidity: function getAmountsIn(uint256 amountOut, address[] path)
contracts/uniswapv2/UniswapV2Router02.go:318
↓ 2 callersMethodGetPair
GetPair is a free data retrieval call binding the contract method 0xe6a43905. Solidity: function getPair(address , address ) view returns(address)
contracts/uniswapv2/UniswapV2Factory.go:318
↓ 2 callersMethodGetReserves
GetReserves is a free data retrieval call binding the contract method 0x0902f1ac. Solidity: function getReserves() view returns(uint112 _reserve0, ui
contracts/sushiswap/UniswapV2Pair.go:411
↓ 2 callersMethodGetReserves
GetReserves is a free data retrieval call binding the contract method 0x0902f1ac. Solidity: function getReserves() view returns(uint112 _reserve0, ui
contracts/uniswapv2/UniswapV2Pair.go:411
↓ 2 callersMethodKLast
KLast is a free data retrieval call binding the contract method 0x7464fc3d. Solidity: function kLast() view returns(uint256)
contracts/sushiswap/UniswapV2Pair.go:461
↓ 2 callersMethodKLast
KLast is a free data retrieval call binding the contract method 0x7464fc3d. Solidity: function kLast() view returns(uint256)
contracts/uniswapv2/UniswapV2Pair.go:461
↓ 2 callersFunctionLoad
(file string, data interface{})
util/data.go:35
↓ 2 callersMethodMINIMUMLIQUIDITY
MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56. Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)
contracts/sushiswap/UniswapV2Pair.go:225
↓ 2 callersMethodMINIMUMLIQUIDITY
MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56. Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)
contracts/uniswapv2/UniswapV2Pair.go:225
↓ 2 callersMethodMetricPoolUpdate
(a model.AMM, p common.Address)
metrics/metrics.go:121
next →1–100 of 795, ranked by callers