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

33 lines
908 B
JavaScript

var cryptokitty = "cryptokitty"
var kudo = "kudo"
var ethermon = "ethermon"
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
}
},
}