ElementExSwapV2

Verified contract

Proxy

Active on Base with 122,267 txns
Deployed by via 0x74d1e2cd at 2347414
Slot Value
0x0000000000000000000000000000000000000000000000000000000000000000 0x0000000000000000000000000000000000000000000000000000000000000003
0x0000000000000000000000000000000000000000000000000000000000000001 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000002 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000003 0x0000000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000004 0x0000000000000000000000000000000000000000000000000000000000000000
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x00e05d3ff877de575c877b12cd0dab39123c81bb8905b7f70698dd9ad3ad9d0d
0xaca0dcab5d8465cbe5365e196337be3535f20184b0ed3cebace86e8254c9e1c8
0x1ed9240940f58156fac85d2c44642b812315311192b3f9ec8c39b76c52b714cf
0x0ecd23ac273f5b1330d371771a6bbb1ed8be32cc021c1109e59f12588f543ab5
0xa7e122b75831f7f788c7549e5068d2e5e30c2d0df1d423ea773dba11b5e2cdec
0xedefdf13e2b4cda132f3c8c6ec8a69ef35c6a28c01def3d35ea39cefb5addcf3
0xb800d0a9aafe6697aa87b684cbf2bc247812097b5da1773cb152c7b454f1b889
0x853cf76442038146836724d1dbe6f9c3b75caede7bcbe54b500709b6cc056d65
0x73eb364bba6709f7b805ffcb04c507fd0ffdbce1ae5f95d29f4764dbeaba90b7
0x22d984effac54b3186e7e5efee4265380e10c4f557b081a5a7d67dd97fe2db6c

Functions
Getter at block 22736756
owner(view returns (address)
0x98634f1cfba567ce9aa1be9d3f894e147c881c24
 
getFeatures(view returns (uint256 featuresCountaddress[] featuresstring[] namesuint256[] featureMethodsCount)
getMarkets(view returns (uint256 marketsCountaddress[] proxiesbool[] isLibrarybool[] isActive)
(marketsCount=3, proxies=[0xa39A5f160a1952dDf38781Bd76E402B0006912A9, 0x00000000000000ADc04C56Bf30aC9d3c0aAF14dC, 0x0000000000000068F116a894984e2DB1123eB395], isLibrary=[false, false, false], isActive=[true, true, true])
getMethodIDs(view returns (uint256 countbytes4[] methodIDs)
(count=15, methodIDs=[0x928515e9, 0xc3866f2e, 0xc541c7cb, 0x987a2f5e, 0x7dfcc71a, 0xeb44fdd3, 0xec2c9016, 0xa638980c, 0x078e2097, 0xaea61556, 0xd9d8f12f, 0x5f05c8c3, 0xce88aeda, 0xd488a195, 0x9f827ea3])
Read-only
getFeature(address featureAddrview returns (struct MasterFeatureFeature feature)
getFeatureByMethodID(bytes4 methodIDview returns (struct MasterFeatureFeature feature)
getFeatureImpl(bytes4 methodIDview returns (address impl)
getMarket(uint256 marketIdview returns (struct LibAggregatorStorageMarket)
State-modifying
approveERC20(address tokenaddress operatoruint256 amount
batchBuyWithERC20s(struct IAggregatorERC20Pair[] erc20Pairsbytes tradeBytesaddress[] dustTokenspayable 
batchBuyWithETH(bytes tradeBytespayable 
onERC1155BatchReceived(addressaddressuint256[]uint256[]bytesreturns (bytes4)
onERC1155Received(addressaddressuint256uint256bytesreturns (bytes4)
onERC721Received(addressaddressuint256bytesreturns (bytes4)
onERC721Received(addressuint256bytesreturns (bytes4)
registerFeature(struct ElementExSwapV2Feature feature
registerFeatures(struct ElementExSwapV2Feature[] features
rescueERC20(address assetaddress recipient
rescueERC721(address assetuint256[] idsaddress recipient
rescueETH(address recipient
supportsInterface(bytes4 interfaceIdreturns (bool)
transferOwnership(address newOwner
unregister(bytes4[] methodIDs
addMarket(address proxybool isLibrary
setMarketActive(uint256 marketIdbool isActive
setMarketProxy(uint256 marketIdaddress newProxybool isLibrary
Events
FeatureFunctionUpdated(bytes4 indexed methodIDaddress oldFeatureaddress newFeature
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor

This contract contains no constructor objects.

Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.