@pafi-dev/core 0.15.0 → 0.17.0

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/index.cjs CHANGED
@@ -203,7 +203,11 @@ var BROKER_HASHES = {
203
203
  /** Orderly's own white-label broker. */
204
204
  orderly: _viem.keccak256.call(void 0, _viem.encodePacked.call(void 0, ["string"], ["orderly"])),
205
205
  /** LogX. */
206
- logx: _viem.keccak256.call(void 0, _viem.encodePacked.call(void 0, ["string"], ["logx"]))
206
+ logx: _viem.keccak256.call(void 0, _viem.encodePacked.call(void 0, ["string"], ["logx"])),
207
+ /** Orderly's demo broker — whitelisted on Base mainnet for dev/test
208
+ * integrations. Same Vault, same path; an Orderly demo account is
209
+ * independent from production accounts. */
210
+ demo: _viem.keccak256.call(void 0, _viem.encodePacked.call(void 0, ["string"], ["demo"]))
207
211
  };
208
212
  var TOKEN_HASHES = {
209
213
  USDC: _viem.keccak256.call(void 0, _viem.encodePacked.call(void 0, ["string"], ["USDC"]))
@@ -835,7 +839,11 @@ var CONTRACT_ADDRESSES = {
835
839
  chainlinkEthUsd: "0x71041dddad3595F9CEd3DcCFBe3D1F4b0a16Bb70",
836
840
  orderlyRelay: "0xDA082DAce1522c185aeB5A713FcA6fa6B6E99e7f",
837
841
  pafiFeeRecipient: "0xa3F71eadEd101513a0151007590020dCFD7C495e",
838
- universalRouter: "0x6fF5693b99212Da76ad316178A184AB56D299b43"
842
+ // PAFI fork UniversalRouter — DIFFERS from Uniswap canonical Base UR
843
+ // (`0x6fF5693b...`). The PAFI fork has its own factory + poolInitCodeHash,
844
+ // so only this UR can route through PAFI v3 fork pools. Keep in sync with
845
+ // `UNIVERSAL_ROUTER_ADDRESSES` in `chains.ts`.
846
+ universalRouter: "0x008887C992A5bDC24097E717Bfb71CE89483c5A2"
839
847
  },
840
848
  // Base Sepolia — not in active use; placeholders kept so the map
841
849
  // compiles for tooling that enumerates chains.