Skip to main content
Shipped programs and the builders that turn them into intents.
This page covers sdk/dist/recipes/cctp-transfer.d.ts. In SDK 0.99.4 these convenience builders do not configure the cook fee or route token delivery. See the CCTP recipe limitations before constructing an executable intent.
Generated from the type declarations shipped in @eco-incorp/sauce 0.99.4. Each entry shows the package authors’ JSDoc and declaration for this SDK version. For runtime compatibility and deployed addresses, see architecture and deployments.

buildCctpSplitTransfer

Function · sdk/dist/recipes/cctp-transfer.d.ts WITH CCTP - one intent whose route drains amount in depositForBurns capped at perMessageLimit (the script splits: full-cap burns until the last, which takes the remainder), atomic in one cook. Fulfilled locally on the source chain, so the intent’s destination IS its source. The builder hands the program only its two numbers; the program’s CCTP_* consts are overridden with this intent’s values via defines.

buildPlainTransfer

Function · sdk/dist/recipes/cctp-transfer.d.ts WITHOUT CCTP (the baseline) - a plain cross-chain USDC transfer intent: the solver delivers amount USDC to recipient on the destination chain via the normal Eco flow, no bridge stitch. The program’s XFER_* consts are overridden with this intent’s values via defines.

cctpSplitSource

Function · sdk/dist/recipes/cctp-transfer.d.ts The cctp-split.sauce.ts program text - read once and cached.

plainTransferSource

Function · sdk/dist/recipes/cctp-transfer.d.ts The plain-transfer.sauce.ts program text - read once and cached.

CCTP_SPLIT_SOURCE_PATH

Variable · sdk/dist/recipes/cctp-transfer.d.ts Absolute path to the CCTP split-burn program asset inside THIS installed package.

PLAIN_TRANSFER_SOURCE_PATH

Variable · sdk/dist/recipes/cctp-transfer.d.ts Absolute path to the plain-transfer baseline program asset inside THIS installed package.

CctpTransferParams

Interface · sdk/dist/recipes/cctp-transfer.d.ts