@gooddollar/goodcollective-contracts 1.0.2 → 1.0.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.
@@ -64,7 +64,7 @@ contract DirectPaymentsPool is
64
64
  uint128[] rewardPerEvent;
65
65
  address manager;
66
66
  IMembersValidator membersValidator;
67
- IIdentityV2 uniqunessValidator;
67
+ IIdentityV2 uniquenessValidator;
68
68
  IERC20Upgradeable rewardToken;
69
69
  }
70
70
 
@@ -279,8 +279,8 @@ contract DirectPaymentsPool is
279
279
  */
280
280
 
281
281
  function addMember(address member, bytes memory extraData) external {
282
- if (address(settings.uniqunessValidator) != address(0)) {
283
- address rootAddress = settings.uniqunessValidator.getWhitelistedRoot(member);
282
+ if (address(settings.uniquenessValidator) != address(0)) {
283
+ address rootAddress = settings.uniquenessValidator.getWhitelistedRoot(member);
284
284
  if (rootAddress == address(0)) revert NOT_WHITELISTED(member);
285
285
  }
286
286
 
@@ -40,7 +40,7 @@ abstract contract GoodCollectiveSuperApp is SuperAppBaseFlow {
40
40
  address swapFrom;
41
41
  uint256 amount;
42
42
  uint256 minReturn;
43
- uint256 timestamp;
43
+ uint256 deadline;
44
44
  bytes path;
45
45
  }
46
46
 
@@ -151,7 +151,7 @@ abstract contract GoodCollectiveSuperApp is SuperAppBaseFlow {
151
151
  ISwapRouter.ExactInputParams memory params = ISwapRouter.ExactInputParams({
152
152
  path: _customData.path,
153
153
  recipient: _sender,
154
- deadline: _customData.timestamp,
154
+ deadline: _customData.deadline,
155
155
  amountIn: _customData.amount,
156
156
  amountOutMinimum: _customData.minReturn
157
157
  });
@@ -163,7 +163,7 @@ abstract contract GoodCollectiveSuperApp is SuperAppBaseFlow {
163
163
  tokenOut: address(superToken),
164
164
  fee: 10000,
165
165
  recipient: _sender,
166
- deadline: _customData.timestamp,
166
+ deadline: _customData.deadline,
167
167
  amountIn: _customData.amount,
168
168
  amountOutMinimum: _customData.minReturn,
169
169
  sqrtPriceLimitX96: 0
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gooddollar/goodcollective-contracts",
3
3
  "packageManager": "yarn@3.2.1",
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "license": "MIT",
6
6
  "types": "./typechain-types/index.ts",
7
7
  "files": [