diff --git a/src/app/campaigns/components/remuneration/remuneration.component.ts b/src/app/campaigns/components/remuneration/remuneration.component.ts index fc4447f7..4acbb11d 100755 --- a/src/app/campaigns/components/remuneration/remuneration.component.ts +++ b/src/app/campaigns/components/remuneration/remuneration.component.ts @@ -760,7 +760,7 @@ export class RemunerationComponent implements OnInit, OnDestroy { network: this.selectedNetworkValue.toLowerCase(), walletAddress: this.selectedNetworkValue === 'TRON' ? window.localStorage.getItem('tron-wallet') : window.localStorage.getItem('wallet_id'), isNative: - ((value.key === 'ETH' && this.selectedNetworkValue === 'ERC20') || (value.key === 'BNB' && this.selectedNetworkValue === 'BEP20') || (value.key === 'BTT' && this.selectedNetworkValue === 'BTTC') || (value.key === 'TRX' && this.selectedNetworkValue === 'TRON') || (value.key === 'MATIC' && this.selectedNetworkValue === 'POLYGON') || (value.key === 'AA' && this.selectedNetworkValue === 'ARTHERA')) + ((value.key === 'ETH' && this.selectedNetworkValue === 'ERC20') || (value.key === 'BNB' && this.selectedNetworkValue === 'BEP20') || (value.key === 'BTT' && this.selectedNetworkValue === 'BTTC') || (value.key === 'TRX' && this.selectedNetworkValue === 'TRON') || (value.key === 'MATIC' && this.selectedNetworkValue === 'POLYGON') ) ? true : false, smartContract: (this.selectedNetworkValue === 'ERC20' && value.key === 'SATT') ? environment.addresses.smartContracts.SATT_TOKENERC20 : ( (this.selectedNetworkValue === 'BEP20' && value.key === 'SATT') ? environment.addresses.smartContracts.SATT_TOKENBEP20 :value.contract) //value.contract diff --git a/src/app/wallet/components/dropdown-crypto-network/dropdown-crypto-network.component.ts b/src/app/wallet/components/dropdown-crypto-network/dropdown-crypto-network.component.ts index 92fa7dc6..d9f90554 100755 --- a/src/app/wallet/components/dropdown-crypto-network/dropdown-crypto-network.component.ts +++ b/src/app/wallet/components/dropdown-crypto-network/dropdown-crypto-network.component.ts @@ -169,7 +169,7 @@ export class DropdownCryptoNetworkComponent walletAddress: this.selectedNetworkValue === 'TRON' ? window.localStorage.getItem('tron-wallet') : window.localStorage.getItem('wallet_id'), smartContract: (this.selectedNetworkValue === 'ERC20' && crypto.key === 'SATT') ? env.addresses.smartContracts.SATT_TOKENERC20 : ( (this.selectedNetworkValue === 'BEP20' && crypto.key === 'SATT') ? env.addresses.smartContracts.SATT_TOKENBEP20 :crypto.contract), isNative: - ((crypto.key === 'ETH' && this.selectedNetworkValue === 'ERC20') || (crypto.key === 'BNB' && this.selectedNetworkValue === 'BEP20') || (crypto.key === 'BTT' && this.selectedNetworkValue === 'BTTC') || (crypto.key === 'TRX' && this.selectedNetworkValue === 'TRON') || (crypto.key === 'MATIC' && this.selectedNetworkValue === 'POLYGON') || (crypto.key === 'AA' && this.selectedNetworkValue === 'ARTHERA')) + ((crypto.key === 'ETH' && this.selectedNetworkValue === 'ERC20') || (crypto.key === 'BNB' && this.selectedNetworkValue === 'BEP20') || (crypto.key === 'BTT' && this.selectedNetworkValue === 'BTTC') || (crypto.key === 'TRX' && this.selectedNetworkValue === 'TRON') || (crypto.key === 'MATIC' && this.selectedNetworkValue === 'POLYGON') ) ? true : false })