IImportedContracts
struct Collection {
// The ID of the entity associated with the collection
uint256 entityId;
// The ID of the collection
uint64 collectionId;
// The type of minting for the collection
uint8 mintType;
// The maximum number of tokens that can be minted per wallet
uint8 mintPerAccountLimit;
// A flag indicating if the collection is whitelisted
bool isWhitelisted;
// A flag indicating if the collection is free
bool isFree;
// The ID of the template associated with the collection
uint256 templateId;
// The number of tokens minted in the collection
uint256 mintCount;
// The total supply of tokens in the collection
uint256 totalSupply;
// The price of minting a token in the collection
uint256 mintPrice;
// The available URIs associated with the collection
string[] collectionURIs;
// The name of the collection
string name;
// The symbol of the collection
string symbol;
// The address of the verifier
address verifier;
}
struct TokenSubscriptionInfo {
// Indicates whether the token is subscribed or not
bool isSubscribed;
// The URI associated with the token
string uri;
}
function subscribeToEntity(
address _contract,
address owner,
uint256 tokenId,
uint256 entityId,
string calldata entitySlotDefaultUri,
bool directUpdateEnabled
) external;
function subscribeToEntities(
address _contract,
address owner,
uint256 tokenId,
uint256[] calldata entityIds,
string[] calldata entitySlotDefaultUris
) external;
function updateURISlot(
address _contract,
address owner,
uint256 entityId,
uint256 tokenId,
string calldata updatedUri
) external;
function directUpdateURISlot(
address _contract,
uint256 entityId,
uint256 tokenId,
string calldata updatedUri
) external;
function directUpdateURISlots(
address _contract,
uint256 entityId,
uint256[] calldata tokenIds,
string[] calldata updatedUris
) external;
function tokenEntityURI(address _contract, uint256 tokenId, uint256 entityId) external view returns (string memory);
function transferTokenEntityURI(
address _contract,
address owner,
uint256 tokenId,
uint256 entityId,
string calldata soldUri
) external;
function resetSlotToDefault(
address _contract,
address owner,
uint256 tokenId,
uint256 entityId,
string calldata defaultUri
) external;