LSSVMPairERC1155ETH
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
5
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "LSSVMPairERC1155ETH"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "LSSVMPairERC1155ETH"
ABI
ABI objects
Getter at block 21217520
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 assetId, uint256 saleAmount) view returns (address[] royaltyRecipients, uint256[] royaltyAmounts, uint256 royaltyTotal)
getBuyNFTQuote(uint256 assetId, uint256 numNFTs) view returns (uint8 error, uint256 newSpotPrice, uint256 newDelta, uint256 inputAmount, uint256 protocolFee, uint256 royaltyAmount)
getSellNFTQuote(uint256 assetId, uint256 numNFTs) view returns (uint8 error, uint256 newSpotPrice, uint256 newDelta, uint256 outputAmount, uint256 protocolFee, uint256 royaltyAmount)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events call(address target, bytes data)
changeAssetRecipient(address newRecipient)
changeDelta(uint128 newDelta)
changeFee(uint96 newFee)
changeSpotPrice(uint128 newSpotPrice)
initialize(address _owner, address _assetRecipient, uint128 _delta, uint96 _fee, uint128 _spotPrice)
multicall(bytes[] calls, bool revertOnFail)
onERC1155BatchReceived(address, address, uint256[], uint256[], bytes) returns (bytes4)
onERC1155Received(address, address, uint256, uint256, bytes) returns (bytes4)
onERC721Received(address, address, uint256, bytes) returns (bytes4)
swapNFTsForToken(uint256[] numNFTs, uint256 minExpectedTokenOutput, address tokenRecipient, bool isRouter, address routerCaller) returns (uint256 outputAmount)
swapTokenForSpecificNFTs(uint256[] numNFTs, uint256 maxExpectedTokenInput, address nftRecipient, bool isRouter, address routerCaller) payable returns (uint256)
transferOwnership(address newOwner, bytes data) payable
withdrawAllETH()
withdrawERC1155(address a, uint256[] ids, uint256[] amounts)
withdrawERC20(address a, uint256 amount)
withdrawERC721(address a, uint256[] nftIds)
withdrawETH(uint256 amount)
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 amountOut, uint256 numNFTs)
SwapNFTInPair(uint256 amountOut, uint256[] ids)
SwapNFTOutPair(uint256 amountIn, uint256 numNFTs)
SwapNFTOutPair(uint256 amountIn, uint256[] ids)
TokenDeposit(uint256 amount)
TokenWithdrawal(uint256 amount)
constructor(address royaltyEngine)
fallback()
receive()
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()