@exodus/ethereum-lib 3.3.29 → 3.3.30

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-lib",
3
- "version": "3.3.29",
3
+ "version": "3.3.30",
4
4
  "description": "Ethereum Library",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -44,5 +44,5 @@
44
44
  "ms": "^2.1.1",
45
45
  "reselect": "~3.0.1"
46
46
  },
47
- "gitHead": "2a2228b5c4b973f263c98cb8a7a17fa3c5c106cb"
47
+ "gitHead": "45dc3b2f0d2b7ac87c5bd490c5e568bab7a0cb6e"
48
48
  }
@@ -237,7 +237,7 @@ export default [
237
237
  {
238
238
  inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
239
239
  name: 'autocompoundBalanceOf',
240
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
240
+ outputs: [{ internalType: 'uint256', name: 'autocompoundBalance', type: 'uint256' }],
241
241
  stateMutability: 'view',
242
242
  type: 'function',
243
243
  },
@@ -338,6 +338,13 @@ export default [
338
338
  stateMutability: 'view',
339
339
  type: 'function',
340
340
  },
341
+ {
342
+ inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
343
+ name: 'restakedRewardOf',
344
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
345
+ stateMutability: 'view',
346
+ type: 'function',
347
+ },
341
348
  {
342
349
  inputs: [],
343
350
  name: 'withdrawRequestQueueParams',
@@ -80,7 +80,16 @@ export default [
80
80
  inputs: [
81
81
  { indexed: false, internalType: 'address', name: 'staker', type: 'address' },
82
82
  { indexed: false, internalType: 'uint256', name: 'value', type: 'uint256' },
83
- { indexed: false, internalType: 'uint256', name: 'source', type: 'uint256' },
83
+ ],
84
+ name: 'StakeActivated',
85
+ type: 'event',
86
+ },
87
+ {
88
+ anonymous: false,
89
+ inputs: [
90
+ { indexed: false, internalType: 'address', name: 'staker', type: 'address' },
91
+ { indexed: false, internalType: 'uint256', name: 'value', type: 'uint256' },
92
+ { indexed: false, internalType: 'uint64', name: 'source', type: 'uint64' },
84
93
  ],
85
94
  name: 'StakeAdded',
86
95
  type: 'event',
@@ -105,6 +114,7 @@ export default [
105
114
  inputs: [
106
115
  { indexed: false, internalType: 'address', name: 'staker', type: 'address' },
107
116
  { indexed: false, internalType: 'uint256', name: 'value', type: 'uint256' },
117
+ { indexed: false, internalType: 'uint64', name: 'source', type: 'uint64' },
108
118
  ],
109
119
  name: 'Unstake',
110
120
  type: 'event',
@@ -186,13 +196,30 @@ export default [
186
196
  type: 'function',
187
197
  },
188
198
  {
189
- inputs: [{ internalType: 'uint256', name: 'value', type: 'uint256' }],
199
+ inputs: [
200
+ { internalType: 'uint256', name: 'value', type: 'uint256' },
201
+ { internalType: 'bool', name: 'isAllowedInterchange', type: 'bool' },
202
+ { internalType: 'uint64', name: 'source', type: 'uint64' },
203
+ ],
190
204
  name: 'unstake',
191
205
  outputs: [],
192
206
  stateMutability: 'nonpayable',
193
207
  type: 'function',
194
208
  },
195
- { inputs: [], name: 'restake', outputs: [], stateMutability: 'payable', type: 'function' },
209
+ {
210
+ inputs: [],
211
+ name: 'activateStake',
212
+ outputs: [],
213
+ stateMutability: 'nonpayable',
214
+ type: 'function',
215
+ },
216
+ {
217
+ inputs: [{ internalType: 'uint256', name: 'activatedSlots', type: 'uint256' }],
218
+ name: 'restake',
219
+ outputs: [],
220
+ stateMutability: 'payable',
221
+ type: 'function',
222
+ },
196
223
  {
197
224
  inputs: [
198
225
  {