SwapFlashLoan

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x42f069a2 at 12634689
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 9 additional slots

No balances found for "SwapFlashLoan"

No transactions found for "SwapFlashLoan"


Functions
Getter at block 21304057
MAX_BPS(view returns (uint256)
10000
flashLoanFeeBPS(view returns (uint256)
0
getA(view returns (uint256)
0
getAPrecise(view returns (uint256)
0
 
getVirtualPrice(view returns (uint256)
owner(view returns (address)
0x0000000000000000000000000000000000000000
paused(view returns (bool)
false
protocolFeeShareBPS(view returns (uint256)
0
swapStorage(view returns (uint256 initialAuint256 futureAuint256 initialATimeuint256 futureATimeuint256 swapFeeuint256 adminFeeaddress lpToken)
(initialA=0, futureA=0, initialATime=0, futureATime=0, swapFee=0, adminFee=0, lpToken=0x0000000000000000000000000000000000000000)
Read-only
calculateRemoveLiquidity(uint256 amountview returns (uint256[])
calculateRemoveLiquidityOneToken(uint256 tokenAmountuint8 tokenIndexview returns (uint256 availableTokenAmount)
calculateSwap(uint8 tokenIndexFromuint8 tokenIndexTouint256 dxview returns (uint256)
calculateTokenAmount(uint256[] amountsbool depositview returns (uint256)
getAdminBalance(uint256 indexview returns (uint256)
getToken(uint8 indexview returns (address)
getTokenBalance(uint8 indexview returns (uint256)
getTokenIndex(address tokenAddressview returns (uint8)
State-modifying
addLiquidity(uint256[] amountsuint256 minToMintuint256 deadlinereturns (uint256)
flashLoan(address receiveraddress tokenuint256 amountbytes params
initialize(address[] _pooledTokensuint8[] decimalsstring lpTokenNamestring lpTokenSymboluint256 _auint256 _feeuint256 _adminFeeaddress lpTokenTargetAddress
pause(
rampA(uint256 futureAuint256 futureTime
removeLiquidity(uint256 amountuint256[] minAmountsuint256 deadlinereturns (uint256[])
removeLiquidityImbalance(uint256[] amountsuint256 maxBurnAmountuint256 deadlinereturns (uint256)
removeLiquidityOneToken(uint256 tokenAmountuint8 tokenIndexuint256 minAmountuint256 deadlinereturns (uint256)
renounceOwnership(
setAdminFee(uint256 newAdminFee
setFlashLoanFees(uint256 newFlashLoanFeeBPSuint256 newProtocolFeeShareBPS
setSwapFee(uint256 newSwapFee
stopRampA(
swap(uint8 tokenIndexFromuint8 tokenIndexTouint256 dxuint256 minDyuint256 deadlinereturns (uint256)
transferOwnership(address newOwner
unpause(
withdrawAdminFees(
Events
AddLiquidity(address indexed provideruint256[] tokenAmountsuint256[] feesuint256 invariantuint256 lpTokenSupply
FlashLoan(address indexed receiveruint8 tokenIndexuint256 amountuint256 amountFeeuint256 protocolFee
NewAdminFee(uint256 newAdminFee
NewSwapFee(uint256 newSwapFee
NewWithdrawFee(uint256 newWithdrawFee
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Paused(address account
RampA(uint256 oldAuint256 newAuint256 initialTimeuint256 futureTime
RemoveLiquidity(address indexed provideruint256[] tokenAmountsuint256 lpTokenSupply
RemoveLiquidityImbalance(address indexed provideruint256[] tokenAmountsuint256[] feesuint256 invariantuint256 lpTokenSupply
RemoveLiquidityOne(address indexed provideruint256 lpTokenAmountuint256 lpTokenSupplyuint256 boughtIduint256 tokensBought
StopRampA(uint256 currentAuint256 time
TokenSwap(address indexed buyeruint256 tokensSolduint256 tokensBoughtuint128 soldIduint128 boughtId
Unpaused(address account
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.