ERC1155Marketplace

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xa6a338ce at 20015567
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
1 additional variable

No balances found for "ERC1155Marketplace"

No transactions found for "ERC1155Marketplace"


Functions
Getter at block 21246263
AUCTION_PREFIX(view returns (bytes32)
0x0cb6c3983f78eca3d51aa515ce442ff2a78109d3a1202026fc1d9262c2b7b4b9
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
SALE_PREFIX(view returns (bytes32)
0x6932563b31e176b919e33898d9eaa27fbda5aae7d868c65725edb527437700f7
WHITELISTED_ROLE(view returns (bytes32)
0x8429d542926e6695b59ac6fbdcd9b37e8b1aeb757afab06ab60b1bb5878c3b49
auctionDiscountRate(view returns (uint128 numeratoruint128 denominator)
(numerator=0, denominator=0)
auctionsLength(view returns (uint256)
0
bidTimeIncrement(view returns (uint256)
0
discountEnabled(view returns (bool)
false
guardianNFT(view returns (address)
0x0000000000000000000000000000000000000000
minIncrementRate(view returns (uint128 numeratoruint128 denominator)
(numerator=0, denominator=0)
saleDiscountRate(view returns (uint128 numeratoruint128 denominator)
(numerator=0, denominator=0)
salesLength(view returns (uint256)
0
taxRate(view returns (uint128 numeratoruint128 denominator)
(numerator=0, denominator=0)
treasury(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
auctions(uint256view returns (address owneraddress nftAddressuint256 nftIndexuint256 startTimeuint256 endTimeuint256 minBidaddress highestBidOwnerbool ownerClaimed)
escrows(bytesview returns (address)
getActiveBids(address _accountview returns (uint256[])
getActiveSales(address _accountview returns (uint256[])
getAuctionBid(uint256 _auctionIndexaddress _accountview returns (uint256)
getNftPriceInETH(address nftview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
isSaleValid(uint256 _saleIndexview returns (bool)
onERC1155BatchReceived(addressaddressuint256[]uint256[]bytespure returns (bytes4)
onERC1155Received(addressaddressuint256uint256bytespure returns (bytes4)
oracles(addressview returns (address)
sales(uint256view returns (address owneraddress nftAddressuint256 nftIndexuint256 priceaddress buyer)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
bid(uint256 _auctionIndexpayable 
buy(uint256 _saleIndexpayable 
cancelAuction(uint256 _auctionIndexaddress _nftRecipient
cancelSale(uint256 _saleIndexaddress _nftRecipient
claimNFT(uint256 _auctionIndex
enableDiscount(bool enable
grantRole(bytes32 roleaddress account
initialize(uint256 _bidTimeIncrementstruct RateLibRate _incrementRatestruct RateLibRate _taxRatestruct RateLibRate _auctionDiscountRatestruct RateLibRate _saleDiscountRateaddress _treasuryaddress _guardianNFT
listSale(address _owneraddress _nftuint256 _idxuint256 _price
newAuction(address _owneraddress _nftuint256 _idxuint256 _durationuint256 _minBid
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setAuctionDiscountRate(struct RateLibRate _newDiscountRate
setBidTimeIncrement(uint256 _newTime
setMinimumIncrementRate(struct RateLibRate _newIncrementRate
setOracle(address nftaddress oracle
setSalesDiscountRate(struct RateLibRate _newDiscountRate
setTaxRate(struct RateLibRate _newTaxRate
setTreasury(address _newTreasury
updateSale(uint256 _saleIndexuint256 _price
withdrawBid(uint256 _auctionIndex
withdrawBids(uint256[] _indexes
withdrawETH(uint256 _auctionIndex
withdrawUnsoldNFT(uint256 _auctionIndex
Events
AuctionCanceled(uint256 indexed auctionId
AuctionDiscountRateChanged(struct RateLibRate newDiscountRatestruct RateLibRate oldDiscountRate
AuctionFailed(uint256 indexed auctionId
BidTimeIncrementChanged(uint256 newTimeuint256 oldTime
BidWithdrawn(uint256 indexed auctionIdaddress indexed accountuint256 bidValue
BoughtSale(uint256 indexed saleIdaddress from
DurationChanged(uint256 newDurationuint256 oldDuration
ETHClaimed(uint256 indexed auctionId
EnabledDiscount(bool enabled
Initialized(uint8 version
MinimumIncrementRateChanged(struct RateLibRate newIncrementRatestruct RateLibRate oldIncrementRate
NFTClaimed(uint256 indexed auctionId
NewAuction(uint256 indexed auctionIdaddress indexed nftuint256 indexed indexuint256 startTime
NewBid(uint256 indexed auctionIdaddress indexed bidderuint256 bidValue
NewSale(uint256 indexed saleIdaddress indexed nftuint256 indexed indexuint256 price
OracleUpdated(address indexed nftaddress oracle
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SaleCanceled(uint256 indexed saleId
SaleDiscountRateChanged(struct RateLibRate newDiscountRatestruct RateLibRate oldDiscountRate
SaleUpdated(uint256 indexed saleIduint256 price
TaxRateChanged(struct RateLibRate newRatestruct RateLibRate oldRate
TreasuryChanged(address newTreasuryaddress oldTreasury
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
InvalidAmount(
InvalidAuction(uint256 index
InvalidBid(uint256 bidAmount
InvalidOracle(
InvalidRate(
InvalidSale(uint256 index
InvalidTreasury(
NoEscrow(uint256 tokenId
Unauthorized(
ZeroAddress(