@pushchain/core 0.1.16 → 0.1.18
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 +11 -226
- package/package.json +1 -1
- package/src/lib/constants/abi/factoryV1.d.ts +15 -16
- package/src/lib/constants/abi/factoryV1.js +276 -193
- package/src/lib/constants/abi/factoryV1.js.map +1 -1
- package/src/lib/constants/abi/feeLocker.evm.d.ts +22 -22
- package/src/lib/constants/abi/feeLocker.evm.js +273 -229
- package/src/lib/constants/abi/feeLocker.evm.js.map +1 -1
- package/src/lib/constants/abi/index.d.ts +2 -2
- package/src/lib/constants/abi/index.js +5 -5
- package/src/lib/constants/abi/index.js.map +1 -1
- package/src/lib/constants/abi/{smartAccount.evm.d.ts → uea.evm.d.ts} +15 -22
- package/src/lib/constants/abi/{smartAccount.evm.js → uea.evm.js} +49 -59
- package/src/lib/constants/abi/uea.evm.js.map +1 -0
- package/src/lib/constants/abi/{smartAccount.svm.d.ts → uea.svm.d.ts} +15 -22
- package/src/lib/constants/abi/{smartAccount.svm.js → uea.svm.js} +49 -59
- package/src/lib/constants/abi/uea.svm.js.map +1 -0
- package/src/lib/constants/chain.js +7 -7
- package/src/lib/constants/chain.js.map +1 -1
- package/src/lib/generated/v1/tx.d.ts +44 -31
- package/src/lib/generated/v1/tx.js +120 -157
- package/src/lib/generated/v1/tx.js.map +1 -1
- package/src/lib/orchestrator/orchestrator.d.ts +28 -21
- package/src/lib/orchestrator/orchestrator.js +170 -218
- package/src/lib/orchestrator/orchestrator.js.map +1 -1
- package/src/lib/orchestrator/orchestrator.types.d.ts +1 -1
- package/src/lib/price-fetch/price-fetch.js +23 -13
- package/src/lib/price-fetch/price-fetch.js.map +1 -1
- package/src/lib/push-client/push-client.d.ts +10 -3
- package/src/lib/push-client/push-client.js +25 -6
- package/src/lib/push-client/push-client.js.map +1 -1
- package/src/lib/pushChain.d.ts +28 -17
- package/src/lib/pushChain.js +33 -15
- package/src/lib/pushChain.js.map +1 -1
- package/src/lib/universal/account/account.js +3 -11
- package/src/lib/universal/account/account.js.map +1 -1
- package/src/lib/universal/signer/signer.js +4 -3
- package/src/lib/universal/signer/signer.js.map +1 -1
- package/src/lib/constants/abi/smartAccount.evm.js.map +0 -1
- package/src/lib/constants/abi/smartAccount.svm.js.map +0 -1
|
@@ -2,346 +2,390 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.FEE_LOCKER_EVM = void 0;
|
|
4
4
|
exports.FEE_LOCKER_EVM = [
|
|
5
|
-
{ inputs: [], name: 'AccessControlBadConfirmation', type: 'error' },
|
|
6
5
|
{
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
],
|
|
11
|
-
|
|
12
|
-
type: 'error',
|
|
6
|
+
type: 'function',
|
|
7
|
+
name: 'DEFAULT_ADMIN_ROLE',
|
|
8
|
+
inputs: [],
|
|
9
|
+
outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
|
|
10
|
+
stateMutability: 'view',
|
|
13
11
|
},
|
|
14
12
|
{
|
|
15
|
-
|
|
16
|
-
name: '
|
|
17
|
-
|
|
13
|
+
type: 'function',
|
|
14
|
+
name: 'UNISWAP_ROUTER',
|
|
15
|
+
inputs: [],
|
|
16
|
+
outputs: [{ name: '', type: 'address', internalType: 'address' }],
|
|
17
|
+
stateMutability: 'view',
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
],
|
|
23
|
-
name: '
|
|
24
|
-
|
|
20
|
+
type: 'function',
|
|
21
|
+
name: 'UPGRADE_INTERFACE_VERSION',
|
|
22
|
+
inputs: [],
|
|
23
|
+
outputs: [{ name: '', type: 'string', internalType: 'string' }],
|
|
24
|
+
stateMutability: 'view',
|
|
25
25
|
},
|
|
26
|
-
{ inputs: [], name: 'ERC1967NonPayable', type: 'error' },
|
|
27
|
-
{ inputs: [], name: 'FailedCall', type: 'error' },
|
|
28
|
-
{ inputs: [], name: 'InvalidInitialization', type: 'error' },
|
|
29
|
-
{ inputs: [], name: 'NotInitializing', type: 'error' },
|
|
30
|
-
{ inputs: [], name: 'ReentrancyGuardReentrantCall', type: 'error' },
|
|
31
26
|
{
|
|
32
|
-
|
|
33
|
-
name: '
|
|
34
|
-
|
|
27
|
+
type: 'function',
|
|
28
|
+
name: 'USDT',
|
|
29
|
+
inputs: [],
|
|
30
|
+
outputs: [{ name: '', type: 'address', internalType: 'address' }],
|
|
31
|
+
stateMutability: 'view',
|
|
35
32
|
},
|
|
36
|
-
{ inputs: [], name: 'UUPSUnauthorizedCallContext', type: 'error' },
|
|
37
33
|
{
|
|
38
|
-
|
|
39
|
-
name: '
|
|
40
|
-
|
|
34
|
+
type: 'function',
|
|
35
|
+
name: 'WETH',
|
|
36
|
+
inputs: [],
|
|
37
|
+
outputs: [{ name: '', type: 'address', internalType: 'address' }],
|
|
38
|
+
stateMutability: 'view',
|
|
41
39
|
},
|
|
42
40
|
{
|
|
43
|
-
|
|
41
|
+
type: 'function',
|
|
42
|
+
name: 'addFunds',
|
|
44
43
|
inputs: [
|
|
45
|
-
{ indexed: true, internalType: 'address', name: 'user', type: 'address' },
|
|
46
44
|
{
|
|
47
|
-
|
|
48
|
-
internalType: 'bytes32',
|
|
49
|
-
name: 'transactionHash',
|
|
45
|
+
name: '_transactionHash',
|
|
50
46
|
type: 'bytes32',
|
|
51
|
-
|
|
52
|
-
{
|
|
53
|
-
components: [
|
|
54
|
-
{ internalType: 'uint256', name: 'amountInUSD', type: 'uint256' },
|
|
55
|
-
{ internalType: 'uint8', name: 'decimals', type: 'uint8' },
|
|
56
|
-
],
|
|
57
|
-
indexed: false,
|
|
58
|
-
internalType: 'struct PushLocker.AmountInUSD',
|
|
59
|
-
name: 'AmountInUSD',
|
|
60
|
-
type: 'tuple',
|
|
47
|
+
internalType: 'bytes32',
|
|
61
48
|
},
|
|
62
49
|
],
|
|
63
|
-
|
|
64
|
-
|
|
50
|
+
outputs: [],
|
|
51
|
+
stateMutability: 'payable',
|
|
65
52
|
},
|
|
66
53
|
{
|
|
67
|
-
|
|
68
|
-
|
|
54
|
+
type: 'function',
|
|
55
|
+
name: 'ethUsdPriceFeed',
|
|
56
|
+
inputs: [],
|
|
57
|
+
outputs: [
|
|
69
58
|
{
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
type: 'uint64',
|
|
59
|
+
name: '',
|
|
60
|
+
type: 'address',
|
|
61
|
+
internalType: 'contract AggregatorV3Interface',
|
|
74
62
|
},
|
|
75
63
|
],
|
|
76
|
-
|
|
77
|
-
type: 'event',
|
|
64
|
+
stateMutability: 'view',
|
|
78
65
|
},
|
|
79
66
|
{
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
name: 'previousAdminRole',
|
|
87
|
-
type: 'bytes32',
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
indexed: true,
|
|
91
|
-
internalType: 'bytes32',
|
|
92
|
-
name: 'newAdminRole',
|
|
93
|
-
type: 'bytes32',
|
|
94
|
-
},
|
|
67
|
+
type: 'function',
|
|
68
|
+
name: 'getEthUsdPrice',
|
|
69
|
+
inputs: [],
|
|
70
|
+
outputs: [
|
|
71
|
+
{ name: '', type: 'uint256', internalType: 'uint256' },
|
|
72
|
+
{ name: '', type: 'uint8', internalType: 'uint8' },
|
|
95
73
|
],
|
|
96
|
-
|
|
97
|
-
type: 'event',
|
|
74
|
+
stateMutability: 'view',
|
|
98
75
|
},
|
|
99
76
|
{
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
internalType: 'address',
|
|
106
|
-
name: 'account',
|
|
107
|
-
type: 'address',
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
indexed: true,
|
|
111
|
-
internalType: 'address',
|
|
112
|
-
name: 'sender',
|
|
113
|
-
type: 'address',
|
|
114
|
-
},
|
|
115
|
-
],
|
|
116
|
-
name: 'RoleGranted',
|
|
117
|
-
type: 'event',
|
|
77
|
+
type: 'function',
|
|
78
|
+
name: 'getRoleAdmin',
|
|
79
|
+
inputs: [{ name: 'role', type: 'bytes32', internalType: 'bytes32' }],
|
|
80
|
+
outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
|
|
81
|
+
stateMutability: 'view',
|
|
118
82
|
},
|
|
119
83
|
{
|
|
120
|
-
|
|
84
|
+
type: 'function',
|
|
85
|
+
name: 'grantRole',
|
|
121
86
|
inputs: [
|
|
122
|
-
{
|
|
123
|
-
{
|
|
124
|
-
indexed: true,
|
|
125
|
-
internalType: 'address',
|
|
126
|
-
name: 'account',
|
|
127
|
-
type: 'address',
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
indexed: true,
|
|
131
|
-
internalType: 'address',
|
|
132
|
-
name: 'sender',
|
|
133
|
-
type: 'address',
|
|
134
|
-
},
|
|
87
|
+
{ name: 'role', type: 'bytes32', internalType: 'bytes32' },
|
|
88
|
+
{ name: 'account', type: 'address', internalType: 'address' },
|
|
135
89
|
],
|
|
136
|
-
|
|
137
|
-
|
|
90
|
+
outputs: [],
|
|
91
|
+
stateMutability: 'nonpayable',
|
|
138
92
|
},
|
|
139
93
|
{
|
|
140
|
-
|
|
94
|
+
type: 'function',
|
|
95
|
+
name: 'hasRole',
|
|
141
96
|
inputs: [
|
|
142
|
-
{
|
|
143
|
-
|
|
144
|
-
internalType: 'address',
|
|
145
|
-
name: 'admin',
|
|
146
|
-
type: 'address',
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
indexed: true,
|
|
150
|
-
internalType: 'uint256',
|
|
151
|
-
name: 'amount',
|
|
152
|
-
type: 'uint256',
|
|
153
|
-
},
|
|
97
|
+
{ name: 'role', type: 'bytes32', internalType: 'bytes32' },
|
|
98
|
+
{ name: 'account', type: 'address', internalType: 'address' },
|
|
154
99
|
],
|
|
155
|
-
name: '
|
|
156
|
-
|
|
100
|
+
outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
|
|
101
|
+
stateMutability: 'view',
|
|
157
102
|
},
|
|
158
103
|
{
|
|
159
|
-
|
|
104
|
+
type: 'function',
|
|
105
|
+
name: 'initialize',
|
|
160
106
|
inputs: [
|
|
107
|
+
{ name: '_admin', type: 'address', internalType: 'address' },
|
|
108
|
+
{ name: '_weth', type: 'address', internalType: 'address' },
|
|
109
|
+
{ name: '_usdt', type: 'address', internalType: 'address' },
|
|
110
|
+
{ name: '_router', type: 'address', internalType: 'address' },
|
|
111
|
+
{ name: '_priceFeed', type: 'address', internalType: 'address' },
|
|
161
112
|
{
|
|
162
|
-
|
|
163
|
-
internalType: 'address',
|
|
164
|
-
name: 'implementation',
|
|
113
|
+
name: '_usdtPriceFeed',
|
|
165
114
|
type: 'address',
|
|
115
|
+
internalType: 'address',
|
|
166
116
|
},
|
|
167
117
|
],
|
|
168
|
-
|
|
169
|
-
|
|
118
|
+
outputs: [],
|
|
119
|
+
stateMutability: 'nonpayable',
|
|
170
120
|
},
|
|
171
121
|
{
|
|
122
|
+
type: 'function',
|
|
123
|
+
name: 'proxiableUUID',
|
|
172
124
|
inputs: [],
|
|
173
|
-
name: '
|
|
174
|
-
outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
|
|
125
|
+
outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
|
|
175
126
|
stateMutability: 'view',
|
|
176
|
-
type: 'function',
|
|
177
127
|
},
|
|
178
128
|
{
|
|
179
|
-
inputs: [],
|
|
180
|
-
name: 'UNISWAP_ROUTER',
|
|
181
|
-
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
182
|
-
stateMutability: 'view',
|
|
183
129
|
type: 'function',
|
|
130
|
+
name: 'recoverToken',
|
|
131
|
+
inputs: [
|
|
132
|
+
{ name: '_recipient', type: 'address', internalType: 'address' },
|
|
133
|
+
{ name: 'amount', type: 'uint256', internalType: 'uint256' },
|
|
134
|
+
],
|
|
135
|
+
outputs: [],
|
|
136
|
+
stateMutability: 'nonpayable',
|
|
184
137
|
},
|
|
185
138
|
{
|
|
186
|
-
inputs: [],
|
|
187
|
-
name: 'UPGRADE_INTERFACE_VERSION',
|
|
188
|
-
outputs: [{ internalType: 'string', name: '', type: 'string' }],
|
|
189
|
-
stateMutability: 'view',
|
|
190
139
|
type: 'function',
|
|
140
|
+
name: 'renounceRole',
|
|
141
|
+
inputs: [
|
|
142
|
+
{ name: 'role', type: 'bytes32', internalType: 'bytes32' },
|
|
143
|
+
{
|
|
144
|
+
name: 'callerConfirmation',
|
|
145
|
+
type: 'address',
|
|
146
|
+
internalType: 'address',
|
|
147
|
+
},
|
|
148
|
+
],
|
|
149
|
+
outputs: [],
|
|
150
|
+
stateMutability: 'nonpayable',
|
|
191
151
|
},
|
|
192
152
|
{
|
|
193
|
-
inputs: [],
|
|
194
|
-
name: 'USDT',
|
|
195
|
-
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
196
|
-
stateMutability: 'view',
|
|
197
153
|
type: 'function',
|
|
154
|
+
name: 'revokeRole',
|
|
155
|
+
inputs: [
|
|
156
|
+
{ name: 'role', type: 'bytes32', internalType: 'bytes32' },
|
|
157
|
+
{ name: 'account', type: 'address', internalType: 'address' },
|
|
158
|
+
],
|
|
159
|
+
outputs: [],
|
|
160
|
+
stateMutability: 'nonpayable',
|
|
198
161
|
},
|
|
199
162
|
{
|
|
200
|
-
inputs: [],
|
|
201
|
-
name: 'WETH',
|
|
202
|
-
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
203
|
-
stateMutability: 'view',
|
|
204
163
|
type: 'function',
|
|
164
|
+
name: 'supportsInterface',
|
|
165
|
+
inputs: [{ name: 'interfaceId', type: 'bytes4', internalType: 'bytes4' }],
|
|
166
|
+
outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
|
|
167
|
+
stateMutability: 'view',
|
|
205
168
|
},
|
|
206
169
|
{
|
|
170
|
+
type: 'function',
|
|
171
|
+
name: 'upgradeToAndCall',
|
|
207
172
|
inputs: [
|
|
208
|
-
{
|
|
173
|
+
{
|
|
174
|
+
name: 'newImplementation',
|
|
175
|
+
type: 'address',
|
|
176
|
+
internalType: 'address',
|
|
177
|
+
},
|
|
178
|
+
{ name: 'data', type: 'bytes', internalType: 'bytes' },
|
|
209
179
|
],
|
|
210
|
-
name: 'addFunds',
|
|
211
180
|
outputs: [],
|
|
212
181
|
stateMutability: 'payable',
|
|
213
|
-
type: 'function',
|
|
214
182
|
},
|
|
215
183
|
{
|
|
184
|
+
type: 'function',
|
|
185
|
+
name: 'usdtUsdPriceFeed',
|
|
216
186
|
inputs: [],
|
|
217
|
-
name: 'ethUsdPriceFeed',
|
|
218
187
|
outputs: [
|
|
219
188
|
{
|
|
220
|
-
internalType: 'contract AggregatorV3Interface',
|
|
221
189
|
name: '',
|
|
222
190
|
type: 'address',
|
|
191
|
+
internalType: 'contract AggregatorV3Interface',
|
|
223
192
|
},
|
|
224
193
|
],
|
|
225
194
|
stateMutability: 'view',
|
|
226
|
-
type: 'function',
|
|
227
195
|
},
|
|
228
196
|
{
|
|
229
|
-
|
|
230
|
-
name: '
|
|
231
|
-
|
|
232
|
-
{
|
|
233
|
-
|
|
197
|
+
type: 'event',
|
|
198
|
+
name: 'FundsAdded',
|
|
199
|
+
inputs: [
|
|
200
|
+
{
|
|
201
|
+
name: 'user',
|
|
202
|
+
type: 'address',
|
|
203
|
+
indexed: true,
|
|
204
|
+
internalType: 'address',
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
name: 'transactionHash',
|
|
208
|
+
type: 'bytes32',
|
|
209
|
+
indexed: true,
|
|
210
|
+
internalType: 'bytes32',
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
name: 'AmountInUSD',
|
|
214
|
+
type: 'tuple',
|
|
215
|
+
indexed: false,
|
|
216
|
+
internalType: 'struct UniversalGateway.AmountInUSD',
|
|
217
|
+
components: [
|
|
218
|
+
{
|
|
219
|
+
name: 'amountInUSD',
|
|
220
|
+
type: 'uint256',
|
|
221
|
+
internalType: 'uint256',
|
|
222
|
+
},
|
|
223
|
+
{ name: 'decimals', type: 'uint8', internalType: 'uint8' },
|
|
224
|
+
],
|
|
225
|
+
},
|
|
234
226
|
],
|
|
235
|
-
|
|
236
|
-
type: 'function',
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
inputs: [{ internalType: 'bytes32', name: 'role', type: 'bytes32' }],
|
|
240
|
-
name: 'getRoleAdmin',
|
|
241
|
-
outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
|
|
242
|
-
stateMutability: 'view',
|
|
243
|
-
type: 'function',
|
|
227
|
+
anonymous: false,
|
|
244
228
|
},
|
|
245
229
|
{
|
|
230
|
+
type: 'event',
|
|
231
|
+
name: 'Initialized',
|
|
246
232
|
inputs: [
|
|
247
|
-
{
|
|
248
|
-
|
|
233
|
+
{
|
|
234
|
+
name: 'version',
|
|
235
|
+
type: 'uint64',
|
|
236
|
+
indexed: false,
|
|
237
|
+
internalType: 'uint64',
|
|
238
|
+
},
|
|
249
239
|
],
|
|
250
|
-
|
|
251
|
-
outputs: [],
|
|
252
|
-
stateMutability: 'nonpayable',
|
|
253
|
-
type: 'function',
|
|
240
|
+
anonymous: false,
|
|
254
241
|
},
|
|
255
242
|
{
|
|
243
|
+
type: 'event',
|
|
244
|
+
name: 'RoleAdminChanged',
|
|
256
245
|
inputs: [
|
|
257
|
-
{
|
|
258
|
-
|
|
246
|
+
{
|
|
247
|
+
name: 'role',
|
|
248
|
+
type: 'bytes32',
|
|
249
|
+
indexed: true,
|
|
250
|
+
internalType: 'bytes32',
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
name: 'previousAdminRole',
|
|
254
|
+
type: 'bytes32',
|
|
255
|
+
indexed: true,
|
|
256
|
+
internalType: 'bytes32',
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
name: 'newAdminRole',
|
|
260
|
+
type: 'bytes32',
|
|
261
|
+
indexed: true,
|
|
262
|
+
internalType: 'bytes32',
|
|
263
|
+
},
|
|
259
264
|
],
|
|
260
|
-
|
|
261
|
-
outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
|
|
262
|
-
stateMutability: 'view',
|
|
263
|
-
type: 'function',
|
|
265
|
+
anonymous: false,
|
|
264
266
|
},
|
|
265
267
|
{
|
|
268
|
+
type: 'event',
|
|
269
|
+
name: 'RoleGranted',
|
|
266
270
|
inputs: [
|
|
267
|
-
{
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
271
|
+
{
|
|
272
|
+
name: 'role',
|
|
273
|
+
type: 'bytes32',
|
|
274
|
+
indexed: true,
|
|
275
|
+
internalType: 'bytes32',
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
name: 'account',
|
|
279
|
+
type: 'address',
|
|
280
|
+
indexed: true,
|
|
281
|
+
internalType: 'address',
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
name: 'sender',
|
|
285
|
+
type: 'address',
|
|
286
|
+
indexed: true,
|
|
287
|
+
internalType: 'address',
|
|
288
|
+
},
|
|
273
289
|
],
|
|
274
|
-
|
|
275
|
-
outputs: [],
|
|
276
|
-
stateMutability: 'nonpayable',
|
|
277
|
-
type: 'function',
|
|
290
|
+
anonymous: false,
|
|
278
291
|
},
|
|
279
292
|
{
|
|
280
|
-
|
|
281
|
-
name: '
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
293
|
+
type: 'event',
|
|
294
|
+
name: 'RoleRevoked',
|
|
295
|
+
inputs: [
|
|
296
|
+
{
|
|
297
|
+
name: 'role',
|
|
298
|
+
type: 'bytes32',
|
|
299
|
+
indexed: true,
|
|
300
|
+
internalType: 'bytes32',
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
name: 'account',
|
|
304
|
+
type: 'address',
|
|
305
|
+
indexed: true,
|
|
306
|
+
internalType: 'address',
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
name: 'sender',
|
|
310
|
+
type: 'address',
|
|
311
|
+
indexed: true,
|
|
312
|
+
internalType: 'address',
|
|
313
|
+
},
|
|
314
|
+
],
|
|
315
|
+
anonymous: false,
|
|
285
316
|
},
|
|
286
317
|
{
|
|
318
|
+
type: 'event',
|
|
319
|
+
name: 'TokenRecovered',
|
|
287
320
|
inputs: [
|
|
288
|
-
{
|
|
289
|
-
|
|
321
|
+
{
|
|
322
|
+
name: 'admin',
|
|
323
|
+
type: 'address',
|
|
324
|
+
indexed: true,
|
|
325
|
+
internalType: 'address',
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
name: 'amount',
|
|
329
|
+
type: 'uint256',
|
|
330
|
+
indexed: true,
|
|
331
|
+
internalType: 'uint256',
|
|
332
|
+
},
|
|
290
333
|
],
|
|
291
|
-
|
|
292
|
-
outputs: [],
|
|
293
|
-
stateMutability: 'nonpayable',
|
|
294
|
-
type: 'function',
|
|
334
|
+
anonymous: false,
|
|
295
335
|
},
|
|
296
336
|
{
|
|
337
|
+
type: 'event',
|
|
338
|
+
name: 'Upgraded',
|
|
297
339
|
inputs: [
|
|
298
|
-
{
|
|
299
|
-
|
|
340
|
+
{
|
|
341
|
+
name: 'implementation',
|
|
342
|
+
type: 'address',
|
|
343
|
+
indexed: true,
|
|
344
|
+
internalType: 'address',
|
|
345
|
+
},
|
|
300
346
|
],
|
|
301
|
-
|
|
302
|
-
outputs: [],
|
|
303
|
-
stateMutability: 'nonpayable',
|
|
304
|
-
type: 'function',
|
|
347
|
+
anonymous: false,
|
|
305
348
|
},
|
|
349
|
+
{ type: 'error', name: 'AccessControlBadConfirmation', inputs: [] },
|
|
306
350
|
{
|
|
351
|
+
type: 'error',
|
|
352
|
+
name: 'AccessControlUnauthorizedAccount',
|
|
307
353
|
inputs: [
|
|
308
|
-
{
|
|
309
|
-
{
|
|
354
|
+
{ name: 'account', type: 'address', internalType: 'address' },
|
|
355
|
+
{ name: 'neededRole', type: 'bytes32', internalType: 'bytes32' },
|
|
310
356
|
],
|
|
311
|
-
name: 'revokeRole',
|
|
312
|
-
outputs: [],
|
|
313
|
-
stateMutability: 'nonpayable',
|
|
314
|
-
type: 'function',
|
|
315
357
|
},
|
|
316
358
|
{
|
|
317
|
-
|
|
318
|
-
name: '
|
|
319
|
-
|
|
320
|
-
stateMutability: 'view',
|
|
321
|
-
type: 'function',
|
|
359
|
+
type: 'error',
|
|
360
|
+
name: 'AddressEmptyCode',
|
|
361
|
+
inputs: [{ name: 'target', type: 'address', internalType: 'address' }],
|
|
322
362
|
},
|
|
323
363
|
{
|
|
364
|
+
type: 'error',
|
|
365
|
+
name: 'ERC1967InvalidImplementation',
|
|
324
366
|
inputs: [
|
|
325
|
-
{ internalType: 'address', name: 'newImplementation', type: 'address' },
|
|
326
|
-
{ internalType: 'bytes', name: 'data', type: 'bytes' },
|
|
327
|
-
],
|
|
328
|
-
name: 'upgradeToAndCall',
|
|
329
|
-
outputs: [],
|
|
330
|
-
stateMutability: 'payable',
|
|
331
|
-
type: 'function',
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
inputs: [],
|
|
335
|
-
name: 'usdtUsdPriceFeed',
|
|
336
|
-
outputs: [
|
|
337
367
|
{
|
|
338
|
-
|
|
339
|
-
name: '',
|
|
368
|
+
name: 'implementation',
|
|
340
369
|
type: 'address',
|
|
370
|
+
internalType: 'address',
|
|
341
371
|
},
|
|
342
372
|
],
|
|
343
|
-
|
|
344
|
-
|
|
373
|
+
},
|
|
374
|
+
{ type: 'error', name: 'ERC1967NonPayable', inputs: [] },
|
|
375
|
+
{ type: 'error', name: 'FailedCall', inputs: [] },
|
|
376
|
+
{ type: 'error', name: 'InvalidInitialization', inputs: [] },
|
|
377
|
+
{ type: 'error', name: 'NotInitializing', inputs: [] },
|
|
378
|
+
{ type: 'error', name: 'ReentrancyGuardReentrantCall', inputs: [] },
|
|
379
|
+
{
|
|
380
|
+
type: 'error',
|
|
381
|
+
name: 'SafeERC20FailedOperation',
|
|
382
|
+
inputs: [{ name: 'token', type: 'address', internalType: 'address' }],
|
|
383
|
+
},
|
|
384
|
+
{ type: 'error', name: 'UUPSUnauthorizedCallContext', inputs: [] },
|
|
385
|
+
{
|
|
386
|
+
type: 'error',
|
|
387
|
+
name: 'UUPSUnsupportedProxiableUUID',
|
|
388
|
+
inputs: [{ name: 'slot', type: 'bytes32', internalType: 'bytes32' }],
|
|
345
389
|
},
|
|
346
390
|
];
|
|
347
391
|
//# sourceMappingURL=feeLocker.evm.js.map
|