File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -417,6 +417,10 @@ <h4 class="card-title">
417417 >
418418 Approve Tokens Without Gas
419419 </ button >
420+
421+ < p class ="info-text alert alert-secondary ">
422+ Token methods result: < span id ="tokenMethodsResult "> </ span >
423+ </ p >
420424 </ div >
421425 </ div >
422426 </ div >
Original file line number Diff line number Diff line change @@ -174,6 +174,8 @@ const approveTokensWithoutGas = document.getElementById(
174174 'approveTokensWithoutGas' ,
175175) ;
176176
177+ const tokenMethodsResult = document . getElementById ( 'tokenMethodsResult' ) ;
178+
177179// Encrypt / Decrypt Section
178180const getEncryptionKeyButton = document . getElementById (
179181 'getEncryptionKeyButton' ,
@@ -920,6 +922,7 @@ const clearDisplayElements = () => {
920922 cleartextDisplay . innerText = '' ;
921923 batchTransferTokenIds . value = '' ;
922924 batchTransferTokenAmounts . value = '' ;
925+ tokenMethodsResult . value = '' ;
923926} ;
924927
925928const updateOnboardElements = ( ) => {
@@ -1777,8 +1780,9 @@ const initializeFormElements = () => {
17771780 { from : accounts [ 0 ] } ,
17781781 ) ;
17791782 console . log ( 'result' , result ) ;
1783+ tokenMethodsResult . innerHTML = result ;
17801784 } catch ( error ) {
1781- tokenAddresses . innerHTML = error . message ;
1785+ tokenMethodsResult . innerHTML = error . message ;
17821786 }
17831787 } ;
17841788
You can’t perform that action at this time.
0 commit comments