@atomiqlabs/chain-evm 1.0.0-dev.30 → 1.0.0-dev.32

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.
@@ -40,7 +40,7 @@ const CitreaContractAddresses = {
40
40
  TESTNET4: {
41
41
  executionContract: "0x9e289512965A0842b342A6BB3F3c41F22a555Cfe",
42
42
  swapContract: "0xBbf7755b674dD107d59F0650D1A3fA9C60bf6Fe6",
43
- btcRelayContract: "0xfd0FbA128244f502678251b07dEa0fb4EcE959F3",
43
+ btcRelayContract: "0x00D122E9f9766cd81a38D2dd44f9AFfb94c67Af7",
44
44
  btcRelayDeploymentHeight: 12346223,
45
45
  spvVaultContract: "0x9Bf990C6088F716279797a602b05941c40591533",
46
46
  spvVaultDeploymentHeight: 12346223,
@@ -17,6 +17,7 @@ import { EVMPreFetchVerification, EVMSwapInit } from "./modules/EVMSwapInit";
17
17
  import { EVMSwapRefund } from "./modules/EVMSwapRefund";
18
18
  import { EVMSwapClaim } from "./modules/EVMSwapClaim";
19
19
  export declare class EVMSwapContract<ChainId extends string = string> extends EVMContractBase<EscrowManager> implements SwapContract<EVMSwapData, EVMTx, never, EVMPreFetchVerification, EVMSigner, ChainId> {
20
+ readonly supportsInitWithoutClaimer = true;
20
21
  readonly chainId: ChainId;
21
22
  readonly claimWithSecretTimeout: number;
22
23
  readonly claimWithTxDataTimeout: number;
@@ -20,6 +20,7 @@ const ESCROW_STATE_REFUNDED = 3;
20
20
  class EVMSwapContract extends EVMContractBase_1.EVMContractBase {
21
21
  constructor(chainInterface, btcRelay, contractAddress, handlerAddresses) {
22
22
  super(chainInterface, contractAddress, EscrowManagerAbi_1.EscrowManagerAbi);
23
+ this.supportsInitWithoutClaimer = true;
23
24
  ////////////////////////
24
25
  //// Timeouts
25
26
  this.claimWithSecretTimeout = 180;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atomiqlabs/chain-evm",
3
- "version": "1.0.0-dev.30",
3
+ "version": "1.0.0-dev.32",
4
4
  "description": "EVM specific base implementation",
5
5
  "main": "./dist/index.js",
6
6
  "types:": "./dist/index.d.ts",
@@ -23,7 +23,7 @@
23
23
  "author": "adambor",
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@atomiqlabs/base": "^10.0.0-dev.2",
26
+ "@atomiqlabs/base": "^10.0.0-dev.7",
27
27
  "@noble/hashes": "^1.8.0",
28
28
  "@scure/btc-signer": "1.6.0",
29
29
  "buffer": "6.0.3"
@@ -44,7 +44,7 @@ const CitreaContractAddresses = {
44
44
  TESTNET4: {
45
45
  executionContract: "0x9e289512965A0842b342A6BB3F3c41F22a555Cfe",
46
46
  swapContract: "0xBbf7755b674dD107d59F0650D1A3fA9C60bf6Fe6",
47
- btcRelayContract: "0xfd0FbA128244f502678251b07dEa0fb4EcE959F3",
47
+ btcRelayContract: "0x00D122E9f9766cd81a38D2dd44f9AFfb94c67Af7",
48
48
  btcRelayDeploymentHeight: 12346223,
49
49
  spvVaultContract: "0x9Bf990C6088F716279797a602b05941c40591533",
50
50
  spvVaultDeploymentHeight: 12346223,
@@ -42,6 +42,8 @@ export class EVMSwapContract<ChainId extends string = string>
42
42
  ChainId
43
43
  > {
44
44
 
45
+ readonly supportsInitWithoutClaimer = true;
46
+
45
47
  ////////////////////////
46
48
  //// Constants
47
49
  readonly chainId: ChainId;