Create
await contract.new();
- "Change" function (ie. a function that alters contract state) . Initializes the collection's metadata
@param
: Receives the below object as argument:
{
owner_id: AccountId,
metadata: NFTContractMetadata,
has_whitelist: boolean,
}
@return
:
null