@anywalletkit/protocol-swap2-omniston 0.5.4 → 0.5.6
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 +72 -4
- package/dist/activity.cjs +4 -1
- package/dist/activity.cjs.map +1 -1
- package/dist/activity.d.cts +7 -1
- package/dist/activity.d.ts +7 -1
- package/dist/activity.js +1 -1
- package/dist/{chunk-AIWAM7BS.js → chunk-ENAEOF7N.js} +5 -2
- package/dist/chunk-ENAEOF7N.js.map +1 -0
- package/dist/{chunk-4JOTKQOT.js → chunk-FDSTD34Z.js} +10 -3
- package/dist/{chunk-4JOTKQOT.js.map → chunk-FDSTD34Z.js.map} +1 -1
- package/dist/chunk-IDRZHWWL.js +74 -0
- package/dist/chunk-IDRZHWWL.js.map +1 -0
- package/dist/{chunk-2E6CVWD6.js → chunk-IX4NF2J7.js} +2 -2
- package/dist/index.cjs +49 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/protocol.cjs +11 -1
- package/dist/protocol.cjs.map +1 -1
- package/dist/protocol.d.cts +1 -1
- package/dist/protocol.d.ts +1 -1
- package/dist/protocol.js +4 -4
- package/dist/{provider-CcCZB-Cj.d.cts → provider-BQzNkVvW.d.cts} +18 -2
- package/dist/{provider-CcCZB-Cj.d.ts → provider-BQzNkVvW.d.ts} +18 -2
- package/dist/provider.cjs +49 -2
- package/dist/provider.cjs.map +1 -1
- package/dist/provider.d.cts +1 -1
- package/dist/provider.d.ts +1 -1
- package/dist/provider.js +3 -3
- package/dist/validators.cjs +56 -3
- package/dist/validators.cjs.map +1 -1
- package/dist/validators.d.cts +1 -1
- package/dist/validators.d.ts +1 -1
- package/dist/validators.js +19 -3
- package/dist/validators.js.map +1 -1
- package/package.json +4 -4
- package/dist/chunk-AIWAM7BS.js.map +0 -1
- package/dist/chunk-JWYDIW4V.js +0 -37
- package/dist/chunk-JWYDIW4V.js.map +0 -1
- /package/dist/{chunk-2E6CVWD6.js.map → chunk-IX4NF2J7.js.map} +0 -0
package/dist/validators.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DEFAULT_OMNISTON_TON_CODE_HASHES, w as DEFAULT_OMNISTON_TON_PROXY_TON_MASTERS, x as DEFAULT_OMNISTON_TON_SWAP_INTERFACES, M as MAX_OMNISTON_EXCLUSIVITY_SECONDS, y as OmnistonTonDeliveryInput, z as OmnistonTonDeliveryLocatorOptions, B as OmnistonTonValidationOptions, F as TonEscrowBuildExpectation, G as TonOutputPositionInput, I as createOmnistonTonDeliveryLocator, J as createOmnistonTonValidators } from './provider-
|
|
1
|
+
export { D as DEFAULT_OMNISTON_TON_CODE_HASHES, w as DEFAULT_OMNISTON_TON_PROXY_TON_MASTERS, x as DEFAULT_OMNISTON_TON_SWAP_INTERFACES, M as MAX_OMNISTON_EXCLUSIVITY_SECONDS, y as OmnistonTonDeliveryInput, z as OmnistonTonDeliveryLocatorOptions, B as OmnistonTonValidationOptions, F as TonEscrowBuildExpectation, G as TonOutputPositionInput, I as createOmnistonTonDeliveryLocator, J as createOmnistonTonValidators } from './provider-BQzNkVvW.cjs';
|
|
2
2
|
import '@anywalletkit/protocol-swap2-core/types';
|
|
3
3
|
|
|
4
4
|
/** How far back (blocks) a factory event is searched, per chain — shared with the EVM input validator. */
|
package/dist/validators.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DEFAULT_OMNISTON_TON_CODE_HASHES, w as DEFAULT_OMNISTON_TON_PROXY_TON_MASTERS, x as DEFAULT_OMNISTON_TON_SWAP_INTERFACES, M as MAX_OMNISTON_EXCLUSIVITY_SECONDS, y as OmnistonTonDeliveryInput, z as OmnistonTonDeliveryLocatorOptions, B as OmnistonTonValidationOptions, F as TonEscrowBuildExpectation, G as TonOutputPositionInput, I as createOmnistonTonDeliveryLocator, J as createOmnistonTonValidators } from './provider-
|
|
1
|
+
export { D as DEFAULT_OMNISTON_TON_CODE_HASHES, w as DEFAULT_OMNISTON_TON_PROXY_TON_MASTERS, x as DEFAULT_OMNISTON_TON_SWAP_INTERFACES, M as MAX_OMNISTON_EXCLUSIVITY_SECONDS, y as OmnistonTonDeliveryInput, z as OmnistonTonDeliveryLocatorOptions, B as OmnistonTonValidationOptions, F as TonEscrowBuildExpectation, G as TonOutputPositionInput, I as createOmnistonTonDeliveryLocator, J as createOmnistonTonValidators } from './provider-BQzNkVvW.js';
|
|
2
2
|
import '@anywalletkit/protocol-swap2-core/types';
|
|
3
3
|
|
|
4
4
|
/** How far back (blocks) a factory event is searched, per chain — shared with the EVM input validator. */
|
package/dist/validators.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AUDITED_OMNISTON_EVM_ORDER_PROTOCOLS,
|
|
3
3
|
AUDITED_OMNISTON_SETTLEMENT_CONTRACTS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IDRZHWWL.js";
|
|
5
5
|
|
|
6
6
|
// src/validators/evm-output.ts
|
|
7
7
|
import {
|
|
@@ -580,8 +580,24 @@ var DEFAULT_OMNISTON_TON_CODE_HASHES = {
|
|
|
580
580
|
authorityKeys: ["ed210da12aa96ea42de4f2f61dc172bbaa3da86051a1b2a6f342f69a777d2770"],
|
|
581
581
|
/** EVM→TON output position: the contract the factory deploys for the
|
|
582
582
|
* resolver's jetton lock (observed on every resolver-created position,
|
|
583
|
-
* 2026-10-15/16), and the escrow code cell it carries in its state.
|
|
584
|
-
position
|
|
583
|
+
* 2026-10-15/16), and the escrow code cell it carries in its state.
|
|
584
|
+
* A position counts only when a trusted factory itself sent its deploy
|
|
585
|
+
* message, and a minter deploys only the position code stored in its own
|
|
586
|
+
* data, so this list follows the trusted minters in
|
|
587
|
+
* AUDITED_OMNISTON_SETTLEMENT_CONTRACTS["ton:-239"]:
|
|
588
|
+
* - eb503578…: positions of the rev2 Escrow Minter EQDybO88… (the position
|
|
589
|
+
* code stored in its data; reviewed 2026-11-12). The diff to rev1's
|
|
590
|
+
* e4d5115a… is 13 sub-VM calls in another mode (RUNVMX 20 -> 276) and 2
|
|
591
|
+
* escrow-code whitelist checks. The state layout is the same, and live
|
|
592
|
+
* and settled rev2 positions pass every check of
|
|
593
|
+
* validateTonOutputPosition.
|
|
594
|
+
* - e4d5115a… (positions of the rev1 minter EQAbWJ3Y…) left the default
|
|
595
|
+
* with rev1 on 2026-11-12. Only an EVM -> TON order quoted on rev1 less
|
|
596
|
+
* than 6 h before an app upgrades can still need it (positionCodeHashes
|
|
597
|
+
* with both codes, until those 6 h are over). That pin alone trusts no
|
|
598
|
+
* new order: a new quote must name a trusted minter, and a position
|
|
599
|
+
* counts only when the minter its quote named deployed it. */
|
|
600
|
+
position: ["eb503578b4d9cd791c9c0ecd0da6da4064aae2bcb19d3c924d4001c493386bc5"],
|
|
585
601
|
outputEscrow: ["d30423575384773abaad8d3c6f763898afa3d57a5693005904b7c61e95cee630"]
|
|
586
602
|
};
|
|
587
603
|
var POSITION_DEPLOY_OP = "0xf240cd30";
|