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
--> 8618932dde351b8a03708d08abfff02dd0e2b47aa1941b8192794d99d5adc0d5:4:3
|
4 | signer.contracts.add(name: name, code: code.utf8 )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: value of type `&Account` has no member `storageUsed`
--> cbc6dbbfcc60e595.DapperStorageRent:94:17
|
94 | if recipient.storageUsed < recipient.storageCapacity && (recipient.storageCapacity - recipient.storageUsed) < self.StorageRentRefillThreshold {
| ^^^^^^^^^^^ unknown member
error: value of type `&Account` has no member `storageCapacity`
--> cbc6dbbfcc60e595.DapperStorageRent:94:41
|
94 | if recipient.storageUsed < recipient.storageCapacity && (recipient.storageCapacity - recipient.storageUsed) < self.StorageRentRefillThreshold {
| ^^^^^^^^^^^^^^^ unknown member
error: value of type `&Account` has no member `storageCapacity`
--> cbc6dbbfcc60e595.DapperStorageRent:94:71
|
94 | if recipient.storageUsed < recipient.storageCapacity && (recipient.storageCapacity - recipient.storageUsed) < self.StorageRentRefillThreshold {
| ^^^^^^^^^^^^^^^ unknown member
error: value of type `&Account` has no member `storageUsed`
--> cbc6dbbfcc60e595.DapperStorageRent:94:99
|
94 | if recipient.storageUsed < recipient.storageCapacity && (recipient.storageCapacity - recipient.storageUsed) < self.StorageRentRefillThreshold {
| ^^^^^^^^^^^ unknown member