MogulMarketplaceERC1155

Verified contract

Active on Ethereum with 251 txns
Deployed by via 0xd39ee1c4 at 13493828
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot
-
variable spans 1 additional slot
-
variable spans 1 additional slot
ERC-20
Value $1.39
 (#3)
ERC-1555
--
 (#2)
ERC-1555
--
 (#1)
ERC-1555
--
 (#1376)
ERC-1555
--
 (#1)
ERC-1555
--
 (#10)
ERC-1555
--
 (#34)
ERC-1555
--
 (#33)
ERC-1555
--
 (#32)
ERC-1555
--
0x1cc4351b9c0d9aeed9ac52e9b98705eebc3b0feed2398036e5dfd407d24a763e
0x31811d42e3baf1a1b8db40e62be56eeee0a598ec47098abdf3f057c56a42f789
0x14142cd08200b0379fd2586795421a1c0d3eee07eebdfb5085eac90c4503bb01
0xbd52dfa4826956e338cca25814f5fc56c76b3b3b7978b91365474ee3d2bda870
0xcd718e1322c87044268b4cfa803a454d1dad7e86494c80d4d1baf3ddcc98e68c
0xad0cca2893c5bb5eb23f3d6bf7ced8259e3712cc8409cf8cec5a2effe5f41c2a
0x18e9908fa3e47389672e4d25d737e3c24e0788908a5e20828e929c0ba9f0d200
0xc989fc2b72a3736c1813ee7840742cecb13315ddf2771bafaf31cdcd373235af
0xbb47815b9eef3d87bdf89f794ae87c3a050e7b49831243d6e0cb06bc27c5cfec
0xa2214498b8babb9575716fe368f7abc02603aa42f50619239cd1a266f5f82f90

Functions
Getter at block 21181382
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
ROLE_ADMIN(view returns (bytes32)
0x2172861495e7b85edac73e3cd5fbb42dd675baadf627720e687bcfdaca025096
adminEth(view returns (uint256)
0
adminStars(view returns (uint256)
0
ethAllowed(view returns (bool)
true
ethFeeBasisPoint(view returns (uint256)
0
getNumAuctions(view returns (uint256)
3
getNumListings(view returns (uint256)
21
nextAuctionId(view returns (uint256)
14
nextListingId(view returns (uint256)
31
starsAllowed(view returns (bool)
true
starsAvailableForCashBack(view returns (uint256)
46840850000000000000000
starsCashBackBasisPoint(view returns (uint256)
500
starsFeeBasisPoint(view returns (uint256)
0
treasuryWallet(view returns (address)
0x1c3b019f6d5a38d3eeea65cc8ab8eca8d61dcc70
Read-only
auctions(uint256view returns (address selleraddress tokenAddressuint256 tokenIduint256 tokenAmountuint256 startingPriceuint256 startTimeuint256 endTimeuint256 reservePricebool isStarsAuctionstruct MogulMarketplaceERC1155Bid highestBid)
commissions(addressuint256view returns (address artistAddressuint256 commissionBasisPoint)
getAuctionIds(uint256[] indicesview returns (uint256[])
getAuctionsAtIndices(uint256[] indicesview returns (struct MogulMarketplaceERC1155Auction[])
getCommissionInfoForTokens(address NFTAddressuint256[] tokenIdsview returns (struct MogulMarketplaceERC1155TokenCommissionInfo[])
getListingIds(uint256[] indicesview returns (uint256[])
getListingsAtIndices(uint256[] indicesview returns (struct MogulMarketplaceERC1155Listing[])
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
listings(uint256view returns (address selleraddress tokenAddressuint256 tokenIduint256 tokenAmountuint256 starsPriceuint256 ethPricebool isStarsListingbool isEthListing)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addMogulNFTAddress(address _mogulNFTAddress
batchCancelAuction(uint256[] _auctionIds
batchCancelListing(uint256[] _listingIds
batchClaimAuction(uint256[] _auctionIds
batchCreateAuctions(address[] tokenAddressesuint256[] tokenIdsuint256[] tokenAmountsuint256[] startingPricesuint256[] startTimesuint256[] endTimesuint256[] reservePricesbool[] areStarsAuctions
batchCreateListings(address[] tokenAddressesuint256[] tokenIdsuint256[] tokenAmountsuint256[] starsPricesuint256[] ethPricesbool[] areStarsListingsbool[] areEthListings
buyTokens(uint256 listingIduint256 amountuint256 expectedPricebool isStarsPurchasepayable 
cancelAuction(uint256 auctionId
cancelListing(uint256 listingId
changeListingPrice(uint256 listingIduint256 newPricebool isStarsPrice
changeReservePrice(uint256 auctionIduint256 newReservePrice
claimAuction(uint256 auctionId
createAuction(address tokenAddressuint256 tokenIduint256 tokenAmountuint256 startingPriceuint256 startTimeuint256 endTimeuint256 reservePricebool isStarsAuction
createListing(address tokenAddressuint256 tokenIduint256 tokenAmountuint256 starsPriceuint256 ethPricebool isStarsListingbool isEthListing
depositStarsForCashBack(uint256 amount
grantRole(bytes32 roleaddress account
onERC1155BatchReceived(addressaddressuint256[]uint256[]bytesreturns (bytes4)
onERC1155Received(addressaddressuint256uint256bytesreturns (bytes4)
placeBid(uint256 auctionIduint256 amountpayable 
removeMogulNFTAddress(address _mogulNFTAddress
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setCommission(address NFTAddressuint256 tokenIdaddress artistAddressuint256 commissionBasisPoint
setCommissionBulk(address NFTAddressuint256[] tokenIdsaddress[] artistAddressesuint256[] commissionBasisPoints
setEthAllowed(bool _ethAllowed
setEthFee(uint256 _feeBasisPoint
setStarsAllowed(bool _starsAllowed
setStarsCashBack(uint256 _starsCashBackBasisPoint
setStarsFee(uint256 _feeBasisPoint
withdrawETH(
withdrawStars(
withdrawStarsForCashBack(uint256 amount
Events
AuctionCancelled(uint256 auctionId
AuctionClaimed(address winneruint256 auctionId
AuctionCreated(uint256 auctionIdaddress selleraddress tokenAddressuint256 tokenIduint256 tokenAmountuint256 startingPriceuint256 startTimeuint256 endTimeuint256 reservePricebool isStarsAuction
AuctionReservePriceChanged(uint256 auctionIduint256 newReservePrice
BidPlaced(address bidderuint256 auctionIduint256 amountbool isStarsBid
EthFeeBasisPointSet(uint256 newEthFeeBasisPoint
ListingCancelled(uint256 listingId
ListingCreated(uint256 listingIdaddress selleraddress tokenAddressuint256 tokenIduint256 tokenAmountuint256 starsPriceuint256 ethPricebool isStarsListingbool isEthListing
ListingPriceChanged(uint256 listingIduint256 newPricebool isStarsPrice
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SaleMade(address buyeruint256 listingIduint256 amountbool isStarsPurchase
StarsCashBackBasisPointSet(uint256 newStarsCashBackBasisPoint
StarsFeeBasisPointSet(uint256 newStarsFeeBasisPoint
TokenCommissionBulkAdded(address tokenAddressuint256[] tokenIdsaddress[] artistAddressesuint256[] commissionBasisPoints
TokenCommissionSingleAdded(address tokenAddressuint256 tokenIdaddress artistAddressuint256 commissionBasisPoint
Constructor
constructor(address starsAddressaddress _adminaddress _treasuryWalletaddress _mogulNFTAddress
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.