@oydual31/more-vaults-sdk 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/react/index.cjs +21 -2
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.js +21 -2
- package/dist/react/index.js.map +1 -1
- package/dist/viem/index.cjs +21 -2
- package/dist/viem/index.cjs.map +1 -1
- package/dist/viem/index.d.cts +22 -3
- package/dist/viem/index.d.ts +22 -3
- package/dist/viem/index.js +21 -2
- package/dist/viem/index.js.map +1 -1
- package/package.json +1 -1
- package/src/viem/chains.ts +16 -3
package/package.json
CHANGED
package/src/viem/chains.ts
CHANGED
|
@@ -89,13 +89,26 @@ export const OFT_ROUTES = {
|
|
|
89
89
|
[10 /* optimism */]: { oft: '0x19cFCE47eD54a88614648DC3f19A5980097007dD' as `0x${string}`, token: '0x94b008aA00579c1307B0EF2c499aD98a8ce58e58' as `0x${string}` },
|
|
90
90
|
},
|
|
91
91
|
/**
|
|
92
|
-
*
|
|
92
|
+
* USDF — USD Flow OFT. Bridges PYUSD (Ethereum) ↔ USDF (Flow EVM).
|
|
93
|
+
* On Ethereum: underlying is PayPal USD (PYUSD, 0x6c3ea9...).
|
|
94
|
+
* On Flow: the OFT itself IS the token (USDF, 0x2aabea...).
|
|
93
95
|
* Routes verified: Eth→Flow ✓
|
|
94
96
|
*/
|
|
95
|
-
|
|
97
|
+
USDF: {
|
|
96
98
|
[747 /* flowEVMMainnet */]: { oft: '0x2aabea2058b5ac2d339b163c6ab6f2b6d53aabed' as `0x${string}`, token: '0x2aabea2058b5ac2d339b163c6ab6f2b6d53aabed' as `0x${string}` },
|
|
97
99
|
[1 /* ethereum */]: { oft: '0xfa0e06b54986ad96de87a8c56fea76fbd8d493f8' as `0x${string}`, token: '0x6c3ea9036406852006290770BEdFcAbA0e23A0e8' as `0x${string}` },
|
|
98
100
|
},
|
|
101
|
+
/**
|
|
102
|
+
* PYUSD — PayPal USD bridged via OFTAdapter (Paxos / LayerZero).
|
|
103
|
+
* Lock/mint architecture: locks PYUSD on Arbitrum, mints PYUSD0 on Flow EVM.
|
|
104
|
+
* On Arbitrum: OFTAdapter wraps native PYUSD (0x46850a...).
|
|
105
|
+
* On Flow: OFTAdapter wraps PYUSD0 (0x99aF3E...), which is the native Paxos token.
|
|
106
|
+
* Routes verified: Arb↔Flow ✓ (EID 30336). No Eth or Base peers.
|
|
107
|
+
*/
|
|
108
|
+
PYUSD: {
|
|
109
|
+
[747 /* flowEVMMainnet */]: { oft: '0x26d27d5AF2F6f1c14F40013C8619d97aaf015509' as `0x${string}`, token: '0x99aF3EeA856556646C98c8B9b2548Fe815240750' as `0x${string}` },
|
|
110
|
+
[42161 /* arbitrum */]: { oft: '0x3CD2b89C49D130C08f1d683225b2e5DeB63ff876' as `0x${string}`, token: '0x46850aD61C2B7d64d08c9C754F45254596696984' as `0x${string}` },
|
|
111
|
+
},
|
|
99
112
|
/**
|
|
100
113
|
* WFLOW — Wrapped FLOW NativeOFTAdapter (issued by Flow Foundation).
|
|
101
114
|
* Routes verified: Eth→Flow ✓
|
|
@@ -217,7 +230,7 @@ export const OFT_ROUTES = {
|
|
|
217
230
|
/**
|
|
218
231
|
* oftCmd for Stargate v2 taxi mode (immediate per-message delivery).
|
|
219
232
|
* Pass as `oftCmd` in SendParam when using stgUSDC, USDT, or WETH OFT_ROUTES entries.
|
|
220
|
-
* Non-Stargate OFTs (
|
|
233
|
+
* Non-Stargate OFTs (USDF, WFLOW, sUSDe, USDe, weETH, rsETH) use empty bytes — pass `'0x'` instead.
|
|
221
234
|
*/
|
|
222
235
|
export const STARGATE_TAXI_CMD = '0x01' as const
|
|
223
236
|
|