Whoops! 😨 Something unexpected happened...
[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
--> 3227a454ec2810eb8cb7229f114431af68a1d2987f780122ac933817dc8a19e4:4:3
|
4 | signer.contracts.add(name: name, code: code.utf8 )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: cannot find variable in this scope: `FlunksGraduation`
--> 807c3d470888cc48.FlunksGraduationV2:33:4
|
33 | !FlunksGraduation.GraduatedFlunks.containsKey(tokenID):
| ^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `FlunksGraduation`
--> 807c3d470888cc48.FlunksGraduationV2:35:3
|
35 | FlunksGraduation.GraduationTime[tokenID] ?? 1682049600 <= UInt64(getCurrentBlock().timestamp):
| ^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `FlunksGraduation`
--> 807c3d470888cc48.FlunksGraduationV2:75:23
|
75 | newMetadata["uri"] = FlunksGraduation.tokenIDToUri[tokenID]!
| ^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `FlunksGraduation`
--> 807c3d470888cc48.FlunksGraduationV2:78:2
|
78 | FlunksGraduation.GraduatedFlunks[tokenID] = true
| ^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `FlunksGraduation`
--> 807c3d470888cc48.FlunksGraduationV2:79:2
|
79 | FlunksGraduation.GraduationTime.remove(key: tokenID)
| ^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `FlunksGraduation`
--> 807c3d470888cc48.FlunksGraduationV2:84:9
|
84 | return FlunksGraduation.GraduatedFlunks[tokenID] ?? false
| ^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `FlunksGraduation`
--> 807c3d470888cc48.FlunksGraduationV2:88:9
|
88 | return FlunksGraduation.GraduationTime
| ^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `FlunksGraduation`
--> 807c3d470888cc48.FlunksGraduationV2:95:5
|
95 | !FlunksGraduation.GraduatedFlunks.containsKey(tokenID):
| ^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `FlunksGraduation`
--> 807c3d470888cc48.FlunksGraduationV2:98:3
|
98 | FlunksGraduation.GraduationTime[tokenID] = _timeInSeconds
| ^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `FlunksGraduation`
--> 807c3d470888cc48.FlunksGraduationV2:104:6
|
104 | if FlunksGraduation.GraduatedFlunks.containsKey(tokenID){
| ^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `FlunksGraduation`
--> 807c3d470888cc48.FlunksGraduationV2:107:3
|
107 | FlunksGraduation.tokenIDToUri[tokenID] = uri
| ^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `FlunksGraduation`
--> 807c3d470888cc48.FlunksGraduationV2:140:4
|
140 | FlunksGraduation.account.storage.borrow<&Flunks.Admin>(
| ^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `FlunksGraduation`
--> 807c3d470888cc48.FlunksGraduationV2:148:24
|
148 | newMetadata["uri"] = FlunksGraduation.tokenIDToUri[tokenID]!
| ^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `FlunksGraduation`
--> 807c3d470888cc48.FlunksGraduationV2:151:3
|
151 | FlunksGraduation.GraduatedFlunks[tokenID] = true
| ^^^^^^^^^^^^^^^^ not found in this scope
error: cannot find variable in this scope: `FlunksGraduation`
--> 807c3d470888cc48.FlunksGraduationV2:152:3
|
152 | FlunksGraduation.GraduationTime.remove(key: tokenID)
| ^^^^^^^^^^^^^^^^ not found in this scope