SecondarySwap

Verified contract

Active on Base with 27,818 txns
Deployed by via 0xf0c92b96 at 17957541
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0.05
 (#1)
ERC-1555
--
 (#4)
ERC-1555
--
 (#1)
ERC-1555
--
 (#3)
ERC-1555
--
 (#1)
ERC-1555
--
 (#7)
ERC-1555
--
 (#4)
ERC-1555
--
ERC-20
--
 (#1)
ERC-1555
--
0x3a62c1e24538d228c0ee9bfa41c7fc82c6efc9ae623d9d56274465a88cedf2eb
0x914787c101bea52e2b4b9125debcb13c50a517308e94198c65e7e3283d434275
0x2781ebfa3cbd18cd07aeefca4ed2a2ef6e535106207215f37b07522ac5682b8f
0x7677e1f641c84f6c3affb330170a0b5a0d48a424398863b5b6df9343074b00c3
0xb15eb9175ff9f1bbf6601b0c58d8575044fc168f4fee5470887ed94445efd7f1
0x0ace8c3e3e0c8b75c8176da9b825b946565bf98b9043f89287ce806770b4f21d
0xab745794f58c145c51a187753f985b76b05b119d0d7227e6165429d1185bc70f
0x8cd7ae57dc246b5e1c399bc54372a84dbd67b202cce94b9de5a6789538c856e1
0x570e5f1e950282c61139e5ba5018aacdc745f8ad14631c15c29d26f389af38b6
0x2cfb9aec558b821e974e1550ddc9f66cb56d1bbaacbc2bda7c3ad498541cc57b

Functions
Getter at block 23179524
WETH(view returns (address)
0x4200000000000000000000000000000000000006
swapRouter(view returns (address)
0x2626664c2603336e57b271c5c0b26f421741e481
uniswapFee(view returns (uint24)
10000
Read-only
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
buy1155(address erc20zAddressuint256 num1155ToBuyaddress recipientaddress excessRefundRecipientuint256 maxEthToSpenduint160 sqrtPriceLimitX96payable 
onERC1155BatchReceived(addressaddressuint256[]uint256[]bytesreturns (bytes4)
onERC1155Received(addressaddressuint256uint256bytesreturns (bytes4)
sell1155(address erc20zAddressuint256 num1155ToSelladdress recipientuint256 minEthToAcquireuint160 sqrtPriceLimitX96
Events
SecondaryBuy(address indexed msgSenderaddress indexed recipientaddress indexed erc20zAddressuint256 amountEthSolduint256 num1155Purchased
SecondarySell(address indexed msgSenderaddress indexed recipientaddress indexed erc20zAddressuint256 amountEthPurchaseduint256 num1155Sold
Constructor
constructor(address weth_address swapRouter_uint24 uniswapFee_
Fallback and receive
receive(
Errors
AddressInsufficientBalance(address account
ERC20ZEquivalentAmountNotConverted(
ERC20ZMinimumAmountNotReceived(
FailedInnerCall(
InvalidRecipient(
NoETHSent(
OnlyWETH(
ReentrancyGuardReentrantCall(