diff --git a/.gitignore b/.gitignore index 6793151..3cd7e8c 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ target notes +/out # testing /coverage diff --git a/nft-contract/src/lib.rs b/nft-contract/src/lib.rs index 7de6cd2..d0c61ce 100644 --- a/nft-contract/src/lib.rs +++ b/nft-contract/src/lib.rs @@ -75,8 +75,8 @@ impl Contract { owner_id, NFTContractMetadata { spec: "nft-1.0.0".to_string(), - name: "NFT Tutorial Contract".to_string(), - symbol: "GOTEAM".to_string(), + name: "DDD Marketplace Contract".to_string(), + symbol: "DDD".to_string(), icon: None, base_uri: None, reference: None, @@ -111,4 +111,5 @@ impl Contract { //return the Contract object this } -} \ No newline at end of file +} + diff --git a/nft-contract/src/metadata.rs b/nft-contract/src/metadata.rs index 55ef463..74a618b 100644 --- a/nft-contract/src/metadata.rs +++ b/nft-contract/src/metadata.rs @@ -27,6 +27,9 @@ pub struct TokenMetadata { pub media: Option, // URL to associated media, preferably to decentralized, content-addressed storage pub media_hash: Option, // Base64-encoded sha256 hash of content referenced by the `media` field. Required if `media` is included. pub copies: Option, // number of copies of this set of metadata in existence when token was minted. + pub ori_creator: String, + pub model3d_url: String, + pub ipfs_meta: Option, pub issued_at: Option, // When token was issued or minted, Unix epoch in milliseconds pub expires_at: Option, // When token expires, Unix epoch in milliseconds pub starts_at: Option, // When token starts being valid, Unix epoch in milliseconds diff --git a/out/main.wasm b/out/main.wasm index 86f569d..e8a0b08 100755 Binary files a/out/main.wasm and b/out/main.wasm differ diff --git a/out/market.wasm b/out/market.wasm index 6d9c2ee..6ac64d5 100755 Binary files a/out/market.wasm and b/out/market.wasm differ diff --git a/update_info b/update_info new file mode 100644 index 0000000..f8b54db --- /dev/null +++ b/update_info @@ -0,0 +1 @@ +rustup target add wasm32-unknown-unknown \ No newline at end of file