Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EVMBridgedMetadata & URI to MetadataViews #203

Merged
merged 4 commits into from
Apr 26, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix failing tests
  • Loading branch information
sisyphusSmiling committed Apr 26, 2024
commit 87bf1b220f8b8847d97c79aecc625a6aea8f3947
6 changes: 3 additions & 3 deletions contracts/MetadataViews.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ pub contract MetadataViews {
/// the NFT where the type of URI is not able to be determined (i.e. HTTP,
/// IPFS, etc.)
///
pub struct URI: MetadataViews.File {
pub struct URI: File {
/// The base URI prefix, if any. Not needed for all URIs, but helpful
/// for some use cases For example, updating a whole NFT collection's
/// image host easily
Expand Down Expand Up @@ -794,9 +794,9 @@ pub contract MetadataViews {
/// data URL representating the NFT's onchain metadata at the time this
/// view is resolved.
///
pub let uri: {MetadataViews.File}
pub let uri: {File}

init(name: String, symbol: String, uri: {MetadataViews.File}) {
init(name: String, symbol: String, uri: {File}) {
self.name = name
self.symbol = symbol
self.uri = uri
Expand Down
Loading
Loading