@galacticcouncil/xc-cfg 2.6.1 → 2.7.0-pr371-24edd42

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.
@@ -9,5 +9,10 @@ export declare class NttEvmClient implements NttClient {
9
9
  getInboundLimit(from: AnyChain): Promise<NttRateLimit>;
10
10
  /** An evm redeem holds nothing - receiveMessage moves no value. */
11
11
  getRedeemBudget(): Promise<ExecutorBudget>;
12
+ /**
13
+ * Custody of a locking manager is its own token balance - unlock is a
14
+ * plain `safeTransfer` out of it, with no separate counter.
15
+ */
16
+ getCustody(): Promise<bigint | undefined>;
12
17
  private getLimit;
13
18
  }
@@ -17,6 +17,11 @@ export declare class NttSolanaClient implements NttClient {
17
17
  * account would pay for rent nobody spends.
18
18
  */
19
19
  getRedeemBudget(recipient?: string): Promise<ExecutorBudget>;
20
+ /**
21
+ * Custody is the token account named by the manager config, released
22
+ * balance-based - same account a plain spl transfer tops up.
23
+ */
24
+ getCustody(): Promise<bigint | undefined>;
20
25
  private getLimit;
21
26
  private rateLimitPda;
22
27
  }
@@ -9,5 +9,7 @@ export declare class NttSuiClient implements NttClient {
9
9
  getInboundLimit(from: AnyChain): Promise<NttRateLimit>;
10
10
  /** A sui redeem holds nothing - the coin is minted to the recipient. */
11
11
  getRedeemBudget(): Promise<ExecutorBudget>;
12
+ /** Custody is the `balance` field of a locking manager's `State`. */
13
+ getCustody(): Promise<bigint | undefined>;
12
14
  private getLimit;
13
15
  }
@@ -31,6 +31,7 @@ export interface NttClient {
31
31
  * the budget assumes the worst case rather than reading chain.
32
32
  */
33
33
  getRedeemBudget(recipient?: string): Promise<ExecutorBudget>;
34
+ getCustody(): Promise<bigint | undefined>;
34
35
  }
35
36
  export declare const UNMETERED: NttRateLimit;
36
37
  /**