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

12 lines
281 B

// Copyright SIX DAY LLC. All rights reserved.
import Foundation
enum EthereumUnit: Int64 {
case wei = 1
case kwei = 1_000
case gwei = 1_000_000_000
case ether = 1_000_000_000_000_000_000
}
//https://github.com/ethereumjs/ethereumjs-units/blob/master/units.json