Senha

Insira a senha correta.

Please log in
Difficulty: Easy

VocĂȘ deve adivinhar a senha deste contrato para desbloquear superpoderes.

cadence
		
			pub contract Password {

    pub let password: String
    pub var locked: Bool

    pub fun unlock(guess: String) {
        if guess == self.password {
            self.locked = false
        }
    }

    init(password: String) {
        self.password = password
        self.locked = true
    }
}