[Error Code: 1101] error caused by: 1 error occurred: * transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed: error: cannot deploy invalid contract --> 2d41286661b8ff28521cf5a66928033615c9007c0390376e803e37ae33f68309:4:3 | 4 | signer.contracts.add(name: name, code: code.utf8 ) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: value of type `&Account` has no member `getCapability` --> 9179121cf7791f99.Ordinal:89:69 | 89 | receiver: getAccount(0xc7c122b5b811de8e).getCapability<&{FungibleToken.Receiver}>(/public/flowTokenReceiver)!, | ^^^^^^^^^^^^^ unknown member error: incorrect argument label --> 9179121cf7791f99.Ordinal:93:51 | 93 | return MetadataViews.Royalties(cutInfos: royalties) | ^^^^^^^^^ expected no label, got `cutInfos` error: incorrect argument label --> 9179121cf7791f99.Ordinal:97:28 | 97 | type: "Inscription Number", | ^^^^^ expected `name`, got `type` error: incorrect argument label --> 9179121cf7791f99.Ordinal:103:28 | 103 | type: "Type", | ^^^^^ expected `name`, got `type` error: incorrect argument label --> 9179121cf7791f99.Ordinal:109:28 | 109 | type: "Size", | ^^^^^ expected `name`, got `type` error: incorrect argument label --> 9179121cf7791f99.Ordinal:115:28 | 115 | type: "Creator", | ^^^^^ expected `name`, got `type` error: incorrect argument label --> 9179121cf7791f99.Ordinal:121:28 | 121 | type: "UUID", | ^^^^^ expected `name`, got `type` error: resource `Ordinal.NFT` does not conform to resource interface `NonFungibleToken.NFT` --> 9179121cf7791f99.Ordinal:36:25 | 36 | access(all) resource NFT: NonFungibleToken.NFT, ViewResolver.Resolver { | ^ ... | 58 | access(all) fun getViews(): [Type] { | -------- mismatch here
Loading...
Loading...
Happy diving into the flow Remember to upgrade your contracts to 1.0!