@@ -475,6 +475,7 @@ function mcwallet_inline_script() {
475
475
$ fees ['aureth ' ]['fee ' ] = get_option ( 'eth_fee ' );
476
476
$ fees ['phi ' ]['fee ' ] = get_option ( 'eth_fee ' );
477
477
$ fees ['ame ' ]['fee ' ] = get_option ( 'eth_fee ' );
478
+ $ fees ['phpx ' ]['fee ' ] = get_option ( 'eth_fee ' );
478
479
}
479
480
if ( get_option ( 'eth_min ' ) ) {
480
481
$ fees ['eth ' ]['min ' ] = get_option ( 'eth_min ' );
@@ -489,6 +490,7 @@ function mcwallet_inline_script() {
489
490
$ fees ['aureth ' ]['min ' ] = get_option ( 'eth_min ' );
490
491
$ fees ['phi ' ]['min ' ] = get_option ( 'eth_min ' );
491
492
$ fees ['ame ' ]['min ' ] = get_option ( 'eth_min ' );
493
+ $ fees ['phpx ' ]['min ' ] = get_option ( 'eth_min ' );
492
494
}
493
495
if ( get_option ( 'tokens_fee ' ) ) {
494
496
$ fees ['erc20 ' ]['fee ' ] = get_option ( 'tokens_fee ' );
@@ -502,6 +504,7 @@ function mcwallet_inline_script() {
502
504
$ fees ['erc20aurora ' ]['fee ' ] = get_option ( 'tokens_fee ' );
503
505
$ fees ['phi20 ' ]['fee ' ] = get_option ( 'tokens_fee ' );
504
506
$ fees ['erc20ame ' ]['fee ' ] = get_option ( 'tokens_fee ' );
507
+ $ fees ['phpx20 ' ]['fee ' ] = get_option ( 'tokens_fee ' );
505
508
}
506
509
if ( get_option ( 'tokens_min ' ) ) {
507
510
$ fees ['erc20 ' ]['min ' ] = get_option ( 'tokens_min ' );
@@ -515,6 +518,7 @@ function mcwallet_inline_script() {
515
518
$ fees ['erc20aurora ' ]['min ' ] = get_option ( 'tokens_min ' );
516
519
$ fees ['phi20 ' ]['min ' ] = get_option ( 'tokens_min ' );
517
520
$ fees ['erc20ame ' ]['min ' ] = get_option ( 'tokens_min ' );
521
+ $ fees ['phpx20 ' ]['min ' ] = get_option ( 'tokens_min ' );
518
522
}
519
523
if ( get_option ( 'eth_fee_address ' ) ) {
520
524
$ fees ['eth ' ]['address ' ] = get_option ( 'eth_fee_address ' );
@@ -540,6 +544,7 @@ function mcwallet_inline_script() {
540
544
$ fees ['erc20aurora ' ]['address ' ] = get_option ( 'eth_fee_address ' );
541
545
$ fees ['phi20 ' ]['address ' ] = get_option ( 'eth_fee_address ' );
542
546
$ fees ['erc20ame ' ]['address ' ] = get_option ( 'eth_fee_address ' );
547
+ $ fees ['phpx20 ' ]['address ' ] = get_option ( 'eth_fee_address ' );
543
548
}
544
549
545
550
$ script .= 'window.widgetERC20Comisions = ' . wp_json_encode ( $ fees , JSON_PRETTY_PRINT ) . '; ' . "\n\n" ;
0 commit comments