@switch-win/sdk 1.0.4 → 1.0.5

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/README.md CHANGED
@@ -618,13 +618,13 @@ GET /swap/quote?network=pulsechain&from=0xA1077a294dDE1B09bB078844df40758a5D0f9a
618
618
  // Transaction object — only present when `sender` is provided
619
619
  // ⚠️ Always use tx.to from this response — do NOT hardcode the router address
620
620
  "tx": {
621
- "to": "0x99999d19eC98F936934e029e63D1C0A127a15207",
621
+ "to": "0xc6d4f096A7a4B3d534DEa725821346Ee1b4FE5CE",
622
622
  "data": "0x...", // ABI-encoded goSwitch() calldata with feeOnOutput = false
623
623
  "value": "0" // "0" for ERC-20 input; amountIn for native PLS input
624
624
  },
625
625
  // Same swap but with fee taken from the output token instead
626
626
  "txFeeOnOutput": {
627
- "to": "0x99999d19eC98F936934e029e63D1C0A127a15207",
627
+ "to": "0xc6d4f096A7a4B3d534DEa725821346Ee1b4FE5CE",
628
628
  "data": "0x...", // ABI-encoded goSwitch() calldata with feeOnOutput = true
629
629
  "value": "0"
630
630
  }
@@ -892,9 +892,9 @@ All constants are importable from [`src/constants.ts`](src/constants.ts).
892
892
  | Name | Value |
893
893
  |---|---|
894
894
  | **Chain** | PulseChain (Chain ID `369`) |
895
- | **SwitchRouter** | `0x99999d19eC98F936934e029e63D1C0A127a15207` |
896
- | **SwitchLimitOrder** | `0x79925587bE77C25b292C0ecA6FEdD3A3f07916F9` |
897
- | **SwitchPLSFlow** | `0x79D1Ce697509D75D79c6cA8f9232ee6ca6Df379a` |
895
+ | **SwitchRouter** | `0xc6d4f096A7a4B3d534DEa725821346Ee1b4FE5CE` |
896
+ | **SwitchLimitOrder** | `0x0e884072a891b406C0D814907A1E2310fE5F5Deb` |
897
+ | **SwitchPLSFlow** | `0x88c9e2C83b6B7c707602e548481e58E920694E64` |
898
898
  | **Native PLS sentinel** | `0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE` |
899
899
  | **WPLS** | `0xA1077a294dDE1B09bB078844df40758a5D0f9a27` |
900
900
  | **Fee denominator** | `10000` (basis points) |