@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.d.cts CHANGED
@@ -309,6 +309,10 @@ declare const BROKER_HASHES: {
309
309
  readonly orderly: `0x${string}`;
310
310
  /** LogX. */
311
311
  readonly logx: `0x${string}`;
312
+ /** Orderly's demo broker — whitelisted on Base mainnet for dev/test
313
+ * integrations. Same Vault, same path; an Orderly demo account is
314
+ * independent from production accounts. */
315
+ readonly demo: `0x${string}`;
312
316
  };
313
317
  /**
314
318
  * Pre-computed token hashes — `keccak256(abi.encodePacked(tokenSymbol))`.
package/dist/index.d.ts CHANGED
@@ -309,6 +309,10 @@ declare const BROKER_HASHES: {
309
309
  readonly orderly: `0x${string}`;
310
310
  /** LogX. */
311
311
  readonly logx: `0x${string}`;
312
+ /** Orderly's demo broker — whitelisted on Base mainnet for dev/test
313
+ * integrations. Same Vault, same path; an Orderly demo account is
314
+ * independent from production accounts. */
315
+ readonly demo: `0x${string}`;
312
316
  };
313
317
  /**
314
318
  * Pre-computed token hashes — `keccak256(abi.encodePacked(tokenSymbol))`.
package/dist/index.js CHANGED
@@ -203,7 +203,11 @@ var BROKER_HASHES = {
203
203
  /** Orderly's own white-label broker. */
204
204
  orderly: keccak256(encodePacked(["string"], ["orderly"])),
205
205
  /** LogX. */
206
- logx: keccak256(encodePacked(["string"], ["logx"]))
206
+ logx: keccak256(encodePacked(["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: keccak256(encodePacked(["string"], ["demo"]))
207
211
  };
208
212
  var TOKEN_HASHES = {
209
213
  USDC: keccak256(encodePacked(["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.