@cancore/contracts 0.2.0-rc.6 → 0.2.0-rc.7
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 +28 -16
- package/dist/abi.d.ts +110 -178
- package/dist/abi.js +1 -1
- package/dist/{chunk-NV5IUURP.js → chunk-GJPX4H5K.js} +132 -232
- package/dist/chunk-GJPX4H5K.js.map +1 -0
- package/dist/index.d.ts +9 -9
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/spec/abi/CancoreRouter.json +64 -155
- package/spec/abi/ICancoreRouter.json +64 -69
- package/spec/typed-data/FillProof.json +1 -1
- package/spec/typed-data/FillTicket.json +2 -1
- package/dist/chunk-NV5IUURP.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1146,7 +1146,7 @@ declare const CONTRACTS_RELEASE: {
|
|
|
1146
1146
|
readonly version: "1.4.0-dev";
|
|
1147
1147
|
readonly releaseChannel: "dev";
|
|
1148
1148
|
readonly updatedAt: "2026-07-24T19:55:00Z";
|
|
1149
|
-
readonly commit: "
|
|
1149
|
+
readonly commit: "c214f56f6fe5a62097833c5f1335b0cb5351b225";
|
|
1150
1150
|
};
|
|
1151
1151
|
/**
|
|
1152
1152
|
* Per contract, the build of the release, as evm-contracts
|
|
@@ -1178,10 +1178,10 @@ declare const BUILD_HASHES: {
|
|
|
1178
1178
|
readonly runtimeHexLength: 2394;
|
|
1179
1179
|
};
|
|
1180
1180
|
readonly CancoreRouter: {
|
|
1181
|
-
readonly creationHexSha256: "
|
|
1182
|
-
readonly runtimeHexSha256: "
|
|
1183
|
-
readonly creationHexLength:
|
|
1184
|
-
readonly runtimeHexLength:
|
|
1181
|
+
readonly creationHexSha256: "43f61c94c1bb04ee4a0f3ad39356744e6b542eb9945ce4f0561665e049d451b0";
|
|
1182
|
+
readonly runtimeHexSha256: "0c826474f8df21fdceefaf5234d3c50e0a8afcdf3124beb002aed4585227de72";
|
|
1183
|
+
readonly creationHexLength: 40820;
|
|
1184
|
+
readonly runtimeHexLength: 35248;
|
|
1185
1185
|
};
|
|
1186
1186
|
readonly CNRXStaking: {
|
|
1187
1187
|
readonly creationHexSha256: "dfda056ee22b593e2f2e1fc4e679fbb9dc34b04964f389b46914402c422b40fb";
|
|
@@ -1234,10 +1234,10 @@ declare const BYTECODE_HASHES: {
|
|
|
1234
1234
|
readonly deployedBytecodeLength: 2394;
|
|
1235
1235
|
};
|
|
1236
1236
|
readonly CancoreRouter: {
|
|
1237
|
-
readonly bytecodeHash: "
|
|
1238
|
-
readonly deployedBytecodeHash: "
|
|
1239
|
-
readonly bytecodeLength:
|
|
1240
|
-
readonly deployedBytecodeLength:
|
|
1237
|
+
readonly bytecodeHash: "43f61c94c1bb04ee4a0f3ad39356744e6b542eb9945ce4f0561665e049d451b0";
|
|
1238
|
+
readonly deployedBytecodeHash: "0c826474f8df21fdceefaf5234d3c50e0a8afcdf3124beb002aed4585227de72";
|
|
1239
|
+
readonly bytecodeLength: 40820;
|
|
1240
|
+
readonly deployedBytecodeLength: 35248;
|
|
1241
1241
|
};
|
|
1242
1242
|
readonly CNRXStaking: {
|
|
1243
1243
|
readonly bytecodeHash: "dfda056ee22b593e2f2e1fc4e679fbb9dc34b04964f389b46914402c422b40fb";
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ATTESTOR_SET_ABI, ATTESTOR_SET_ERRORS, CANCORE_ROUTER_ABI, CANCORE_ROUTER_ERRORS, CNRX_ABI, CNRX_ERRORS, CNRX_STAKING_ABI, CNRX_STAKING_ERRORS, FEE_VAULT_ABI, FEE_VAULT_ERRORS, HTLC_ABI, HTLC_ERRORS, IBURN_MINT_ERC20_ABI, ICANCORE_ROUTER_ABI, ICANCORE_ROUTER_ERRORS, IHTLC_ABI, IPERMIT2_ABI, MULTI_BALANCE_CHECKER_ABI, POINTS_CLAIM_ABI, POINTS_CLAIM_ERRORS } from './chunk-
|
|
1
|
+
export { ATTESTOR_SET_ABI, ATTESTOR_SET_ERRORS, CANCORE_ROUTER_ABI, CANCORE_ROUTER_ERRORS, CNRX_ABI, CNRX_ERRORS, CNRX_STAKING_ABI, CNRX_STAKING_ERRORS, FEE_VAULT_ABI, FEE_VAULT_ERRORS, HTLC_ABI, HTLC_ERRORS, IBURN_MINT_ERC20_ABI, ICANCORE_ROUTER_ABI, ICANCORE_ROUTER_ERRORS, IHTLC_ABI, IPERMIT2_ABI, MULTI_BALANCE_CHECKER_ABI, POINTS_CLAIM_ABI, POINTS_CLAIM_ERRORS } from './chunk-GJPX4H5K.js';
|
|
2
2
|
export { NETWORKS, NETWORK_ALIASES, networkByChainId, networkKindOf, networkOf } from './chunk-IAPV7XWJ.js';
|
|
3
3
|
import { utf8ToBytes, concatBytes, bytesToHex, hexToBytes } from '@noble/hashes/utils';
|
|
4
4
|
import { keccak_256 } from '@noble/hashes/sha3';
|
|
@@ -2567,7 +2567,7 @@ var CONTRACTS_RELEASE = {
|
|
|
2567
2567
|
"version": "1.4.0-dev",
|
|
2568
2568
|
"releaseChannel": "dev",
|
|
2569
2569
|
"updatedAt": "2026-07-24T19:55:00Z",
|
|
2570
|
-
"commit": "
|
|
2570
|
+
"commit": "c214f56f6fe5a62097833c5f1335b0cb5351b225"
|
|
2571
2571
|
};
|
|
2572
2572
|
var BUILD_HASHES = {
|
|
2573
2573
|
"HTLC": {
|
|
@@ -2589,10 +2589,10 @@ var BUILD_HASHES = {
|
|
|
2589
2589
|
"runtimeHexLength": 2394
|
|
2590
2590
|
},
|
|
2591
2591
|
"CancoreRouter": {
|
|
2592
|
-
"creationHexSha256": "
|
|
2593
|
-
"runtimeHexSha256": "
|
|
2594
|
-
"creationHexLength":
|
|
2595
|
-
"runtimeHexLength":
|
|
2592
|
+
"creationHexSha256": "43f61c94c1bb04ee4a0f3ad39356744e6b542eb9945ce4f0561665e049d451b0",
|
|
2593
|
+
"runtimeHexSha256": "0c826474f8df21fdceefaf5234d3c50e0a8afcdf3124beb002aed4585227de72",
|
|
2594
|
+
"creationHexLength": 40820,
|
|
2595
|
+
"runtimeHexLength": 35248
|
|
2596
2596
|
},
|
|
2597
2597
|
"CNRXStaking": {
|
|
2598
2598
|
"creationHexSha256": "dfda056ee22b593e2f2e1fc4e679fbb9dc34b04964f389b46914402c422b40fb",
|
|
@@ -2639,10 +2639,10 @@ var BYTECODE_HASHES = {
|
|
|
2639
2639
|
"deployedBytecodeLength": 2394
|
|
2640
2640
|
},
|
|
2641
2641
|
"CancoreRouter": {
|
|
2642
|
-
"bytecodeHash": "
|
|
2643
|
-
"deployedBytecodeHash": "
|
|
2644
|
-
"bytecodeLength":
|
|
2645
|
-
"deployedBytecodeLength":
|
|
2642
|
+
"bytecodeHash": "43f61c94c1bb04ee4a0f3ad39356744e6b542eb9945ce4f0561665e049d451b0",
|
|
2643
|
+
"deployedBytecodeHash": "0c826474f8df21fdceefaf5234d3c50e0a8afcdf3124beb002aed4585227de72",
|
|
2644
|
+
"bytecodeLength": 40820,
|
|
2645
|
+
"deployedBytecodeLength": 35248
|
|
2646
2646
|
},
|
|
2647
2647
|
"CNRXStaking": {
|
|
2648
2648
|
"bytecodeHash": "dfda056ee22b593e2f2e1fc4e679fbb9dc34b04964f389b46914402c422b40fb",
|