status-desktop/ui/app/AppLayouts/Wallet/components/collectiblesComponents/collectiblesData.js

42 lines
1.1 KiB
JavaScript
Raw Normal View History

var cryptokitty = "cryptokitty"
var kudo = "kudo"
var ethermon = "ethermon"
2020-08-27 14:41:50 +00:00
var stickers = "stickers"
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 ""
}
},
}