@pushchain/core 5.0.0 → 5.1.1

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 (92) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/package.json +1 -1
  3. package/src/lib/constants/abi/cea.evm.d.ts +23 -0
  4. package/src/lib/constants/abi/cea.evm.js +34 -0
  5. package/src/lib/constants/abi/cea.evm.js.map +1 -0
  6. package/src/lib/constants/abi/ceaFactory.evm.d.ts +65 -0
  7. package/src/lib/constants/abi/ceaFactory.evm.js +41 -0
  8. package/src/lib/constants/abi/ceaFactory.evm.js.map +1 -0
  9. package/src/lib/constants/abi/erc20.evm.d.ts +14 -0
  10. package/src/lib/constants/abi/erc20.evm.js +7 -0
  11. package/src/lib/constants/abi/erc20.evm.js.map +1 -1
  12. package/src/lib/constants/abi/index.d.ts +6 -0
  13. package/src/lib/constants/abi/index.js +15 -1
  14. package/src/lib/constants/abi/index.js.map +1 -1
  15. package/src/lib/constants/abi/prc20.evm.d.ts +188 -0
  16. package/src/lib/constants/abi/prc20.evm.js +130 -0
  17. package/src/lib/constants/abi/prc20.evm.js.map +1 -0
  18. package/src/lib/constants/abi/uea-factory.d.ts +30 -0
  19. package/src/lib/constants/abi/uea-factory.js +25 -0
  20. package/src/lib/constants/abi/uea-factory.js.map +1 -0
  21. package/src/lib/constants/abi/universalGateway.evm.d.ts +93 -0
  22. package/src/lib/constants/abi/universalGateway.evm.js +70 -0
  23. package/src/lib/constants/abi/universalGateway.evm.js.map +1 -0
  24. package/src/lib/constants/abi/universalGatewayPC.evm.d.ts +140 -0
  25. package/src/lib/constants/abi/universalGatewayPC.evm.js +70 -0
  26. package/src/lib/constants/abi/universalGatewayPC.evm.js.map +1 -0
  27. package/src/lib/constants/abi/universalGatewayV0.evm.js +57 -0
  28. package/src/lib/constants/abi/universalGatewayV0.evm.js.map +1 -1
  29. package/src/lib/constants/abi/universalGatewayV0.json +1581 -859
  30. package/src/lib/constants/chain.d.ts +54 -1
  31. package/src/lib/constants/chain.js +207 -17
  32. package/src/lib/constants/chain.js.map +1 -1
  33. package/src/lib/constants/index.d.ts +9 -1
  34. package/src/lib/constants/index.js +20 -1
  35. package/src/lib/constants/index.js.map +1 -1
  36. package/src/lib/constants/selectors.d.ts +42 -0
  37. package/src/lib/constants/selectors.js +45 -0
  38. package/src/lib/constants/selectors.js.map +1 -0
  39. package/src/lib/constants/tokens.d.ts +48 -1
  40. package/src/lib/constants/tokens.js +112 -9
  41. package/src/lib/constants/tokens.js.map +1 -1
  42. package/src/lib/generated/uexecutor/v2/index.d.ts +2 -0
  43. package/src/lib/generated/uexecutor/v2/index.js +31 -0
  44. package/src/lib/generated/uexecutor/v2/index.js.map +1 -0
  45. package/src/lib/generated/uexecutor/v2/query.d.ts +23 -0
  46. package/src/lib/generated/uexecutor/v2/query.js +79 -0
  47. package/src/lib/generated/uexecutor/v2/query.js.map +1 -0
  48. package/src/lib/generated/uexecutor/v2/types.d.ts +101 -0
  49. package/src/lib/generated/uexecutor/v2/types.js +660 -0
  50. package/src/lib/generated/uexecutor/v2/types.js.map +1 -0
  51. package/src/lib/generated/v1/tx.d.ts +22 -0
  52. package/src/lib/generated/v1/tx.js +188 -1
  53. package/src/lib/generated/v1/tx.js.map +1 -1
  54. package/src/lib/index.d.ts +5 -0
  55. package/src/lib/index.js +25 -1
  56. package/src/lib/index.js.map +1 -1
  57. package/src/lib/orchestrator/cea-utils.d.ts +85 -0
  58. package/src/lib/orchestrator/cea-utils.js +186 -0
  59. package/src/lib/orchestrator/cea-utils.js.map +1 -0
  60. package/src/lib/orchestrator/orchestrator.d.ts +358 -3
  61. package/src/lib/orchestrator/orchestrator.js +3983 -348
  62. package/src/lib/orchestrator/orchestrator.js.map +1 -1
  63. package/src/lib/orchestrator/orchestrator.types.d.ts +529 -0
  64. package/src/lib/orchestrator/orchestrator.types.js +17 -0
  65. package/src/lib/orchestrator/orchestrator.types.js.map +1 -1
  66. package/src/lib/orchestrator/payload-builders.d.ts +212 -2
  67. package/src/lib/orchestrator/payload-builders.js +536 -16
  68. package/src/lib/orchestrator/payload-builders.js.map +1 -1
  69. package/src/lib/orchestrator/route-detector.d.ts +102 -0
  70. package/src/lib/orchestrator/route-detector.js +355 -0
  71. package/src/lib/orchestrator/route-detector.js.map +1 -0
  72. package/src/lib/price-fetch/price-fetch.js +5 -2
  73. package/src/lib/price-fetch/price-fetch.js.map +1 -1
  74. package/src/lib/progress-hook/progress-hook.js +54 -4
  75. package/src/lib/progress-hook/progress-hook.js.map +1 -1
  76. package/src/lib/progress-hook/progress-hook.types.d.ts +10 -3
  77. package/src/lib/progress-hook/progress-hook.types.js +8 -0
  78. package/src/lib/progress-hook/progress-hook.types.js.map +1 -1
  79. package/src/lib/push-chain/push-chain.d.ts +75 -1
  80. package/src/lib/push-chain/push-chain.js +73 -1
  81. package/src/lib/push-chain/push-chain.js.map +1 -1
  82. package/src/lib/push-client/push-client.d.ts +20 -4
  83. package/src/lib/push-client/push-client.js +133 -67
  84. package/src/lib/push-client/push-client.js.map +1 -1
  85. package/src/lib/universal/signer/signer.js +17 -3
  86. package/src/lib/universal/signer/signer.js.map +1 -1
  87. package/src/lib/utils.d.ts +14 -0
  88. package/src/lib/utils.js +25 -0
  89. package/src/lib/utils.js.map +1 -1
  90. package/src/lib/vm-client/evm-client.d.ts +3 -1
  91. package/src/lib/vm-client/evm-client.js +23 -15
  92. package/src/lib/vm-client/evm-client.js.map +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ @pushchain/core@5.1.0 (2026-03-28)
