Wallet

struct Wallet : Codable

A wallet stores the total co2 a user has saved.

  • UserId of the owner of the wallet. (hex)

    Declaration

    Swift

    let userId: String
  • Total co2 in KG saved by the user.

    Declaration

    Swift

    let totalCO2: Int