2020-08-20 21:59:07 +00:00
|
|
|
|
|
|
|
var cryptokitty = "cryptokitty"
|
|
|
|
var kudo = "kudo"
|
|
|
|
var ethermon = "ethermon"
|
2020-08-27 14:41:50 +00:00
|
|
|
var stickers = "stickers"
|
2020-08-20 21:59:07 +00:00
|
|
|
|
|
|
|
var collectiblesData = {
|
|
|
|
[cryptokitty] :{
|
|
|
|
collectibleName: "CryptoKitties",
|
|
|
|
collectibleIconSource: "CryptoKitties.png",
|
|
|
|
buttonText: qsTr("View in Cryptokitties"),
|
|
|
|
getLink: function (id) {
|
|
|
|
return `https://www.cryptokitties.co/kitty/${id}`
|
|
|
|
}
|
|
|
|
},
|
|
|
|
[ethermon] :{
|
|
|
|
collectibleName: "Ethermons",
|
|
|
|
collectibleIconSource: "ethermons.png",
|
|
|
|
buttonText: qsTr("View in Ethermon"),
|
|
|
|
getLink: function (id) {
|
|
|
|
// TODO find a more direct URL
|
|
|
|
return "https://ethermon.io/inventory"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
[kudo] :{
|
|
|
|
collectibleName: "Kudos",
|
|
|
|
collectibleIconSource: "kudos.png",
|
|
|
|
buttonText: qsTr("View in Gitcoin"),
|
|
|
|
getLink: function (id, externalUrl) {
|
|
|
|
return externalUrl
|
|
|
|
}
|
|
|
|
},
|
2020-08-27 14:41:50 +00:00
|
|
|
[stickers] :{
|
|
|
|
collectibleName: qsTr("Purchased Stickers"),
|
|
|
|
collectibleIconSource: "SNT.png",
|
|
|
|
buttonText: "",
|
|
|
|
getLink: function (id, externalUrl) {
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
},
|
2020-08-20 21:59:07 +00:00
|
|
|
}
|