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