GenericSwapFacet

Verified contract

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

No balances found for "GenericSwapFacet"

No transactions found for "GenericSwapFacet"


Functions
Getter at block 20890974

This contract contains no getter function objects.

Read-only

This contract contains no read-only function objects.

State-modifying
deposit(address _currentAssetIdaddress _expectAssetIduint256 _amountpayable 
executeAndCheckSwaps(struct ISoSoData _soDatastruct LibSwapSwapData[] _swapDatareturns (uint256)
swapTokensGeneric(struct ISoSoData _soDatastruct LibSwapSwapData[] _swapDatapayable 
withdraw(address _currentAssetIdaddress _expectAssetIduint256 _amountaddress _receiver
Events
SoSwappedGeneric(bytes32 indexed transactionIdaddress fromAssetIdaddress toAssetIduint256 fromAmountuint256 toAmount
SoTransferCompleted(bytes32 indexed transactionIdaddress receivingAssetIdaddress receiveruint256 receiveAmountuint256 timestampstruct ISoSoData soData
SoTransferFailed(bytes32 indexed transactionIdstring revertReasonbytes otherReasonstruct ISoSoData soData
SoTransferStarted(bytes32 indexed transactionIdstring bridgebool hasSourceSwapbool hasDestinationSwapstruct ISoSoData soData
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
ContractCallNotAllowed(
InvalidAmount(
InvalidContract(
NativeAssetTransferFailed(
NoSwapDataProvided(
NoSwapFromZeroBalance(
NoTransferToNullAddress(
NotSupportedSwapRouter(
NullAddrIsNotAValidSpender(
NullAddrIsNotAnERC20Token(
ReentrancyError(