@1inch/fusion-sdk 2.3.9-rc.7 → 2.3.9-rc.8

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.
@@ -76,6 +76,11 @@
76
76
  "internalType": "MakerTraits"
77
77
  }
78
78
  ]
79
+ },
80
+ {
81
+ "name": "rewardLimit",
82
+ "type": "uint256",
83
+ "internalType": "uint256"
79
84
  }
80
85
  ],
81
86
  "outputs": [],
@@ -112,14 +112,15 @@ var NativeOrdersImpl = /*#__PURE__*/ function() {
112
112
  },
113
113
  {
114
114
  key: "cancelExpiredOrderByResolver",
115
- value: function cancelExpiredOrderByResolver(maker, order) {
115
+ value: function cancelExpiredOrderByResolver(maker, order, rewardLimit) {
116
116
  return {
117
117
  to: this.address,
118
118
  value: 0n,
119
119
  data: this.iface.encodeFunctionData('cancelExpiredOrderByResolver', [
120
120
  _object_spread_props(_object_spread({}, order), {
121
121
  maker: maker.toString()
122
- })
122
+ }),
123
+ rewardLimit
123
124
  ])
124
125
  };
125
126
  }
@@ -76,6 +76,11 @@
76
76
  "internalType": "MakerTraits"
77
77
  }
78
78
  ]
79
+ },
80
+ {
81
+ "name": "rewardLimit",
82
+ "type": "uint256",
83
+ "internalType": "uint256"
79
84
  }
80
85
  ],
81
86
  "outputs": [],
@@ -97,14 +97,15 @@ export var NativeOrdersImpl = /*#__PURE__*/ function() {
97
97
  },
98
98
  {
99
99
  key: "cancelExpiredOrderByResolver",
100
- value: function cancelExpiredOrderByResolver(maker, order) {
100
+ value: function cancelExpiredOrderByResolver(maker, order, rewardLimit) {
101
101
  return {
102
102
  to: this.address,
103
103
  value: 0n,
104
104
  data: this.iface.encodeFunctionData('cancelExpiredOrderByResolver', [
105
105
  _object_spread_props(_object_spread({}, order), {
106
106
  maker: maker.toString()
107
- })
107
+ }),
108
+ rewardLimit
108
109
  ])
109
110
  };
110
111
  }
@@ -1 +1 @@
1
- {"name":"@1inch/fusion-sdk","version":"2.3.9-rc.7","type":"module"}
1
+ {"name":"@1inch/fusion-sdk","version":"2.3.9-rc.8","type":"module"}
@@ -5,5 +5,5 @@ export declare class NativeOrdersImpl {
5
5
  private readonly iface;
6
6
  constructor(address: Address);
7
7
  cancel(maker: Address, order: LimitOrderV4Struct): CallInfo;
8
- cancelExpiredOrderByResolver(maker: Address, order: LimitOrderV4Struct): CallInfo;
8
+ cancelExpiredOrderByResolver(maker: Address, order: LimitOrderV4Struct, rewardLimit: bigint): CallInfo;
9
9
  }