Offers.sol
The deployed addresses for Offers.sol are:
Rinkeby: Mainnet:
IOffers.sol
Interface of the Offers.sol contract. Does not include restricted or optional functions. To view the full interface visit: link to interface on github.
Structs
Functions
getOfferHash(offer)
getOfferSigner(offer, signature) getOfferSignatureStatus(signature) withdrawOfferSignature(offer, signature) getOffer(nftContractAddress, nftId, offerHash, floorTerm) createOffer(offer) removeOffer(nftContractAddress, nftId, offerHash, floorTerm)
Events
NewOffer(creator, nftContractAddress, nftId, offer, offerHash)
OfferRemoved(creator, nftContractAddress, nftId, offer, offerHash) OfferSignatureUsed(nftContractAddress, nftId, offer, signature)
Details
getOfferHash(offer) -> bytes32
Returns the hash of an offer.
getOfferSigner(offer, signature) -> address
Returns the address of the signer of a signature.
getOfferSignatureStatus(signature) -> bool
Returns true if a given signature has been revoked otherwise false.
withdrawOfferSignature(offer, signature)
Withdraws a signature based offer and ensures it cannot be executed on-chain.
getOffer(nftContractAddress, nftId, offerHash, floorTerm) -> Offer
Returns an offer from the on-chain offer book.
createOffer(offer) -> bytes32
Returns the offerHash of the offer created.
Emits a NewOffer() event.
removeOffer(nftContractAddress, nftId, offerHash, floorTerm)
Removes an offer from the on-chain offer book, ensuring it cannot be executed.Emits an OfferRemoved() event.
Last updated