ItemsFacet.sol

Documentation for ItemsFacet.sol

function itemBalances(address) external

‌Returns balance for each item that exists for an account

function balanceOf(address, uint256) external

‌Returns the balance of an account's tokens.

function balanceOfToken(address, uint256, uint256) external

Get the balance of a non-fungible parent token.

function itemBalancesOfToken(address, uint256) external

‌Returns the balances for all items for a token

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

‌Get the balance of multiple account/token pairs

function equippedWearables(uint256) external

‌Returns the Ids of all equipped Wearables.

function getWearableSets() external

Returns information about all of the Wearable Sets.

function getWearableSet(uint256) external

Returns information about the given Wearable Set.

function totalWearableSets() external

‌Returns a count of the total Wearable Sets.

function getItemType(uint256) public

‌Returns information about the given Item.

function getItemTypes() external

‌Returns information about all of the Items.

function safeTransferFrom(address, address, uint256, uint256, bytes) external

‌Transfers _value amount of an _id from the _from address to the _to address specified (with safety call).

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

‌Transfers _values amount(s) of _ids from the _from address to the _to address specified (with safety call).

function transferToParent(address, address, uint256, uint256, uint256) external

‌Transfer tokens from owner address to a token.

function transferFromParent(address, uint256, address, uint256, uint256) external

‌Transfer token from a token to an address.

function transferAsChild(address, uint256, address, uint256, uint256, uint256) external

‌Transfer a token from a token to another token

function equipWearables(uint256, uint256) external

‌Equips the given Wearables to a given Aavegotchi.

function useConsumable(uint256, uint256) external

‌Uses a Consumable Item, applies the bonuses to the Aavegotchi, then burns the Item.