Updated on 2026-08-14
This commit is contained in:
parent
a77f7c6dd5
commit
06ae7fa813
2 changed files with 14 additions and 2 deletions
|
|
@ -517,8 +517,21 @@ public class CardProtocol {
|
|||
if (tokenSymbol != null)
|
||||
mCard.setTokenSymbol(tokenSymbol.getAsString());
|
||||
|
||||
if (contractAddress != null)
|
||||
// Hardcoded smart contracts for the cards manufactured before registration of smart-contract in ETH
|
||||
|
||||
if( mCard.getBatch().equals("0017") )
|
||||
{
|
||||
|
||||
mCard.setContractAddress("contract for 0017");
|
||||
}
|
||||
else if( mCard.getBatch().equals("0019") )
|
||||
{
|
||||
mCard.setContractAddress("0x0c056b0cda0763cc14b8b2d6c02465c91e33ec72");
|
||||
}
|
||||
else if (contractAddress != null)
|
||||
{
|
||||
mCard.setContractAddress(contractAddress.getAsString());
|
||||
}
|
||||
|
||||
if (tokens_decimal != null)
|
||||
mCard.setTokensDecimal(tokens_decimal.getAsInt());
|
||||
|
|
|
|||
|
|
@ -293,7 +293,6 @@
|
|||
android:id="@+id/tvFeeEquivalent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:fontFamily="@font/maax"
|
||||
android:paddingEnd="10dp"
|
||||
android:paddingStart="10dp"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue