cadence
pub contract Variables {
pub let number: Int
pub let name: String
pub let address: Address
pub let switch: Bool
init() {
self.number = 1
self.name = "Emerald Academy"
self.address = 0x5643fd47a29770e7
self.switch = true
}
}
Tipos Primitivos
Alguns dos tipos básicos em Cadence.