Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DEV-3452]&[NOTASK] dEuro Logs, update rule status #1892

Merged
merged 13 commits into from
Jan 14, 2025
Prev Previous commit
[NO-TASK] Refactoring
  • Loading branch information
davidleomay committed Jan 14, 2025
commit a1e7b2eb0c915aeaf606a0554e435fcfeddff64f
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export class BuyCrypto extends IEntity {
inputReferenceAmountMinusFee?: number;

@Column({ type: 'float', nullable: true })
blockchainFee?: number;
blockchainFee?: number; //inputReferenceAsset

@Column({ type: 'float', nullable: true })
paymentLinkFee?: number;
Expand Down
2 changes: 1 addition & 1 deletion src/subdomains/core/sell-crypto/process/buy-fiat.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export class BuyFiat extends IEntity {
totalFeeAmountChf?: number;

@Column({ type: 'float', nullable: true })
blockchainFee?: number;
blockchainFee?: number; //inputAsset

@Column({ type: 'float', nullable: true })
paymentLinkFee?: number;
Expand Down
5 changes: 3 additions & 2 deletions src/subdomains/generic/admin/admin.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,11 @@ export class AdminService {
}
}

@Cron(CronExpression.EVERY_5_MINUTES)
@Cron(CronExpression.EVERY_MINUTE)
@Lock(3600)
async completeLiquidityOrders() {
if (DisabledProcess(Process.LIQUIDITY_MANAGEMENT)) return;
if (DisabledProcess(Process.PAY_OUT)) return;

for (const context of Object.values(PayoutRequestContext)) {
const lContext = context as unknown as LiquidityOrderContext;
const pContext = context as unknown as PayoutOrderContext;
Expand Down
Loading