Skip to content

Commit

Permalink
update ExampleToken-v2.Vault receiverLinkedType + tests & go assets
Browse files Browse the repository at this point in the history
  • Loading branch information
sisyphusSmiling committed Nov 7, 2023
1 parent 91dd367 commit 1283415
Show file tree
Hide file tree
Showing 5 changed files with 2,162 additions and 473 deletions.
2 changes: 1 addition & 1 deletion contracts/ExampleToken-v2.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ access(all) contract ExampleToken: ViewResolver {
receiverPath: self.receiverPath,
metadataPath: self.publicPath,
providerPath: /private/exampleTokenVault,
receiverLinkedType: Type<&ExampleToken.Vault>(),
receiverLinkedType: Type<&{FungibleToken.Receiver}>(),
metadataLinkedType: Type<&ExampleToken.Vault>(),
providerLinkedType: Type<&ExampleToken.Vault>(),
createEmptyVaultFunction: (fun(): @{FungibleToken.Vault} {
Expand Down
Loading

0 comments on commit 1283415

Please sign in to comment.