SecondarySwap

Verified contract

Active on Base with 187,642 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $42.91
ERC-20
--
0x4c9d2414566a5c32b0044b582b9e6cae2b747c9bd0111e9e7d41d7e89f56ef86
0xb8ddca7d1f27515c24ee9c040db41b1ae3cac7aeaed6cf44074557707bcbe858
0x48f00c7dacb91d43b21d55380efdc1073c4f630e046032541fb6ad6946e01f43
0xe523a44f2d7e3640ff2a07a2587246c618ed41a1892b2accb4289cfd93d0e00b
0x6b72a97e86ce8bfdd28ea202d29312f252664d8e6d5266497875af836ee6a903
0xf526788373f37f60fd468f7805fa8633a13e1d82cc6084167644eeef4c1c58bb
0xc14abf9e7f764e2d2bad6a49939944aefedfd7d6320d30179e8d7a6efd89d181
0xb5a8da02225e09841301cbdd84125ee54c8d593b9b1ef5fd2d7ccf8956c0afc5
0x613c591bbb6ee18d0cf4ef9618d6f51903740e7b3fa593b56e6507469b683f10
0xfaacfc02efd9facaf4deb9df0c61e8429b3dcddd665f57993b1d61f49e9151b4

Functions
Getter at block 22730717
WETH(view returns (address)
0x4200000000000000000000000000000000000006
swapRouter(view returns (address)
0x2626664c2603336e57b271c5c0b26f421741e481
uniswapFee(view returns (uint24)
10000
zoraTimedSaleStrategy(view returns (address)
0x777777722d078c97c6ad07d9f36801e653e356ae
Read-only
onERC1155BatchReceived(addressaddressuint256[]uint256[]bytespure returns (bytes4)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
buy1155(address erc20zAddressuint256 num1155ToBuyaddress recipientaddress excessRefundRecipientuint256 maxEthToSpenduint160 sqrtPriceLimitX96payable 
initialize(address weth_address swapRouter_uint24 uniswapFee_address zoraTimedSaleStrategy_
onERC1155Received(addressaddressuint256 iduint256 valuebytes datareturns (bytes4)
sell1155(address erc20zAddressuint256 num1155ToSelladdress recipientuint256 minEthToAcquireuint160 sqrtPriceLimitX96
Events
SecondaryBuy(address indexed msgSenderaddress indexed recipientaddress indexed erc20zAddressuint256 amountEthSolduint256 num1155Purchased
SecondaryComment(address indexed senderaddress indexed collectionuint256 indexed tokenIduint256 quantitystring commentuint8 secondaryType
SecondarySell(address indexed msgSenderaddress indexed recipientaddress indexed erc20zAddressuint256 amountEthPurchaseduint256 num1155Sold
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors
AddressInsufficientBalance(address account
AddressZero(
AlreadyInitialized(
ERC20ZEquivalentAmountNotConverted(
ERC20ZMinimumAmountNotReceived(
FailedInnerCall(
InvalidRecipient(
NoETHSent(
NotSupported(
OnlyWETH(
ReentrancyGuardReentrantCall(
SaleNotSet(