Skip to content

Commit 1f8e754

Browse files
author
Muhammad ikram zafar
committed
2 parents 4ed878d + 75c086d commit 1f8e754

File tree

8 files changed

+248
-248
lines changed

8 files changed

+248
-248
lines changed

.idea/workspace.xml

Lines changed: 229 additions & 233 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lowdbFunc.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,17 @@ db.defaults({ accounts: [], contracts: [], tokens: [
4747
{
4848
"id": "DrZsGjQIZ",
4949
"token_address": "0xa887adb722cf15bc1efe3c6a5d879e0482e8d197",
50-
"token_name": "Tokan Lab",
51-
"token_symbol": "LAB2",
50+
"token_name": "Token Lab",
51+
"token_symbol": "LAB",
5252
"tokenType": "erc20",
5353
"decimal_places": 18,
5454
"color": "#fa0fa0"
5555
},
5656
{
5757
"id": "6zxjBkREl",
5858
"token_address": "0x4f5ec5a69dbe12c48ca1edc9c52b1e8896aed932",
59-
"token_name": "PEX TOKEN",
60-
"token_symbol": "PEX2",
59+
"token_name": "Pex Token",
60+
"token_symbol": "PEX",
6161
"tokenType": "erc20",
6262
"decimal_places": 18,
6363
"color": "#0297da"

src/common/gexpfunc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ const startingGexp = () => {
8282
// console.log(activeScreen,"activeScreen");
8383
ipcRenderer.send('startGexp', path);
8484
ipcRenderer.on('startGexpResponse', (event, res) => {
85+
console.log(res,"res");
8586
if(res){
8687
if(os.type() == 'Windows_NT') {
8788
setTimeout(function(){

src/renderer/components/DasboardComponents/ContractsComponents/Contracts.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
handledelete(contractid) {
167167
let contract = db.get('contracts').find({ id: contractid }).value();
168168
if(contract){
169-
let con = confirm('You want To Delete: '+contract.contractName+' Contract');
169+
let con = confirm('You want To Delete: '+contract.contract_name+' Contract');
170170
if(con){
171171
db.get('contracts').remove({ id: contractid}).write();
172172
this.$forceUpdate();

src/renderer/components/DasboardComponents/ContractsComponents/WatchContract.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,11 +172,12 @@
172172
let contract1 = db.get('contracts').find({
173173
contract_name: this.contractName
174174
}).value();
175-
if(contract && contract.length > 0) {
175+
console.log(contract,contract1)
176+
if(contract) {
176177
this.contractAddressError = "Contract Address is already exists";
177178
return false;
178179
}
179-
if(contract1 && contract1.length > 0) {
180+
if(contract1) {
180181
this.contractNameError = 'Contract Name is already exists';
181182
} else {
182183
try {

src/renderer/components/DasboardComponents/Footer/Footer.vue

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,23 +57,23 @@
5757
}
5858
ipcRenderer.on('gexpLogs', (event, res) => {
5959
// console.log(res, 'expr------01', this.gexplog.length);
60-
if(this.gexplog[this.gexplog.length-1] === res)
60+
if(this.gexplog[this.gexplog.length-1] === res.replace(/\\n/g, '').substring(4))
6161
{
6262
63-
} else{
63+
} else if(this.gexplog[this.gexplog.length-1] !== res.replace(/\\n/g, '').substring(4)){
6464
if(this.pausegexp){
65-
this.gexplog.push(res);
65+
this.gexplog.push(res.replace(/\\n/g, '').substring(4));
6666
}
6767
}
6868
});
6969
ipcRenderer.on('gexpLogsstder', (event, res) => {
70-
// console.log(res, 'exprerrrrr------01', this.gexplog.length);
71-
if(this.gexplog[this.gexplog.length-1] === res)
70+
// console.log(res.replace(/\\n/g, '').substring(4), 'exprerrrrr------01');
71+
if(this.gexplog[this.gexplog.length-1] === res.replace(/\\n/g, '').substring(4))
7272
{
7373
74-
} else{
74+
} else if(this.gexplog[this.gexplog.length-1] !== res.replace(/\\n/g, '').substring(4)){
7575
if(this.pausegexp){
76-
this.gexplog.push(res);
76+
this.gexplog.push(res.replace(/\\n/g, '').substring(4));
7777
}
7878
}
7979
});
@@ -153,6 +153,7 @@
153153
},
154154
handlerefresh(){
155155
this.pausegexp = true;
156+
this.gexplog = [];
156157
this.pauseimg = "pause";
157158
}
158159
}

src/renderer/components/DasboardComponents/SideBar/SideBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<svg xmlns="http://www.w3.org/2000/svg" width="555" height="555" viewBox="0 0 555 555">
4646
<path id="Rounded_Rectangle_3" data-name="Rounded Rectangle 3" d="M177.293,546.928l-47.762-47.762A54.33,54.33,0,0,0,57,426.639L8.072,377.707a27.571,27.571,0,0,1,0-38.991L338.716,8.072a27.571,27.571,0,0,1,38.991,0l48.2,48.2a54.33,54.33,0,0,0,74,74l47.028,47.027a27.571,27.571,0,0,1,0,38.991L216.284,546.928A27.571,27.571,0,0,1,177.293,546.928Zm279.566-317a11.029,11.029,0,0,0,0-15.6L340.665,98.142a11.028,11.028,0,0,0-15.6,0L96.192,327.019a11.028,11.028,0,0,0,0,15.6L212.385,458.808a11.028,11.028,0,0,0,15.6,0ZM217.064,441.652L113.348,337.936a5.515,5.515,0,0,1,0-7.8l216.01-216.01a5.513,5.513,0,0,1,7.8,0L440.872,217.844a5.513,5.513,0,0,1,0,7.8l-216.01,216.01A5.515,5.515,0,0,1,217.064,441.652Z"></path>
4747
</svg>
48-
<span>Tokens</span>
48+
<span>TOKENS</span>
4949
</button>
5050
</li>
5151
<li :class="contractsTab" @click="mainMenu($event, 'contracts')">

src/renderer/components/DasboardComponents/WalletDashboardComponents/AccountComponents/ImportAccount.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@
347347
e.preventDefault();
348348
349349
console.log(this.accountName,"account");
350+
console.log(this.private_key,"private_key");
350351
if(this.accountName && this.private_key && this.private_key_password && this.private_key_repassword){
351352
if(this.private_key_password.length >= 8){
352353
if(this.private_key_password === this.private_key_repassword) {

0 commit comments

Comments
 (0)