LSSVMPairERC721ETH

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x887242a7 at 17309196
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "LSSVMPairERC721ETH"

No transactions found for "LSSVMPairERC721ETH"


Functions
Getter at block 20951253
ROYALTY_ENGINE(view returns (address)
0xbc40d21999b4bf120d330ee3a2de415287f626c9
bondingCurve(pure returns (address _bondingCurve)
0x0000000000000000000000000000000000000000
delta(view returns (uint128)
0
factory(pure returns (address _factory)
0x0000000000000000000000000000000000000000
fee(view returns (uint96)
0
getAssetRecipient(view returns (address)
0x0000000000000000000000000000000000000000
getFeeRecipient(view returns (address _feeRecipient)
0x4f3742021ed9ee6109bde80814bdad9859cebc5f
nft(pure returns (address _nft)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x0000000000000000000000000000000000000000
pairVariant(pure returns (uint8)
0
poolType(pure returns (uint8 _poolType)
0
propertyChecker(pure returns (address _propertyChecker)
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)
getSellNFTQuote(uint256 assetIduint256 numNFTsview returns (uint8 erroruint256 newSpotPriceuint256 newDeltauint256 outputAmountuint256 protocolFeeuint256 royaltyAmount)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
call(address targetbytes data
changeAssetRecipient(address newRecipient
changeDelta(uint128 newDelta
changeFee(uint96 newFee
changeSpotPrice(uint128 newSpotPrice
initialize(address _owneraddress _assetRecipientuint128 _deltauint96 _feeuint128 _spotPrice
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)
transferOwnership(address newOwnerbytes datapayable 
withdrawAllETH(
withdrawERC1155(address auint256[] idsuint256[] amounts
withdrawERC20(address auint256 amount
withdrawERC721(address auint256[] nftIds
withdrawETH(uint256 amount
Events
AssetRecipientChange(address indexed a
DeltaUpdate(uint128 newDelta
FeeUpdate(uint96 newFee
NFTWithdrawal(uint256 numNFTs
NFTWithdrawal(uint256[] ids
OwnershipTransferred(address indexed newOwner
SpotPriceUpdate(uint128 newSpotPrice
SwapNFTInPair(uint256 amountOutuint256 numNFTs
SwapNFTInPair(uint256 amountOutuint256[] ids
SwapNFTOutPair(uint256 amountInuint256 numNFTs
SwapNFTOutPair(uint256 amountInuint256[] ids
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__CallFailed(
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(