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.
 
 
 
 
 
 

12 lines
332 B

package com.xsn.explorer.helpers
import com.xsn.explorer.models.{Address, Blockhash, TransactionId}
object DataHelper {
def createAddress(string: String) = Address.from(string).get
def createBlockhash(string: String) = Blockhash.from(string).get
def createTransactionId(string: String) = TransactionId.from(string).get
}