@lombard.finance/ts-verifier 0.1.4 → 0.1.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 +61 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.d.ts.map +1 -1
- package/dist/chain-id.d.ts +10 -4
- package/dist/chain-id.d.ts.map +1 -1
- package/dist/compute-address.test.d.ts +2 -0
- package/dist/compute-address.test.d.ts.map +1 -0
- package/dist/deposit-address.d.ts +82 -33
- package/dist/deposit-address.d.ts.map +1 -1
- package/dist/deposit-address.test.d.ts +2 -0
- package/dist/deposit-address.test.d.ts.map +1 -0
- package/dist/index.cjs +19 -19
- package/dist/index.js +11280 -11302
- package/dist/tweaker.d.ts +1 -1
- package/package.json +5 -2
- package/src/api.ts +2 -0
- package/src/chain-id.ts +131 -3
- package/src/compute-address.test.ts +88 -0
- package/src/crypto-browserify.d.ts +2 -3
- package/src/deposit-address.test.ts +436 -0
- package/src/deposit-address.ts +302 -210
- package/src/segwit-tweak.ts +1 -1
- package/src/tweaker.ts +4 -4
- package/src/verifier.ts +15 -0
package/README.md
CHANGED
|
@@ -41,6 +41,11 @@ Possible options for blockchain are:
|
|
|
41
41
|
- `ink`
|
|
42
42
|
- `solana`
|
|
43
43
|
- `katana`
|
|
44
|
+
- `monad`
|
|
45
|
+
- `stable`
|
|
46
|
+
- `megaeth`
|
|
47
|
+
- `avalanche`
|
|
48
|
+
- `starknet`
|
|
44
49
|
|
|
45
50
|
You can also run an example:
|
|
46
51
|
```bash
|
|
@@ -88,3 +93,59 @@ Metadata used:
|
|
|
88
93
|
Addresses match!
|
|
89
94
|
```
|
|
90
95
|
|
|
96
|
+
## Programmatic Usage
|
|
97
|
+
|
|
98
|
+
This package can also be used as an npm dependency:
|
|
99
|
+
|
|
100
|
+
```bash
|
|
101
|
+
npm install @lombard.finance/ts-verifier
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### Verify with API (Online)
|
|
105
|
+
|
|
106
|
+
Fetches deposit metadata from Lombard API and verifies addresses match:
|
|
107
|
+
|
|
108
|
+
```typescript
|
|
109
|
+
import { DepositAddressVerifier, SupportedBlockchains, Networks } from "@lombard.finance/ts-verifier";
|
|
110
|
+
|
|
111
|
+
const result = await DepositAddressVerifier.verifyOnline({
|
|
112
|
+
chain: SupportedBlockchains.Ethereum,
|
|
113
|
+
toAddress: "0x0F90793a54E809bf708bd0FbCC63d311E3bb1BE1",
|
|
114
|
+
network: Networks.mainnet, // optional, defaults to mainnet
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
result.addresses.forEach((addr) => {
|
|
118
|
+
if (addr.computed === addr.expected) {
|
|
119
|
+
console.log("Match!", addr.computed);
|
|
120
|
+
} else {
|
|
121
|
+
console.log("Mismatch!", addr.computed, addr.expected);
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
### Offline Verification
|
|
127
|
+
|
|
128
|
+
For fully offline verification without API calls, use `computeOffline` with all parameters:
|
|
129
|
+
|
|
130
|
+
```typescript
|
|
131
|
+
import { DepositAddressVerifier, SupportedBlockchains, Networks } from "@lombard.finance/ts-verifier";
|
|
132
|
+
|
|
133
|
+
const btcAddress = await DepositAddressVerifier.computeOffline({
|
|
134
|
+
chain: SupportedBlockchains.Ethereum,
|
|
135
|
+
toAddress: "0x0F90793a54E809bf708bd0FbCC63d311E3bb1BE1",
|
|
136
|
+
tokenAddress: "0x8236a87084f8B84306f72007F36F2618A5634494",
|
|
137
|
+
referralId: "lombard",
|
|
138
|
+
nonce: 0,
|
|
139
|
+
auxVersion: 0,
|
|
140
|
+
network: Networks.mainnet, // optional, defaults to mainnet
|
|
141
|
+
});
|
|
142
|
+
|
|
143
|
+
console.log(btcAddress); // bc1q24ens7l06vt8p6qqw3zvfmyh6ky0csxa7nwhcd
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## Running Tests
|
|
147
|
+
|
|
148
|
+
```bash
|
|
149
|
+
yarn test
|
|
150
|
+
```
|
|
151
|
+
|
package/dist/api.d.ts
CHANGED
package/dist/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AACA,OAAO,EAAY,aAAa,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAa,MAAM,YAAY,CAAC;AASlE,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,WAAW;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,eAAe,CAAC;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,WAAW,EAAE,CAAC;CAC1B;AAED,qBAAa,QAAS,SAAQ,KAAK;IAGxB,UAAU,CAAC,EAAE,MAAM;gBAD1B,OAAO,EAAE,MAAM,EACR,UAAU,CAAC,EAAE,MAAM,YAAA;CAK7B;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE;QACT,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;QAClB,UAAU,EAAE,MAAM,CAAC;QACnB,KAAK,EAAE,MAAM,CAAC;QACd,UAAU,EAAE,MAAM,CAAC;QACnB,YAAY,EAAE,OAAO,CAAC;KACvB,EAAE,CAAC;CACL;AAGD,wBAAsB,oBAAoB,CACxC,WAAW,EAAE,gBAAgB,EAC7B,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,aAAa,GACrB,OAAO,CAAC,iBAAiB,CAAC,
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AACA,OAAO,EAAY,aAAa,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAa,MAAM,YAAY,CAAC;AASlE,MAAM,WAAW,eAAe;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,WAAW;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,gBAAgB,EAAE,eAAe,CAAC;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,WAAW,EAAE,CAAC;CAC1B;AAED,qBAAa,QAAS,SAAQ,KAAK;IAGxB,UAAU,CAAC,EAAE,MAAM;gBAD1B,OAAO,EAAE,MAAM,EACR,UAAU,CAAC,EAAE,MAAM,YAAA;CAK7B;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE;QACT,UAAU,EAAE,MAAM,CAAC;QACnB,SAAS,EAAE,MAAM,CAAC;QAClB,YAAY,EAAE,MAAM,CAAC;QACrB,UAAU,EAAE,MAAM,CAAC;QACnB,KAAK,EAAE,MAAM,CAAC;QACd,UAAU,EAAE,MAAM,CAAC;QACnB,YAAY,EAAE,OAAO,CAAC;KACvB,EAAE,CAAC;CACL;AAGD,wBAAsB,oBAAoB,CACxC,WAAW,EAAE,gBAAgB,EAC7B,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,aAAa,GACrB,OAAO,CAAC,iBAAiB,CAAC,CA4D5B;AAED,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAEjD"}
|
package/dist/chain-id.d.ts
CHANGED
|
@@ -3,7 +3,8 @@ export type LChainId = Buffer;
|
|
|
3
3
|
export declare enum Ecosystem {
|
|
4
4
|
EVM = "evm",
|
|
5
5
|
Sui = "sui",
|
|
6
|
-
Solana = "solana"
|
|
6
|
+
Solana = "solana",
|
|
7
|
+
Starknet = "starknet"
|
|
7
8
|
}
|
|
8
9
|
export declare enum SupportedBlockchains {
|
|
9
10
|
Ethereum = "ethereum",
|
|
@@ -13,7 +14,12 @@ export declare enum SupportedBlockchains {
|
|
|
13
14
|
Sonic = "sonic",
|
|
14
15
|
Ink = "ink",
|
|
15
16
|
Solana = "solana",
|
|
16
|
-
Katana = "katana"
|
|
17
|
+
Katana = "katana",
|
|
18
|
+
Monad = "monad",
|
|
19
|
+
Stable = "stable",
|
|
20
|
+
MegaETH = "megaeth",
|
|
21
|
+
Avalanche = "avalanche",
|
|
22
|
+
Starknet = "starknet"
|
|
17
23
|
}
|
|
18
24
|
export declare const mainnetBlockchainConfigs: Map<SupportedBlockchains, {
|
|
19
25
|
chainId: Buffer<ArrayBuffer>;
|
|
@@ -31,13 +37,13 @@ export declare const mainnetBlockchainConfigs: Map<SupportedBlockchains, {
|
|
|
31
37
|
export declare const gastaldBlockchainConfigs: Map<SupportedBlockchains, {
|
|
32
38
|
chainId: Buffer<ArrayBuffer>;
|
|
33
39
|
stlbtc: Buffer<ArrayBuffer>;
|
|
34
|
-
nativeLbtc:
|
|
40
|
+
nativeLbtc: Buffer<ArrayBuffer>;
|
|
35
41
|
name: string;
|
|
36
42
|
ecosystem: Ecosystem;
|
|
37
43
|
} | {
|
|
38
44
|
chainId: Buffer<ArrayBuffer>;
|
|
39
45
|
stlbtc: Buffer<ArrayBuffer>;
|
|
40
|
-
nativeLbtc:
|
|
46
|
+
nativeLbtc: null;
|
|
41
47
|
name: string;
|
|
42
48
|
ecosystem: Ecosystem;
|
|
43
49
|
}>;
|
package/dist/chain-id.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chain-id.d.ts","sourceRoot":"","sources":["../src/chain-id.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC;AAG7B,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC;AAG9B,oBAAY,SAAS;IACnB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,MAAM,WAAW;
|
|
1
|
+
{"version":3,"file":"chain-id.d.ts","sourceRoot":"","sources":["../src/chain-id.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC;AAG7B,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC;AAG9B,oBAAY,SAAS;IACnB,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;AAED,oBAAY,oBAAoB;IAC9B,QAAQ,aAAa;IACrB,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,GAAG,QAAQ;IACX,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,QAAQ,aAAa;CACtB;AAGD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EA6MnC,CAAC;AAGH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EA6JnC,CAAC;AAGH,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,QAAQ,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,SAAS,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compute-address.test.d.ts","sourceRoot":"","sources":["../src/compute-address.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SupportedBlockchains } from "./chain-id";
|
|
2
2
|
import { NetworkParams } from "./bitcoin";
|
|
3
3
|
export declare const MAINNET_PUBLIC_KEY: Buffer<ArrayBuffer>;
|
|
4
4
|
export declare const GASTALD_PUBLIC_KEY: Buffer<ArrayBuffer>;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export interface AddressCalculationResult {
|
|
5
|
+
/**
|
|
6
|
+
* Result of online verification
|
|
7
|
+
*/
|
|
8
|
+
export interface AddressVerificationResult {
|
|
10
9
|
addresses: {
|
|
11
10
|
computed: string;
|
|
12
11
|
expected: string;
|
|
@@ -18,42 +17,92 @@ export interface AddressCalculationResult {
|
|
|
18
17
|
}[];
|
|
19
18
|
}
|
|
20
19
|
/**
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* This is generally defined as
|
|
24
|
-
*
|
|
25
|
-
* taggedHash( AuxData || DeprecatedChainTag || LChainId || LBTCAddress || WalletAddress )
|
|
26
|
-
*
|
|
27
|
-
* where:
|
|
28
|
-
* - 'taggedHash' is a sha256 instance as returned by 'depositHasher()'
|
|
29
|
-
* - 'AuxData' is a 32-byte value encoding chain-agnostic auxiliary data
|
|
30
|
-
* - 'DeprecatedChainTag' is the zero byte previously used to differentiate among chains
|
|
31
|
-
* - 'LChainId' is a 32 bytes big-endian unique identifier of the chain, internally defined by Lombard
|
|
32
|
-
* - 'TokenAddress' and 'ToAddress' are byte arrays representing the respective addresses on the selected chain
|
|
20
|
+
* Parameters for online verification
|
|
33
21
|
*/
|
|
34
|
-
export
|
|
22
|
+
export interface VerifyOnlineParams {
|
|
23
|
+
/** Target blockchain */
|
|
24
|
+
chain: SupportedBlockchains;
|
|
25
|
+
/** Destination address on target chain (hex for EVM/Sui/Starknet, base58 for Solana) */
|
|
26
|
+
toAddress: string;
|
|
27
|
+
/** Bitcoin network (mainnet or gastald). Defaults to mainnet */
|
|
28
|
+
network?: NetworkParams;
|
|
29
|
+
}
|
|
35
30
|
/**
|
|
36
|
-
*
|
|
31
|
+
* Parameters for offline address computation
|
|
37
32
|
*/
|
|
38
|
-
export
|
|
33
|
+
export interface ComputeOfflineParams {
|
|
34
|
+
/** Target blockchain */
|
|
35
|
+
chain: SupportedBlockchains;
|
|
36
|
+
/** Destination address on target chain (hex for EVM/Sui/Starknet, base58 for Solana) */
|
|
37
|
+
toAddress: string;
|
|
38
|
+
/** Token address on target chain (hex for EVM/Sui/Starknet, base58 for Solana) */
|
|
39
|
+
tokenAddress: string;
|
|
40
|
+
/** Partner/referral code */
|
|
41
|
+
referralId: string;
|
|
42
|
+
/** Nonce value */
|
|
43
|
+
nonce: number;
|
|
44
|
+
/** Aux data version */
|
|
45
|
+
auxVersion: number;
|
|
46
|
+
/** Bitcoin network (mainnet or gastald). Defaults to mainnet */
|
|
47
|
+
network?: NetworkParams;
|
|
48
|
+
}
|
|
39
49
|
/**
|
|
40
|
-
*
|
|
50
|
+
* Deposit address verifier with static methods for online and offline verification
|
|
41
51
|
*/
|
|
42
|
-
export declare class
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
52
|
+
export declare class DepositAddressVerifier {
|
|
53
|
+
/**
|
|
54
|
+
* Verify deposit addresses by fetching metadata from API and computing locally.
|
|
55
|
+
* Includes security checks to validate API response matches user-provided data.
|
|
56
|
+
*/
|
|
57
|
+
static verifyOnline(params: VerifyOnlineParams): Promise<AddressVerificationResult>;
|
|
58
|
+
/**
|
|
59
|
+
* Compute a deterministic Bitcoin deposit address without API calls.
|
|
60
|
+
* Use this for fully offline verification when you have all parameters.
|
|
61
|
+
*/
|
|
62
|
+
static computeOffline(params: ComputeOfflineParams): Promise<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Get common context: resolved network, chain config, and tweaker
|
|
65
|
+
*/
|
|
66
|
+
private static getContext;
|
|
67
|
+
/**
|
|
68
|
+
* Validate API response matches user-provided data
|
|
69
|
+
*/
|
|
70
|
+
private static validateApiResponse;
|
|
71
|
+
/**
|
|
72
|
+
* Parse token address to buffer based on ecosystem
|
|
73
|
+
*/
|
|
74
|
+
private static parseTokenAddress;
|
|
75
|
+
/**
|
|
76
|
+
* Format token address for display
|
|
77
|
+
*/
|
|
78
|
+
private static formatTokenAddress;
|
|
79
|
+
/**
|
|
80
|
+
* Parse destination address to buffer based on ecosystem
|
|
81
|
+
*/
|
|
82
|
+
private static parseToAddress;
|
|
83
|
+
/**
|
|
84
|
+
* Find Solana Associated Token Address
|
|
85
|
+
*/
|
|
86
|
+
private static findSolanaAssociatedTokenAddress;
|
|
46
87
|
/**
|
|
47
|
-
*
|
|
88
|
+
* Derive Bitcoin deposit address from parameters
|
|
48
89
|
*/
|
|
49
|
-
|
|
90
|
+
private static deriveAddress;
|
|
91
|
+
/**
|
|
92
|
+
* Compute the deposit tweak hash
|
|
93
|
+
*/
|
|
94
|
+
private static depositTweak;
|
|
95
|
+
/**
|
|
96
|
+
* Calculate tweak bytes with address length validation
|
|
97
|
+
*/
|
|
98
|
+
private static calcTweakBytes;
|
|
99
|
+
}
|
|
100
|
+
/** @deprecated Use DepositAddressVerifier.verifyOnline() instead */
|
|
101
|
+
export interface AddressCalculationResult extends AddressVerificationResult {
|
|
50
102
|
}
|
|
51
103
|
/**
|
|
52
|
-
*
|
|
53
|
-
|
|
54
|
-
export declare function createAddressService(config: Config): AddressService;
|
|
55
|
-
/**
|
|
56
|
-
* Main function for calculating a deterministic address
|
|
104
|
+
* @deprecated Use DepositAddressVerifier.verifyOnline() instead.
|
|
105
|
+
* This function is kept for backward compatibility and will be removed in a future version.
|
|
57
106
|
*/
|
|
58
107
|
export declare function calculateDeterministicAddress(chain: SupportedBlockchains, toAddress: string, network?: NetworkParams): Promise<AddressCalculationResult>;
|
|
59
108
|
//# sourceMappingURL=deposit-address.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deposit-address.d.ts","sourceRoot":"","sources":["../src/deposit-address.ts"],"names":[],"mappings":"AAOA,OAAO,
|
|
1
|
+
{"version":3,"file":"deposit-address.d.ts","sourceRoot":"","sources":["../src/deposit-address.ts"],"names":[],"mappings":"AAOA,OAAO,EAML,oBAAoB,EAErB,MAAM,YAAY,CAAC;AAGpB,OAAO,EAGL,aAAa,EAEd,MAAM,WAAW,CAAC;AAOnB,eAAO,MAAM,kBAAkB,qBAG9B,CAAC;AACF,eAAO,MAAM,kBAAkB,qBAG9B,CAAC;AAUF;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC,SAAS,EAAE;QACT,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QACjB,UAAU,EAAE,MAAM,CAAC;QACnB,UAAU,EAAE,MAAM,CAAC;QACnB,KAAK,EAAE,MAAM,CAAC;QACd,UAAU,EAAE,MAAM,CAAC;QACnB,YAAY,EAAE,MAAM,CAAC;KACtB,EAAE,CAAC;CACL;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,wBAAwB;IACxB,KAAK,EAAE,oBAAoB,CAAC;IAC5B,wFAAwF;IACxF,SAAS,EAAE,MAAM,CAAC;IAClB,gEAAgE;IAChE,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,wBAAwB;IACxB,KAAK,EAAE,oBAAoB,CAAC;IAC5B,wFAAwF;IACxF,SAAS,EAAE,MAAM,CAAC;IAClB,kFAAkF;IAClF,YAAY,EAAE,MAAM,CAAC;IACrB,4BAA4B;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,uBAAuB;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,gEAAgE;IAChE,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB;AAED;;GAEG;AACH,qBAAa,sBAAsB;IACjC;;;OAGG;WACU,YAAY,CACvB,MAAM,EAAE,kBAAkB,GACzB,OAAO,CAAC,yBAAyB,CAAC;IAmDrC;;;OAGG;WACU,cAAc,CAAC,MAAM,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;IA6B1E;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,UAAU;IA6BzB;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,mBAAmB;IA0BlC;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAShC;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,kBAAkB;IASjC;;OAEG;mBACkB,cAAc;IAgBnC;;OAEG;mBACkB,gCAAgC;IAUrD;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,aAAa;IA2B5B;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,YAAY;IAkB3B;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,cAAc;CAuB9B;AAMD,oEAAoE;AACpE,MAAM,WAAW,wBAAyB,SAAQ,yBAAyB;CAAG;AAE9E;;;GAGG;AACH,wBAAsB,6BAA6B,CACjD,KAAK,EAAE,oBAAoB,EAC3B,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE,aAAgC,GACxC,OAAO,CAAC,wBAAwB,CAAC,CAMnC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deposit-address.test.d.ts","sourceRoot":"","sources":["../src/deposit-address.test.ts"],"names":[],"mappings":""}
|