GemSwap

Verified contract

Active on Ethereum with 12,749 txns
Deployed by via 0x821e7b74 at 13968435
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
)
ERC-1555
--
)
ERC-1555
--
)
ERC-1555
--
)
ERC-1555
--
)
ERC-1555
--
)
ERC-1555
--
 (#2960)
ERC-721
--
0x9897d6c9b306e39a1a442f189f22fdbf80fe755917e5473b19eba94bd986c37e
0x109262ca77bf30196ee209196d7b89d7838432f12f7395a309f5049c6057842b
0xc78f24ce65d1c49e1788ef7d6d8702456cde9997797c20c6c8f5c70ece79a861
0xf2ba315ecb9baa5ec6f2b75e438f9c5dad391c654494a0f76a272d1ad4253178
0x927825795534dc4317bf68a46e26c03674f64cb665158933fb9246560c289cd3
0x5aae33a3ca2e2cd23e18cac0aa519cfb2566f9020dce63b10fff8ad884f2da91
0x945b447c96e601f9da920ad39c1b2434e505112c8159fe72a702e089b38eb1ef
0xe711668ae8abfe827e766b83079378380a747786a2dd60e5fed2ca6944d21799
0xc6d50228c574882ae5e3dcab535cda03b87161b3e4adf1107a756efeff0bbb39
0x02c53e89c51639004fe7734ae57421b91020fac4f2b238b41036af907169fd22

Functions
Getter at block 21246904
GOV(view returns (address)
0x83d841bc0450d5ac35dcad8d05db53eba29978c2
baseFees(view returns (uint256)
0
converter(view returns (address)
0x97fb625482464eb51e8f65291515de1f68526337
guardian(view returns (address)
0x073ab1c0cad3677cde9bdb0cdeedc2085c029579
marketRegistry(view returns (address)
0xadd91d3ebf809f0058d59db2ac3632b3ce55f0ba
openForFreeTrades(view returns (bool)
true
openForTrades(view returns (bool)
true
owner(view returns (address)
0x073ab1c0cad3677cde9bdb0cdeedc2085c029579
punkProxy(view returns (address)
0x0dd95a38d7d18118513aa2fb40b0ef80ce477101
Read-only
affiliates(uint256view returns (address affiliatebool isActive)
sponsoredMarkets(uint256view returns (uint256 marketIdbool isActive)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addAffiliate(address _affiliate
addSponsoredMarket(uint256 _marketId
batchBuyFromOpenSea(struct GemSwapOpenseaTrades[] openseaTradespayable 
batchBuyWithERC20s(struct GemSwapERC20Details erc20Detailsstruct MarketRegistryTradeDetails[] tradeDetailsstruct GemSwapConverstionDetails[] converstionDetailsaddress[] dustTokenspayable 
batchBuyWithETH(struct MarketRegistryTradeDetails[] tradeDetailspayable 
closeAllTrades(
multiAssetSwap(struct GemSwapERC20Details erc20Detailsstruct SpecialTransferHelperERC721Details[] erc721Detailsstruct GemSwapERC1155Details[] erc1155Detailsstruct GemSwapConverstionDetails[] converstionDetailsstruct MarketRegistryTradeDetails[] tradeDetailsaddress[] dustTokensuint256[2] feeDetailspayable 
multiAssetSwapWithoutFee(struct GemSwapERC20Details erc20Detailsstruct SpecialTransferHelperERC721Details[] erc721Detailsstruct GemSwapERC1155Details[] erc1155Detailsstruct GemSwapConverstionDetails[] converstionDetailsstruct MarketRegistryTradeDetails[] tradeDetailsaddress[] dustTokensuint256 sponsoredMarketIndexpayable 
onERC1155BatchReceived(addressaddressuint256[]uint256[]bytesreturns (bytes4)
onERC1155Received(addressaddressuint256uint256bytesreturns (bytes4)
onERC721Received(addressaddressuint256bytesreturns (bytes4)
onERC721Received(addressuint256bytesreturns (bytes4)
renounceOwnership(
rescueERC1155(address assetuint256[] idsuint256[] amountsaddress recipient
rescueERC20(address assetaddress recipient
rescueERC721(address assetuint256[] idsaddress recipient
rescueETH(address recipient
setBaseFees(uint256 _baseFees
setConverter(address _converter
setMarketRegistry(address _marketRegistry
setOneTimeApproval(address tokenaddress operatoruint256 amount
setOpenForFreeTrades(bool _openForFreeTrades
setOpenForTrades(bool _openForTrades
setUp(
transferOwnership(address newOwner
updateAffiliate(uint256 _affiliateIndexaddress _affiliatebool _IsActive
updateGuardian(address _guardian
updateSponsoredMarket(uint256 _marketIndexuint256 _marketIdbool _isActive
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(address _marketRegistryaddress _converteraddress _guardian
Fallback and receive
receive(
Errors

This contract contains no error objects.