diff --git a/css/main.scss b/css/main.scss
index e153d5e..335aae9 100644
--- a/css/main.scss
+++ b/css/main.scss
@@ -564,6 +564,7 @@ p{
border: solid 1px rgba(var(--text), 0.2);
}
}
+
.address, .token, .hash, .contract, .block-height{
cursor: pointer;
color: var(--primary-color);
diff --git a/index.html b/index.html
index 3a3b7b7..2dc246d 100644
--- a/index.html
+++ b/index.html
@@ -110,7 +110,7 @@
${topToken}
-
total transactions
+ Latest transactions
${totalTransactions}
@@ -166,7 +166,7 @@
${size}
Reward
${reward}
-
Hash
+
Transaction ID
${hash}
Difficulty
${difficulty}
@@ -233,7 +233,7 @@
${type}
${name}
-
Hash
+
Transaction ID
${hash}
`
contractInfo.innerHTML = `
-
Hash
-
+
Sender
${sender}
receiver
@@ -440,7 +433,15 @@
amount
${amount} ${token}
Contract name
-
${contractName}
`;
+
${contractName}
+
Transaction ID
+
`;
card.append(contractInfo)
return card;
},
@@ -465,21 +466,22 @@
${token}
-
Hash
-
+
Sender
${sender}
receiver
${receiver}
amount
-
${amount} ${token}
-
`;
+
${amount} ${token}
+
Transaction ID
+
+
`;
return card;
},
tokenCreationCard(obj) {
@@ -505,21 +507,22 @@
${token}
-
Hash
-
+
Incorporation address
${incAddress}
token name
${token}
supply
-
${supply}
-
`;
+ ${supply}
+ Transaction ID
+
+ `;
return card;
},
contractTriggerCard(obj) {
@@ -542,15 +545,9 @@
smart contract
trigger
- Hash
+
-
+
Contract name
${contractName}
contract address
@@ -558,7 +555,15 @@
Winning Choice
${winningChoice}
committee address
-
${committeeAddress}
+
${committeeAddress}
+
Transaction ID
+
`;
return card;
},
@@ -582,14 +587,7 @@
${token}
-
Hash
-
+
Contract name
${contractName}
Contract address
@@ -602,6 +600,14 @@
${expiration}
participation amount
${participationFees} ${token}
+
Transaction ID
+
`;
return card;
},
@@ -1657,8 +1663,8 @@
var contractSplit = splitContractNameAddress(text, text.lastIndexOf('-'));
render("contract_page", contract = {
- name: contractSplit.name,
- address: contractSplit.address
+ name: contractSplit,
+ address: contractSplit[1]
})
appState = {
page: "contract_page",