Smart Contract

Migration

A.e467b9dd11fa00df.Migration

Deployed

1w ago
Feb 19, 2026, 08:39:34 AM UTC

Dependents

1 imports
1access(all)
2contract Migration {
3
4    access(all)
5    resource Admin {
6
7        access(all)
8        fun migrate() {
9            Migration.migrate()
10        }
11    }
12
13    access(all)
14    let adminStoragePath: StoragePath
15
16    init() {
17        self.adminStoragePath = /storage/migrationAdmin
18
19        self.account.storage.save(
20            <-create Admin(),
21            to: self.adminStoragePath
22        )
23    }
24
25    access(contract)
26    fun migrate() {
27        // NO-OP
28    }
29}
30