2
+
3
+ - release: bump to 5.0.0
4
+
5
+ ---
6
+
1
7
  @pushchain/core@3.0.4 (2025-11-11)
2
8
 
3
9
  - refactor: remove debug console logs from Orchestrator class
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushchain/core",
3
- "version": "5.0.0",
3
+ "version": "5.1.1",
4
4
  "homepage": "https://push.org",
5
5
  "keywords": [
6
6
  "pushchain",
@@ -0,0 +1,23 @@
1
+ export declare const CEA_EVM: readonly [{
2
+ readonly inputs: readonly [{
3
+ readonly internalType: "address";
4
+ readonly name: "token";
5
+ readonly type: "address";
6
+ }, {
7
+ readonly internalType: "uint256";
8
+ readonly name: "amount";
9
+ readonly type: "uint256";
10
+ }, {
11
+ readonly internalType: "bytes";
12
+ readonly name: "payload";
13
+ readonly type: "bytes";
14
+ }, {
15
+ readonly internalType: "address";
16
+ readonly name: "revertRecipient";
17
+ readonly type: "address";
18
+ }];
19
+ readonly name: "sendUniversalTxToUEA";
20
+ readonly outputs: readonly [];
21
+ readonly stateMutability: "nonpayable";
22
+ readonly type: "function";
23
+ }];
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CEA_EVM = void 0;
4
+ exports.CEA_EVM = [
5
+ {
6
+ "inputs": [
7
+ {
8
+ "internalType": "address",
9
+ "name": "token",
10
+ "type": "address"
11
+ },
12
+ {
13
+ "internalType": "uint256",
14
+ "name": "amount",
15
+ "type": "uint256"
16
+ },
17
+ {
18
+ "internalType": "bytes",
19
+ "name": "payload",
20
+ "type": "bytes"
21
+ },
22
+ {
23
+ "internalType": "address",
24
+ "name": "revertRecipient",
25
+ "type": "address"
26
+ }
27
+ ],
28
+ "name": "sendUniversalTxToUEA",
29
+ "outputs": [],
30
+ "stateMutability": "nonpayable",
31
+ "type": "function"
32
+ }
33
+ ];
34
+ //# sourceMappingURL=cea.evm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cea.evm.js","sourceRoot":"","sources":["../../../../../../../packages/core/src/lib/constants/abi/cea.evm.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG;IACrB;QACE,QAAQ,EAAE;YACR;gBACE,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,OAAO;gBACf,MAAM,EAAE,SAAS;aAClB;YACD;gBACE,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,QAAQ;gBAChB,MAAM,EAAE,SAAS;aAClB;YACD;gBACE,cAAc,EAAE,OAAO;gBACvB,MAAM,EAAE,SAAS;gBACjB,MAAM,EAAE,OAAO;aAChB;YACD;gBACE,cAAc,EAAE,SAAS;gBACzB,MAAM,EAAE,iBAAiB;gBACzB,MAAM,EAAE,SAAS;aAClB;SACF;QACD,MAAM,EAAE,sBAAsB;QAC9B,SAAS,EAAE,EAAE;QACb,iBAAiB,EAAE,YAAY;QAC/B,MAAM,EAAE,UAAU;KACnB;CACO,CAAC"}
@@ -0,0 +1,65 @@
1
+ /**
2
+ * CEAFactory ABI
3
+ * Used for deploying and looking up CEA addresses
4
+ */
5
+ export declare const CEA_FACTORY_EVM: readonly [{
6
+ readonly inputs: readonly [{
7
+ readonly internalType: "address";
8
+ readonly name: "_uea";
9
+ readonly type: "address";
10
+ }];
11
+ readonly name: "deployCEA";
12
+ readonly outputs: readonly [{
13
+ readonly internalType: "address";
14
+ readonly name: "cea";
15
+ readonly type: "address";
16
+ }];
17
+ readonly stateMutability: "nonpayable";
18
+ readonly type: "function";
19
+ }, {
20
+ readonly inputs: readonly [{
21
+ readonly internalType: "address";
22
+ readonly name: "_pushAccount";
23
+ readonly type: "address";
24
+ }];
25
+ readonly name: "getCEAForPushAccount";
26
+ readonly outputs: readonly [{
27
+ readonly internalType: "address";
28
+ readonly name: "cea";
29
+ readonly type: "address";
30
+ }, {
31
+ readonly internalType: "bool";
32
+ readonly name: "isDeployed";
33
+ readonly type: "bool";
34
+ }];
35
+ readonly stateMutability: "view";
36
+ readonly type: "function";
37
+ }, {
38
+ readonly inputs: readonly [{
39
+ readonly internalType: "address";
40
+ readonly name: "_cea";
41
+ readonly type: "address";
42
+ }];
43
+ readonly name: "isCEA";
44
+ readonly outputs: readonly [{
45
+ readonly internalType: "bool";
46
+ readonly name: "";
47
+ readonly type: "bool";
48
+ }];
49
+ readonly stateMutability: "view";
50
+ readonly type: "function";
51
+ }, {
52
+ readonly inputs: readonly [{
53
+ readonly internalType: "address";
54
+ readonly name: "_cea";
55
+ readonly type: "address";
56
+ }];
57
+ readonly name: "getPushAccountForCEA";
58
+ readonly outputs: readonly [{
59
+ readonly internalType: "address";
60
+ readonly name: "pushAccount";
61
+ readonly type: "address";
62
+ }];
63
+ readonly stateMutability: "view";
64
+ readonly type: "function";
65
+ }];
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CEA_FACTORY_EVM = void 0;
4
+ /**
5
+ * CEAFactory ABI
6
+ * Used for deploying and looking up CEA addresses
7
+ */
8
+ exports.CEA_FACTORY_EVM = [
9
+ {
10
+ inputs: [{ internalType: 'address', name: '_uea', type: 'address' }],
11
+ name: 'deployCEA',
12
+ outputs: [{ internalType: 'address', name: 'cea', type: 'address' }],
13
+ stateMutability: 'nonpayable',
14
+ type: 'function',
15
+ },
16
+ {
17
+ inputs: [{ internalType: 'address', name: '_pushAccount', type: 'address' }],
18
+ name: 'getCEAForPushAccount',
19
+ outputs: [
20
+ { internalType: 'address', name: 'cea', type: 'address' },
21
+ { internalType: 'bool', name: 'isDeployed', type: 'bool' },
22
+ ],
23
+ stateMutability: 'view',
24
+ type: 'function',
25
+ },
26
+ {
27
+ inputs: [{ internalType: 'address', name: '_cea', type: 'address' }],
28
+ name: 'isCEA',
29
+ outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
30
+ stateMutability: 'view',
31
+ type: 'function',
32
+ },
33
+ {
34
+ inputs: [{ internalType: 'address', name: '_cea', type: 'address' }],
35
+ name: 'getPushAccountForCEA',
36
+ outputs: [{ internalType: 'address', name: 'pushAccount', type: 'address' }],
37
+ stateMutability: 'view',
38
+ type: 'function',
39
+ },
40
+ ];
41
+ //# sourceMappingURL=ceaFactory.evm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ceaFactory.evm.js","sourceRoot":"","sources":["../../../../../../../packages/core/src/lib/constants/abi/ceaFactory.evm.ts"],"names":[],"mappings":";;;AAAA;;;G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IAAI,EAAE,SAAS,EAAE,CAAC;QAC5E,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC"}
@@ -1,4 +1,18 @@
1
1
  export declare const ERC20_EVM: readonly [{
2
+ readonly type: "function";
3
+ readonly name: "balanceOf";
4
+ readonly inputs: readonly [{
5
+ readonly name: "account";
6
+ readonly type: "address";
7
+ readonly internalType: "address";
8
+ }];
9
+ readonly outputs: readonly [{
10
+ readonly name: "";
11
+ readonly type: "uint256";
12
+ readonly internalType: "uint256";
13
+ }];
14
+ readonly stateMutability: "view";
15
+ }, {
2
16
  readonly type: "function";
3
17
  readonly name: "allowance";
4
18
  readonly inputs: readonly [{
@@ -2,6 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ERC20_EVM = void 0;
4
4
  exports.ERC20_EVM = [
5
+ {
6
+ type: 'function',
7
+ name: 'balanceOf',
8
+ inputs: [{ name: 'account', type: 'address', internalType: 'address' }],
9
+ outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
10
+ stateMutability: 'view',
11
+ },
5
12
  {
6
13
  type: 'function',
7
14
  name: 'allowance',
@@ -1 +1 @@
1
- {"version":3,"file":"erc20.evm.js","sourceRoot":"","sources":["../../../../../../../packages/core/src/lib/constants/abi/erc20.evm.ts"],"names":[],"mappings":";;;AAAa,QAAA,SAAS,GAAG;IACvB;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,WAAW;QACjB,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE;YAC3D,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE;SAC9D;QACD,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC;QACjE,eAAe,EAAE,M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YAAY,EAAE,SAAS,EAAE;SAC7D;QACD,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;QACrC,eAAe,EAAE,YAAY;KAC9B;IACD;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE;YAC5D,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE;YAC/D,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE;SAC7D;KACF;CACO,CAAC"}
@@ -4,5 +4,11 @@ export { FACTORY_V1 } from './factoryV1';
4
4
  export { UEA_EVM } from './uea.evm';
5
5
  export { UEA_SVM } from './uea.svm';
6
6
  export { UNIVERSAL_GATEWAY_V0 } from './universalGatewayV0.evm';
7
+ export { UNIVERSAL_GATEWAY_V1_SEND } from './universalGateway.evm';
7
8
  export { ERC20_EVM } from './erc20.evm';
8
9
  export { default as SVM_GATEWAY_IDL } from './universalGatewayV0.json';
10
+ export { CEA_EVM } from './cea.evm';
11
+ export { CEA_FACTORY_EVM } from './ceaFactory.evm';
12
+ export { UNIVERSAL_GATEWAY_PC } from './universalGatewayPC.evm';
13
+ export { PRC20_EVM, UNIVERSAL_CORE_EVM } from './prc20.evm';
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.SVM_GATEWAY_IDL = exports.ERC20_EVM = 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.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;
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; } });
@@ -14,8 +14,22 @@ var uea_svm_1 = require("./uea.svm");
14
14
  Object.defineProperty(exports, "UEA_SVM", { enumerable: true, get: function () { return uea_svm_1.UEA_SVM; } });
15
15
  var universalGatewayV0_evm_1 = require("./universalGatewayV0.evm");
16
16
  Object.defineProperty(exports, "UNIVERSAL_GATEWAY_V0", { enumerable: true, get: function () { return universalGatewayV0_evm_1.UNIVERSAL_GATEWAY_V0; } });
17
+ var universalGateway_evm_1 = require("./universalGateway.evm");
18
+ Object.defineProperty(exports, "UNIVERSAL_GATEWAY_V1_SEND", { enumerable: true, get: function () { return universalGateway_evm_1.UNIVERSAL_GATEWAY_V1_SEND; } });
17
19
  var erc20_evm_1 = require("./erc20.evm");
18
20
  Object.defineProperty(exports, "ERC20_EVM", { enumerable: true, get: function () { return erc20_evm_1.ERC20_EVM; } });
19
21
  var universalGatewayV0_json_1 = require("./universalGatewayV0.json");
20
22
  Object.defineProperty(exports, "SVM_GATEWAY_IDL", { enumerable: true, get: function () { return tslib_1.__importDefault(universalGatewayV0_json_1).default; } });
23
+ // Multi-chain ABIs
24
+ var cea_evm_1 = require("./cea.evm");
25
+ Object.defineProperty(exports, "CEA_EVM", { enumerable: true, get: function () { return cea_evm_1.CEA_EVM; } });
26
+ var ceaFactory_evm_1 = require("./ceaFactory.evm");
27
+ Object.defineProperty(exports, "CEA_FACTORY_EVM", { enumerable: true, get: function () { return ceaFactory_evm_1.CEA_FACTORY_EVM; } });
28
+ var universalGatewayPC_evm_1 = require("./universalGatewayPC.evm");
29
+ Object.defineProperty(exports, "UNIVERSAL_GATEWAY_PC", { enumerable: true, get: function () { return universalGatewayPC_evm_1.UNIVERSAL_GATEWAY_PC; } });
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
+ Object.defineProperty(exports, "UNIVERSAL_CORE_EVM", { enumerable: true, get: function () { return prc20_evm_1.UNIVERSAL_CORE_EVM; } });
33
+ var uea_factory_1 = require("./uea-factory");
34
+ Object.defineProperty(exports, "UEA_FACTORY_ABI", { enumerable: true, get: function () { return uea_factory_1.UEA_FACTORY_ABI; } });
21
35
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/core/src/lib/constants/abi/index.ts"],"names":[],"mappings":";;;;AAAA,iDAAiD;AAAxC,+GAAA,cAAc,OAAA;AACvB,mDAA6D;AAApD,yIAAA,OAAO,OAAkB;AAClC,yCAAyC;AAAhC,uGAAA,UAAU,OAAA;AACnB,qCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,qCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,mEAAgE;AAAvD,8HAAA,oBAAoB,OAAA;AAC7B,yCAAwC;AAA/B,sGAAA,SAAS,OAAA;AAClB,qEAAuE;AAA9D,mJAAA,OAAO,OAAmB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/core/src/lib/constants/abi/index.ts"],"names":[],"mappings":";;;;AAAA,iDAAiD;AAAxC,+GAAA,cAAc,OAAA;AACvB,mDAA6D;AAApD,yIAAA,OAAO,OAAkB;AAClC,yCAAyC;AAAhC,uGAAA,UAAU,OAAA;AACnB,qCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,qCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,mEAAgE;AAAvD,8HAAA,oBAAoB,OAAA;AAC7B,+DAAmE;AAA1D,iIAAA,yBAAyB,OAAA;AAClC,yCAAwC;AAA/B,sGAAA,SAAS,OAAA;AAClB,qEAAuE;AAA9D,mJAAA,OAAO,OAAmB;AAEnC,mBAAmB;AACnB,qCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,mDAAmD;AAA1C,iHAAA,eAAe,OAAA;AACxB,mEAAgE;AAAvD,8HAAA,oBAAoB,OAAA;AAC7B,yCAA4D;AAAnD,sGAAA,SAAS,OAAA;AAAE,+GAAA,kBAAkB,OAAA;AACtC,6CAAgD;AAAvC,8GAAA,eAAe,OAAA"}
@@ -0,0 +1,188 @@
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
+ /**
55
+ * UniversalCore ABI
56
+ * Push Chain's UniversalCore precompile interface for gas fee estimation
57
+ */
58
+ export declare const UNIVERSAL_CORE_EVM: readonly [{
59
+ readonly type: "function";
60
+ readonly name: "getOutboundTxGasAndFees";
61
+ readonly inputs: readonly [{
62
+ readonly name: "_prc20";
63
+ readonly type: "address";
64
+ readonly internalType: "address";
65
+ }, {
66
+ readonly name: "gasLimitWithBaseLimit";
67
+ readonly type: "uint256";
68
+ readonly internalType: "uint256";
69
+ }];
70
+ readonly outputs: readonly [{
71
+ readonly name: "gasToken";
72
+ readonly type: "address";
73
+ readonly internalType: "address";
74
+ }, {
75
+ readonly name: "gasFee";
76
+ readonly type: "uint256";
77
+ readonly internalType: "uint256";
78
+ }, {
79
+ readonly name: "protocolFee";
80
+ readonly type: "uint256";
81
+ readonly internalType: "uint256";
82
+ }, {
83
+ readonly name: "gasPrice";
84
+ readonly type: "uint256";
85
+ readonly internalType: "uint256";
86
+ }, {
87
+ readonly name: "chainNamespace";
88
+ readonly type: "string";
89
+ readonly internalType: "string";
90
+ }];
91
+ readonly stateMutability: "view";
92
+ }, {
93
+ readonly type: "function";
94
+ readonly name: "BASE_GAS_LIMIT";
95
+ readonly inputs: readonly [];
96
+ readonly outputs: readonly [{
97
+ readonly name: "baseGasLimit";
98
+ readonly type: "uint256";
99
+ readonly internalType: "uint256";
100
+ }];
101
+ readonly stateMutability: "view";
102
+ }, {
103
+ readonly type: "function";
104
+ readonly name: "baseGasLimitByChainNamespace";
105
+ readonly inputs: readonly [{
106
+ readonly name: "chainNamespace";
107
+ readonly type: "string";
108
+ readonly internalType: "string";
109
+ }];
110
+ readonly outputs: readonly [{
111
+ readonly name: "";
112
+ readonly type: "uint256";
113
+ readonly internalType: "uint256";
114
+ }];
115
+ readonly stateMutability: "view";
116
+ }, {
117
+ readonly type: "function";
118
+ readonly name: "gasPriceByChainNamespace";
119
+ readonly inputs: readonly [{
120
+ readonly name: "chainNamespace";
121
+ readonly type: "string";
122
+ readonly internalType: "string";
123
+ }];
124
+ readonly outputs: readonly [{
125
+ readonly name: "";
126
+ readonly type: "uint256";
127
+ readonly internalType: "uint256";
128
+ }];
129
+ readonly stateMutability: "view";
130
+ }, {
131
+ readonly type: "function";
132
+ readonly name: "gasTokenPRC20ByChainNamespace";
133
+ readonly inputs: readonly [{
134
+ readonly name: "chainNamespace";
135
+ readonly type: "string";
136
+ readonly internalType: "string";
137
+ }];
138
+ readonly outputs: readonly [{
139
+ readonly name: "";
140
+ readonly type: "address";
141
+ readonly internalType: "address";
142
+ }];
143
+ readonly stateMutability: "view";
144
+ }, {
145
+ readonly type: "function";
146
+ readonly name: "getRescueFundsGasLimit";
147
+ readonly inputs: readonly [];
148
+ readonly outputs: readonly [{
149
+ readonly name: "";
150
+ readonly type: "uint256";
151
+ readonly internalType: "uint256";
152
+ }];
153
+ readonly stateMutability: "view";
154
+ }, {
155
+ readonly type: "function";
156
+ readonly name: "swapAndBurnGas";
157
+ readonly inputs: readonly [{
158
+ readonly name: "gasToken";
159
+ readonly type: "address";
160
+ readonly internalType: "address";
161
+ }, {
162
+ readonly name: "gasFee";
163
+ readonly type: "uint256";
164
+ readonly internalType: "uint256";
165
+ }, {
166
+ readonly name: "protocolFee";
167
+ readonly type: "uint256";
168
+ readonly internalType: "uint256";
169
+ }, {
170
+ readonly name: "vaultPC";
171
+ readonly type: "address";
172
+ readonly internalType: "address";
173
+ }];
174
+ readonly outputs: readonly [];
175
+ readonly stateMutability: "payable";
176
+ }, {
177
+ readonly type: "error";
178
+ readonly name: "GasLimitBelowBase";
179
+ readonly inputs: readonly [{
180
+ readonly name: "provided";
181
+ readonly type: "uint256";
182
+ readonly internalType: "uint256";
183
+ }, {
184
+ readonly name: "minimum";
185
+ readonly type: "uint256";
186
+ readonly internalType: "uint256";
187
+ }];
188
+ }];
@@ -0,0 +1,130 @@
1
+ "use strict";
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
+ ];
45
+ /**
46
+ * UniversalCore ABI
47
+ * Push Chain's UniversalCore precompile interface for gas fee estimation
48
+ */
49
+ exports.UNIVERSAL_CORE_EVM = [
50
+ // Get outbound tx gas and fees for a PRC20 token with gas limit
51
+ {
52
+ type: 'function',
53
+ name: 'getOutboundTxGasAndFees',
54
+ inputs: [
55
+ { name: '_prc20', type: 'address', internalType: 'address' },
56
+ { name: 'gasLimitWithBaseLimit', type: 'uint256', internalType: 'uint256' },
57
+ ],
58
+ outputs: [
59
+ { name: 'gasToken', type: 'address', internalType: 'address' },
60
+ { name: 'gasFee', type: 'uint256', internalType: 'uint256' },
61
+ { name: 'protocolFee', type: 'uint256', internalType: 'uint256' },
62
+ { name: 'gasPrice', type: 'uint256', internalType: 'uint256' },
63
+ { name: 'chainNamespace', type: 'string', internalType: 'string' },
64
+ ],
65
+ stateMutability: 'view',
66
+ },
67
+ // Base gas limit (legacy global — use baseGasLimitByChainNamespace for per-chain)
68
+ {
69
+ type: 'function',
70
+ name: 'BASE_GAS_LIMIT',
71
+ inputs: [],
72
+ outputs: [{ name: 'baseGasLimit', type: 'uint256', internalType: 'uint256' }],
73
+ stateMutability: 'view',
74
+ },
75
+ // Per-chain base gas limit
76
+ {
77
+ type: 'function',
78
+ name: 'baseGasLimitByChainNamespace',
79
+ inputs: [{ name: 'chainNamespace', type: 'string', internalType: 'string' }],
80
+ outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
81
+ stateMutability: 'view',
82
+ },
83
+ // Gas price by chain namespace
84
+ {
85
+ type: 'function',
86
+ name: 'gasPriceByChainNamespace',
87
+ inputs: [{ name: 'chainNamespace', type: 'string', internalType: 'string' }],
88
+ outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
89
+ stateMutability: 'view',
90
+ },
91
+ // Gas token PRC20 by chain namespace
92
+ {
93
+ type: 'function',
94
+ name: 'gasTokenPRC20ByChainNamespace',
95
+ inputs: [{ name: 'chainNamespace', type: 'string', internalType: 'string' }],
96
+ outputs: [{ name: '', type: 'address', internalType: 'address' }],
97
+ stateMutability: 'view',
98
+ },
99
+ // Rescue funds gas limit
100
+ {
101
+ type: 'function',
102
+ name: 'getRescueFundsGasLimit',
103
+ inputs: [],
104
+ outputs: [{ name: '', type: 'uint256', internalType: 'uint256' }],
105
+ stateMutability: 'view',
106
+ },
107
+ // Swap and burn gas (gateway-only)
108
+ {
109
+ type: 'function',
110
+ name: 'swapAndBurnGas',
111
+ inputs: [
112
+ { name: 'gasToken', type: 'address', internalType: 'address' },
113
+ { name: 'gasFee', type: 'uint256', internalType: 'uint256' },
114
+ { name: 'protocolFee', type: 'uint256', internalType: 'uint256' },
115
+ { name: 'vaultPC', type: 'address', internalType: 'address' },
116
+ ],
117
+ outputs: [],
118
+ stateMutability: 'payable',
119
+ },
120
+ // Errors
121
+ {
122
+ type: 'error',
123
+ name: 'GasLimitBelowBase',
124
+ inputs: [
125
+ { name: 'provided', type: 'uint256', internalType: 'uint256' },
126
+ { name: 'minimum', type: 'uint256', internalType: 'uint256' },
127
+ ],
128
+ },
129
+ ];
130
+ //# sourceMappingURL=prc20.evm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prc20.evm.js","sourceRoot":"","sources":["../../../../../../../packages/core/src/lib/constants/abi/prc20.evm.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACU,QAAA,SAAS,GAAG;IACvB,6DAA6D;IAC7D;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,4BAA4B;QAClC,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC;QACxE,OAAO,EAAE;YACP,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE;YAC9D,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE;SAC7D;QACD,eAAe,EAAE,MAAM;KACxB;IACD,oBAAoB;IACpB;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,WAAW;QACjB,MAAM,EAAE,EAAE;QACV,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC;QACjE,eAAe,EAAE,MA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xB;IACD,yBAAyB;IACzB;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,wBAAwB;QAC9B,MAAM,EAAE,EAAE;QACV,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC;QACjE,eAAe,EAAE,MAAM;KACxB;IACD,mCAAmC;IACnC;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,gBAAgB;QACtB,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE;YAC9D,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE;YAC5D,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE;YACjE,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE;SAC9D;QACD,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,SAAS;KAC3B;IACD,SAAS;IACT;QACE,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,mBAAmB;QACzB,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE;YAC9D,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE;SAC9D;KACF;CACO,CAAC"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Minimal ABI for UEAFactory on Push Chain.
3
+ * Used to read the latest UEA implementation version (minRequiredVersion)
4
+ * and the migration contract address.
5
+ */
6
+ export declare const UEA_FACTORY_ABI: readonly [{
7
+ readonly type: "function";
8
+ readonly name: "UEA_VERSION";
9
+ readonly inputs: readonly [{
10
+ readonly name: "vmHash";
11
+ readonly type: "bytes32";
12
+ readonly internalType: "bytes32";
13
+ }];
14
+ readonly outputs: readonly [{
15
+ readonly name: "";
16
+ readonly type: "string";
17
+ readonly internalType: "string";
18
+ }];
19
+ readonly stateMutability: "view";
20
+ }, {
21
+ readonly type: "function";
22
+ readonly name: "UEA_MIGRATION_CONTRACT";
23
+ readonly inputs: readonly [];
24
+ readonly outputs: readonly [{
25
+ readonly name: "";
26
+ readonly type: "address";
27
+ readonly internalType: "address";
28
+ }];
29
+ readonly stateMutability: "view";
30
+ }];