MogulMarketplaceERC1155
Verified contract
Active on
Ethereum with 251 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xc55c…13ca
-
variable spans 1 additional slot
-
variable spans 1 additional slot
-
variable spans 1 additional slot
Balances ($1.39)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
STARS | ERC-20 | 46.84085K | $0.00003 |
$1.39 | |
0x0e36…441d | ERC-1555 | 400 | -- | -- | |
0x0e36…441d | ERC-1555 | 95 | -- | -- | |
0x73d7…1e0a | ERC-1555 | 89 | -- | -- | |
0xed9e…2711 | ERC-1555 | 6 | -- | -- | |
0x0e36…441d | ERC-1555 | 4 | -- | -- | |
0x1a05…27d8 | ERC-1555 | 1 | -- | -- | |
0xddd4…749c | ERC-1555 | 1 | -- | -- | |
0xddd4…749c | ERC-1555 | 1 | -- | -- | |
0xddd4…749c | ERC-1555 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17744573 | a year ago | | | 0 | 0.0065858672 | |
| 16878969 | 2 years ago | | | 0 | 0.0018969223 | |
| 16407070 | 2 years ago | | | 0 | 0.0054610332 | |
| 15948890 | 2 years ago | | | 0 | 0.0030306446 | |
| 15736510 | 2 years ago | | | 0.3 | 0.0014110154 | |
| 15596992 | 2 years ago | | | 0 | 0.0047541899 | |
| 15596988 | 2 years ago | | | 0 | 0.0047120194 | |
| 15596974 | 2 years ago | | | 0 | 0.0037046872 | |
| 15596948 | 2 years ago | | | 0 | 0.0012389084 | |
| 15108868 | 2 years ago | | | 0 | 0.0080426944 |
ABI
ABI objects
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(uint256) view returns (address seller, address tokenAddress, uint256 tokenId, uint256 tokenAmount, uint256 startingPrice, uint256 startTime, uint256 endTime, uint256 reservePrice, bool isStarsAuction, struct MogulMarketplaceERC1155Bid highestBid)
commissions(address, uint256) view returns (address artistAddress, uint256 commissionBasisPoint)
getAuctionIds(uint256[] indices) view returns (uint256[])
getAuctionsAtIndices(uint256[] indices) view returns (struct MogulMarketplaceERC1155Auction[])
getCommissionInfoForTokens(address NFTAddress, uint256[] tokenIds) view returns (struct MogulMarketplaceERC1155TokenCommissionInfo[])
getListingIds(uint256[] indices) view returns (uint256[])
getListingsAtIndices(uint256[] indices) view returns (struct MogulMarketplaceERC1155Listing[])
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
listings(uint256) view returns (address seller, address tokenAddress, uint256 tokenId, uint256 tokenAmount, uint256 starsPrice, uint256 ethPrice, bool isStarsListing, bool isEthListing)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addMogulNFTAddress(address _mogulNFTAddress)
batchCancelAuction(uint256[] _auctionIds)
batchCancelListing(uint256[] _listingIds)
batchClaimAuction(uint256[] _auctionIds)
batchCreateAuctions(address[] tokenAddresses, uint256[] tokenIds, uint256[] tokenAmounts, uint256[] startingPrices, uint256[] startTimes, uint256[] endTimes, uint256[] reservePrices, bool[] areStarsAuctions)
batchCreateListings(address[] tokenAddresses, uint256[] tokenIds, uint256[] tokenAmounts, uint256[] starsPrices, uint256[] ethPrices, bool[] areStarsListings, bool[] areEthListings)
buyTokens(uint256 listingId, uint256 amount, uint256 expectedPrice, bool isStarsPurchase) payable
cancelAuction(uint256 auctionId)
cancelListing(uint256 listingId)
changeListingPrice(uint256 listingId, uint256 newPrice, bool isStarsPrice)
changeReservePrice(uint256 auctionId, uint256 newReservePrice)
claimAuction(uint256 auctionId)
createAuction(address tokenAddress, uint256 tokenId, uint256 tokenAmount, uint256 startingPrice, uint256 startTime, uint256 endTime, uint256 reservePrice, bool isStarsAuction)
createListing(address tokenAddress, uint256 tokenId, uint256 tokenAmount, uint256 starsPrice, uint256 ethPrice, bool isStarsListing, bool isEthListing)
depositStarsForCashBack(uint256 amount)
grantRole(bytes32 role, address account)
onERC1155BatchReceived(address, address, uint256[], uint256[], bytes) returns (bytes4)
onERC1155Received(address, address, uint256, uint256, bytes) returns (bytes4)
placeBid(uint256 auctionId, uint256 amount) payable
removeMogulNFTAddress(address _mogulNFTAddress)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setCommission(address NFTAddress, uint256 tokenId, address artistAddress, uint256 commissionBasisPoint)
setCommissionBulk(address NFTAddress, uint256[] tokenIds, address[] artistAddresses, uint256[] commissionBasisPoints)
setEthAllowed(bool _ethAllowed)
setEthFee(uint256 _feeBasisPoint)
setStarsAllowed(bool _starsAllowed)
setStarsCashBack(uint256 _starsCashBackBasisPoint)
setStarsFee(uint256 _feeBasisPoint)
withdrawETH()
withdrawStars()
withdrawStarsForCashBack(uint256 amount)
AuctionCancelled(uint256 auctionId)
AuctionClaimed(address winner, uint256 auctionId)
AuctionCreated(uint256 auctionId, address seller, address tokenAddress, uint256 tokenId, uint256 tokenAmount, uint256 startingPrice, uint256 startTime, uint256 endTime, uint256 reservePrice, bool isStarsAuction)
AuctionReservePriceChanged(uint256 auctionId, uint256 newReservePrice)
BidPlaced(address bidder, uint256 auctionId, uint256 amount, bool isStarsBid)
EthFeeBasisPointSet(uint256 newEthFeeBasisPoint)
ListingCancelled(uint256 listingId)
ListingCreated(uint256 listingId, address seller, address tokenAddress, uint256 tokenId, uint256 tokenAmount, uint256 starsPrice, uint256 ethPrice, bool isStarsListing, bool isEthListing)
ListingPriceChanged(uint256 listingId, uint256 newPrice, bool isStarsPrice)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SaleMade(address buyer, uint256 listingId, uint256 amount, bool isStarsPurchase)
StarsCashBackBasisPointSet(uint256 newStarsCashBackBasisPoint)
StarsFeeBasisPointSet(uint256 newStarsFeeBasisPoint)
TokenCommissionBulkAdded(address tokenAddress, uint256[] tokenIds, address[] artistAddresses, uint256[] commissionBasisPoints)
TokenCommissionSingleAdded(address tokenAddress, uint256 tokenId, address artistAddress, uint256 commissionBasisPoint)
constructor(address starsAddress, address _admin, address _treasuryWallet, address _mogulNFTAddress)
This contract contains no fallback and receive objects.
This contract contains no error objects.