GenericSwapFacet

Verified contract

Implementation

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

No balances found for "GenericSwapFacet"

No transactions found for "GenericSwapFacet"


Functions
Getter at block 21244886

This contract contains no getter function objects.

Read-only

This contract contains no read-only function objects.

State-modifying
swapTokensGeneric(bytes32 _transactionIdstring _integratorstring _referreraddress _receiveruint256 _minAmountOutstruct LibSwapSwapData[] _swapDatapayable 
swapTokensSingleERC20ToERC20(bytes32 _transactionIdstring _integratorstring _referreraddress _receiveruint256 _minAmountOutstruct LibSwapSwapData _swapDatapayable 
swapTokensSingleERC20ToNative(bytes32 _transactionIdstring _integratorstring _referreraddress _receiveruint256 _minAmountOutstruct LibSwapSwapData _swapDatapayable 
swapTokensSingleNativeToERC20(bytes32 _transactionIdstring _integratorstring _referreraddress _receiveruint256 _minAmountOutstruct LibSwapSwapData _swapDatapayable 
Events
LiFiGenericSwapCompleted(bytes32 indexed transactionIdstring integratorstring referreraddress receiveraddress fromAssetIdaddress toAssetIduint256 fromAmountuint256 toAmount
LiFiSwappedGeneric(bytes32 indexed transactionIdstring integratorstring referreraddress fromAssetIdaddress toAssetIduint256 fromAmountuint256 toAmount
LiFiTransferCompleted(bytes32 indexed transactionIdaddress receivingAssetIdaddress receiveruint256 amountuint256 timestamp
LiFiTransferRecovered(bytes32 indexed transactionIdaddress receivingAssetIdaddress receiveruint256 amountuint256 timestamp
LiFiTransferStarted(struct ILiFiBridgeData bridgeData
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
ContractCallNotAllowed(
CumulativeSlippageTooHigh(uint256 minAmountuint256 receivedAmount
InsufficientBalance(uint256 requireduint256 balance
InvalidAmount(
InvalidContract(
NativeAssetTransferFailed(
NoSwapDataProvided(
NoSwapFromZeroBalance(
NoTransferToNullAddress(
NullAddrIsNotAValidSpender(
NullAddrIsNotAnERC20Token(
ReentrancyError(
SliceOutOfBounds(
SliceOverflow(