0 txs
0 calls
constructor
No constructor.
functions
assetRecipient
viewfunction assetRecipient() view returns (address)
bondingCurve
purefunction bondingCurve() pure returns (address _bondingCurve)
delta
viewfunction delta() view returns (uint128)
factory
purefunction factory() pure returns (address _factory)
fee
viewfunction fee() view returns (uint96)
getAllHeldIds
viewfunction getAllHeldIds() view returns (uint256[])
getAssetRecipient
viewfunction getAssetRecipient() view returns (address _assetRecipient)
getBuyNFTQuote
viewfunction getBuyNFTQuote(uint256 numNFTs) view returns (uint8 error, uint256 newSpotPrice, uint256 newDelta, uint256 inputAmount, uint256 protocolFee)
getSellNFTQuote
viewfunction getSellNFTQuote(uint256 numNFTs) view returns (uint8 error, uint256 newSpotPrice, uint256 newDelta, uint256 outputAmount, uint256 protocolFee)
nft
purefunction nft() pure returns (address _nft)
owner
viewfunction owner() view returns (address)
pairVariant
purefunction pairVariant() pure returns (uint8)
poolType
purefunction poolType() pure returns (uint8 _poolType)
spotPrice
viewfunction spotPrice() view returns (uint128)
supportsInterface
viewfunction supportsInterface(bytes4 interfaceId) view returns (bool)
call
nonpayablefunction call(address target, bytes data)
changeAssetRecipient
nonpayablefunction changeAssetRecipient(address newRecipient)
changeDelta
nonpayablefunction changeDelta(uint128 newDelta)
changeFee
nonpayablefunction changeFee(uint96 newFee)
changeSpotPrice
nonpayablefunction changeSpotPrice(uint128 newSpotPrice)
initialize
payablefunction initialize(address _owner, address _assetRecipient, uint128 _delta, uint96 _fee, uint128 _spotPrice) payable
multicall
nonpayablefunction multicall(bytes[] calls, bool revertOnFail)
onERC1155BatchReceived
nonpayablefunction onERC1155BatchReceived(address, address, uint256[], uint256[], bytes) returns (bytes4)
onERC1155Received
nonpayablefunction onERC1155Received(address, address, uint256, uint256, bytes) returns (bytes4)
onERC721Received
nonpayablefunction onERC721Received(address, address, uint256 id, bytes) returns (bytes4)
swapNFTsForToken
nonpayablefunction swapNFTsForToken(uint256[] nftIds, uint256 minExpectedTokenOutput, address tokenRecipient, bool isRouter, address routerCaller) returns (uint256 outputAmount)
swapTokenForAnyNFTs
payablefunction swapTokenForAnyNFTs(uint256 numNFTs, uint256 maxExpectedTokenInput, address nftRecipient, bool isRouter, address routerCaller) payable returns (uint256 inputAmount)
swapTokenForSpecificNFTs
payablefunction swapTokenForSpecificNFTs(uint256[] nftIds, uint256 maxExpectedTokenInput, address nftRecipient, bool isRouter, address routerCaller) payable returns (uint256 inputAmount)
transferOwnership
nonpayablefunction transferOwnership(address newOwner)
withdrawAllETH
nonpayablefunction withdrawAllETH()
withdrawERC1155
nonpayablefunction withdrawERC1155(address a, uint256[] ids, uint256[] amounts)
withdrawERC20
nonpayablefunction withdrawERC20(address a, uint256 amount)
withdrawERC721
nonpayablefunction withdrawERC721(address a, uint256[] nftIds)
withdrawETH
nonpayablefunction withdrawETH(uint256 amount)
events
AssetRecipientChange
event AssetRecipientChange(address a)
DeltaUpdate
event DeltaUpdate(uint128 newDelta)
FeeUpdate
event FeeUpdate(uint96 newFee)
NFTWithdrawal
event NFTWithdrawal()
OwnershipTransferred
event OwnershipTransferred(address indexed newOwner)
SpotPriceUpdate
event SpotPriceUpdate(uint128 newSpotPrice)
SwapNFTInPair
event SwapNFTInPair()
SwapNFTOutPair
event SwapNFTOutPair()
TokenDeposit
event TokenDeposit(uint256 amount)
TokenWithdrawal
event TokenWithdrawal(uint256 amount)
errors
BondingCurveError
error BondingCurveError(uint8 error)
Ownable_NewOwnerZeroAddress
error Ownable_NewOwnerZeroAddress()
Ownable_NotOwner
error Ownable_NotOwner()
creation bytecode
0x60723d8160093d39f33d3d3d3d363d3d37603d6035363936603d013d73cd80c916b1194beb48abf007d0b79a7238436d565af43d3d93803e603357fd5bf3b16c1342e617a5b6e4b631eb114483fdb289c0a45b6ac51d9b1cede0068a1b26533cace807f883eee70659b717112ac4e14284d0db2f5d5703df8e4300