LSSVMPairERC1155ETH

Verified contract

Implementation

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

No balances found for "LSSVMPairERC1155ETH"

No transactions found for "LSSVMPairERC1155ETH"


Functions
Getter at block 21216380
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)
0x8949eb1d16072ab43a48c0ef9c7d03580bf000cc
nft(pure returns (address _nft)
0x0000000000000000000000000000000000000000
nftId(pure returns (uint256 id)
0
owner(view returns (address)
0x0000000000000000000000000000000000000000
pairVariant(pure returns (uint8)
2
poolType(pure returns (uint8 _poolType)
0
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[] numNFTsuint256 minExpectedTokenOutputaddress tokenRecipientbool isRouteraddress routerCallerreturns (uint256 outputAmount)
swapTokenForSpecificNFTs(uint256[] numNFTsuint256 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
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(