@evvm/testnet-contracts 2.2.2 → 2.2.3

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
@@ -79,16 +79,6 @@ Security & contributing (short)
79
79
  - Never commit private keys. Use `cast wallet import`.
80
80
  - Add tests for new features and open a PR.
81
81
 
82
- If you want, I can further shorten a specific section (CLI, Library, or Troubleshooting).
83
-
84
-
85
- **Development Flow Context**: This repository is the next step after successful playground testing. It is dedicated to advanced integration, deployment, and validation on public testnets, before mainnet implementation.
86
-
87
- ### Development Flow
88
- 1. **Playground**: Prototype and experiment with new features in the playground repo.
89
- 2. **Testnet (this repo)**: Integrate, test, and validate on public testnets.
90
- 3. **Mainnet**: After successful testnet validation, proceed to mainnet deployment.
91
-
92
82
  ### How to Contribute
93
83
  1. Fork the repository
94
84
  2. Create a feature branch and make changes
@@ -128,9 +128,9 @@ contract P2PSwap is
128
128
  requestPay(
129
129
  user,
130
130
  metadata.tokenA,
131
- _nonce_Evvm,
132
131
  metadata.amountA,
133
132
  _priorityFee_Evvm,
133
+ _nonce_Evvm,
134
134
  _priority_Evvm,
135
135
  _signature_Evvm
136
136
  );
@@ -219,9 +219,9 @@ contract P2PSwap is
219
219
  requestPay(
220
220
  user,
221
221
  MATE_TOKEN_ADDRESS,
222
- _nonce_Evvm,
223
222
  0,
224
223
  _priorityFee_Evvm,
224
+ _nonce_Evvm,
225
225
  _priority_Evvm,
226
226
  _signature_Evvm
227
227
  );
@@ -295,9 +295,9 @@ contract P2PSwap is
295
295
  requestPay(
296
296
  user,
297
297
  metadata.tokenB,
298
- _nonce_Evvm,
299
298
  metadata.amountOfTokenBToFill,
300
299
  _priorityFee_Evvm,
300
+ _nonce_Evvm,
301
301
  _priority_Evvm,
302
302
  _signature_Evvm
303
303
  );
@@ -416,9 +416,9 @@ contract P2PSwap is
416
416
  requestPay(
417
417
  user,
418
418
  metadata.tokenB,
419
- _nonce_Evvm,
420
419
  metadata.amountOfTokenBToFill,
421
420
  _priorityFee_Evvm,
421
+ _nonce_Evvm,
422
422
  _priority_Evvm,
423
423
  _signature_Evvm
424
424
  );
@@ -8,7 +8,9 @@ import {IEvvm, EvvmStructs} from "@evvm/testnet-contracts/interfaces/IEvvm.sol";
8
8
  abstract contract EvvmPayments {
9
9
  IEvvm internal evvm;
10
10
 
11
- constructor(address evvmAddress) {}
11
+ constructor(address evvmAddress) {
12
+ evvm = IEvvm(evvmAddress);
13
+ }
12
14
 
13
15
  function requestPay(
14
16
  address from,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evvm/testnet-contracts",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "type": "module",
5
5
  "description": "EVVM Testnet Contracts - Smart contracts and tools for scalable, modular, and cross-chain EVM virtualization",
6
6
  "files": [