Initial commit: Pezkuwi Wallet Android

Security hardened release:
- Code obfuscation enabled (minifyEnabled=true, shrinkResources=true)
- Sensitive files excluded (google-services.json, keystores)
- Branch.io key moved to BuildConfig placeholder
- Updated dependencies: OkHttp 4.12.0, Gson 2.10.1, BouncyCastle 1.77
- Comprehensive ProGuard rules for crypto wallet
- Navigation 2.7.7, Lifecycle 2.7.0, ConstraintLayout 2.1.4
This commit is contained in:
2026-02-12 05:19:41 +03:00
commit a294aa1a6b
7687 changed files with 441811 additions and 0 deletions
@@ -0,0 +1 @@
<manifest />
@@ -0,0 +1,11 @@
package io.novafoundation.nova.hydra_dx_math
import io.novafoundation.nova.common.utils.atLeastZero
import java.math.BigInteger
object HydraDxMathConversions {
fun String.fromBridgeResultToBalance(): BigInteger? {
return if (this == "-1") null else toBigInteger().atLeastZero()
}
}
@@ -0,0 +1,75 @@
package io.novafoundation.nova.hydra_dx_math.stableswap;
public class StableSwapMathBridge {
static {
System.loadLibrary("hydra_dx_math_java");
}
public static native String calculate_out_given_in(
String reserves,
int asset_in,
int asset_out,
String amount_in,
String amplification,
String fee,
String pegs
);
public static native String calculate_in_given_out(
String reserves,
int asset_in,
int asset_out,
String amount_out,
String amplification,
String fee,
String pegs
);
public static native String calculate_amplification(
String initial_amplification,
String final_amplification,
String initial_block,
String final_block,
String current_block
);
public static native String calculate_shares(
String reserves,
String assets,
String amplification,
String share_issuance,
String fee,
String pegs
);
public static native String calculate_shares_for_amount(
String reserves,
int asset_in,
String amount,
String amplification,
String share_issuance,
String fee,
String pegs
);
public static native String calculate_add_one_asset(
String reserves,
String shares,
int asset_in,
String amplification,
String share_issuance,
String fee,
String pegs
);
public static native String calculate_liquidity_out_one_asset(
String reserves,
String shares,
int asset_out,
String amplification,
String share_issuance,
String withdraw_fee,
String pegs
);
}
@@ -0,0 +1,26 @@
package io.novafoundation.nova.hydra_dx_math.xyk;
public class HYKSwapMathBridge {
static {
System.loadLibrary("hydra_dx_math_java");
}
public static native String calculate_out_given_in(
String balanceIn,
String balanceOut,
String amountIn
);
public static native String calculate_in_given_out(
String balanceIn,
String balanceOut,
String amountOut
);
public static native String calculate_pool_trade_fee(
String amount,
String feeNumerator,
String feeDenominator
);
}