@optimex-xyz/market-maker-sdk 0.7.0 → 0.8.0-dev-91a0821

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
@@ -1,5 +1,13 @@
1
1
  # PMM API Integration Documentation
2
2
 
3
+ > **CHANGELOG (v0.7.1)**:
4
+ > - **Breaking Changes:**
5
+ > - Environment key `dev` has been renamed to `staging` - please update your environment configuration accordingly
6
+ > - Several functions from `routerService` moved to `protocolService`
7
+ > - **Upgrade Notes:**
8
+ > - For PMMs using version 6.2, you can update to v0.7.1 without needing to change anything
9
+ > - If you need to use the Router, please use the values provided in the environment configuration section
10
+
3
11
  > **Note**: If you prefer using the SDK instead of direct API integration, please refer to the [PMM SDK Integration Guide](sdk-integration.md).
4
12
 
5
13
  A comprehensive guide for implementing Private Market Makers (PMMs) in the cross-chain trading network. This documentation covers the required integration points between PMMs and our solver backend, enabling cross-chain liquidity provision and settlement.
@@ -22,6 +30,8 @@ A comprehensive guide for implementing Private Market Makers (PMMs) in the cross
22
30
  - [5. PMM Making Payment](#5-pmm-making-payment)
23
31
  - [5.1. EVM](#51-evm)
24
32
  - [5.2. Bitcoin](#52-bitcoin)
33
+
34
+
25
35
  ## 1. Overview
26
36
 
27
37
  The PMM integration with Optimex involves bidirectional API communication:
@@ -68,16 +78,18 @@ sequenceDiagram
68
78
 
69
79
  | Environment | Description |
70
80
  | ---------------- | -------------------------------------------------------------------- |
71
- | `dev` | Development environment with test networks and staging services |
81
+ | `dev` | internal environment with test networks and development services |
82
+ | `staging` | Staging environment with test networks and staging services |
72
83
  | `prelive` | Pre production environment with mainnet networks for testing before release |
73
84
  | `production` | Production environment with mainnet networks and production services |
74
85
 
75
86
  <details>
76
- <summary><strong>Development Contracts</strong></summary>
87
+ <summary><strong>Staging Contracts</strong></summary>
77
88
 
78
89
  **Optimex L2 Testnet**
79
90
  - **Signer**: [0xA89F5060B810F3b6027D7663880c43ee77A865C7](https://scan-testnet.optimex.xyz/address/0xA89F5060B810F3b6027D7663880c43ee77A865C7)
80
- - **Router**: [0x193501E5F72a42DACCF8Eb1C4AB37561c213309D](https://scan-testnet.optimex.xyz/address/0x193501E5F72a42DACCF8Eb1C4AB37561c213309D)
91
+ - **Router**: [0xa6E13A3c6c63C64d45bB453E0402B7D2eE53E564](https://scan-testnet.optimex.xyz/address/0xa6E13A3c6c63C64d45bB453E0402B7D2eE53E564)
92
+ - **ProtocolFetcherProxy**: [0x7c07151ca4DFd93F352Ab9B132A95866697c38c2](https://scan-testnet.optimex.xyz/address/0x7c07151ca4DFd93F352Ab9B132A95866697c38c2)
81
93
 
82
94
  **Ethereum Sepolia**
83
95
  - **Payment**: [0x7387DcCfE2f1D5F80b4ECDF91eF58541517e90D2](https://sepolia.etherscan.io/address/0x7387DcCfE2f1D5F80b4ECDF91eF58541517e90D2)
@@ -94,7 +106,8 @@ sequenceDiagram
94
106
 
95
107
  **Optimex L2 Mainnet**
96
108
  - **Signer**: [0xCF9786F123F1071023dB8049808C223e94c384be](https://scan.optimex.xyz/address/0xCF9786F123F1071023dB8049808C223e94c384be)
97
- - **Router**: [0xcceAb862dD41f6691d81Cc016216Cd45d7BD6D4A](https://scan.optimex.xyz/address/0xcceAb862dD41f6691d81Cc016216Cd45d7BD6D4A)
109
+ - **Router**: [0xF7fedF4A250157010807E6eA60258E3B768149Ff](https://scan.optimex.xyz/address/0xF7fedF4A250157010807E6eA60258E3B768149Ff)
110
+ - **ProtocolFetcherProxy**: [0xFDEd4CEf9aE1E03D0BeF161262a266c1c157a32b](https://scan.optimex.xyz/address/0xFDEd4CEf9aE1E03D0BeF161262a266c1c157a32b)
98
111
 
99
112
  **Ethereum Mainnet**
100
113
  - **Payment**: [0x0A497AC4261E37FA4062762C23Cf3cB642C839b8](https://etherscan.io/address/0x0A497AC4261E37FA4062762C23Cf3cB642C839b8)