diff --git a/.swiftpm/xcode/package.xcworkspace/xcuserdata/vbodinaud.xcuserdatad/UserInterfaceState.xcuserstate b/.swiftpm/xcode/package.xcworkspace/xcuserdata/vbodinaud.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..76b8db7 Binary files /dev/null and b/.swiftpm/xcode/package.xcworkspace/xcuserdata/vbodinaud.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Sources/Blockchain/Models/Account.swift b/Sources/Blockchain/Models/Account.swift new file mode 100644 index 0000000..14b5d0b --- /dev/null +++ b/Sources/Blockchain/Models/Account.swift @@ -0,0 +1,13 @@ +// +// File.swift +// +// +// Created by Victor BODINAUD on 31/03/2021. +// + +import Foundation + +class Account { + var id: String + var balance: Int +} diff --git a/Sources/Blockchain/Models/Transaction.swift b/Sources/Blockchain/Models/Transaction.swift new file mode 100644 index 0000000..681971f --- /dev/null +++ b/Sources/Blockchain/Models/Transaction.swift @@ -0,0 +1,15 @@ +// +// File.swift +// +// +// Created by Victor BODINAUD on 31/03/2021. +// + +import Foundation + +class Transaction { + var sender: String + var receiver: String + var amount: Int + var type: String +}