blockchainethereumblockchain-walleterc20erc721walletxdaidappdecentralizederc1155erc875iosswifttokens
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.
345 lines
46 KiB
345 lines
46 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE token [
|
|
<!ENTITY style SYSTEM "layouts/shared.css">
|
|
<!ENTITY item-view-sent.en SYSTEM "layouts/item-view-sent.en.js">
|
|
<!ENTITY item-view-received.en SYSTEM "layouts/item-view-sent.en.js">
|
|
<!ENTITY item-view-approvalObtained.en SYSTEM "layouts/item-view-approvalObtained.en.js">
|
|
<!ENTITY item-view-ownerApproved.en SYSTEM "layouts/item-view-ownerApproved.en.js">
|
|
<!ENTITY sent.en SYSTEM "layouts/sent.en.js">
|
|
<!ENTITY received.en SYSTEM "layouts/received.en.js">
|
|
<!ENTITY receivedApproval.en SYSTEM "layouts/receivedApproval.en.js">
|
|
<!ENTITY gaveApproval.en SYSTEM "layouts/gaveApproval.en.js">
|
|
]>
|
|
<ts:token xmlns:ts="http://tokenscript.org/2020/06/tokenscript"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns:asnx="urn:ietf:params:xml:ns:asnx"
|
|
xmlns:ethereum="urn:ethereum:constantinople"
|
|
xsi:schemaLocation="http://tokenscript.org/2020/06/tokenscript http://tokenscript.org/2020/06/tokenscript.xsd"
|
|
custodian="false"
|
|
>
|
|
<asnx:module name="ERC721-Events">
|
|
<namedType name="Approval">
|
|
<type>
|
|
<sequence>
|
|
<element name="owner" ethereum:type="address" ethereum:indexed="true"/>
|
|
<element name="approved" ethereum:type="address" ethereum:indexed="true"/>
|
|
<element name="tokenId" ethereum:type="uint256" ethereum:indexed="false"/>
|
|
</sequence>
|
|
</type>
|
|
</namedType>
|
|
<namedType name="Transfer">
|
|
<type>
|
|
<sequence>
|
|
<element name="from" ethereum:type="address" ethereum:indexed="true"/>
|
|
<element name="to" ethereum:type="address" ethereum:indexed="true"/>
|
|
<element name="tokenId" ethereum:type="uint256" ethereum:indexed="false"/>
|
|
</sequence>
|
|
</type>
|
|
</namedType>
|
|
</asnx:module>
|
|
<ts:cards>
|
|
<ts:card type="activity" name="sent">
|
|
<ts:origins>
|
|
<!-- this gives you card attributes from, to, tokenID, which is different than the
|
|
token's attributes -->
|
|
<ethereum:event type="Transfer" filter="from=${ownerAddress}"/>
|
|
</ts:origins>
|
|
<ts:item-view xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
|
<style type="text/css">&style;</style>
|
|
<script type="text/javascript">
|
|
class Token {
|
|
|
|
constructor(data) {
|
|
this.props = data;
|
|
this.setConfirm();
|
|
}
|
|
|
|
setConfirm() {
|
|
window.onConfirm = function() {
|
|
window.close();
|
|
}
|
|
}
|
|
|
|
render() {
|
|
let message = "Sample about page for your token, fill me up!";
|
|
return`
|
|
<div class="ui container">
|
|
<div class="ui segment">
|
|
<span><bold><h3>Sent ${this.props.token.symbol} tokenId: ${this.props.card.tokenId}</h3></bold></span>
|
|
</div>
|
|
</div>
|
|
`;
|
|
}
|
|
}
|
|
|
|
web3.tokens.dataChanged = (oldTokens, updatedTokens, tokenIdCard) => {
|
|
const currentTokenInstance = web3.tokens.data;
|
|
document.getElementById(tokenIdCard).innerHTML = new Token(currentTokenInstance).render();
|
|
};
|
|
</script>
|
|
</ts:item-view>
|
|
<ts:view xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
|
<style type="text/css">&style;</style>
|
|
<script type="text/javascript">
|
|
|
|
class Token {
|
|
|
|
constructor(data) {
|
|
this.props = data;
|
|
}
|
|
|
|
render() {
|
|
let message = `Sent ${this.props.token.symbol}`;
|
|
return`
|
|
<div class="ui container">
|
|
<div class="ui segment">
|
|
<span><bold><h3>${message}</h3></bold></span>
|
|
<p>Sent tokenId: ${this.props.card.tokenId} ${this.props.token.symbol}</p>
|
|
</div>
|
|
</div>
|
|
`;
|
|
}
|
|
}
|
|
|
|
web3.tokens.dataChanged = (oldTokens, updatedTokens, tokenIdCard) => {
|
|
const currentTokenInstance = web3.tokens.data;
|
|
document.getElementById(tokenIdCard).innerHTML = new Token(currentTokenInstance).render();
|
|
};
|
|
|
|
|
|
</script>
|
|
</ts:view>
|
|
</ts:card>
|
|
<ts:card type="activity" name="received">
|
|
<ts:origins>
|
|
<!-- this gives you card attributes from, to, tokenId, which is different than the
|
|
token's attributes which also have tokenId -->
|
|
<ethereum:event type="Transfer" filter="to=${ownerAddress}"/>
|
|
</ts:origins>
|
|
<ts:item-view xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
|
<style type="text/css">&style;</style>
|
|
<script type="text/javascript">
|
|
class Token {
|
|
|
|
constructor(data) {
|
|
this.props = data;
|
|
this.setConfirm();
|
|
}
|
|
|
|
setConfirm() {
|
|
window.onConfirm = function() {
|
|
window.close();
|
|
}
|
|
}
|
|
|
|
render() {
|
|
let message = "Sample about page for your token, fill me up!";
|
|
return`
|
|
<div class="ui container">
|
|
<div class="ui segment">
|
|
<span><bold><h3>Received ${this.props.token.symbol} tokenId: ${this.props.card.tokenId}</h3></bold></span>
|
|
</div>
|
|
</div>
|
|
`;
|
|
}
|
|
}
|
|
|
|
web3.tokens.dataChanged = (oldTokens, updatedTokens, tokenIdCard) => {
|
|
const currentTokenInstance = web3.tokens.data;
|
|
document.getElementById(tokenIdCard).innerHTML = new Token(currentTokenInstance).render();
|
|
};
|
|
</script>
|
|
</ts:item-view>
|
|
<ts:view xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
|
<style type="text/css">&style;</style>
|
|
<script type="text/javascript">
|
|
class Token {
|
|
|
|
constructor(data) {
|
|
this.props = data;
|
|
}
|
|
|
|
render() {
|
|
let message = `Received ${this.props.token.symbol}`;
|
|
return`
|
|
<div class="ui container">
|
|
<div class="ui segment">
|
|
<span><bold><h3>${message}</h3></bold></span>
|
|
<p>Received tokenId: ${this.props.card.tokenId} ${this.props.token.symbol}</p>
|
|
</div>
|
|
</div>
|
|
`;
|
|
}
|
|
}
|
|
|
|
web3.tokens.dataChanged = (oldTokens, updatedTokens, tokenIdCard) => {
|
|
const currentTokenInstance = web3.tokens.data;
|
|
document.getElementById(tokenIdCard).innerHTML = new Token(currentTokenInstance).render();
|
|
};
|
|
</script>
|
|
</ts:view>
|
|
</ts:card>
|
|
|
|
<ts:card type="activity" name="ownerApproved">
|
|
<ts:origins>
|
|
<ethereum:event type="Approval" filter="owner=${ownerAddress}"/>
|
|
</ts:origins>
|
|
<ts:item-view xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
|
<style type="text/css">&style;</style>
|
|
<script type="text/javascript">
|
|
class Token {
|
|
|
|
constructor(data) {
|
|
this.props = data;
|
|
this.setConfirm();
|
|
}
|
|
|
|
setConfirm() {
|
|
window.onConfirm = function() {
|
|
window.close();
|
|
}
|
|
}
|
|
|
|
render() {
|
|
return`
|
|
<div class="ui container">
|
|
<div class="ui segment">
|
|
<span><bold><h3>Gave approval to move tokenId: ${this.props.card.tokenId} ${this.props.token.symbol} to ${this.props.card.to}</h3></bold></span>
|
|
</div>
|
|
</div>
|
|
`;
|
|
}
|
|
}
|
|
|
|
web3.tokens.dataChanged = (oldTokens, updatedTokens, tokenIdCard) => {
|
|
const currentTokenInstance = web3.tokens.data;
|
|
document.getElementById(tokenIdCard).innerHTML = new Token(currentTokenInstance).render();
|
|
};
|
|
</script>
|
|
</ts:item-view>
|
|
<ts:view xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
|
<style type="text/css">&style;</style>
|
|
<script type="text/javascript">
|
|
class Token {
|
|
|
|
constructor(data) {
|
|
this.props = data;
|
|
}
|
|
|
|
render() {
|
|
let message = `Given approval for ${this.props.token.symbol}`;
|
|
return`
|
|
<div class="ui container">
|
|
<div class="ui segment">
|
|
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAACWCAYAAABkW7XSAAAAAXNSR0IArs4c6QAAAIRlWElmTU0AKgAAAAgABQESAAMAAAABAAEAAAEaAAUAAAABAAAASgEb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bcc89q8803L2UJ4BhGweQZYMTtwqvt47hnJ044rx5xgl1yySULmPrfDYimhkViSSmBCZQAcNDZaVZcHfwP7YYhHmjQqvbYY48yLRR2WIAVYOXFF1dddVUBUG4UXuy6yiqrlA3W3uSz0korFVAFrs6Nt2gQ2mInVZCA1YmUMkxKYEwloLMDomWWWaacZRVnwcdxx0cddVQ5brkbLabbogZY3XLLLdUVV1xRXXjhhdXKK69cLbfcckWbwiPfL8Z/J5kutdRSBUivvPLK6tJLL61uuOGG+4Btu/wTsNpJJ5+lBCZAAgABAQXuDozwZ0+9U/Dggw8u51wBlAgz6OKE1nb99ddX9iY6VWLdddetbr311vtkhS8aV2iAwI0/mbdUmy7Stuoa4n0i1/7km59rwsifKYFJlUBoOTr/QQcdVI47Pu6444odK54NumyR7m233VZWIddee+2ShQ3aJ510UnXjjTdWiy++eLXFFlvc76ytiBtXgMXGNdPxzKlhDboWM72UwCxIIOxZXB0Y2A844IACVqEBDYMleXrp60UXXVQFWHmRxV577VXsat6+Y9/jlltuOb33EUChRlvaqquuWl199dXTBxVGuEa+c5WwUSL5PyUwoRIw7dPRTb+Q38OaCkob6FidBFKnnHJKtdlmm1WXX355MapvtdVWhQenSyy99NIlTLnR8BXAdc455xQDvPSC/4ag5W8CVjOp5L2UwIRKAACEdhJgMIyiSNtryJwHv+mmm1amhYgta7311iu/AZlwTkxFAXLlT+2LFuhlGxYOAJ49kl7o2ix8TglrgsufKYEFQQJAYphgFYAIpNioEL8qxJ2CDQvFyqRpo08rnmiBwAoxxDca7MuDe78SsOrSyN8pgZRAxxLgQxVARZtCa6yxRsXYD9SsCqJ58+ZVN998c/ktXAAeQKv/FsCLMKxytqKcEraSTN5PCaQE2kqAZhTaE80K+HAU3Xrrrct5W1YHveSC1mQFUNj69qGwr4nntykm7azt6RNTge8x27dlLR+mBFICKYF7JBBTvWuuuaa65JJLqjlz5pQja+ryue6666prr722Wn755SsrgIcddli10047Vbfffnt17LHHlunisssuW2277bbFuVRc9ivOpMKvtdZaBQAbp5Hph1WXcv5OCaQEZpQAHQeQACSgw5Ui7olc/13/b1q43XbbFYdWm7ZPPvnk6uKLLy5+YxGHFgYIGeHjXp2hnBLWpZG/UwIpga4kwI4FsGhdMZUDZsDGJ8g9rg/2Na622mrl9jbbbFO888UNTYrjq/+tKI3urSST91MCKYG2ErBCyK0BBVhFBADELuUTYGTrDhsXCuO7jdH1MI7JcSROK0rAaiWZvJ8SSAk0lUAAkBU9x8cwlrM9OakB1TWregIM7nWXB+k4UcI00EtdXQGgzdEo8qmnkYBVl0b+TgmkBDqSQNiX2LCOOeaYAjxOYgiqg1b89oqy448/vgTh8sDfatdddy1TQNNAxvhFFlmkfCJOpBfXNLqHJPKaEkgJ9CSB8847r3KIII0I8JjitaJDDjmkeMWvv/761QknnFDtsMMO5UQJ4R1Ls84665QjaFrFT8BqJZm8nxJICbSVQGhZDOU2QM+dO3catEz9nMnVjLwQg9sD+5VD/ZD4c6bcI+w7jHSbxW0Nhc1C572UQEogJXCvBEKjskrIb8oGZhoWTckmZhTGdb8Bkf8M71415kgZ94DVCiusUMBK/Ga2K/FRAtY9csjvlEBKoAcJmP4BmSWWWKIc3nfBBRcU/yzaE7J6CICcLQ+sYjURyDG4n3nmmUXT4mA603RSejklJIWklEBKoC8J1KdxHES5MAClxRZbrGzL4SS6ySabFMDiuuBEBlt2aFYArR6/HSMJWO2kk89SAimBjiXQCDqAyRnzcd8V8bOikYVxPp53klECVidSyjApgZRAxxLoFIA6DVfPOAGrLo38nRJICQxMAqFRNUuwnWG9Wfi49/8B6vY4pF5iWXAAAAAASUVORK5CYII=">
|
|
<span><bold><h3>${message}</h3></bold></span>
|
|
<p>You have approved ${this.props.card.to} to move tokenId: ${this.props.card.tokenId} ${this.props.token.symbol}</p>
|
|
</div>
|
|
</div>
|
|
`;
|
|
}
|
|
}
|
|
|
|
web3.tokens.dataChanged = (oldTokens, updatedTokens, tokenIdCard) => {
|
|
const currentTokenInstance = web3.tokens.data;
|
|
document.getElementById(tokenIdCard).innerHTML = new Token(currentTokenInstance).render();
|
|
};
|
|
</script>
|
|
</ts:view>
|
|
</ts:card>
|
|
|
|
<ts:card type="activity" name="approvalObtained">
|
|
<ts:origins>
|
|
<ethereum:event type="Approval" filter="approved=${ownerAddress}"/>
|
|
</ts:origins>
|
|
<ts:item-view xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
|
<style type="text/css">&style;</style>
|
|
<script type="text/javascript">
|
|
class Token {
|
|
|
|
constructor(data) {
|
|
this.props = data;
|
|
this.setConfirm();
|
|
}
|
|
|
|
setConfirm() {
|
|
window.onConfirm = function() {
|
|
window.close();
|
|
}
|
|
}
|
|
|
|
render() {
|
|
return`
|
|
<div class="ui container">
|
|
<div class="ui segment">
|
|
<span><bold><h3>Approved to move tokenId: ${this.props.card.tokenId} ${this.props.token.symbol} from ${this.props.card.from}</h3></bold></span>
|
|
</div>
|
|
</div>
|
|
`;
|
|
}
|
|
}
|
|
|
|
web3.tokens.dataChanged = (oldTokens, updatedTokens, tokenIdCard) => {
|
|
const currentTokenInstance = web3.tokens.data;
|
|
document.getElementById(tokenIdCard).innerHTML = new Token(currentTokenInstance).render();
|
|
};
|
|
</script>
|
|
</ts:item-view>
|
|
<ts:view xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
|
|
<style type="text/css">&style;</style>
|
|
<script type="text/javascript">
|
|
class Token {
|
|
|
|
constructor(data) {
|
|
this.props = data;
|
|
}
|
|
|
|
render() {
|
|
let message = `Received approval for ${this.props.token.symbol}`;
|
|
return`
|
|
<div class="ui container">
|
|
<div class="ui segment">
|
|
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAACWCAYAAABkW7XSAAAAAXNSR0IArs4c6QAAAIRlWElmTU0AKgAAAAgABQESAAMAAAABAAEAAAEaAAUAAAABAAAASgEbAAUAAAABAAAAUgEoAAMAAAABAAIAAIdpAAQAAAABAAAAWgAAAAAAAABIAAAAAQAAAEgAAAABAAOgAQADAAAAAQABAACgAg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48yLRR2WIAVYOXFF1dddVUBUG4UXuy6yiqrlA3W3uSz0korFVAFrs6Nt2gQ2mInVZCA1YmUMkxKYEwloLMDomWWWaacZRVnwcdxx0cddVQ5brkbLabbogZY3XLLLdUVV1xRXXjhhdXKK69cLbfcckWbwiPfL8Z/J5kutdRSBUivvPLK6tJLL61uuOGG+4Btu/wTsNpJJ5+lBCZAAgABAQXuDozwZ0+9U/Dggw8u51wBlAgz6OKE1nb99ddX9iY6VWLdddetbr311vtkhS8aV2iAwI0/mbdUmy7Stuoa4n0i1/7km59rwsifKYFJlUBoOTr/QQcdVI47Pu6444odK54NumyR7m233VZWIddee+2ShQ3aJ510UnXjjTdWiy++eLXFFlvc76ytiBtXgMXGNdPxzKlhDboWM72UwCxIIOxZXB0Y2A844IACVqEBDYMleXrp60UXXVQFWHmRxV577VXsat6+Y9/jlltuOb33EUChRlvaqquuWl199dXTBxVGuEa+c5WwUSL5PyUwoRIw7dPRTb+Q38OaCkob6FidBFKnnHJKtdlmm1WXX355MapvtdVWhQenSyy99NIlTLnR8BXAdc455xQDvPSC/4ag5W8CVjOp5L2UwIRKAACEdhJgMIyiSNtryJwHv+mmm1amhYgta7311iu/AZlwTkxFAXLlT+2LFuhlGxYOAJ49kl7o2ix8TglrgsufKYEFQQJAYphgFYAIpNioEL8qxJ2CDQvFyqRpo08rnmiBwAoxxDca7MuDe78SsOrSyN8pgZRAxxLgQxVARZtCa6yxRsXYD9SsCqJ58+ZVN998c/ktXAAeQKv/FsCLMKxytqKcEraSTN5PCaQE2kqAZhTaE80K+HAU3Xrrrct5W1YHveSC1mQFUNj69qGwr4nntykm7azt6RNTge8x27dlLR+mBFICKYF7JBBTvWuuuaa65JJLqjlz5pQja+ryue6666prr722Wn755SsrgIcddli10047Vbfffnt17LHHlunisssuW2277bbFuVRc9ivOpMKvtdZaBQAbp5Hph1WXcv5OCaQEZpQAHQeQACSgw5Ui7olc/13/b1q43XbbFYdWm7ZPPvnk6uKLLy5+YxGHFgYIGeHjXp2hnBLWpZG/UwIpga4kwI4FsGhdMZUDZsDGJ8g9rg/2Na622mrl9jbbbFO888UNTYrjq/+tKI3urSST91MCKYG2ErBCyK0BBVhFBADELuUTYGTrDhsXCuO7jdH1MI7JcSROK0rAaiWZvJ8SSAk0lUAAkBU9x8cwlrM9OakB1TWregIM7nWXB+k4UcI00EtdXQGgzdEo8qmnkYBVl0b+TgmkBDqSQNiX2LCOOeaYAjxOYgiqg1b89oqy448/vgTh8sDfatdddy1TQNNAxvhFFlmkfCJOpBfXNLqHJPKaEkgJ9CSB8847r3KIII0I8JjitaJDDjmkeMWvv/761QknnFDtsMMO5UQJ4R1Ls84665QjaFrFT8BqJZm8nxJICbSVQGhZDOU2QM+dO3catEz9nMnVjLwQg9sD+5VD/ZD4c6bcI+w7jHSbxW0Nhc1C572UQEogJXCvBEKjskrIb8oGZhoWTckmZhTGdb8Bkf8M71415kgZ94DVCiusUMBK/Ga2K/FRAtY9csjvlEBKoAcJmP4BmSWWWKIc3nfBBRcU/yzaE7J6CICcLQ+sYjURyDG4n3nmmUXT4mA603RSejklJIWklEBKoC8J1KdxHES5MAClxRZbrGzL4SS6ySabFMDiuuBEBlt2aFYArR6/HSMJWO2kk89SAimBjiXQCDqAyRnzcd8V8bOikYVxPp53klECVidSyjApgZRAxxLoFIA6DVfPOAGrLo38nRJICQxMAqFRNUuwnWG9Wfi49/8B6vY4pF5iWXAAAAAASUVORK5CYII=">
|
|
<span><bold><h3>${message}</h3></bold></span>
|
|
<p>Approved to move tokenId: ${this.props.card.tokenId} ${this.props.token.symbol} from ${this.props.card.from}</p>
|
|
</div>
|
|
</div>
|
|
`;
|
|
}
|
|
}
|
|
|
|
web3.tokens.dataChanged = (oldTokens, updatedTokens, tokenIdCard) => {
|
|
const currentTokenInstance = web3.tokens.data;
|
|
document.getElementById(tokenIdCard).innerHTML = new Token(currentTokenInstance).render();
|
|
};
|
|
</script>
|
|
</ts:view>
|
|
</ts:card>
|
|
|
|
</ts:cards>
|
|
|
|
<ts:attribute name="name">
|
|
<ts:type>
|
|
<ts:syntax>1.3.6.1.4.1.1466.115.121.1.26</ts:syntax>
|
|
</ts:type>
|
|
<ts:label>
|
|
<ts:string xml:lang="en">name</ts:string>
|
|
</ts:label>
|
|
<ts:origins>
|
|
<ethereum:call function="name" as="utf8"/>
|
|
</ts:origins>
|
|
</ts:attribute>
|
|
|
|
<ts:attribute name="symbol">
|
|
<ts:type>
|
|
<ts:syntax>1.3.6.1.4.1.1466.115.121.1.26</ts:syntax>
|
|
</ts:type>
|
|
<ts:label>
|
|
<ts:string xml:lang="en">symbol</ts:string>
|
|
</ts:label>
|
|
<ts:origins>
|
|
<ethereum:call function="symbol" as="utf8"/>
|
|
</ts:origins>
|
|
</ts:attribute>
|
|
|
|
</ts:token>
|
|
|