Skip to content

Commit 7387608

Browse files
committed
update to tagged nft version and add cross VM views getter
1 parent 7a44024 commit 7387608

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

lib/go/contracts/contracts.go

+4
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ func MetadataViews(env templates.Environment) []byte {
111111
return nftcontracts.MetadataViews(env.FungibleTokenAddress, env.NonFungibleTokenAddress, env.ViewResolverAddress)
112112
}
113113

114+
func CrossVMMetadataViews(env templates.Environment) []byte {
115+
return nftcontracts.CrossVMMetadataViews(env.ViewResolverAddress, env.EVMAddress)
116+
}
117+
114118
// FlowToken returns the FlowToken contract.
115119
//
116120
// The returned contract will import the FungibleToken contract from the specified address.

lib/go/contracts/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/kevinburke/go-bindata v3.24.0+incompatible
99
github.com/onflow/flow-core-contracts/lib/go/templates v1.5.1-0.20250211211929-30b3506dd97c
1010
github.com/onflow/flow-ft/lib/go/contracts v1.0.1
11-
github.com/onflow/flow-nft/lib/go/contracts v1.2.3-0.20250212001645-6970cef66408
11+
github.com/onflow/flow-nft/lib/go/contracts v1.2.3
1212
github.com/stretchr/testify v1.9.0
1313
)
1414

lib/go/contracts/go.sum

+2
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,8 @@ github.com/onflow/flow-nft/lib/go/contracts v1.2.2 h1:XFERNVUDGbZ4ViZjt7P1cGD80m
233233
github.com/onflow/flow-nft/lib/go/contracts v1.2.2/go.mod h1:eZ9VMMNfCq0ho6kV25xJn1kXeCfxnkhj3MwF3ed08gY=
234234
github.com/onflow/flow-nft/lib/go/contracts v1.2.3-0.20250212001645-6970cef66408 h1:+p7ksrxM0ynqRa+DhS47WlzNOWaBxd8YAiVAw8N6Dpc=
235235
github.com/onflow/flow-nft/lib/go/contracts v1.2.3-0.20250212001645-6970cef66408/go.mod h1:eZ9VMMNfCq0ho6kV25xJn1kXeCfxnkhj3MwF3ed08gY=
236+
github.com/onflow/flow-nft/lib/go/contracts v1.2.3 h1:4ju20g1xgDKWBT63rOj5f/Sa4Lc+naCSWT4p31x9yQk=
237+
github.com/onflow/flow-nft/lib/go/contracts v1.2.3/go.mod h1:eZ9VMMNfCq0ho6kV25xJn1kXeCfxnkhj3MwF3ed08gY=
236238
github.com/onflow/flow-nft/lib/go/templates v1.2.1 h1:SAALMZPDw9Eb9p5kSLnmnFxjyig1MLiT4JUlLp0/bSE=
237239
github.com/onflow/flow-nft/lib/go/templates v1.2.1/go.mod h1:W6hOWU0xltPqNpv9gQX8Pj8Jtf0OmRxc1XX2V0kzJaI=
238240
github.com/onflow/flow/protobuf/go/flow v0.4.3 h1:gdY7Ftto8dtU+0wI+6ZgW4oE+z0DSDUMIDwVx8mqae8=

lib/go/test/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ require (
129129
github.com/onflow/bridged-usdc/lib/go/contracts v1.0.0 // indirect
130130
github.com/onflow/flow-ft/lib/go/contracts v1.0.1 // indirect
131131
github.com/onflow/flow-ft/lib/go/templates v1.0.1 // indirect
132-
github.com/onflow/flow-nft/lib/go/contracts v1.2.3-0.20250212001645-6970cef66408 // indirect
132+
github.com/onflow/flow-nft/lib/go/contracts v1.2.3 // indirect
133133
github.com/onflow/flow-nft/lib/go/templates v1.2.1 // indirect
134134
github.com/onflow/flow/protobuf/go/flow v0.4.7 // indirect
135135
github.com/onflow/go-ethereum v1.14.7 // indirect

lib/go/test/go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -582,8 +582,8 @@ github.com/onflow/flow-go v0.38.0-util.0.20250130182921-c8d283b60d12 h1:RUmzt0En
582582
github.com/onflow/flow-go v0.38.0-util.0.20250130182921-c8d283b60d12/go.mod h1:bXxLlDLhyMj05TGYWFJdKTZdySShJMT0eqgommYq48w=
583583
github.com/onflow/flow-go-sdk v1.3.1 h1:2YdTL/R1/DjMYYmyKgArTeQ93GKvLlfCeCpMVH7b8q4=
584584
github.com/onflow/flow-go-sdk v1.3.1/go.mod h1:0rMuCLShdX9F4pLBCPhlMGCFu8gu9SfiXT/Lc9qAi24=
585-
github.com/onflow/flow-nft/lib/go/contracts v1.2.3-0.20250212001645-6970cef66408 h1:+p7ksrxM0ynqRa+DhS47WlzNOWaBxd8YAiVAw8N6Dpc=
586-
github.com/onflow/flow-nft/lib/go/contracts v1.2.3-0.20250212001645-6970cef66408/go.mod h1:eZ9VMMNfCq0ho6kV25xJn1kXeCfxnkhj3MwF3ed08gY=
585+
github.com/onflow/flow-nft/lib/go/contracts v1.2.3 h1:4ju20g1xgDKWBT63rOj5f/Sa4Lc+naCSWT4p31x9yQk=
586+
github.com/onflow/flow-nft/lib/go/contracts v1.2.3/go.mod h1:eZ9VMMNfCq0ho6kV25xJn1kXeCfxnkhj3MwF3ed08gY=
587587
github.com/onflow/flow-nft/lib/go/templates v1.2.1 h1:SAALMZPDw9Eb9p5kSLnmnFxjyig1MLiT4JUlLp0/bSE=
588588
github.com/onflow/flow-nft/lib/go/templates v1.2.1/go.mod h1:W6hOWU0xltPqNpv9gQX8Pj8Jtf0OmRxc1XX2V0kzJaI=
589589
github.com/onflow/flow/protobuf/go/flow v0.4.7 h1:iP6DFx4wZ3ETORsyeqzHu7neFT3d1CXF6wdK+AOOjmc=

0 commit comments

Comments
 (0)