MCPcopy Create free account

hub / github.com/cjthoma1/flashswap-arbitrage-avalanche / functions

Functions41 in github.com/cjthoma1/flashswap-arbitrage-avalanche

↓ 55 callersFunctionexpandTo18Decimals
(n: number)
shared/utilities.ts:16
↓ 23 callersFunctionisLocalEnv
(envName: string)
shared/utilities.ts:32
↓ 13 callersFunctiongetChainlinkPrice
(options: ChainlinkPriceOptions)
shared/utilities.ts:39
↓ 11 callersFunctionbigNumberToNumber
(number: BigNumber)
shared/utilities.ts:24
↓ 8 callersFunctionexpandToXDecimals
(n: number, expandAmount: number)
shared/utilities.ts:20
↓ 8 callersFunctionsetupPangolinTraderJoe
(firstTokenAddress: string, secondTokenAddress: string, swapFrom: ContractOptions )
scripts/flash-arb/services/setup/setup-pangolin-trader-joe.ts:7
↓ 6 callersFunctionswapMainToPartner
( arbitrageAmount: BigNumber, primaryTokenPair: Contract, secondaryTokenPair: Contract, mainTokenAddress:
scripts/flash-arb/services/swap/swap-main-to-partner.ts:6
↓ 6 callersFunctionswapPartnerToMain
( arbitrageAmount: BigNumber, primaryTokenPair: Contract, secondaryTokenPair: Contract, partnerTokenAddres
scripts/flash-arb/services/swap/swap-partner-to-main.ts:6
↓ 4 callersFunctionsetupPangolinSushi
(firstTokenAddress: string, secondTokenAddress: string, swapFrom: ContractOptions )
scripts/flash-arb/services/setup/setup-pangolin-sushi.ts:7
↓ 2 callersFunctioncalculateGasCost
()
shared/utilities.ts:83
↓ 2 callersFunctionsleep
(ms)
scripts/fund-cchain-addresses.js:7
↓ 1 callersFunctioncalculateGasFee
* Takes a transaction response and calculates the amount of gas used and converts * it to AVAX. Prints results to console. * * @param {Transactio
scripts/example.js:21
↓ 1 callersFunctionmain
()
scripts/deploy.ts:7
↓ 1 callersFunctionmain
()
scripts/storage.ts:10
↓ 1 callersFunctionmain
()
scripts/fund-cchain-addresses.js:80
↓ 1 callersFunctionmain
()
scripts/sendAvaxJSONProvider.ts:9
↓ 1 callersFunctionmain
()
scripts/nft.ts:6
↓ 1 callersFunctionmain
()
scripts/erc20.ts:11
↓ 1 callersFunctionmain
()
scripts/sendAvaxWalletSigner.ts:14
↓ 1 callersFunctionmain
* Empty. Try calling some functions here.
scripts/example.js:10
↓ 1 callersFunctionrunBot
()
scripts/flash-arb/pangolin/pangolin-trader-joe-swap-usdt-wavax.ts:9
↓ 1 callersFunctionrunBot
()
scripts/flash-arb/pangolin/pangolin-sushi-swap-wavax-usdt.ts:9
↓ 1 callersFunctionrunBot
()
scripts/flash-arb/pangolin/pangolin-sushi-swap-usdt-wavax.ts:9
↓ 1 callersFunctionrunBot
()
scripts/flash-arb/pangolin/pangolin-trader-joe-swap-joe-wavax.ts:9
↓ 1 callersFunctionrunBot
()
scripts/flash-arb/pangolin/pangolin-trader-joe-swap-wavax-joe.ts:9
↓ 1 callersFunctionrunBot
()
scripts/flash-arb/pangolin/pangolin-trader-joe-swap-wavax-usdt.ts:9
↓ 1 callersFunctionrunBot
()
scripts/flash-arb/sushi/sushi-pangolin-swap-usdt-wavax.ts:9
↓ 1 callersFunctionrunBot
()
scripts/flash-arb/sushi/sushi-pangolin-swap-wavax-usdt.ts:9
↓ 1 callersFunctionrunBot
()
scripts/flash-arb/trader-joe/trader-joe-pangolin-swap-usdt-wavax.ts:9
↓ 1 callersFunctionrunBot
()
scripts/flash-arb/trader-joe/trader-joe-pangolin-swap-wavax-usdt.ts:9
↓ 1 callersFunctionrunBot
()
scripts/flash-arb/trader-joe/trader-joe-pangolin-swap-wavax-joe.ts:9
↓ 1 callersFunctionrunBot
()
scripts/flash-arb/trader-joe/trader-joe-pangolin-swap-joe-wavax.ts:9
↓ 1 callersFunctionwaitForUtxo
()
scripts/fund-cchain-addresses.js:69
Functionfunc
(hre: HardhatRuntimeEnvironment)
deploy/01_deploy_flash_swap_sushi_pango.ts:4
Functionfunc
(hre: HardhatRuntimeEnvironment)
deploy/05_deploy_flash_swap_pangot_trader_joe.ts:4
Functionfunc
(hre: HardhatRuntimeEnvironment)
deploy/04_deploy_trader_joe_liquidity_compute.ts:4
Functionfunc
(hre: HardhatRuntimeEnvironment)
deploy/00_deploy_flash_swap_pango_sushi.ts:4
Functionfunc
(hre: HardhatRuntimeEnvironment)
deploy/02_deploy_pangolin_liquidity_compute.ts:4
Functionfunc
(hre: HardhatRuntimeEnvironment)
deploy/03_deploy_uniswap_liquidity_compute.ts:4
Functionfunc
(hre: HardhatRuntimeEnvironment)
deploy/06_deploy_flash_swap_trader_joe_pango.ts:4
FunctionsendERC20
* Calls transfer on the provided contract. Transfers the ERC20 from the from signer * to the to signer for the amount of amount. * * @param {Sign
scripts/example.js:41