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.
1348 lines
90 KiB
1348 lines
90 KiB
<?xml version="1.0" encoding="UTF-8" standalone="no"?><ts:token xmlns:ts="http://tokenscript.org/2020/06/tokenscript" xmlns:asnx="urn:ietf:params:xml:ns:asnx" xmlns:ethereum="urn:ethereum:constantinople" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" custodian="false" xsi:schemaLocation="http://tokenscript.org/2020/06/tokenscript http://tokenscript.org/2020/06/tokenscript.xsd">
|
|
|
|
<asnx:module name="ERC20-Events">
|
|
<namedType name="MintOnDeposit">
|
|
<type>
|
|
<sequence>
|
|
<element ethereum:indexed="true" ethereum:type="address" name="_fromMinter"/>
|
|
<element ethereum:indexed="false" ethereum:type="uint256" name="_valueMinted"/>
|
|
<element ethereum:indexed="false" ethereum:type="uint256" name="_fromBalanceIncreaseMinted"/>
|
|
<element ethereum:indexed="false" ethereum:type="uint256" name="_fromIndexMinted"/>
|
|
</sequence>
|
|
</type>
|
|
</namedType>
|
|
<namedType name="Borrow">
|
|
<type>
|
|
<sequence>
|
|
<element ethereum:indexed="true" ethereum:type="address" name="_reserve"/>
|
|
<element ethereum:indexed="true" ethereum:type="address" name="_user"/>
|
|
<element ethereum:indexed="false" ethereum:type="uint256" name="_amount"/>
|
|
<element ethereum:indexed="false" ethereum:type="uint256" name="_borrowRateMode"/>
|
|
<element ethereum:indexed="false" ethereum:type="uint256" name="_borrowRate"/>
|
|
<element ethereum:indexed="false" ethereum:type="uint256" name="_originationFee"/>
|
|
<element ethereum:indexed="false" ethereum:type="uint256" name="_borrowBalanceIncrease"/>
|
|
<element ethereum:indexed="true" ethereum:type="uint16" name="_referral"/>
|
|
<element ethereum:indexed="false" ethereum:type="uint256" name="_timestamp"/>
|
|
</sequence>
|
|
</type>
|
|
</namedType>
|
|
<namedType name="Redeem">
|
|
<type>
|
|
<sequence>
|
|
<element ethereum:indexed="true" ethereum:type="address" name="_fromRedeemer"/>
|
|
<element ethereum:indexed="false" ethereum:type="uint256" name="_valueRedeemed"/>
|
|
<element ethereum:indexed="false" ethereum:type="uint256" name="_fromBalanceIncreaseRedeemed"/>
|
|
<element ethereum:indexed="false" ethereum:type="uint256" name="_fromIndexRedeemed"/>
|
|
</sequence>
|
|
</type>
|
|
</namedType>
|
|
<namedType name="Transfer">
|
|
<type>
|
|
<sequence>
|
|
<element ethereum:indexed="true" ethereum:type="address" name="from"/>
|
|
<element ethereum:indexed="true" ethereum:type="address" name="to"/>
|
|
<element ethereum:indexed="false" ethereum:type="uint256" name="amount"/>
|
|
</sequence>
|
|
</type>
|
|
</namedType>
|
|
</asnx:module>
|
|
|
|
<ts:label>
|
|
<ts:string xml:lang="en">aETH</ts:string>
|
|
</ts:label>
|
|
|
|
<ts:contract name="balance">
|
|
<ts:address network="1">0xb8c9fc923e67da6d7979bf2c290bd1df9c512bfa</ts:address>
|
|
</ts:contract>
|
|
<ts:contract name="AAVEGetters">
|
|
<ts:address network="1">0x38ba1173f498f7a89ac474edba1d587cc1ab021d</ts:address>
|
|
</ts:contract>
|
|
<ts:contract name="PriceOracle">
|
|
<ts:address network="1">0x76B47460d7F7c5222cFb6b6A75615ab10895DDe4</ts:address>
|
|
</ts:contract>
|
|
<ts:contract interface="erc20" name="aETH">
|
|
<ts:address network="1">0x3a3a65aab0dd2a17e3f1947ba16138cd37d08c04</ts:address>
|
|
</ts:contract>
|
|
<ts:contract name="LendingPoolProvider">
|
|
<ts:address network="1">0x24a42fD28C976A61Df5D00D0599C34c4f90748c8</ts:address>
|
|
</ts:contract>
|
|
<ts:contract name="AAVELendingPool">
|
|
<ts:address network="1">0x398eC7346DcD622eDc5ae82352F02bE94C62d119</ts:address>
|
|
</ts:contract>
|
|
<ts:contract name="AAVELendingPoolCore">
|
|
<ts:address network="1">0x3dfd23A6c5E8BbcFc9581d2E864a68feb6a076d3</ts:address>
|
|
</ts:contract>
|
|
|
|
<ts:origins>
|
|
<ts:ethereum contract="aETH"/>
|
|
</ts:origins>
|
|
|
|
<ts:cards>
|
|
<ts:card type="action">
|
|
<ts:label>
|
|
<ts:string xml:lang="en">Withdraw ETH from Aave</ts:string>
|
|
</ts:label>
|
|
<ts:attribute name="redeemAmount">
|
|
<ts:type><ts:syntax>1.3.6.1.4.1.1466.115.121.1.36</ts:syntax></ts:type>
|
|
<ts:label>
|
|
<ts:string xml:lang="en">Amount to withdraw</ts:string>
|
|
</ts:label>
|
|
<ts:origins>
|
|
<ts:user-entry as="e8"/>
|
|
</ts:origins>
|
|
</ts:attribute>
|
|
<ts:transaction>
|
|
<ethereum:transaction as="uint" contract="aETH" function="redeem">
|
|
<ts:data>
|
|
<ts:uint256 ref="redeemAmount"/>
|
|
</ts:data>
|
|
</ethereum:transaction>
|
|
</ts:transaction>
|
|
<ts:view xml:lang="en">
|
|
<xhtml:style type="text/css">.separator {
|
|
width: 100%;
|
|
height: 1px;
|
|
background-color: #e9e9e9;
|
|
margin-top: 7.5%;
|
|
}
|
|
|
|
.action {
|
|
height: 50px;
|
|
}
|
|
|
|
body{
|
|
margin-top: 0;
|
|
}
|
|
|
|
h1 {
|
|
margin-top: 0;
|
|
line-height: 2;
|
|
background-color: #fbfbfb;
|
|
border-bottom: thin solid rgb(235,235,235);
|
|
text-align: left;
|
|
font-variant: all-small-caps;
|
|
}
|
|
|
|
h2 {
|
|
float: left;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
p.hint {
|
|
clear: left;
|
|
}
|
|
|
|
input {
|
|
float: right;
|
|
font-size: x-large;
|
|
border: none;
|
|
line-height: 40px;
|
|
text-align: right;
|
|
width: 5ex;
|
|
}
|
|
|
|
h2 img {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.action {
|
|
font-family: SourceSansPro, sans-serif;
|
|
}
|
|
|
|
.enable.action {
|
|
font-size: large;
|
|
text-align: center;
|
|
margin-left: 8%;
|
|
margin-right: 8%;
|
|
margin-top: 35%;
|
|
}
|
|
|
|
.enable.action img {
|
|
padding-bottom: 40px;
|
|
}
|
|
|
|
.titleAction {
|
|
width: 272px;
|
|
height: 24px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
font-stretch: normal;
|
|
font-style: normal;
|
|
line-height: 1.67;
|
|
letter-spacing: normal;
|
|
color: #727272;
|
|
}
|
|
|
|
.detailsTitle {
|
|
width: 246px;
|
|
height: 41px;
|
|
font-family: SourceSansPro-Semibold, sans-serif;
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
font-stretch: normal;
|
|
font-style: normal;
|
|
line-height: 1.71;
|
|
letter-spacing: normal;
|
|
color: black;
|
|
}
|
|
|
|
table {
|
|
margin-top: 1em;
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
table caption {
|
|
font-weight: bold;
|
|
font-size: x-large;
|
|
line-height: 2;
|
|
text-align: left;
|
|
}
|
|
|
|
table th {
|
|
font-weight: normal; /* Tomek likes to deemphasize field names */
|
|
text-align: left;
|
|
line-height: 3;
|
|
}
|
|
|
|
table td {
|
|
text-align: right;
|
|
font-weight: bold;
|
|
font-size: large;
|
|
line-height: 3;
|
|
}
|
|
|
|
table tr {
|
|
border-top: 1px solid #727272;
|
|
}
|
|
|
|
table tr:last-child {
|
|
border-bottom: 1px solid #727272;
|
|
}
|
|
</xhtml:style>
|
|
<xhtml:script type="text/javascript">//
|
|
class Token {
|
|
|
|
constructor(token, card) {
|
|
this.token = token;
|
|
this.card = card;
|
|
}
|
|
|
|
render() {
|
|
const decimals18 = 1e+18;
|
|
let aTokenBalance = (this.token.aTokenBalance / decimals18).toFixed(2);
|
|
let totalBorrows = (this.token.totalBorrows / decimals18).toFixed(2);
|
|
let withdrawable = (this.token.availableBorrowsETH / decimals18);
|
|
//if you have other assets that add to your collateral, your withdrawable could be larger than your aETH balance
|
|
if(withdrawable > aTokenBalance) {
|
|
withdrawable = aTokenBalance;
|
|
}
|
|
|
|
return `<div class="withdraw action">
|
|
<h1>Withdraw</h1>
|
|
<h2><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABqpJREFUWAnNmVlolEkQx2vGeF8omsgooiQoYnxQURB98BZBPAJ5NS8RQfRls6+uBkQ8EhCNQUXEIBE2gWgUFQ9E8UXUqGhQ1MQTcimKGm9Nb/3afLOZme9oF3bZgkx/X3V11f/rrq6q7sTkH9Lz589zv337tkKHT4/FYgltE8YYWtH3Fm1a9J22oXfv3vVjx45tpu9XKfYrA5qamrLj8fh6NbwqKysrf8CAAdKvXz/RZ+nVq5dt0ff9+3f58eOHbT9//iwfP37kuVGBH+vq6qrIy8vrcLXrBLCjo2PQhw8fSlT570OHDh2kJH379nW1YeW+fPkinZ2d8vbt2079yLKBAweWZ2dnd/6SEj/hp0+fFjx+/LhNQRpdUp28YHr06JG5fPlysID2oANd6ES3n00nnuqKPXnyZNOzZ8+69OtDjdL59etXs3//frN8+XKjsx0pj050Y0OFA1cy7of2xYsX/XXgn3369Nk8ZsyYmLZ+Yim8K1euyPv37+Xly5eyb9++lD6/F3R2696MLWz6yWUA5Gt0GarURwoTiYSov/iNS+G1tbXJ7du3k7y6ujq5d+9e8j3oAd3YwBY2/WYyw7r6xR+6AQrVgYP0pvBVqZw7d05oPdLNJNu2bbM72eOFtdjCJrbT5VIA4rT6VZtGjRqVLhf4fv36dbus6QIakuTo0aPp7MB3bGI7feMkARJK9MsrVTDmsqxY0pAhV69eDTR66NAhaWkhVkcTNrENBrB4I5IAiXMa33JcNoQ3+MKFC6K+471mtMS+HTt2ZPCDGNgGA1g8GQuQDEEQHjZsmMePbO/fvy+6HJFy165dk7Nnz0bKeQJgAAuY4FmAOr0byBCkLBcifV26dMlF1Mrs3r1b3r175yQPBrAopvUMsAB1B64kfbmSZgubX13l37x5I3v27HEVZ5mJCqsYEKcqIfG75lYNqNLY2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Y4JT4hyJWwiW0whI7RmBjTm6ea9vb2qFia0q+VtA3gZIuCgoKUvqgXbGFT5TIukVJmEOQY0FK9SONZLYdu1+VmqSnTqaJdLo+whW5sYAub2IbvRHyNxjnn6zdm6cGDB4ZU6EIajJ2u3zKmNB09dyX6pZWc+HF8l+NBuo6e78Q5Qgm7lQ0R5XORAFHOXQnXEQr0P78CdgLozQDXEfrVG3QJV3Ju/d9consAe7ZUQZxblfev/hviL5Lqn1yWziAoAAAAAElFTkSuQmCC"></h2>
|
|
<input id="redeemAmount" type="number" placeholder="0">
|
|
<p class="hint">Available to withdraw ${withdrawable.toFixed(3)} ETH</p>
|
|
<table>
|
|
<caption>Deposits</caption>
|
|
<tbody>
|
|
<tr>
|
|
<th>Total Deposited + Interest </th>
|
|
<td>${aTokenBalance}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Borrowed</th>
|
|
<td>${totalBorrows} ETH</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Available to withdraw</th>
|
|
<td>${withdrawable.toFixed(3)} ETH</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>`;
|
|
}
|
|
}
|
|
|
|
web3.tokens.dataChanged = (oldTokens, updated, tokenIdCard) => {
|
|
document.getElementById(tokenIdCard).innerHTML = new Token(updated.token, updated.card).render();
|
|
};
|
|
|
|
//
|
|
</xhtml:script>
|
|
</ts:view>
|
|
</ts:card>
|
|
|
|
<ts:card type="action">
|
|
<ts:label>
|
|
<ts:string xml:lang="en">Borrow DAI</ts:string>
|
|
</ts:label>
|
|
<ts:attribute name="borrowAmount">
|
|
<ts:type><ts:syntax>1.3.6.1.4.1.1466.115.121.1.36</ts:syntax></ts:type>
|
|
<ts:label>
|
|
<ts:string xml:lang="en">Amount to Borrow</ts:string>
|
|
</ts:label>
|
|
<ts:origins>
|
|
<!-- e18 is a hard coded multiplier.
|
|
rationale for hardcoding: avoiding over-design -->
|
|
<ts:user-entry as="e18"/>
|
|
</ts:origins>
|
|
</ts:attribute>
|
|
<ts:transaction>
|
|
<ethereum:transaction as="uint" contract="LendingPoolProvider" function="borrow">
|
|
<ts:data>
|
|
<ts:address>0x6b175474e89094c44da98b954eedeac495271d0f</ts:address>
|
|
<ts:uint256 ref="borrowAmount"/>
|
|
<ts:uint256>2</ts:uint256> <!-- 1 is stable rate, 2 is variable rate -->
|
|
<ts:uint256>0</ts:uint256> <!-- referral code -->
|
|
</ts:data>
|
|
</ethereum:transaction>
|
|
</ts:transaction>
|
|
<ts:view xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
<xhtml:style type="text/css">.separator {
|
|
width: 100%;
|
|
height: 1px;
|
|
background-color: #e9e9e9;
|
|
margin-top: 7.5%;
|
|
}
|
|
|
|
.action {
|
|
height: 50px;
|
|
}
|
|
|
|
body{
|
|
margin-top: 0;
|
|
}
|
|
|
|
h1 {
|
|
margin-top: 0;
|
|
line-height: 2;
|
|
background-color: #fbfbfb;
|
|
border-bottom: thin solid rgb(235,235,235);
|
|
text-align: left;
|
|
font-variant: all-small-caps;
|
|
}
|
|
|
|
h2 {
|
|
float: left;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
p.hint {
|
|
clear: left;
|
|
}
|
|
|
|
input {
|
|
float: right;
|
|
font-size: x-large;
|
|
border: none;
|
|
line-height: 40px;
|
|
text-align: right;
|
|
width: 5ex;
|
|
}
|
|
|
|
h2 img {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.action {
|
|
font-family: SourceSansPro, sans-serif;
|
|
}
|
|
|
|
.enable.action {
|
|
font-size: large;
|
|
text-align: center;
|
|
margin-left: 8%;
|
|
margin-right: 8%;
|
|
margin-top: 35%;
|
|
}
|
|
|
|
.enable.action img {
|
|
padding-bottom: 40px;
|
|
}
|
|
|
|
.titleAction {
|
|
width: 272px;
|
|
height: 24px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
font-stretch: normal;
|
|
font-style: normal;
|
|
line-height: 1.67;
|
|
letter-spacing: normal;
|
|
color: #727272;
|
|
}
|
|
|
|
.detailsTitle {
|
|
width: 246px;
|
|
height: 41px;
|
|
font-family: SourceSansPro-Semibold, sans-serif;
|
|
font-size: 24px;
|
|
font-weight: bold;
|
|
font-stretch: normal;
|
|
font-style: normal;
|
|
line-height: 1.71;
|
|
letter-spacing: normal;
|
|
color: black;
|
|
}
|
|
|
|
table {
|
|
margin-top: 1em;
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
table caption {
|
|
font-weight: bold;
|
|
font-size: x-large;
|
|
line-height: 2;
|
|
text-align: left;
|
|
}
|
|
|
|
table th {
|
|
font-weight: normal; /* Tomek likes to deemphasize field names */
|
|
text-align: left;
|
|
line-height: 3;
|
|
}
|
|
|
|
table td {
|
|
text-align: right;
|
|
font-weight: bold;
|
|
font-size: large;
|
|
line-height: 3;
|
|
}
|
|
|
|
table tr {
|
|
border-top: 1px solid #727272;
|
|
}
|
|
|
|
table tr:last-child {
|
|
border-bottom: 1px solid #727272;
|
|
}
|
|
</xhtml:style>
|
|
<xhtml:script type="text/javascript">//
|
|
class Token {
|
|
|
|
constructor(token, card) {
|
|
this.token = token;
|
|
this.card = card;
|
|
}
|
|
|
|
render() {
|
|
const decimals18 = 1e+18;
|
|
let borrowAPY = ((this.token.userInterestRateBorrow / 1e+27) * 100).toFixed(2) + "%";
|
|
if(this.token.userInterestRateBorrow === 0) {
|
|
borrowAPY = "N/A";
|
|
}
|
|
let collateralValueInEth = (this.token.totalCollateral / decimals18).toFixed(2);
|
|
|
|
return `
|
|
<div class="borrow action">
|
|
<h1>Borrow</h1>
|
|
<h2><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAABVdJREFUWAnNWV1oHFUUPmcys+vu5getVlwbtVkr8QfF5KUWKhXBtE81paKIUioiGlsQ4oOC2EYo+NBShKIvYu2DQm21+CCmirQoTSt2g/hTKiYWE0yxqWLS3c3+zvWcu7mz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zJhct1Km5hsH0/GXHODW6qeh7TougQHS379CTpJ2ZI0QRscaCNzxojSxExcg+8tbWnPGZnJRTRF7n59WYfZrh628jhmF2VNL82I6e601zztz5i68T3OV1nAEiwRjM2TFT0V1ubD5zwiB3mHgM5hH4Z8fIf/HZ/plCBNj42+QkkJxTK/ZBElbBIJ9+8G69Qk5GWfYmR9eI1pfBihMEqBsR3DF3+SBlElbsecgtP5jMFc+WASXmob0me2UsE5rV1tMWA+wgkz5OXOlAnovpV27tVYugRV7hn58zsUpkWi2y3TfnfIraWH+vEz5Ifu3YvnfqTWi+jdOTcK9EiqaXqCYWLPFEejZ7j+xhmunL1HRdBDy00fpXChotBbZVDQxFqXkAOQqisrOIV3ZqQxq3SvLzjEqO8+Qmf57U3PSq+Wyc0hVdMyXRZNS4Lvsldj1vWq3XTNoNHB3ZGB8xD1XBUDZ+hjtP7zc3QXZn9kYfxzRm7xIL/YgJgXZyKGGjpt/NWmneVQGjtes2EEFRO4k90qE2EX5olZP6S/lzt8cJX0j4Ufib5TvnJqv5sL/dwOzJkD+JS3dAlZbLYFyE112IajQb6Umuhukopfr3xD/AsXlPp3EbzwjAAAAAElFTkSuQmCC"></h2>
|
|
<input id="borrowAmount" type="number" placeholder="0">
|
|
<p class="hint">Available to borrow: ${((this.token.availableBorrowsETH / this.token.assetPriceDAI)).toFixed(2)} DAI</p>
|
|
<table>
|
|
<caption>Details</caption>
|
|
<tbody>
|
|
<tr>
|
|
<th>Variable Borrow APY </th>
|
|
<td>${borrowAPY}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Maximum you can borrow</th>
|
|
<td>${((this.token.availableBorrowsETH / this.token.assetPriceDAI)).toFixed(2)} DAI</td>
|
|
</tr>
|
|
<tr>
|
|
<th>You Already Borrowed</th>
|
|
<td>${((this.token.totalBorrows / this.token.assetPriceDAI)).toFixed(2)} DAI</td>
|
|
</tr>
|
|
<tr>
|
|
<th>New Health Factor</th>
|
|
<td>${(this.token.healthFactor / 1e+18).toFixed(2)}</td>
|
|
</tr>
|
|
<tr>
|
|
<th>Your collateral is worth</th>
|
|
<td>${collateralValueInEth} ETH (${((this.token.totalCollateral / this.token.assetPriceDAI)).toFixed(2)} DAI)</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>`;
|
|
}
|
|
}
|
|
|
|
web3.tokens.dataChanged = (oldTokens, updated, tokenIdCard) => {
|
|
document.getElementById(tokenIdCard).innerHTML = new Token(updated.token, updated.card).render();
|
|
};
|
|
//
|
|
</xhtml:script>
|
|
</ts:view>
|
|
</ts:card>
|
|
|
|
|
|
<ts:card name="aETHRedeemed" type="activity">
|
|
<ts:origins>
|
|
<ethereum:event contract="aETH" filter="_fromRedeemer=${ownerAddress}" type="Redeem"/>
|
|
</ts:origins>
|
|
<ts:item-view xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
<style type="text/css">.icons {
|
|
margin-top: 10%;
|
|
}
|
|
|
|
.date {
|
|
margin-top: 2%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.logo {
|
|
width: 60px;
|
|
height: 60px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.sentSolid {
|
|
width: 34px;
|
|
height: 34px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.depositContainer {
|
|
width: 375px;
|
|
height: 34px;
|
|
font-family: SourceSansPro-Semibold, sans-serif;
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
font-stretch: normal;
|
|
font-style: normal;
|
|
line-height: 1.7;
|
|
letter-spacing: normal;
|
|
text-align: center;
|
|
color: black;
|
|
}
|
|
|
|
.headerRectangle {
|
|
width: 375px;
|
|
height: 150px;
|
|
background-color: #ffffff;
|
|
margin-top: 10%;
|
|
text-align: center;
|
|
}
|
|
|
|
.date {
|
|
font-family: SourceSansPro, sans-serif;
|
|
font-size: 12px;
|
|
font-weight: normal;
|
|
font-stretch: normal;
|
|
font-style: normal;
|
|
line-height: 1.67;
|
|
letter-spacing: normal;
|
|
text-align: center;
|
|
color: #727272;
|
|
}
|
|
|
|
.separator {
|
|
width: 100%;
|
|
height: 1px;
|
|
background-color: #e9e9e9;
|
|
margin-top: 7.5%;
|
|
}
|
|
|
|
.amountBox{
|
|
width: 375px;
|
|
height: 47px;
|
|
font-family: SourceSansPro-Regular, sans-serif;
|
|
font-size: 28px;
|
|
font-weight: normal;
|
|
font-stretch: normal;
|
|
font-style: normal;
|
|
line-height: 1.68;
|
|
letter-spacing: normal;
|
|
text-align: center;
|
|
color: black;
|
|
}
|
|
|
|
.midSection {
|
|
width: 375px;
|
|
height: 81px;
|
|
background-color: white;
|
|
}
|
|
</style>
|
|
<xhtml:script type="text/javascript">//
|
|
class Token {
|
|
|
|
constructor(token, card) {
|
|
this.token = token;
|
|
this.card = card;
|
|
this.time = this.formatTimeStamp(this.card.timestamp.date);
|
|
}
|
|
|
|
formatTimeStamp(time) {
|
|
let a = new Date(time);
|
|
let hours = a.getHours();
|
|
let minutes = a.getMinutes();
|
|
let ampm = hours >= 12 ? 'pm' : 'am';
|
|
hours = hours % 12;
|
|
hours = hours ? hours : 12; // the hour '0' should be '12'
|
|
minutes = minutes < 10 ? '0' + minutes : minutes;
|
|
return hours + ':' + minutes + ' ' + ampm;
|
|
}
|
|
|
|
render() {
|
|
return`
|
|
<div>
|
|
<div class="container">
|
|
<div class="logo">
|
|
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABcCAYAAADu8aIfAAAKJGlDQ1BJQ0MgUHJvZmlsZQAASImFlgdUE+kWx7+Z9EZJQugQaiiCdAJI702QDqISEgg1hkgAsSGyuAIriogIKIquiii4FkDWgohiYVFQwL5BFgH1uVgQBTVvgC2u75337pw793duvnu/O9/MOfkDQNrGEQrTYDkA0gWZohBvN2ZUdAwT9xtAAQ0AATugyOGuEroGBwcAxP6M/7T3A8hKxO6YzPb6z9//p1F5Cau4AECxCLO5QlEmwuUIh2VnCmd5DGG6CBkK4U+zzJ/j2YkBPX6edefWhIW4I8wGAE/mcER8AIgeSJ6Z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mgpdTtKw81mGklCl++T9JdV7HzhzKS1cNywt/Xv6bOn3u9lm0cHEZ3HlMUoa8QIHWQREjcUoegGUaN2EF8YKcK8V5roNsNYlUG6papq4MbDci7yVfdrEvXrwgE5b8S/Ye22LTXDre2ks610v+f5CrAnTqaJFEJFKlk08OLAK+SjBtVLoBkI1XVwCfrAjKvYj0Etlq26Rs42rt5YHm/zDsZq4aLWv3/OjFOul5jXK3Sv+2L+WpjeQ96JoAOmmkMX4h60G22iY5yzC63nZZKudvnGI1qjLFy+epnVFJKkMbXldAM2mOBNhmwrPkshN9SYLDwYD8YKvhxnJRcJ2f1x3QTB7JJlttq0acgLndoy7++pdhrpKs9a9LoJk8OptsNYlUG2tEAXN+Yl20zovedby1dz6d7KzH/XULtAKBdIc95Igzgp3cqd6DvlKsfdwA2oFEmGO7eHxOZ8TBxvP2updoT2QiLvA2PCPu6HpndwPoApKAG0AXEND/By3Q46jpi6MKAAAAAElFTkSuQmCC">
|
|
</div>
|
|
<div class="info">
|
|
- ${this.card._valueRedeemed / 1e+18} ETH<br/>
|
|
<div class="time">${this.time}</div>
|
|
</div>
|
|
<div class="title">
|
|
Withdrew <strong>ETH</strong>
|
|
</div>
|
|
<div class="subtitle">
|
|
from Aave
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
}
|
|
}
|
|
|
|
web3.tokens.dataChanged = (oldTokens, updated, tokenIdCard) => {
|
|
document.getElementById(tokenIdCard).innerHTML = new Token(updated.token, updated.card).render();
|
|
};
|
|
//
|
|
</xhtml:script>
|
|
</ts:item-view>
|
|
<ts:view xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
<xhtml:style type="text/css">.icons {
|
|
margin-top: 10%;
|
|
}
|
|
|
|
.date {
|
|
margin-top: 2%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.logo {
|
|
width: 60px;
|
|
height: 60px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.sentSolid {
|
|
width: 34px;
|
|
height: 34px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.depositContainer {
|
|
width: 375px;
|
|
height: 34px;
|
|
font-family: SourceSansPro-Semibold, sans-serif;
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
font-stretch: normal;
|
|
font-style: normal;
|
|
line-height: 1.7;
|
|
letter-spacing: normal;
|
|
text-align: center;
|
|
color: black;
|
|
}
|
|
|
|
.headerRectangle {
|
|
width: 375px;
|
|
height: 150px;
|
|
background-color: #ffffff;
|
|
margin-top: 10%;
|
|
text-align: center;
|
|
}
|
|
|
|
.date {
|
|
font-family: SourceSansPro, sans-serif;
|
|
font-size: 12px;
|
|
font-weight: normal;
|
|
font-stretch: normal;
|
|
font-style: normal;
|
|
line-height: 1.67;
|
|
letter-spacing: normal;
|
|
text-align: center;
|
|
color: #727272;
|
|
}
|
|
|
|
.separator {
|
|
width: 100%;
|
|
height: 1px;
|
|
background-color: #e9e9e9;
|
|
margin-top: 7.5%;
|
|
}
|
|
|
|
.amountBox{
|
|
width: 375px;
|
|
height: 47px;
|
|
font-family: SourceSansPro-Regular, sans-serif;
|
|
font-size: 28px;
|
|
font-weight: normal;
|
|
font-stretch: normal;
|
|
font-style: normal;
|
|
line-height: 1.68;
|
|
letter-spacing: normal;
|
|
text-align: center;
|
|
color: black;
|
|
}
|
|
|
|
.midSection {
|
|
width: 375px;
|
|
height: 81px;
|
|
background-color: white;
|
|
}
|
|
</xhtml:style>
|
|
<xhtml:script type="text/javascript">//
|
|
class Token {
|
|
|
|
constructor(token, card) {
|
|
this.token = token;
|
|
this.card = card;
|
|
this.time = this.formatTimeStampTodayTime(this.card.timestamp.date) + " | " + this.formatTimeStamp(this.card.timestamp.date);
|
|
}
|
|
|
|
formatTimeStampTodayTime(time) {
|
|
let a = new Date(time);
|
|
let hours = a.getHours();
|
|
let minutes = a.getMinutes();
|
|
let ampm = hours >= 12 ? 'pm' : 'am';
|
|
hours = hours % 12;
|
|
hours = hours ? hours : 12; // the hour '0' should be '12'
|
|
minutes = minutes < 10 ? '0' + minutes : minutes;
|
|
return hours + ':' + minutes + ' ' + ampm;
|
|
}
|
|
|
|
formatTimeStamp(time) {
|
|
let a = new Date(time);
|
|
let months = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];
|
|
let year = a.getFullYear();
|
|
let month = months[a.getMonth()];
|
|
let date = a.getDate();
|
|
return date + ' ' + month + ' ' + year;
|
|
}
|
|
|
|
render() {
|
|
return`
|
|
<div>
|
|
<div class="headerRectangle">
|
|
<div class="date">
|
|
<p>${this.time}</p>
|
|
</div>
|
|
|
|
<div class="icons">
|
|
<img class="logo" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJ4AAACQCAYAAAD5j9ILAAAKJGlDQ1BJQ0MgUHJvZmlsZQAASImFlgdUE+kWx7+Z9EZJQugQaiiCdAJI702QDqISEgg1hkgAsSGyuAIriogIKIquiii4FkDWgohiYVFQwL5BFgH1uVgQBTVvgC2u75337pw793duvnu/O9/MOfkDQNrGEQrTYDkA0gWZohBvN2ZUdAwT9xtAAQ0AATugyOGuEroGBwcAxP6M/7T3A8hKxO6YzPb6z9//p1F5Cau4AECxCLO5QlEmwuUIh2VnCmd5DGG6CBkK4U+zzJ/j2YkBPX6edefWhIW4I8wGAE/mcER8AIgeSJ6ZxeUjfYg8hM0EvGQBwrP9nbhJHCRHvIvwgsQ0cQ4ApNl5zNLTVyJ5khnCBkitEOGo2dniv+rP/8de8X/txeHw/+L0NDH3j2ecPR1ygiA8FIkqiKuBRGAK0oAY5AAmEAIRWIlkkpFMAvIe/nsde67OHVkpBKuRimTAB0kgE6n3+qpX6FynTJANOMiaBCQTgFzus+90vuVbxlxXiHHj79wmIgCOAqlUeu7vnP80AKe1kGeR/J1j9QEgg5zHte1csShrPoeevWEAEcgCOlBGvhkdYABMgAWwAQ7ABXgCPxAEwkA0WA64yLzpyFTZYC3YCApBMdgGdoIqUAsOgCPgODgJWsA5cAlcBTfBbdAPHgIJGAEvwAR4D2Yg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b0Y17b5GtDY7KQ+LQy8BKLsNxAHAmYD8LF4aJ8To2TQBl4NU7lftxwGXh+6KHGcVEGXo1TuR83XAaeH3qocVyUgVfjVO7HDZeB54ceahwX/w8ML3w8PcS3kQAAAABJRU5ErkJggg==">
|
|
</div>
|
|
|
|
<div class="depositContainer">
|
|
<p>Withdrew ETH</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="separator"></div>
|
|
|
|
<div class="amountBox">
|
|
<p>- ${this.card._valueRedeemed} ETH</p>
|
|
</div>
|
|
</div>
|
|
`;
|
|
}
|
|
}
|
|
|
|
web3.tokens.dataChanged = (oldTokens, updated, tokenIdCard) => {
|
|
document.getElementById(tokenIdCard).innerHTML = new Token(updated.token, updated.card).render();
|
|
};
|
|
//
|
|
</xhtml:script>
|
|
</ts:view>
|
|
</ts:card>
|
|
|
|
<ts:card name="aETHBorrowed" type="activity">
|
|
<ts:origins>
|
|
<ethereum:event contract="aETH" filter="_user=${ownerAddress}" type="Borrow"/>
|
|
</ts:origins>
|
|
<ts:item-view xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
<xhtml:style type="text/css">.icons {
|
|
margin-top: 10%;
|
|
}
|
|
|
|
.date {
|
|
margin-top: 2%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.logo {
|
|
width: 60px;
|
|
height: 60px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.sentSolid {
|
|
width: 34px;
|
|
height: 34px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.depositContainer {
|
|
width: 375px;
|
|
height: 34px;
|
|
font-family: SourceSansPro-Semibold, sans-serif;
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
font-stretch: normal;
|
|
font-style: normal;
|
|
line-height: 1.7;
|
|
letter-spacing: normal;
|
|
text-align: center;
|
|
color: black;
|
|
}
|
|
|
|
.headerRectangle {
|
|
width: 375px;
|
|
height: 150px;
|
|
background-color: #ffffff;
|
|
margin-top: 10%;
|
|
text-align: center;
|
|
}
|
|
|
|
.date {
|
|
font-family: SourceSansPro, sans-serif;
|
|
font-size: 12px;
|
|
font-weight: normal;
|
|
font-stretch: normal;
|
|
font-style: normal;
|
|
line-height: 1.67;
|
|
letter-spacing: normal;
|
|
text-align: center;
|
|
color: #727272;
|
|
}
|
|
|
|
.separator {
|
|
width: 100%;
|
|
height: 1px;
|
|
background-color: #e9e9e9;
|
|
margin-top: 7.5%;
|
|
}
|
|
|
|
.amountBox{
|
|
width: 375px;
|
|
height: 47px;
|
|
font-family: SourceSansPro-Regular, sans-serif;
|
|
font-size: 28px;
|
|
font-weight: normal;
|
|
font-stretch: normal;
|
|
font-style: normal;
|
|
line-height: 1.68;
|
|
letter-spacing: normal;
|
|
text-align: center;
|
|
color: black;
|
|
}
|
|
|
|
.midSection {
|
|
width: 375px;
|
|
height: 81px;
|
|
background-color: white;
|
|
}
|
|
</xhtml:style>
|
|
<xhtml:script type="text/javascript">//
|
|
class Token {
|
|
|
|
constructor(token, card) {
|
|
this.token = token;
|
|
this.card = card;
|
|
this.time = this.formatTimeStamp(this.card.timestamp.date);
|
|
}
|
|
|
|
formatTimeStamp(time) {
|
|
let a = new Date(time);
|
|
let hours = a.getHours();
|
|
let minutes = a.getMinutes();
|
|
let ampm = hours >= 12 ? 'pm' : 'am';
|
|
hours = hours % 12;
|
|
hours = hours ? hours : 12; // the hour '0' should be '12'
|
|
minutes = minutes < 10 ? '0' + minutes : minutes;
|
|
return hours + ':' + minutes + ' ' + ampm;
|
|
}
|
|
|
|
render() {
|
|
return`
|
|
<div>
|
|
<div class="container">
|
|
<div class="logo">
|
|
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC0AAAAvCAYAAAB30kORAAAKJGlDQ1BJQ0MgUHJvZmlsZQAASImFlgdUE+kWx7+Z9EZJQugQaiiCdAJI702QDqISEgg1hkgAsSGyuAIriogIKIquiii4FkDWgohiYVFQwL5BFgH1uVgQBTVvgC2u75337pw793duvnu/O9/MOfkDQNrGEQrTYDkA0gWZoh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zx4rHQzmZVEYfvuJh+H29qvWC3jj1OG6wVz75drOYymYW01Lkwuxsrf3qbxJ41uAxvs6otv2ZE7pEFwlNmF0WEVuvpgs0MOGEYhhdguWO4y7jXrtesYMb+P2BVXfr8vlhIFm38P0O8EhhUK8ffw4td7mVTdtWL9LP7KAZxnmMCHi6Z4M63vdFZVd8k3rOOwrfgDrDACdacvLpxQkBgMFpc7F47rJnO3oI+wSE5wyeaE7lkCq0t3Eg/9rJf9BTb/yzW4vO3GVuAl3saMoc4D+x4ys6NPKccuzMS5x09ePv01HyNJMeBrhZJjXusSmfp7bVH1e6b5M7SKme/AHgyUcaZwG2gdhj2RkByb5xheSIPCaok7fUX3G5RFvbvUS6xTow/Lo6U93qzmzWS0f+St35hbp+xS86n9wgw/yPt76tXae/oznpK0MvUt+l1bjEpi1NPzVtgp1xZ3mdgTYBsXtnf+iPHCCd5Z9E7JrrpT3s6U4BEs5TPKjgASyeXaFY2woSssuV5cR/FG5+/eVHdHpit+bneS8fV5GJ3bfxUa1ecLW27X9Kj7/5kOak1qotNV8nC69pZfdtuve6P1CS7NJZyMX/UdQyg6YvbZIrarKTVvufTFCzHDviMn3ceR45jZfk8LKlHB7ara/9+DfUaCTUA/DB4i4t6NigZd0btXNgqyb4L1lHeoEGCtvx00v0wCZWo70/BIy+36GmW0a0x/OAP6fXjNfWbO3oGYt0f639w19VZ5JDH3hegWqZ+Dy8xriKte26qufTumvtb2le+4Jpsi4N9KQIo030Eln2ZFPzYVq7ub2pbK1QGdPuE6/qZ6e26dTEXgyxSqjOqR9PtaZvM+5wPTyPdi5uoHCQ/yHoJrJ3e7eZTM2yhsFWLPmi2iJjhmM0i3xWWifpKvj5PwIdDj8boCYwu5+vvekOWvv+rz1jUrOOZWCtnK/9vwFLqT4tpsuQFAAAAABJRU5ErkJggg==">
|
|
</div>
|
|
<div class="info">
|
|
+ ${this.card._amount / 1e+18} DAI<br/>
|
|
<div class="time">${this.time}</div>
|
|
</div>
|
|
<div class="title">
|
|
Borrowing <strong>DAI</strong>
|
|
</div>
|
|
<div class="subtitle">
|
|
from Aave
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
}
|
|
}
|
|
|
|
web3.tokens.dataChanged = (oldTokens, updated, tokenIdCard) => {
|
|
document.getElementById(tokenIdCard).innerHTML = new Token(updated.token, updated.card).render();
|
|
};
|
|
//
|
|
</xhtml:script>
|
|
</ts:item-view>
|
|
<ts:view xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
<xhtml:style type="text/css">.icons {
|
|
margin-top: 10%;
|
|
}
|
|
|
|
.date {
|
|
margin-top: 2%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.logo {
|
|
width: 60px;
|
|
height: 60px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.sentSolid {
|
|
width: 34px;
|
|
height: 34px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.depositContainer {
|
|
width: 375px;
|
|
height: 34px;
|
|
font-family: SourceSansPro-Semibold, sans-serif;
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
font-stretch: normal;
|
|
font-style: normal;
|
|
line-height: 1.7;
|
|
letter-spacing: normal;
|
|
text-align: center;
|
|
color: black;
|
|
}
|
|
|
|
.headerRectangle {
|
|
width: 375px;
|
|
height: 150px;
|
|
background-color: #ffffff;
|
|
margin-top: 10%;
|
|
text-align: center;
|
|
}
|
|
|
|
.date {
|
|
font-family: SourceSansPro, sans-serif;
|
|
font-size: 12px;
|
|
font-weight: normal;
|
|
font-stretch: normal;
|
|
font-style: normal;
|
|
line-height: 1.67;
|
|
letter-spacing: normal;
|
|
text-align: center;
|
|
color: #727272;
|
|
}
|
|
|
|
.separator {
|
|
width: 100%;
|
|
height: 1px;
|
|
background-color: #e9e9e9;
|
|
margin-top: 7.5%;
|
|
}
|
|
|
|
.amountBox{
|
|
width: 375px;
|
|
height: 47px;
|
|
font-family: SourceSansPro-Regular, sans-serif;
|
|
font-size: 28px;
|
|
font-weight: normal;
|
|
font-stretch: normal;
|
|
font-style: normal;
|
|
line-height: 1.68;
|
|
letter-spacing: normal;
|
|
text-align: center;
|
|
color: black;
|
|
}
|
|
|
|
.midSection {
|
|
width: 375px;
|
|
height: 81px;
|
|
background-color: white;
|
|
}
|
|
</xhtml:style>
|
|
<xhtml:script type="text/javascript">//
|
|
class Token {
|
|
|
|
constructor(token, card) {
|
|
this.token = token;
|
|
this.card = card;
|
|
this.time = this.formatTimeStampTodayTime(this.card.timestamp.date) + " | " + this.formatTimeStamp(this.card.timestamp.date);
|
|
}
|
|
|
|
formatTimeStampTodayTime(time) {
|
|
let a = new Date(time);
|
|
let hours = a.getHours();
|
|
let minutes = a.getMinutes();
|
|
let ampm = hours >= 12 ? 'pm' : 'am';
|
|
hours = hours % 12;
|
|
hours = hours ? hours : 12; // the hour '0' should be '12'
|
|
minutes = minutes < 10 ? '0' + minutes : minutes;
|
|
return hours + ':' + minutes + ' ' + ampm;
|
|
}
|
|
|
|
formatTimeStamp(time) {
|
|
let a = new Date(time);
|
|
let months = ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'];
|
|
let year = a.getFullYear();
|
|
let month = months[a.getMonth()];
|
|
let date = a.getDate();
|
|
return date + ' ' + month + ' ' + year;
|
|
}
|
|
|
|
render() {
|
|
return`
|
|
<div>
|
|
<div class="headerRectangle">
|
|
<div class="date">
|
|
<p>${this.time}</p>
|
|
</div>
|
|
|
|
<div class="icons">
|
|
<img class="logo" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJIAAACMCAYAAACXp/BlAAAKJGlDQ1BJQ0MgUHJvZmlsZQAASImFlgdUE+kWx7+Z9EZJQugQaiiCdAJI702QDqISEgg1hkgAsSGyuAIriogIKIquiii4FkDWgohiYVFQwL5BFgH1uVgQBTVvgC2u75337pw793duvnu/O9/MOfkDQNrGEQrTYDkA0gWZohBvN2ZUdAwT9xtAAQ0AATugyOGuEroGBwcAxP6M/7T3A8hKxO6YzPb6z9//p1F5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Dm9nLMTYMGR1AJmWDWGjtiR0449gbPKx5GBhBOQ4Cw4/b+m57h/pFHE5eCB9KlVsbDFGrfRkHeBhXhfkE8drlTeilNDn/Aeywcf8JnY3NwgDZL2POPdbS7l/+AlX3hgxnhWCUvbPu27pnr0cSyat69tHjaJ0d7NOq94gFSUvPi4R4abm+k8PndFOnczzs+jFgDJTE0+BMe9eEMHX6sFXfSF73HYjv0LxvXE3a0ihKsAv5l4UMKm9d3P2Vo5npkHSZXzqAvrfgRGwdr7/kUJZBGCiY60KqAKtS5h2J9xyk21KXY5YxMJ3IN8wz4SEKUIQSIAXjUwjLAUxqcXGEjoij9w6wLjs7eOvyyKCvDTiRKAkhXSJd3RUQH2yjKM74RPmJsShpDmPdokPetBS+fIxe3LDs9pIQyd3gvnzkkFmLAwsUNIi8qQfMyTNqNrAc8pcHJFfwTiZCN3x0gozPXibJdbAb9haWP5N6tTaJC1lm7BJrb/nLJyZX2XOakvP2aBwx7bcu6qa05IihcrgkPaXByJfpmMioFvIlEXf+V5qfNqMRNzIfP3Ku7HpfSZ9JTTQzzYbdkxEtbcjkWkJKlkePf6IDDyZWM0ZyWpmB0dse163V7ZxuNtwWk0aSSw3uYGoCTK/gnkjGiG60peAvdMPPTtGjaJ3QN8UfjlbhnASkhiTw7w8kV/BPBtQy8gsggrJ1h2WN53e2aZ6y1lmsBSaukcpQuyHvK4FoGXkGwko+9+HoI9kQwBcEqPhZgtfg60sM/kdYCUkISBXCGVxA4dMBefGyjxg5YbF5M7DvDbg8Y6sPGGuaxsGysG79Qkz2RaPMtIIlK0MqvSED7YoolMEsCKhKwgKQiHOuRdglYQNIuKyuligQsIKkIx3qkXQIWkLTLykqpIoH/Bwg4kCpQA/QkAAAAAElFTkSuQmCC">
|
|
</div>
|
|
|
|
<div class="depositContainer">
|
|
<p>Borrowing DAI</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="separator"></div>
|
|
|
|
<div class="amountBox">
|
|
<p>+ ${this.card._amount} DAI</p>
|
|
</div>
|
|
</div>
|
|
`;
|
|
}
|
|
}
|
|
|
|
web3.tokens.dataChanged = (oldTokens, updated, tokenIdCard) => {
|
|
document.getElementById(tokenIdCard).innerHTML = new Token(updated.token, updated.card).render();
|
|
};
|
|
//
|
|
</xhtml:script>
|
|
</ts:view>
|
|
</ts:card>
|
|
|
|
</ts:cards>
|
|
|
|
<!-- your balance in ETH -->
|
|
<ts:attribute name="tokenBalance">
|
|
<ts:type><ts:syntax>1.3.6.1.4.1.1466.115.121.1.36</ts:syntax></ts:type>
|
|
<ts:label>
|
|
<ts:string xml:lang="en">Balance</ts:string>
|
|
<ts:string xml:lang="zh">餘額</ts:string>
|
|
</ts:label>
|
|
<ts:origins>
|
|
<ethereum:call as="uint" contract="balance" function="balanceOf">
|
|
<ts:data>
|
|
<ts:address ref="ownerAddress"/>
|
|
</ts:data>
|
|
</ethereum:call>
|
|
</ts:origins>
|
|
</ts:attribute>
|
|
|
|
<ts:attribute name="lendingPoolAddress">
|
|
<ts:type><ts:syntax>1.3.6.1.4.1.1466.115.121.1.15</ts:syntax></ts:type>
|
|
<ts:origins>
|
|
<ethereum:call as="address" contract="LendingPoolProvider" function="getLendingPool">
|
|
</ethereum:call>
|
|
</ts:origins>
|
|
</ts:attribute>
|
|
|
|
<ts:attribute name="allowance">
|
|
<ts:type><ts:syntax>1.3.6.1.4.1.1466.115.121.1.36</ts:syntax></ts:type>
|
|
<ts:origins>
|
|
<ethereum:call as="uint" contract="aETH" function="allowance">
|
|
<ts:data>
|
|
<ts:address ref="ownerAddress"/>
|
|
<ts:address>0x3a3a65aab0dd2a17e3f1947ba16138cd37d08c04</ts:address>
|
|
</ts:data>
|
|
</ethereum:call>
|
|
</ts:origins>
|
|
</ts:attribute>
|
|
|
|
<ts:attribute name="aTokenBalance">
|
|
<ts:type><ts:syntax>1.3.6.1.4.1.1466.115.121.1.36</ts:syntax></ts:type>
|
|
<ts:label>
|
|
<ts:string xml:lang="en">Balance</ts:string>
|
|
<ts:string xml:lang="zh">餘額</ts:string>
|
|
</ts:label>
|
|
<ts:origins>
|
|
<ethereum:call as="uint" contract="aETH" function="balanceOf">
|
|
<ts:data>
|
|
<ts:address ref="ownerAddress"/>
|
|
</ts:data>
|
|
</ethereum:call>
|
|
</ts:origins>
|
|
</ts:attribute>
|
|
|
|
<ts:attribute name="userInterestRateBorrow">
|
|
<ts:type><ts:syntax>1.3.6.1.4.1.1466.115.121.1.36</ts:syntax></ts:type>
|
|
<ts:label>
|
|
<ts:string xml:lang="en">Variable interest rate borrow</ts:string>
|
|
</ts:label>
|
|
<ts:origins>
|
|
<ethereum:call as="uint" contract="AAVEGetters" function="getBorrowRate">
|
|
<ts:data>
|
|
<ts:address>0x6b175474e89094c44da98b954eedeac495271d0f</ts:address>
|
|
<ts:address ref="ownerAddress"/>
|
|
</ts:data>
|
|
</ethereum:call>
|
|
</ts:origins>
|
|
</ts:attribute>
|
|
|
|
<ts:attribute name="interestRateSupply">
|
|
<ts:type><ts:syntax>1.3.6.1.4.1.1466.115.121.1.36</ts:syntax></ts:type>
|
|
<ts:label>
|
|
<ts:string xml:lang="en">interest rate supply</ts:string>
|
|
</ts:label>
|
|
<ts:origins>
|
|
<ethereum:call as="uint" contract="AAVEGetters" function="getLiquidityRate">
|
|
<ts:data>
|
|
<ts:address>0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE</ts:address>
|
|
<ts:address ref="ownerAddress"/>
|
|
</ts:data>
|
|
</ethereum:call>
|
|
</ts:origins>
|
|
</ts:attribute>
|
|
|
|
<ts:attribute name="aTokenPrincipleBalance">
|
|
<ts:type><ts:syntax>1.3.6.1.4.1.1466.115.121.1.36</ts:syntax></ts:type>
|
|
<ts:label>
|
|
<ts:string xml:lang="en">Principal Balance</ts:string>
|
|
<ts:string xml:lang="zh">餘額</ts:string>
|
|
</ts:label>
|
|
<ts:origins>
|
|
<ethereum:call as="uint" contract="aETH" function="principalBalanceOf">
|
|
<ts:data>
|
|
<ts:address ref="ownerAddress"/>
|
|
</ts:data>
|
|
</ethereum:call>
|
|
</ts:origins>
|
|
</ts:attribute>
|
|
|
|
<ts:attribute name="enabledForBorrowing">
|
|
<ts:type><ts:syntax>1.3.6.1.4.1.1466.115.121.1.36</ts:syntax></ts:type>
|
|
<ts:label>
|
|
<ts:string xml:lang="en">enabled for borrowing</ts:string>
|
|
</ts:label>
|
|
<ts:origins>
|
|
<ethereum:call as="bool" contract="LendingPoolProvider" function="isUserUseReserveAsCollateralEnabled">
|
|
<ts:data>
|
|
<ts:address>0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE</ts:address>
|
|
<ts:address ref="ownerAddress"/>
|
|
</ts:data>
|
|
</ethereum:call>
|
|
</ts:origins>
|
|
</ts:attribute>
|
|
|
|
<ts:attribute name="loanToValue">
|
|
<ts:type><ts:syntax>1.3.6.1.4.1.1466.115.121.1.36</ts:syntax></ts:type>
|
|
<ts:label>
|
|
<ts:string xml:lang="en">LTV</ts:string>
|
|
</ts:label>
|
|
<ts:origins>
|
|
<ethereum:call as="uint" contract="AAVEGetters" function="getLTV">
|
|
<ts:data>
|
|
<ts:address ref="ownerAddress"/>
|
|
</ts:data>
|
|
</ethereum:call>
|
|
</ts:origins>
|
|
</ts:attribute>
|
|
|
|
<ts:attribute name="availableBorrowsETH">
|
|
<ts:type><ts:syntax>1.3.6.1.4.1.1466.115.121.1.36</ts:syntax></ts:type>
|
|
<ts:label>
|
|
<ts:string xml:lang="en">borrowable</ts:string>
|
|
</ts:label>
|
|
<ts:origins>
|
|
<ethereum:call as="uint" contract="AAVEGetters" function="getAvailableBorrowsETH">
|
|
<ts:data>
|
|
<ts:address ref="ownerAddress"/>
|
|
</ts:data>
|
|
</ethereum:call>
|
|
</ts:origins>
|
|
</ts:attribute>
|
|
|
|
<ts:attribute name="healthFactor">
|
|
<ts:type><ts:syntax>1.3.6.1.4.1.1466.115.121.1.36</ts:syntax></ts:type>
|
|
<ts:label>
|
|
<ts:string xml:lang="en">health factor</ts:string>
|
|
</ts:label>
|
|
<ts:origins>
|
|
<ethereum:call as="uint" contract="AAVEGetters" function="getHealthFactor">
|
|
<ts:data>
|
|
<ts:address ref="ownerAddress"/>
|
|
</ts:data>
|
|
</ethereum:call>
|
|
</ts:origins>
|
|
</ts:attribute>
|
|
|
|
<ts:attribute name="totalCollateral">
|
|
<ts:type><ts:syntax>1.3.6.1.4.1.1466.115.121.1.36</ts:syntax></ts:type>
|
|
<ts:label>
|
|
<ts:string xml:lang="en">total collateral in ETH</ts:string>
|
|
</ts:label>
|
|
<ts:origins>
|
|
<ethereum:call as="uint" contract="AAVEGetters" function="getTotalCollateralETH">
|
|
<ts:data>
|
|
<ts:address ref="ownerAddress"/>
|
|
</ts:data>
|
|
</ethereum:call>
|
|
</ts:origins>
|
|
</ts:attribute>
|
|
|
|
<ts:attribute name="totalBorrows">
|
|
<ts:type><ts:syntax>1.3.6.1.4.1.1466.115.121.1.36</ts:syntax></ts:type>
|
|
<ts:label>
|
|
<ts:string xml:lang="en">total borrows in ETH</ts:string>
|
|
</ts:label>
|
|
<ts:origins>
|
|
<ethereum:call as="uint" contract="AAVEGetters" function="getTotalBorrowsETH">
|
|
<ts:data>
|
|
<ts:address ref="ownerAddress"/>
|
|
</ts:data>
|
|
</ethereum:call>
|
|
</ts:origins>
|
|
</ts:attribute>
|
|
|
|
<ts:attribute name="liquidationThreshold">
|
|
<ts:type><ts:syntax>1.3.6.1.4.1.1466.115.121.1.36</ts:syntax></ts:type>
|
|
<ts:label>
|
|
<ts:string xml:lang="en">liquidation threshold</ts:string>
|
|
</ts:label>
|
|
<ts:origins>
|
|
<ethereum:call as="uint" contract="AAVEGetters" function="getCurrentLiquidationThreshold">
|
|
<ts:data>
|
|
<ts:address ref="ownerAddress"/>
|
|
</ts:data>
|
|
</ethereum:call>
|
|
</ts:origins>
|
|
</ts:attribute>
|
|
|
|
<ts:attribute name="assetPriceDAI">
|
|
<ts:type><ts:syntax>1.3.6.1.4.1.1466.115.121.1.36</ts:syntax></ts:type>
|
|
<ts:label>
|
|
<ts:string xml:lang="en">asset price</ts:string>
|
|
</ts:label>
|
|
<ts:origins>
|
|
<ethereum:call as="uint" contract="PriceOracle" function="getAssetPrice">
|
|
<ts:data>
|
|
<ts:address>0x6B175474E89094C44Da98b954EedeAC495271d0F</ts:address>
|
|
</ts:data>
|
|
</ethereum:call>
|
|
</ts:origins>
|
|
</ts:attribute>
|
|
|
|
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
|
|
<ds:SignedInfo>
|
|
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
|
|
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
|
|
<ds:Reference URI="">
|
|
<ds:Transforms>
|
|
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
|
|
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
|
|
</ds:Transforms>
|
|
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/>
|
|
<ds:DigestValue>Mpu/KHXZdpCQM4wmFK3I2yl9pxBkSH3bXv59D+Gnpvw=</ds:DigestValue>
|
|
</ds:Reference>
|
|
</ds:SignedInfo>
|
|
<ds:SignatureValue>
|
|
kAVDItZy174O8SgRo6xq4BP66mzyaWQA6hB5w6L34pClOkrxe5TwBIdoyaIHW9bxxgzt9CczqoSF
|
|
gdeW9IDsC3nJ8UbJOnCUkcLnQXqOdCDmlwj6h4dhqtSbgPbfVmng1Anf3ll6j9b8hM1Deb0C9Iga
|
|
yj1A++dnjWuBx9Lfeh/aGoxknF8eOiA+GWbfxHwNUwVaahr6MHLhsTgQdv0emISrt0Hx3EeSD5lw
|
|
0zLP19ppj0rxTdWaV240mPBy3uZCBkdjIfL9gDK9hkVHVJUvEHNCU/mUlAxEAovUSXoHiySWWkjl
|
|
d+ph70jOnt018YbCz2g4ifid9cn2BzyZjcY0dg==
|
|
</ds:SignatureValue>
|
|
<ds:KeyInfo>
|
|
<ds:KeyName>AlphaWallet</ds:KeyName>
|
|
<ds:KeyValue>
|
|
<ds:RSAKeyValue>
|
|
<ds:Modulus>
|
|
tDHBH8jKLPEjpXsy/V9/XsXBYmc64SXx6IWG9CdJzm+iSrk3Od2ZZTS3DsR5+hp9hk6UwRyb1XKG
|
|
+TMrBODfxIIWricmnhxYMqiyvwDhecm4RU4YFteekBFAsuhEGCJBtmJSrle5G3iE/9FwvTfw/cxo
|
|
yAydv85OWc4UkxkfjzaXVqGGKCzSFhRm48HwG51/1nmC1mmPh070EMY4Km4N/ieJZ8egLjDAIZEI
|
|
EY5Cj7ig9PPnGf2pF21/z7vm3zQViXi6XJIBn1E5CTXzDW1y1BYe0QI+dxxY0o+97mwisZu7fVfB
|
|
/rJJm3g7Ye4/lITkZeRMP+OLYyG1pathItlrVQ==
|
|
</ds:Modulus>
|
|
<ds:Exponent>AQAB</ds:Exponent>
|
|
</ds:RSAKeyValue>
|
|
</ds:KeyValue>
|
|
<ds:X509Data>
|
|
<ds:X509Certificate>
|
|
MIIFUDCCBDigAwIBAgISAy095xt55U0Cc0++zYon7TT0MA0GCSqGSIb3DQEBCwUAMEoxCzAJBgNV
|
|
BAYTAlVTMRYwFAYDVQQKEw1MZXQncyBFbmNyeXB0MSMwIQYDVQQDExpMZXQncyBFbmNyeXB0IEF1
|
|
dGhvcml0eSBYMzAeFw0xOTA5MjQxMTA1MTdaFw0xOTEyMjMxMTA1MTdaMBMxETAPBgNVBAMMCCou
|
|
YXcuYXBwMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtDHBH8jKLPEjpXsy/V9/XsXB
|
|
Ymc64SXx6IWG9CdJzm+iSrk3Od2ZZTS3DsR5+hp9hk6UwRyb1XKG+TMrBODfxIIWricmnhxYMqiy
|
|
vwDhecm4RU4YFteekBFAsuhEGCJBtmJSrle5G3iE/9FwvTfw/cxoyAydv85OWc4Uk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