ShopFacet.sol

Documentation for ShopFacet.sol

READ FUNCTIONS

function balanceOfBatch(address[], uint256[]) external

‌This is some information about the function.

WRITE FUNCTIONS

function buyPortals(address, uint256, bool) external

‌Transfers GHST from msg.sender in exchange for Portals based on the current price. Also shares revenue with the revenueShare addresses.

function purchaseItemsWithGhst(address, uint256[], uint256[]) external

‌Transfers GHSt from msg.sender in exchange for Items based on the Item price. Also shares revenue with the revenueShare addresses.

function purchaseItemsWithVouchers(address, uint256[], uint256[]) external

‌Exchanges and burns a pre-launch Voucher for its equivalent Mainnet Wearable Item.

function onERC1155BatchReceived(address, address, uint256[], uint256[], bytes) external

‌Handle the receipt of multiple ERC1155 token types.