Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction preprocess failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: error getting program a7d10afc50b14991.DapperWalletRestrictions: failed to derive value: load program failed: Parsing failed:
error: `pub` is no longer a valid access keyword
--> :1:0
|
1 | pub contract DapperWalletRestrictions {
| ^^^
error: `pub` is no longer a valid access keyword
--> :3:4
|
3 | pub let StoragePath: StoragePath
| ^^^
error: `pub` is no longer a valid access keyword
--> :5:4
|
5 | pub event TypeChanged(identifier: Type, newConfig: TypeConfig)
| ^^^
error: `pub` is no longer a valid access keyword
--> :6:4
|
6 | pub event TypeRemoved(identifier: Type)
| ^^^
error: `pub` is no longer a valid access keyword
--> :8:4
|
8 | pub fun GetConfigFlags(): {String: String} {
| ^^^
error: `pub` is no longer a valid access keyword
--> :19:4
|
19 | pub struct TypeConfig{
| ^^^
error: `pub` is no longer a valid access keyword
--> :20:8
|
20 | pub let flags: {String: Bool}
| ^^^
error: `pub` is no longer a valid access keyword
--> :22:8
|
22 | pub fun setFlag(_ flag: String, _ value: Bool) {
| ^^^
error: `pub` is no longer a valid access keyword
--> :30:8
|
30 | pub fun getFlag(_ flag: String): Bool {
| ^^^
error: `pub` is no longer a valid access keyword
--> :43:4
|
43 | pub resource Admin {
| ^^^
error: `pub` is no longer a valid access keyword
--> :44:8
|
44 | pub fun addType(_ t: Type, conf: TypeConfig) {
| ^^^
error: `pub` is no longer a valid access keyword
--> :49:8
|
49 | pub fun updateType(_ t: Type, conf: TypeConfig) {
| ^^^
error: `pub` is no longer a valid access keyword
--> :54:8
|
54 | pub fun removeType( _ t: Type) {
| ^^^
error: `pub` is no longer a valid access keyword
--> :60:4
|
60 | pub fun getTypes(): {Type:TypeConfig} {
| ^^^
error: `pub` is no longer a valid access keyword
--> :64:4
|
64 | pub fun getConfig(_ t: Type): TypeConfig? {
| ^^^
--> a7d10afc50b14991.DapperWalletRestrictions
error: error getting program 6d9ae43184a7ad9f.DapperWalletCollections: failed to derive value: load program failed: Parsing failed:
error: `pub` is no longer a valid access keyword
--> :1:0
|
1 | pub contract DapperWalletCollections {
| ^^^
error: `pub` is no longer a valid access keyword
--> :2:4
|
2 | pub let StoragePath: StoragePath
| ^^^
error: `pub` is no longer a valid access keyword
--> :4:4
|
4 | pub event TypeChanged(identifier: String, added: Bool)
| ^^^
error: `pub` is no longer a valid access keyword
--> :8:4
|
8 | pub resource Admin {
| ^^^
error: `pub` is no longer a valid access keyword
--> :9:8
|
9 | pub fun addType(_ t: Type) {
| ^^^
error: `pub` is no longer a valid access keyword
--> :14:8
|
14 | pub fun removeType( _ t: Type) {
| ^^^
error: `pub` is no longer a valid access keyword
--> :20:4
|
20 | pub fun containsType(_ t: Type): Bool {
| ^^^
--> 6d9ae43184a7ad9f.DapperWalletCollections
error: cannot find variable in this scope: `DapperWalletRestrictions`
--> 4e53fa45746cc779ceeb4a70191401ceb660787486017bd876f78c200699bf37:67:30
|
67 | let restriction = DapperWalletRestrictions.getConfig(nft.collectionData.publicCollection)
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope