-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
Overhaul assets
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
mod bulk_mint_nfts; | ||
mod get_nfts; | ||
|
||
pub use bulk_mint_nfts::*; | ||
pub use get_nfts::*; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
use serde::{Deserialize, Serialize}; | ||
use specta::Type; | ||
|
||
use crate::Amount; | ||
|
||
#[derive(Debug, Clone, Serialize, Deserialize, Type)] | ||
pub struct BulkMintNfts { | ||
pub nft_mints: Vec<NftMint>, | ||
pub did_id: String, | ||
pub fee: Amount, | ||
} | ||
|
||
#[derive(Debug, Clone, Serialize, Deserialize, Type)] | ||
pub struct NftMint { | ||
pub edition_number: Option<u32>, | ||
pub edition_total: Option<u32>, | ||
pub data_uris: Vec<String>, | ||
pub metadata_uris: Vec<String>, | ||
pub license_uris: Vec<String>, | ||
pub royalty_address: Option<String>, | ||
pub royalty_percent: Amount, | ||
} | ||
|
||
#[derive(Debug, Clone, Serialize, Deserialize, Type)] | ||
pub struct BulkMintNftsResponse { | ||
pub nft_ids: Vec<String>, | ||
} |