@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/dist/viem/index.d.cts
CHANGED
|
@@ -101,10 +101,12 @@ declare const OFT_ROUTES: {
|
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
104
|
+
* USDF — USD Flow OFT. Bridges PYUSD (Ethereum) ↔ USDF (Flow EVM).
|
|
105
|
+
* On Ethereum: underlying is PayPal USD (PYUSD, 0x6c3ea9...).
|
|
106
|
+
* On Flow: the OFT itself IS the token (USDF, 0x2aabea...).
|
|
105
107
|
* Routes verified: Eth→Flow ✓
|
|
106
108
|
*/
|
|
107
|
-
readonly
|
|
109
|
+
readonly USDF: {
|
|
108
110
|
readonly 747: {
|
|
109
111
|
readonly oft: `0x${string}`;
|
|
110
112
|
readonly token: `0x${string}`;
|
|
@@ -114,6 +116,23 @@ declare const OFT_ROUTES: {
|
|
|
114
116
|
readonly token: `0x${string}`;
|
|
115
117
|
};
|
|
116
118
|
};
|
|
119
|
+
/**
|
|
120
|
+
* PYUSD — PayPal USD bridged via OFTAdapter (Paxos / LayerZero).
|
|
121
|
+
* Lock/mint architecture: locks PYUSD on Arbitrum, mints PYUSD0 on Flow EVM.
|
|
122
|
+
* On Arbitrum: OFTAdapter wraps native PYUSD (0x46850a...).
|
|
123
|
+
* On Flow: OFTAdapter wraps PYUSD0 (0x99aF3E...), which is the native Paxos token.
|
|
124
|
+
* Routes verified: Arb↔Flow ✓ (EID 30336). No Eth or Base peers.
|
|
125
|
+
*/
|
|
126
|
+
readonly PYUSD: {
|
|
127
|
+
readonly 747: {
|
|
128
|
+
readonly oft: `0x${string}`;
|
|
129
|
+
readonly token: `0x${string}`;
|
|
130
|
+
};
|
|
131
|
+
readonly 42161: {
|
|
132
|
+
readonly oft: `0x${string}`;
|
|
133
|
+
readonly token: `0x${string}`;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
117
136
|
/**
|
|
118
137
|
* WFLOW — Wrapped FLOW NativeOFTAdapter (issued by Flow Foundation).
|
|
119
138
|
* Routes verified: Eth→Flow ✓
|
|
@@ -354,7 +373,7 @@ declare const OFT_ROUTES: {
|
|
|
354
373
|
/**
|
|
355
374
|
* oftCmd for Stargate v2 taxi mode (immediate per-message delivery).
|
|
356
375
|
* Pass as `oftCmd` in SendParam when using stgUSDC, USDT, or WETH OFT_ROUTES entries.
|
|
357
|
-
* Non-Stargate OFTs (
|
|
376
|
+
* Non-Stargate OFTs (USDF, WFLOW, sUSDe, USDe, weETH, rsETH) use empty bytes — pass `'0x'` instead.
|
|
358
377
|
*/
|
|
359
378
|
declare const STARGATE_TAXI_CMD: "0x01";
|
|
360
379
|
/**
|
package/dist/viem/index.d.ts
CHANGED
|
@@ -101,10 +101,12 @@ declare const OFT_ROUTES: {
|
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
104
|
+
* USDF — USD Flow OFT. Bridges PYUSD (Ethereum) ↔ USDF (Flow EVM).
|
|
105
|
+
* On Ethereum: underlying is PayPal USD (PYUSD, 0x6c3ea9...).
|
|
106
|
+
* On Flow: the OFT itself IS the token (USDF, 0x2aabea...).
|
|
105
107
|
* Routes verified: Eth→Flow ✓
|
|
106
108
|
*/
|
|
107
|
-
readonly
|
|
109
|
+
readonly USDF: {
|
|
108
110
|
readonly 747: {
|
|
109
111
|
readonly oft: `0x${string}`;
|
|
110
112
|
readonly token: `0x${string}`;
|
|
@@ -114,6 +116,23 @@ declare const OFT_ROUTES: {
|
|
|
114
116
|
readonly token: `0x${string}`;
|
|
115
117
|
};
|
|
116
118
|
};
|
|
119
|
+
/**
|
|
120
|
+
* PYUSD — PayPal USD bridged via OFTAdapter (Paxos / LayerZero).
|
|
121
|
+
* Lock/mint architecture: locks PYUSD on Arbitrum, mints PYUSD0 on Flow EVM.
|
|
122
|
+
* On Arbitrum: OFTAdapter wraps native PYUSD (0x46850a...).
|
|
123
|
+
* On Flow: OFTAdapter wraps PYUSD0 (0x99aF3E...), which is the native Paxos token.
|
|
124
|
+
* Routes verified: Arb↔Flow ✓ (EID 30336). No Eth or Base peers.
|
|
125
|
+
*/
|
|
126
|
+
readonly PYUSD: {
|
|
127
|
+
readonly 747: {
|
|
128
|
+
readonly oft: `0x${string}`;
|
|
129
|
+
readonly token: `0x${string}`;
|
|
130
|
+
};
|
|
131
|
+
readonly 42161: {
|
|
132
|
+
readonly oft: `0x${string}`;
|
|
133
|
+
readonly token: `0x${string}`;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
117
136
|
/**
|
|
118
137
|
* WFLOW — Wrapped FLOW NativeOFTAdapter (issued by Flow Foundation).
|
|
119
138
|
* Routes verified: Eth→Flow ✓
|
|
@@ -354,7 +373,7 @@ declare const OFT_ROUTES: {
|
|
|
354
373
|
/**
|
|
355
374
|
* oftCmd for Stargate v2 taxi mode (immediate per-message delivery).
|
|
356
375
|
* Pass as `oftCmd` in SendParam when using stgUSDC, USDT, or WETH OFT_ROUTES entries.
|
|
357
|
-
* Non-Stargate OFTs (
|
|
376
|
+
* Non-Stargate OFTs (USDF, WFLOW, sUSDe, USDe, weETH, rsETH) use empty bytes — pass `'0x'` instead.
|
|
358
377
|
*/
|
|
359
378
|
declare const STARGATE_TAXI_CMD: "0x01";
|
|
360
379
|
/**
|
package/dist/viem/index.js
CHANGED
|
@@ -96,10 +96,12 @@ var OFT_ROUTES = {
|
|
|
96
96
|
]: { oft: "0x19cFCE47eD54a88614648DC3f19A5980097007dD", token: "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58" }
|
|
97
97
|
},
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* USDF — USD Flow OFT. Bridges PYUSD (Ethereum) ↔ USDF (Flow EVM).
|
|
100
|
+
* On Ethereum: underlying is PayPal USD (PYUSD, 0x6c3ea9...).
|
|
101
|
+
* On Flow: the OFT itself IS the token (USDF, 0x2aabea...).
|
|
100
102
|
* Routes verified: Eth→Flow ✓
|
|
101
103
|
*/
|
|
102
|
-
|
|
104
|
+
USDF: {
|
|
103
105
|
[
|
|
104
106
|
747
|
|
105
107
|
/* flowEVMMainnet */
|
|
@@ -109,6 +111,23 @@ var OFT_ROUTES = {
|
|
|
109
111
|
/* ethereum */
|
|
110
112
|
]: { oft: "0xfa0e06b54986ad96de87a8c56fea76fbd8d493f8", token: "0x6c3ea9036406852006290770BEdFcAbA0e23A0e8" }
|
|
111
113
|
},
|
|
114
|
+
/**
|
|
115
|
+
* PYUSD — PayPal USD bridged via OFTAdapter (Paxos / LayerZero).
|
|
116
|
+
* Lock/mint architecture: locks PYUSD on Arbitrum, mints PYUSD0 on Flow EVM.
|
|
117
|
+
* On Arbitrum: OFTAdapter wraps native PYUSD (0x46850a...).
|
|
118
|
+
* On Flow: OFTAdapter wraps PYUSD0 (0x99aF3E...), which is the native Paxos token.
|
|
119
|
+
* Routes verified: Arb↔Flow ✓ (EID 30336). No Eth or Base peers.
|
|
120
|
+
*/
|
|
121
|
+
PYUSD: {
|
|
122
|
+
[
|
|
123
|
+
747
|
|
124
|
+
/* flowEVMMainnet */
|
|
125
|
+
]: { oft: "0x26d27d5AF2F6f1c14F40013C8619d97aaf015509", token: "0x99aF3EeA856556646C98c8B9b2548Fe815240750" },
|
|
126
|
+
[
|
|
127
|
+
42161
|
|
128
|
+
/* arbitrum */
|
|
129
|
+
]: { oft: "0x3CD2b89C49D130C08f1d683225b2e5DeB63ff876", token: "0x46850aD61C2B7d64d08c9C754F45254596696984" }
|
|
130
|
+
},
|
|
112
131
|
/**
|
|
113
132
|
* WFLOW — Wrapped FLOW NativeOFTAdapter (issued by Flow Foundation).
|
|
114
133
|
* Routes verified: Eth→Flow ✓
|