github.com/onflow/flow-go@v0.33.17/fvm/blueprints/scripts/setIsContractDeploymentRestrictedTransactionTemplate.cdc (about)

     1  transaction(restricted: Bool, path: StoragePath) {
     2  	prepare(signer: AuthAccount) {
     3  		signer.load<Bool>(from: path)
     4  		signer.save(restricted, to: path)
     5  	}
     6  }