Skip to content

Speedy brl flow#1118

Open
gianfra-t wants to merge 27 commits intostagingfrom
speedy-brl-flow
Open

Speedy brl flow#1118
gianfra-t wants to merge 27 commits intostagingfrom
speedy-brl-flow

Conversation

@gianfra-t
Copy link
Copy Markdown
Contributor

@gianfra-t gianfra-t commented Apr 9, 2026

Issue: #1112

Description

Adds new transactions creators, phases and quote logic to handle BRLA onramps / offramps on Base.

New flow can be seen at the journey and fees diagram.

Review focus

Changes are focused on:

  • The quote engine logic files, starting with the two new strategies for onramp and offramp.

  • Transaction creation routes: onramp and offramp.

  • Phases logic modifications, and additions.

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 9, 2026

Deploy Preview for vortexfi ready!

Name Link
🔨 Latest commit 9e97b6d
🔍 Latest deploy log https://app.netlify.com/projects/vortexfi/deploys/69dfe2f5b4ec300008b55385
😎 Deploy Preview https://deploy-preview-1118--vortexfi.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 9, 2026

Deploy Preview for vortex-sandbox ready!

Name Link
🔨 Latest commit 9e97b6d
🔍 Latest deploy log https://app.netlify.com/projects/vortex-sandbox/deploys/69dfe2f5541b0400088553a2
😎 Deploy Preview https://deploy-preview-1118--vortex-sandbox.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread apps/api/src/api/services/quote/engines/nabla-swap/offramp-evm.ts Fixed
Comment thread apps/api/src/api/services/quote/engines/nabla-swap/offramp-evm.ts Fixed
Comment thread apps/api/src/api/services/quote/engines/nabla-swap/onramp-evm.ts Fixed
@@ -0,0 +1,44 @@
import { RampDirection } from "@vortexfi/shared";
import Big from "big.js";
throw new Error("NablaSwapPhaseHandler: Invalid EVM transaction data. This is a bug.");
}

const txHash = await baseClient.sendRawTransaction({
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caveat: not currently doing a swap simulation first.

gianfra-t and others added 4 commits April 15, 2026 16:07
…tion or class'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…tion or class'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…tion or class'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
gianfra-t and others added 6 commits April 15, 2026 16:09
…tion or class'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…tion or class'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…tion or class'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…tion or class'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…tion or class'

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
@gianfra-t gianfra-t changed the title [DRAFT] Speedy brl flow Speedy brl flow Apr 15, 2026
@gianfra-t gianfra-t requested a review from a team April 15, 2026 19:13
pixDestination: validatedPixDestination,
taxId: validatedTaxId,
receiverTaxId: validatedReceiverTaxId,
offrampAmountBeforeAnchorFeesRaw
import { MOONBEAM_FUNDING_PRIVATE_KEY } from "../../../../../constants/constants";
import { StateMetadata } from "../../../phases/meta-state-types";
import { addFeeDistributionTransaction } from "../../common/feeDistribution";
import { addEvmFeeDistributionTransaction, addFeeDistributionTransaction } from "../../common/feeDistribution";
UnsignedTx
} from "@vortexfi/shared";
import Big from "big.js";
import { isAddress } from "viem";
@@ -1,5 +1,5 @@
import { Account, Chain, createPublicClient, createWalletClient, http, PublicClient, Transport, WalletClient } from "viem";
import { arbitrum, avalanche, base, bsc, mainnet, moonbeam, polygon, polygonAmoy } from "viem/chains";
import { arbitrum, avalanche, base, baseSepolia, bsc, mainnet, moonbeam, polygon, polygonAmoy, sepolia } from "viem/chains";
import { CreateExecuteMessageExtrinsicOptions } from "@pendulum-chain/api-solang";
import { AccountMeta, ApiManager, encodeSubmittableExtrinsic, PendulumTokenDetails } from "../../../index";
import { encodeFunctionData } from "viem/utils";
import { routerAbi } from "../../../contracts/Router";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant