|
43 | 43 | </div> |
44 | 44 | </div> |
45 | 45 |
|
46 | | - <div v-if="!isApproval && decodedTx" class="provider-verify-transaction__amount"> |
| 46 | + <div |
| 47 | + v-if="!isApproval && decodedTx" |
| 48 | + class="provider-verify-transaction__amount" |
| 49 | + > |
47 | 50 | <img :src="decodedTx?.tokenImage || network.icon" /> |
48 | 51 |
|
49 | 52 | <div class="provider-verify-transaction__amount-info"> |
|
92 | 95 | </div> |
93 | 96 | </div> |
94 | 97 |
|
95 | | - <send-fee-select :in-swap="true" :selected="selectedFee" :fee="gasCostValues[selectedFee]" |
96 | | - @open-popup="toggleSelectFee" /> |
| 98 | + <send-fee-select |
| 99 | + :in-swap="true" |
| 100 | + :selected="selectedFee" |
| 101 | + :fee="gasCostValues[selectedFee]" |
| 102 | + @open-popup="toggleSelectFee" |
| 103 | + /> |
97 | 104 |
|
98 | 105 | <div class="provider-verify-transaction__data"> |
99 | | - <a class="provider-verify-transaction__data-link" :class="{ open: isOpenData }" @click="toggleData"><span>Show |
100 | | - data</span> <right-chevron /></a> |
| 106 | + <a |
| 107 | + class="provider-verify-transaction__data-link" |
| 108 | + :class="{ open: isOpenData }" |
| 109 | + @click="toggleData" |
| 110 | + ><span>Show data</span> <right-chevron |
| 111 | + /></a> |
101 | 112 |
|
102 | 113 | <div v-show="isOpenData" class="provider-verify-transaction__data-text"> |
103 | 114 | <p>Data Hex: {{ decodedTx?.dataHex || '0x' }}</p> |
|
106 | 117 | <p v-if="errorMsg != ''" class="provider-verify-transaction__error"> |
107 | 118 | {{ errorMsg }} |
108 | 119 | </p> |
109 | | - <transaction-fee-view v-model="isOpenSelectFee" :fees="gasCostValues" :selected="selectedFee" :is-header="true" |
110 | | - is-popup @gas-type-changed="selectFee" /> |
| 120 | + <transaction-fee-view |
| 121 | + v-model="isOpenSelectFee" |
| 122 | + :fees="gasCostValues" |
| 123 | + :selected="selectedFee" |
| 124 | + :is-header="true" |
| 125 | + is-popup |
| 126 | + @gas-type-changed="selectFee" |
| 127 | + /> |
111 | 128 | </template> |
112 | 129 |
|
113 | 130 | <template #button-left> |
114 | | - <base-button title="Decline" :click="deny" :no-background="true" :disabled="isProcessing" /> |
| 131 | + <base-button |
| 132 | + title="Decline" |
| 133 | + :click="deny" |
| 134 | + :no-background="true" |
| 135 | + :disabled="isProcessing" |
| 136 | + /> |
115 | 137 | </template> |
116 | 138 |
|
117 | 139 | <template #button-right> |
118 | | - <base-button title="Send" :click="approve" :disabled="isProcessing || errorMsg != ''" /> |
| 140 | + <base-button |
| 141 | + title="Send" |
| 142 | + :click="approve" |
| 143 | + :disabled="isProcessing || errorMsg != ''" |
| 144 | + /> |
119 | 145 | </template> |
120 | 146 | </common-popup> |
121 | 147 | </template> |
@@ -314,11 +340,11 @@ const approve = async () => { |
314 | 340 | to: tx.to |
315 | 341 | ? tx.to.toString() |
316 | 342 | : bufferToHex( |
317 | | - generateAddress( |
318 | | - tx.getSenderAddress().toBytes(), |
319 | | - bigIntToBytes(tx.nonce), |
| 343 | + generateAddress( |
| 344 | + tx.getSenderAddress().toBytes(), |
| 345 | + bigIntToBytes(tx.nonce), |
| 346 | + ), |
320 | 347 | ), |
321 | | - ), |
322 | 348 | isIncoming: tx.getSenderAddress().toString() === tx.to?.toString(), |
323 | 349 | network: network.value.name, |
324 | 350 | status: ActivityStatus.pending, |
|
0 commit comments