"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isNonFungibleToken = exports.isContractPosition = exports.isAppToken = exports.isBaseToken = exports.Standard = exports.MetaType = void 0;
const contract_interface_1 = require("./contract.interface");
var MetaType;
(function (MetaType) {
    MetaType["WALLET"] = "wallet";
    MetaType["SUPPLIED"] = "supplied";
    MetaType["BORROWED"] = "borrowed";
    MetaType["CLAIMABLE"] = "claimable";
    MetaType["VESTING"] = "vesting";
    MetaType["LOCKED"] = "locked";
    MetaType["NFT"] = "nft";
})(MetaType = exports.MetaType || (exports.MetaType = {}));
var Standard;
(function (Standard) {
    Standard["ERC_20"] = "erc20";
    Standard["ERC_721"] = "erc721";
    Standard["ERC_1155"] = "erc1155";
})(Standard = exports.Standard || (exports.Standard = {}));
const isBaseToken = (token) => token.type === contract_interface_1.ContractType.BASE_TOKEN;
exports.isBaseToken = isBaseToken;
const isAppToken = (token) => token.type === contract_interface_1.ContractType.APP_TOKEN;
exports.isAppToken = isAppToken;
const isContractPosition = (token) => token.type === contract_interface_1.ContractType.POSITION;
exports.isContractPosition = isContractPosition;
const isNonFungibleToken = (token) => token.type === contract_interface_1.ContractType.NON_FUNGIBLE_TOKEN;
exports.isNonFungibleToken = isNonFungibleToken;
//# sourceMappingURL=position.interface.js.map