An advanced Ethereum/EVM mobile wallet
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
alpha-wallet-ios/Trust/Models/EthereumUnit.swift

13 lines
269 B

// Copyright SIX DAY LLC. All rights reserved.
7 years ago
import Foundation
enum EthereumUnit: Int {
7 years ago
case wei = 1
case kwei = 1000
7 years ago
case gwei = 1000000000
7 years ago
case ether = 1000000000000000000
}
//https://github.com/ethereumjs/ethereumjs-units/blob/master/units.json