Skip to content

In mint, owner should be optional #160

@bmacer

Description

@bmacer

Owner should default to sender (derived from origin) if owner is not passed

pub fn mint_nft(
origin: OriginFor<T>,
owner: T::AccountId,
collection_id: CollectionId,
recipient: Option<T::AccountId>,
royalty: Option<Permill>,
metadata: BoundedVec<u8, T::StringLimit>,
transferable: bool,

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions