@pushchain/core 5.1.4-alpha.0 → 5.1.4-alpha.10

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.
Files changed (108) hide show
  1. package/package.json +7 -8
  2. package/src/lib/constants/abi/factoryV1.d.ts +59 -76
  3. package/src/lib/constants/abi/factoryV1.js +0 -517
  4. package/src/lib/constants/abi/feeLocker.evm.d.ts +15 -50
  5. package/src/lib/constants/abi/feeLocker.evm.js +0 -385
  6. package/src/lib/constants/abi/index.d.ts +1 -1
  7. package/src/lib/constants/abi/index.js +1 -2
  8. package/src/lib/constants/abi/prc20.evm.d.ts +0 -53
  9. package/src/lib/constants/abi/prc20.evm.js +1 -42
  10. package/src/lib/constants/abi/uea.svm.d.ts +21 -99
  11. package/src/lib/constants/abi/uea.svm.js +0 -299
  12. package/src/lib/constants/abi/universalGatewayV0.evm.d.ts +45 -104
  13. package/src/lib/constants/abi/universalGatewayV0.evm.js +0 -2149
  14. package/src/lib/index.d.ts +1 -1
  15. package/src/lib/orchestrator/internals/cascade.d.ts +4 -2
  16. package/src/lib/orchestrator/internals/cascade.js +34 -18
  17. package/src/lib/orchestrator/internals/execute-standard.js +5 -1
  18. package/src/lib/orchestrator/internals/gas-calculator.d.ts +17 -0
  19. package/src/lib/orchestrator/internals/gas-calculator.js +236 -1
  20. package/src/lib/orchestrator/internals/push-chain-tx.js +24 -1
  21. package/src/lib/orchestrator/internals/route-handlers.js +60 -62
  22. package/src/lib/orchestrator/orchestrator.d.ts +5 -3
  23. package/src/lib/orchestrator/orchestrator.js +2 -12
  24. package/src/lib/orchestrator/orchestrator.types.d.ts +8 -15
  25. package/src/lib/progress-hook/progress-hook.js +1 -1
  26. package/src/lib/push-chain/push-chain.d.ts +5 -6
  27. package/src/lib/push-chain/push-chain.js +4 -3
  28. package/src/lib/universal/account/account.d.ts +16 -8
  29. package/src/lib/universal/account/account.js +118 -73
  30. package/src/lib/universal/signer/signer.js +1 -1
  31. package/src/lib/universal/universal.types.d.ts +2 -2
  32. package/src/index.js.map +0 -1
  33. package/src/lib/cache/cache.js.map +0 -1
  34. package/src/lib/constants/abi/cea.evm.js.map +0 -1
  35. package/src/lib/constants/abi/ceaFactory.evm.js.map +0 -1
  36. package/src/lib/constants/abi/erc20.evm.js.map +0 -1
  37. package/src/lib/constants/abi/factoryV1.js.map +0 -1
  38. package/src/lib/constants/abi/feeLocker.evm.js.map +0 -1
  39. package/src/lib/constants/abi/index.js.map +0 -1
  40. package/src/lib/constants/abi/prc20.evm.js.map +0 -1
  41. package/src/lib/constants/abi/uea-factory.js.map +0 -1
  42. package/src/lib/constants/abi/uea.evm.js.map +0 -1
  43. package/src/lib/constants/abi/uea.svm.js.map +0 -1
  44. package/src/lib/constants/abi/universalGateway.evm.js.map +0 -1
  45. package/src/lib/constants/abi/universalGatewayPC.evm.js.map +0 -1
  46. package/src/lib/constants/abi/universalGatewayV0.evm.js.map +0 -1
  47. package/src/lib/constants/chain.js.map +0 -1
  48. package/src/lib/constants/enums.js.map +0 -1
  49. package/src/lib/constants/index.js.map +0 -1
  50. package/src/lib/constants/selectors.js.map +0 -1
  51. package/src/lib/constants/tokens.js.map +0 -1
  52. package/src/lib/generated/uexecutor/v1/query.js.map +0 -1
  53. package/src/lib/generated/uexecutor/v1/types.js.map +0 -1
  54. package/src/lib/generated/uexecutor/v2/index.js.map +0 -1
  55. package/src/lib/generated/uexecutor/v2/query.js.map +0 -1
  56. package/src/lib/generated/uexecutor/v2/types.js.map +0 -1
  57. package/src/lib/generated/v1/tx.js.map +0 -1
  58. package/src/lib/index.js.map +0 -1
  59. package/src/lib/internal/bs58.js.map +0 -1
  60. package/src/lib/internal/buffer.js.map +0 -1
  61. package/src/lib/internal/global-buffer-polyfill.js.map +0 -1
  62. package/src/lib/orchestrator/cea-utils.js.map +0 -1
  63. package/src/lib/orchestrator/internals/account-manager.js.map +0 -1
  64. package/src/lib/orchestrator/internals/cascade.js.map +0 -1
  65. package/src/lib/orchestrator/internals/confirmation.js.map +0 -1
  66. package/src/lib/orchestrator/internals/context.js.map +0 -1
  67. package/src/lib/orchestrator/internals/execute-funds-only.js.map +0 -1
  68. package/src/lib/orchestrator/internals/execute-funds-payload.js.map +0 -1
  69. package/src/lib/orchestrator/internals/execute-standard.js.map +0 -1
  70. package/src/lib/orchestrator/internals/gas-calculator.js.map +0 -1
  71. package/src/lib/orchestrator/internals/gateway-client.js.map +0 -1
  72. package/src/lib/orchestrator/internals/helpers.js.map +0 -1
  73. package/src/lib/orchestrator/internals/index.js.map +0 -1
  74. package/src/lib/orchestrator/internals/outbound-sync.js.map +0 -1
  75. package/src/lib/orchestrator/internals/outbound-tracker.js.map +0 -1
  76. package/src/lib/orchestrator/internals/payload-builder.js.map +0 -1
  77. package/src/lib/orchestrator/internals/push-chain-tx.js.map +0 -1
  78. package/src/lib/orchestrator/internals/quote.js.map +0 -1
  79. package/src/lib/orchestrator/internals/rescue.js.map +0 -1
  80. package/src/lib/orchestrator/internals/response-builder.js.map +0 -1
  81. package/src/lib/orchestrator/internals/route-handlers.js.map +0 -1
  82. package/src/lib/orchestrator/internals/signing.js.map +0 -1
  83. package/src/lib/orchestrator/internals/svm-bridge.js.map +0 -1
  84. package/src/lib/orchestrator/internals/svm-helpers.js.map +0 -1
  85. package/src/lib/orchestrator/internals/tx-transformer.js.map +0 -1
  86. package/src/lib/orchestrator/internals/uea-manager.js.map +0 -1
  87. package/src/lib/orchestrator/orchestrator.js.map +0 -1
  88. package/src/lib/orchestrator/orchestrator.types.js.map +0 -1
  89. package/src/lib/orchestrator/payload-builders.js.map +0 -1
  90. package/src/lib/orchestrator/route-detector.js.map +0 -1
  91. package/src/lib/price-fetch/price-fetch.js.map +0 -1
  92. package/src/lib/progress-hook/progress-hook.js.map +0 -1
  93. package/src/lib/progress-hook/progress-hook.types.js.map +0 -1
  94. package/src/lib/push-chain/helpers/abis.js.map +0 -1
  95. package/src/lib/push-chain/helpers/addresses.js.map +0 -1
  96. package/src/lib/push-chain/push-chain.js.map +0 -1
  97. package/src/lib/push-client/push-client.js.map +0 -1
  98. package/src/lib/push-client/push-client.types.js.map +0 -1
  99. package/src/lib/universal/account/account.js.map +0 -1
  100. package/src/lib/universal/account/index.js.map +0 -1
  101. package/src/lib/universal/signer/index.js.map +0 -1
  102. package/src/lib/universal/signer/signer.js.map +0 -1
  103. package/src/lib/universal/signer/signer.types.js.map +0 -1
  104. package/src/lib/universal/universal.types.js.map +0 -1
  105. package/src/lib/utils.js.map +0 -1
  106. package/src/lib/vm-client/evm-client.js.map +0 -1
  107. package/src/lib/vm-client/svm-client.js.map +0 -1
  108. package/src/lib/vm-client/vm-client.types.js.map +0 -1
@@ -1,50 +1,15 @@
1
- export declare const FEE_LOCKER_EVM: ({
2
- type: string;
3
- name: string;
4
- inputs: {
5
- name: string;
6
- type: string;
7
- internalType: string;
8
- }[];
9
- outputs: {
10
- name: string;
11
- type: string;
12
- internalType: string;
13
- }[];
14
- stateMutability: string;
15
- anonymous?: undefined;
16
- } | {
17
- type: string;
18
- name: string;
19
- inputs: ({
20
- name: string;
21
- type: string;
22
- indexed: boolean;
23
- internalType: string;
24
- components?: undefined;
25
- } | {
26
- name: string;
27
- type: string;
28
- indexed: boolean;
29
- internalType: string;
30
- components: {
31
- name: string;
32
- type: string;
33
- internalType: string;
34
- }[];
35
- })[];
36
- anonymous: boolean;
37
- outputs?: undefined;
38
- stateMutability?: undefined;
39
- } | {
40
- type: string;
41
- name: string;
42
- inputs: {
43
- name: string;
44
- type: string;
45
- internalType: string;
46
- }[];
47
- outputs?: undefined;
48
- stateMutability?: undefined;
49
- anonymous?: undefined;
50
- })[];
1
+ export declare const FEE_LOCKER_EVM: readonly [{
2
+ readonly type: "function";
3
+ readonly name: "getEthUsdPrice";
4
+ readonly inputs: readonly [];
5
+ readonly outputs: readonly [{
6
+ readonly name: "";
7
+ readonly type: "uint256";
8
+ readonly internalType: "uint256";
9
+ }, {
10
+ readonly name: "";
11
+ readonly type: "uint8";
12
+ readonly internalType: "uint8";
13
+ }];
14
+ readonly stateMutability: "view";
15
+ }];
@@ -2,67 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FEE_LOCKER_EVM = void 0;
4
4
  exports.FEE_LOCKER_EVM = [
5
- {
6
- type: 'function',
7
- name: 'DEFAULT_ADMIN_ROLE',
8
- inputs: [],
9
- outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
10
- stateMutability: 'view',
11
- },
12
- {
13
- type: 'function',
14
- name: 'UNISWAP_ROUTER',
15
- inputs: [],
16
- outputs: [{ name: '', type: 'address', internalType: 'address' }],
17
- stateMutability: 'view',
18
- },
19
- {
20
- type: 'function',
21
- name: 'UPGRADE_INTERFACE_VERSION',
22
- inputs: [],
23
- outputs: [{ name: '', type: 'string', internalType: 'string' }],
24
- stateMutability: 'view',
25
- },
26
- {
27
- type: 'function',
28
- name: 'USDT',
29
- inputs: [],
30
- outputs: [{ name: '', type: 'address', internalType: 'address' }],
31
- stateMutability: 'view',
32
- },
33
- {
34
- type: 'function',
35
- name: 'WETH',
36
- inputs: [],
37
- outputs: [{ name: '', type: 'address', internalType: 'address' }],
38
- stateMutability: 'view',
39
- },
40
- {
41
- type: 'function',
42
- name: 'addFunds',
43
- inputs: [
44
- {
45
- name: '_transactionHash',
46
- type: 'bytes32',
47
- internalType: 'bytes32',
48
- },
49
- ],
50
- outputs: [],
51
- stateMutability: 'payable',
52
- },
53
- {
54
- type: 'function',
55
- name: 'ethUsdPriceFeed',
56
- inputs: [],
57
- outputs: [
58
- {
59
- name: '',
60
- type: 'address',
61
- internalType: 'contract AggregatorV3Interface',
62
- },
63
- ],
64
- stateMutability: 'view',
65
- },
66
5
  {
67
6
  type: 'function',
68
7
  name: 'getEthUsdPrice',
@@ -73,329 +12,5 @@ exports.FEE_LOCKER_EVM = [
73
12
  ],
74
13
  stateMutability: 'view',
75
14
  },
76
- {
77
- type: 'function',
78
- name: 'getEthUsdPrice_old',
79
- inputs: [],
80
- outputs: [
81
- { name: '', type: 'uint256', internalType: 'uint256' },
82
- { name: '', type: 'uint8', internalType: 'uint8' },
83
- ],
84
- stateMutability: 'view',
85
- },
86
- {
87
- type: 'function',
88
- name: 'getRoleAdmin',
89
- inputs: [{ name: 'role', type: 'bytes32', internalType: 'bytes32' }],
90
- outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
91
- stateMutability: 'view',
92
- },
93
- {
94
- type: 'function',
95
- name: 'grantRole',
96
- inputs: [
97
- { name: 'role', type: 'bytes32', internalType: 'bytes32' },
98
- { name: 'account', type: 'address', internalType: 'address' },
99
- ],
100
- outputs: [],
101
- stateMutability: 'nonpayable',
102
- },
103
- {
104
- type: 'function',
105
- name: 'hasRole',
106
- inputs: [
107
- { name: 'role', type: 'bytes32', internalType: 'bytes32' },
108
- { name: 'account', type: 'address', internalType: 'address' },
109
- ],
110
- outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
111
- stateMutability: 'view',
112
- },
113
- {
114
- type: 'function',
115
- name: 'initialize',
116
- inputs: [
117
- { name: '_admin', type: 'address', internalType: 'address' },
118
- { name: '_weth', type: 'address', internalType: 'address' },
119
- { name: '_usdt', type: 'address', internalType: 'address' },
120
- { name: '_router', type: 'address', internalType: 'address' },
121
- { name: '_priceFeed', type: 'address', internalType: 'address' },
122
- {
123
- name: '_usdtPriceFeed',
124
- type: 'address',
125
- internalType: 'address',
126
- },
127
- ],
128
- outputs: [],
129
- stateMutability: 'nonpayable',
130
- },
131
- {
132
- type: 'function',
133
- name: 'proxiableUUID',
134
- inputs: [],
135
- outputs: [{ name: '', type: 'bytes32', internalType: 'bytes32' }],
136
- stateMutability: 'view',
137
- },
138
- {
139
- type: 'function',
140
- name: 'recoverToken',
141
- inputs: [
142
- { name: '_recipient', type: 'address', internalType: 'address' },
143
- { name: 'amount', type: 'uint256', internalType: 'uint256' },
144
- ],
145
- outputs: [],
146
- stateMutability: 'nonpayable',
147
- },
148
- {
149
- type: 'function',
150
- name: 'renounceRole',
151
- inputs: [
152
- { name: 'role', type: 'bytes32', internalType: 'bytes32' },
153
- {
154
- name: 'callerConfirmation',
155
- type: 'address',
156
- internalType: 'address',
157
- },
158
- ],
159
- outputs: [],
160
- stateMutability: 'nonpayable',
161
- },
162
- {
163
- type: 'function',
164
- name: 'revokeRole',
165
- inputs: [
166
- { name: 'role', type: 'bytes32', internalType: 'bytes32' },
167
- { name: 'account', type: 'address', internalType: 'address' },
168
- ],
169
- outputs: [],
170
- stateMutability: 'nonpayable',
171
- },
172
- {
173
- type: 'function',
174
- name: 'supportsInterface',
175
- inputs: [{ name: 'interfaceId', type: 'bytes4', internalType: 'bytes4' }],
176
- outputs: [{ name: '', type: 'bool', internalType: 'bool' }],
177
- stateMutability: 'view',
178
- },
179
- {
180
- type: 'function',
181
- name: 'upgradeToAndCall',
182
- inputs: [
183
- {
184
- name: 'newImplementation',
185
- type: 'address',
186
- internalType: 'address',
187
- },
188
- { name: 'data', type: 'bytes', internalType: 'bytes' },
189
- ],
190
- outputs: [],
191
- stateMutability: 'payable',
192
- },
193
- {
194
- type: 'function',
195
- name: 'usdtUsdPriceFeed',
196
- inputs: [],
197
- outputs: [
198
- {
199
- name: '',
200
- type: 'address',
201
- internalType: 'contract AggregatorV3Interface',
202
- },
203
- ],
204
- stateMutability: 'view',
205
- },
206
- {
207
- type: 'event',
208
- name: 'FundsAdded',
209
- inputs: [
210
- {
211
- name: 'user',
212
- type: 'address',
213
- indexed: true,
214
- internalType: 'address',
215
- },
216
- {
217
- name: 'transactionHash',
218
- type: 'bytes32',
219
- indexed: true,
220
- internalType: 'bytes32',
221
- },
222
- {
223
- name: 'AmountInUSD',
224
- type: 'tuple',
225
- indexed: false,
226
- internalType: 'struct UniversalGateway.AmountInUSD',
227
- components: [
228
- {
229
- name: 'amountInUSD',
230
- type: 'uint256',
231
- internalType: 'uint256',
232
- },
233
- { name: 'decimals', type: 'uint8', internalType: 'uint8' },
234
- ],
235
- },
236
- ],
237
- anonymous: false,
238
- },
239
- {
240
- type: 'event',
241
- name: 'Initialized',
242
- inputs: [
243
- {
244
- name: 'version',
245
- type: 'uint64',
246
- indexed: false,
247
- internalType: 'uint64',
248
- },
249
- ],
250
- anonymous: false,
251
- },
252
- {
253
- type: 'event',
254
- name: 'RoleAdminChanged',
255
- inputs: [
256
- {
257
- name: 'role',
258
- type: 'bytes32',
259
- indexed: true,
260
- internalType: 'bytes32',
261
- },
262
- {
263
- name: 'previousAdminRole',
264
- type: 'bytes32',
265
- indexed: true,
266
- internalType: 'bytes32',
267
- },
268
- {
269
- name: 'newAdminRole',
270
- type: 'bytes32',
271
- indexed: true,
272
- internalType: 'bytes32',
273
- },
274
- ],
275
- anonymous: false,
276
- },
277
- {
278
- type: 'event',
279
- name: 'RoleGranted',
280
- inputs: [
281
- {
282
- name: 'role',
283
- type: 'bytes32',
284
- indexed: true,
285
- internalType: 'bytes32',
286
- },
287
- {
288
- name: 'account',
289
- type: 'address',
290
- indexed: true,
291
- internalType: 'address',
292
- },
293
- {
294
- name: 'sender',
295
- type: 'address',
296
- indexed: true,
297
- internalType: 'address',
298
- },
299
- ],
300
- anonymous: false,
301
- },
302
- {
303
- type: 'event',
304
- name: 'RoleRevoked',
305
- inputs: [
306
- {
307
- name: 'role',
308
- type: 'bytes32',
309
- indexed: true,
310
- internalType: 'bytes32',
311
- },
312
- {
313
- name: 'account',
314
- type: 'address',
315
- indexed: true,
316
- internalType: 'address',
317
- },
318
- {
319
- name: 'sender',
320
- type: 'address',
321
- indexed: true,
322
- internalType: 'address',
323
- },
324
- ],
325
- anonymous: false,
326
- },
327
- {
328
- type: 'event',
329
- name: 'TokenRecovered',
330
- inputs: [
331
- {
332
- name: 'admin',
333
- type: 'address',
334
- indexed: true,
335
- internalType: 'address',
336
- },
337
- {
338
- name: 'amount',
339
- type: 'uint256',
340
- indexed: true,
341
- internalType: 'uint256',
342
- },
343
- ],
344
- anonymous: false,
345
- },
346
- {
347
- type: 'event',
348
- name: 'Upgraded',
349
- inputs: [
350
- {
351
- name: 'implementation',
352
- type: 'address',
353
- indexed: true,
354
- internalType: 'address',
355
- },
356
- ],
357
- anonymous: false,
358
- },
359
- { type: 'error', name: 'AccessControlBadConfirmation', inputs: [] },
360
- {
361
- type: 'error',
362
- name: 'AccessControlUnauthorizedAccount',
363
- inputs: [
364
- { name: 'account', type: 'address', internalType: 'address' },
365
- { name: 'neededRole', type: 'bytes32', internalType: 'bytes32' },
366
- ],
367
- },
368
- {
369
- type: 'error',
370
- name: 'AddressEmptyCode',
371
- inputs: [{ name: 'target', type: 'address', internalType: 'address' }],
372
- },
373
- {
374
- type: 'error',
375
- name: 'ERC1967InvalidImplementation',
376
- inputs: [
377
- {
378
- name: 'implementation',
379
- type: 'address',
380
- internalType: 'address',
381
- },
382
- ],
383
- },
384
- { type: 'error', name: 'ERC1967NonPayable', inputs: [] },
385
- { type: 'error', name: 'FailedCall', inputs: [] },
386
- { type: 'error', name: 'InvalidInitialization', inputs: [] },
387
- { type: 'error', name: 'NotInitializing', inputs: [] },
388
- { type: 'error', name: 'ReentrancyGuardReentrantCall', inputs: [] },
389
- {
390
- type: 'error',
391
- name: 'SafeERC20FailedOperation',
392
- inputs: [{ name: 'token', type: 'address', internalType: 'address' }],
393
- },
394
- { type: 'error', name: 'UUPSUnauthorizedCallContext', inputs: [] },
395
- {
396
- type: 'error',
397
- name: 'UUPSUnsupportedProxiableUUID',
398
- inputs: [{ name: 'slot', type: 'bytes32', internalType: 'bytes32' }],
399
- },
400
15
  ];
401
16
  //# sourceMappingURL=feeLocker.evm.js.map
@@ -10,5 +10,5 @@ export { default as SVM_GATEWAY_IDL } from './universalGatewayV0.json';
10
10
  export { CEA_EVM } from './cea.evm';
11
11
  export { CEA_FACTORY_EVM } from './ceaFactory.evm';
12
12
  export { UNIVERSAL_GATEWAY_PC } from './universalGatewayPC.evm';
13
- export { PRC20_EVM, UNIVERSAL_CORE_EVM } from './prc20.evm';
13
+ export { UNIVERSAL_CORE_EVM } from './prc20.evm';
14
14
  export { UEA_FACTORY_ABI } from './uea-factory';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UEA_FACTORY_ABI = exports.UNIVERSAL_CORE_EVM = exports.PRC20_EVM = exports.UNIVERSAL_GATEWAY_PC = exports.CEA_FACTORY_EVM = exports.CEA_EVM = exports.SVM_GATEWAY_IDL = exports.ERC20_EVM = exports.UNIVERSAL_GATEWAY_V1_SEND = exports.UNIVERSAL_GATEWAY_V0 = exports.UEA_SVM = exports.UEA_EVM = exports.FACTORY_V1 = exports.FEE_LOCKER_SVM = exports.FEE_LOCKER_EVM = void 0;
3
+ exports.UEA_FACTORY_ABI = exports.UNIVERSAL_CORE_EVM = exports.UNIVERSAL_GATEWAY_PC = exports.CEA_FACTORY_EVM = exports.CEA_EVM = exports.SVM_GATEWAY_IDL = exports.ERC20_EVM = exports.UNIVERSAL_GATEWAY_V1_SEND = exports.UNIVERSAL_GATEWAY_V0 = exports.UEA_SVM = exports.UEA_EVM = exports.FACTORY_V1 = exports.FEE_LOCKER_SVM = exports.FEE_LOCKER_EVM = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  var feeLocker_evm_1 = require("./feeLocker.evm");
6
6
  Object.defineProperty(exports, "FEE_LOCKER_EVM", { enumerable: true, get: function () { return feeLocker_evm_1.FEE_LOCKER_EVM; } });
@@ -28,7 +28,6 @@ Object.defineProperty(exports, "CEA_FACTORY_EVM", { enumerable: true, get: funct
28
28
  var universalGatewayPC_evm_1 = require("./universalGatewayPC.evm");
29
29
  Object.defineProperty(exports, "UNIVERSAL_GATEWAY_PC", { enumerable: true, get: function () { return universalGatewayPC_evm_1.UNIVERSAL_GATEWAY_PC; } });
30
30
  var prc20_evm_1 = require("./prc20.evm");
31
- Object.defineProperty(exports, "PRC20_EVM", { enumerable: true, get: function () { return prc20_evm_1.PRC20_EVM; } });
32
31
  Object.defineProperty(exports, "UNIVERSAL_CORE_EVM", { enumerable: true, get: function () { return prc20_evm_1.UNIVERSAL_CORE_EVM; } });
33
32
  var uea_factory_1 = require("./uea-factory");
34
33
  Object.defineProperty(exports, "UEA_FACTORY_ABI", { enumerable: true, get: function () { return uea_factory_1.UEA_FACTORY_ABI; } });
@@ -1,56 +1,3 @@
1
- /**
2
- * PRC20 ABI
3
- * Push Chain's PRC-20 token interface
4
- */
5
- export declare const PRC20_EVM: readonly [{
6
- readonly type: "function";
7
- readonly name: "withdrawGasFeeWithGasLimit";
8
- readonly inputs: readonly [{
9
- readonly name: "gasLimit";
10
- readonly type: "uint256";
11
- readonly internalType: "uint256";
12
- }];
13
- readonly outputs: readonly [{
14
- readonly name: "gasToken";
15
- readonly type: "address";
16
- readonly internalType: "address";
17
- }, {
18
- readonly name: "gasFee";
19
- readonly type: "uint256";
20
- readonly internalType: "uint256";
21
- }];
22
- readonly stateMutability: "view";
23
- }, {
24
- readonly type: "function";
25
- readonly name: "GAS_LIMIT";
26
- readonly inputs: readonly [];
27
- readonly outputs: readonly [{
28
- readonly name: "";
29
- readonly type: "uint256";
30
- readonly internalType: "uint256";
31
- }];
32
- readonly stateMutability: "view";
33
- }, {
34
- readonly type: "function";
35
- readonly name: "PC_PROTOCOL_FEE";
36
- readonly inputs: readonly [];
37
- readonly outputs: readonly [{
38
- readonly name: "";
39
- readonly type: "uint256";
40
- readonly internalType: "uint256";
41
- }];
42
- readonly stateMutability: "view";
43
- }, {
44
- readonly type: "function";
45
- readonly name: "SOURCE_CHAIN_NAMESPACE";
46
- readonly inputs: readonly [];
47
- readonly outputs: readonly [{
48
- readonly name: "";
49
- readonly type: "string";
50
- readonly internalType: "string";
51
- }];
52
- readonly stateMutability: "view";
53
- }];
54
1
  /**
55
2
  * UniversalCore ABI
56
3
  * Push Chain's UniversalCore precompile interface for gas fee estimation
@@ -1,47 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UNIVERSAL_CORE_EVM = exports.PRC20_EVM = void 0;
4
- /**
5
- * PRC20 ABI
6
- * Push Chain's PRC-20 token interface
7
- */
8
- exports.PRC20_EVM = [
9
- // Gas fee estimation (single param - uses default gas limit)
10
- {
11
- type: 'function',
12
- name: 'withdrawGasFeeWithGasLimit',
13
- inputs: [{ name: 'gasLimit', type: 'uint256', internalType: 'uint256' }],
14
- outputs: [
15
- { name: 'gasToken', type: 'address', internalType: 'address' },
16
- { name: 'gasFee', type: 'uint256', internalType: 'uint256' },
17
- ],
18
- stateMutability: 'view',
19
- },
20
- // Default gas limit
21
- {
22
- type: 'function',
23
- name: 'GAS_LIMIT',
24
- inputs: [],
25
- outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
26
- stateMutability: 'view',
27
- },
28
- // Protocol fee
29
- {
30
- type: 'function',
31
- name: 'PC_PROTOCOL_FEE',
32
- inputs: [],
33
- outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
34
- stateMutability: 'view',
35
- },
36
- // Source chain namespace
37
- {
38
- type: 'function',
39
- name: 'SOURCE_CHAIN_NAMESPACE',
40
- inputs: [],
41
- outputs: [{ name: '', type: 'string', internalType: 'string' }],
42
- stateMutability: 'view',
43
- },
44
- ];
3
+ exports.UNIVERSAL_CORE_EVM = void 0;
45
4
  /**
46
5
  * UniversalCore ABI
47
6
  * Push Chain's UniversalCore precompile interface for gas fee estimation