Merge pull request #329 from James-Sangalli/newLiveTicketContract

update mainnet and ropsten ethereum contract addresses
pull/335/head
James Sangalli 7 years ago committed by GitHub
commit 64625fdad4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Trust/Foundation/AssetDefinitionXML.swift
  2. 2
      Trust/Foundation/XMLHandler.swift
  3. 2
      Trust/Settings/Types/Config.swift
  4. 4
      Trust/Settings/Types/Constants.swift

@ -99,8 +99,8 @@ class AssetDefinitionXML {
"</ds:KeyInfo>\n" +
"</ds:Signature>\n" +
"\t<contract type=\"issuing\">\n" +
"\t\t<address network=\"1\">0x277b1318965030C62E1dAc9671a6F8dF77F855Cf</address>\n" +
"\t\t<address network=\"3\">0x2Cd6CbC60219B33161F1BF69fbd6c741aD980BBa</address>\n" +
"\t\t<address network=\"1\">0xDBc5934463Effb93a770C62EfeE4FeaeaF462ede</address>\n" +
"\t\t<address network=\"3\">0xD8e5F58DE3933E1E35f9c65eb72cb188674624F3</address>\n" +
"\t\t<name lang=\"ru\">Билеты</name>\n" +
"\t\t<name lang=\"en\">Tickets</name>\n" +
"\t\t<name lang=\"zh\">票</name>\n" +

@ -22,7 +22,7 @@ public class XMLHandler {
let unFormattedDate = Date(timeIntervalSince1970: TimeInterval(timestamp))
let dateString = formatter.string(from: unFormattedDate)
if let date = Date(string: dateString, format: "dd/MM/yyyy hh:mm:ss a") {
return date;
return date
}
return unFormattedDate
}

@ -142,7 +142,7 @@ struct Config {
return ERCToken(
contract: contractAddress,
name: name,
symbol: "TICK",
symbol: "SHANKAI",
decimals: 0,
isStormBird: true,
balance: []

@ -28,8 +28,8 @@ public struct Constants {
public static let dappsBrowserURL = "https://dapps.trustwalletapp.com"
// FIFA hardcoded FIFA token address. Look for "//FIFA" for relevant changes
public static let ticketContractAddress = "0x277b1318965030C62E1dAc9671a6F8dF77F855Cf"
public static let ticketContractAddressRopsten = "0x2Cd6CbC60219B33161F1BF69fbd6c741aD980BBa"
public static let ticketContractAddress = "0xDBc5934463Effb93a770C62EfeE4FeaeaF462ede"
public static let ticketContractAddressRopsten = "0xD8e5F58DE3933E1E35f9c65eb72cb188674624F3"
public static let nullTicket = "0x0000000000000000000000000000000000000000000000000000000000000000"
public static let burnAddressString = "0x000000000000000000000000000000000000dEaD"
public static let event = "FIFA WC 2018"

Loading…
Cancel
Save