LSSVMPairERC721ETH

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xe007ab8e at 7529177
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot

No balances found for "LSSVMPairERC721ETH"

No transactions found for "LSSVMPairERC721ETH"


Functions
Getter at block 22907861
ROYALTY_ENGINE(view returns (address)
0xdb0b8257cdf984d25f3446252e86c1163babe3dd
bondingCurve(pure returns (address _bondingCurve)
0x0000000000000000000000000000000000000000
delta(view returns (uint128)
0
factory(pure returns (address _factory)
0x0000000000000000000000000000000000000000
fee(view returns (uint96)
0
getAllIds(view returns (uint256[] ids)
[]
getAssetRecipient(view returns (address)
0x0000000000000000000000000000000000000000
getFeeRecipient(view returns (address _feeRecipient)
0xa43d2f748e73431983578a92ecd2d830126d5f17
hook(view returns (address)
0x0000000000000000000000000000000000000000
nft(pure returns (address _nft)
0x0000000000000000000000000000000000000000
numIdsHeld(view returns (uint256)
0
owner(view returns (address)
0x0000000000000000000000000000000000000000
pairVariant(pure returns (uint8)
0
poolType(pure returns (uint8 _poolType)
0
propertyChecker(pure returns (address _propertyChecker)
0x0000000000000000000000000000000000000000
referralAddress(view returns (address)
0x0000000000000000000000000000000000000000
spotPrice(view returns (uint128)
0
Read-only
calculateRoyaltiesView(uint256 assetIduint256 saleAmountview returns (address[] royaltyRecipientsuint256[] royaltyAmountsuint256 royaltyTotal)
getBuyNFTQuote(uint256 assetIduint256 numNFTsview returns (uint8 erroruint256 newSpotPriceuint256 newDeltauint256 inputAmountuint256 protocolFeeuint256 royaltyAmount)
getIds(uint256 startuint256 endview returns (uint256[] ids)
getSellNFTQuote(uint256 assetIduint256 numNFTsview returns (uint8 erroruint256 newSpotPriceuint256 newDeltauint256 outputAmountuint256 protocolFeeuint256 royaltyAmount)
hasId(uint256 idview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
changeAssetRecipient(address newRecipient
changeDelta(uint128 newDelta
changeFee(uint96 newFee
changeReferralAddress(address newReferral
changeSpotPrice(uint128 newSpotPrice
initialize(address _owneraddress _assetRecipientuint128 _deltauint96 _feeuint128 _spotPriceaddress _hookAddressaddress _referralAddress
multicall(bytes[] callsbool revertOnFail
onERC1155BatchReceived(addressaddressuint256[]uint256[]bytesreturns (bytes4)
onERC1155Received(addressaddressuint256uint256bytesreturns (bytes4)
onERC721Received(addressaddressuint256bytesreturns (bytes4)
swapNFTsForToken(uint256[] nftIdsuint256 minExpectedTokenOutputaddress tokenRecipientbool isRouteraddress routerCallerreturns (uint256 outputAmount)
swapNFTsForToken(uint256[] nftIdsuint256 minExpectedTokenOutputaddress tokenRecipientbool isRouteraddress routerCallerbytes propertyCheckerParamsreturns (uint256 outputAmount)
swapTokenForSpecificNFTs(uint256[] nftIdsuint256 maxExpectedTokenInputaddress nftRecipientbool isRouteraddress routerCallerpayable returns (uint256)
syncNFTIds(uint256[] ids
transferOwnership(address newOwnerbytes datapayable 
withdrawAllETH(
withdrawERC1155(address auint256[] idsuint256[] amounts
withdrawERC20(address auint256 amount
withdrawERC721(address auint256[] nftIds
withdrawETH(uint256 amount
Events
DeltaUpdate(uint128 newDelta
FeeUpdate(uint96 newFee
NFTWithdrawal(uint256 numNFTs
NFTWithdrawal(uint256[] ids
OwnershipTransferred(address indexed newOwner
SpotPriceUpdate(uint128 newSpotPrice
SwapNFTInPair(uint256 amountOutuint256 numNFTsuint256 royaltyAmount
SwapNFTInPair(uint256 amountOutuint256[] idsuint256 royaltyAmount
SwapNFTOutPair(uint256 amountInuint256 numNFTsuint256 royaltyAmount
SwapNFTOutPair(uint256 amountInuint256[] idsuint256 royaltyAmount
TokenDeposit(uint256 amount
TokenWithdrawal(uint256 amount
Constructor
constructor(address royaltyEngine
Fallback and receive
fallback(
receive(
Errors
LSSVMPairERC721__NeedPropertyChecking(
LSSVMPairERC721__PropertyCheckFailed(
LSSVMPairETH__InsufficientInput(
LSSVMPair__AlreadyInitialized(
LSSVMPair__BondingCurveError(uint8 error
LSSVMPair__DemandedInputTooLarge(
LSSVMPair__FunctionNotAllowed(
LSSVMPair__InvalidDelta(
LSSVMPair__InvalidSpotPrice(
LSSVMPair__NftNotTransferred(
LSSVMPair__NonTradePoolWithTradeFee(
LSSVMPair__NotRouter(
LSSVMPair__OutputTooSmall(
LSSVMPair__RoyaltyTooLarge(
LSSVMPair__TargetNotAllowed(
LSSVMPair__TradeFeeTooLarge(
LSSVMPair__WrongPoolType(
LSSVMPair__ZeroSwapAmount(
Ownable_NewOwnerZeroAddress(
Ownable_NotOwner(