@ledgerhq/revault-api 1.36.0 → 1.37.1
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/lib/{app-types-CG9mLS0l.d.mts → app-types-BYRSuEx3.d.mts} +1123 -106
- package/lib/fakes.d.mts +169 -21
- package/lib/fakes.mjs +179 -89
- package/lib/fakes.mjs.map +1 -1
- package/lib/index.d.mts +2674 -180
- package/package.json +1 -1
package/lib/index.d.mts
CHANGED
|
@@ -10,7 +10,8 @@ import * as _trpc_server_unstable_core_do_not_import from '@trpc/server/unstable
|
|
|
10
10
|
import * as fastify_types_type_provider from 'fastify/types/type-provider';
|
|
11
11
|
import * as http from 'http';
|
|
12
12
|
import * as fastify from 'fastify';
|
|
13
|
-
|
|
13
|
+
import { C as CurrencyResponse, T as TokenResponse } from './app-types-BYRSuEx3.mjs';
|
|
14
|
+
export { b as AccountFreshAddress, A as AccountResponse, a as AccountSortBy, j as ApiChallenge, H as HsmCertificate, P as PsdChallenge, k as PsdPairingData, l as PsdPairingInputData, m as PsdSignature, n as PubKey, R as RequestSortBy, S as SuiLikeTransactionInput, G as UserChallengeResponse, U as UserRegistrationChallenge, o as UserRegistrationChallengeResponse, p as UserRegistrationDeviceData, V as VaultRequestCreateInput, D as VaultRequestResponse, e as zAccountFreshAddress, d as zAccountLiveData, z as zAccountResponse, c as zAccountSortBy, f as zBalance, i as zCurrencyCapabilitiesResponse, g as zCurrencyResponse, q as zPsdPairingData, r as zPsdPairingInputData, s as zPsdSignature, t as zPubKey, E as zRequestSortBy, y as zSuiLikeTransactionInput, h as zTokenResponse, F as zUserChallengeResponse, u as zUserRegistrationChallenge, v as zUserRegistrationChallengeResponse, w as zUserRegistrationDeviceData, x as zVaultRequestCreateInput, B as zVaultRequestResponse } from './app-types-BYRSuEx3.mjs';
|
|
14
15
|
export { CreateWebhookPayload, DeleteWebhookResponse, WebhookResponse, WebhooksResponse, zCreateWebhookPayload, zDeleteWebhookResponse, zWebhookResponse } from '@ledgerhq/revault-notifier-types/webhook';
|
|
15
16
|
|
|
16
17
|
type RateLimitRouteMetricsConfig = {
|
|
@@ -1556,12 +1557,12 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1556
1557
|
input: {
|
|
1557
1558
|
name?: string | undefined;
|
|
1558
1559
|
status?: "ACTIVE" | "INACTIVE" | undefined;
|
|
1560
|
+
contractAddress?: string | null | undefined;
|
|
1559
1561
|
page?: number | undefined;
|
|
1560
1562
|
pageSize?: number | undefined;
|
|
1561
1563
|
currency?: string | undefined;
|
|
1562
1564
|
governanceType?: "CLASSIC" | "TRADELINK" | "RAW_SIGNING" | undefined;
|
|
1563
1565
|
index?: number | undefined;
|
|
1564
|
-
contractAddress?: string | undefined;
|
|
1565
1566
|
allowedAction?: "SIGN_MESSAGE" | "SIGN_DIGESTS" | "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN" | undefined;
|
|
1566
1567
|
sortBy?: "name" | "createdAt" | "updatedAt" | "currency" | "index" | undefined;
|
|
1567
1568
|
sortOrder?: "asc" | "desc" | undefined;
|
|
@@ -1576,12 +1577,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1576
1577
|
name: string;
|
|
1577
1578
|
status: "ACTIVE" | "INACTIVE";
|
|
1578
1579
|
id: string;
|
|
1580
|
+
network: string;
|
|
1581
|
+
contractAddress: string | null;
|
|
1579
1582
|
derivationPath: string;
|
|
1580
1583
|
createdAt: Date;
|
|
1581
1584
|
updatedAt: Date;
|
|
1582
1585
|
currency: string;
|
|
1583
1586
|
index: number;
|
|
1584
|
-
contractAddress: string | null;
|
|
1585
1587
|
asset: {
|
|
1586
1588
|
type: "BITCOIN_LIKE";
|
|
1587
1589
|
xpub: string;
|
|
@@ -1618,6 +1620,9 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1618
1620
|
} | {
|
|
1619
1621
|
type: "TEZOS_LIKE";
|
|
1620
1622
|
address: string | null;
|
|
1623
|
+
} | {
|
|
1624
|
+
type: "TRON_LIKE";
|
|
1625
|
+
address: string | null;
|
|
1621
1626
|
};
|
|
1622
1627
|
governance: {
|
|
1623
1628
|
type: "CLASSIC";
|
|
@@ -1662,12 +1667,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1662
1667
|
name: string;
|
|
1663
1668
|
status: "ACTIVE" | "INACTIVE";
|
|
1664
1669
|
id: string;
|
|
1670
|
+
network: string;
|
|
1671
|
+
contractAddress: string | null;
|
|
1665
1672
|
derivationPath: string;
|
|
1666
1673
|
createdAt: Date;
|
|
1667
1674
|
updatedAt: Date;
|
|
1668
1675
|
currency: string;
|
|
1669
1676
|
index: number;
|
|
1670
|
-
contractAddress: string | null;
|
|
1671
1677
|
asset: {
|
|
1672
1678
|
type: "BITCOIN_LIKE";
|
|
1673
1679
|
xpub: string;
|
|
@@ -1704,6 +1710,9 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1704
1710
|
} | {
|
|
1705
1711
|
type: "TEZOS_LIKE";
|
|
1706
1712
|
address: string | null;
|
|
1713
|
+
} | {
|
|
1714
|
+
type: "TRON_LIKE";
|
|
1715
|
+
address: string | null;
|
|
1707
1716
|
};
|
|
1708
1717
|
governance: {
|
|
1709
1718
|
type: "CLASSIC";
|
|
@@ -1920,7 +1929,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
1920
1929
|
senders: string[];
|
|
1921
1930
|
recipients: string[];
|
|
1922
1931
|
} | {
|
|
1923
|
-
type: "SOLANA_LIKE_SEND" | "SOLANA_LIKE_RECEIVE" | "SOLANA_LIKE_CREATE_DELEGATE_STAKE" | "SOLANA_LIKE_DELEGATE_STAKE" | "SOLANA_LIKE_WITHDRAW_STAKE" | "SOLANA_LIKE_DEACTIVATE_STAKE" | "SOLANA_LIKE_SPLIT_STAKE" | "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE" | "SOLANA_LIKE_MERGE_STAKE" | "SOLANA_LIKE_SEND_TOKEN" | "
|
|
1932
|
+
type: "SOLANA_LIKE_SEND" | "SOLANA_LIKE_RECEIVE" | "SOLANA_LIKE_CREATE_DELEGATE_STAKE" | "SOLANA_LIKE_DELEGATE_STAKE" | "SOLANA_LIKE_WITHDRAW_STAKE" | "SOLANA_LIKE_DEACTIVATE_STAKE" | "SOLANA_LIKE_SPLIT_STAKE" | "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE" | "SOLANA_LIKE_MERGE_STAKE" | "SOLANA_LIKE_SEND_TOKEN" | "SOLANA_LIKE_FUND_AND_SEND_TOKEN" | "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
1924
1933
|
status: "FAILED" | "SUCCESSFUL";
|
|
1925
1934
|
id: string;
|
|
1926
1935
|
note: {
|
|
@@ -2267,7 +2276,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2267
2276
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
2268
2277
|
};
|
|
2269
2278
|
} | {
|
|
2270
|
-
type: "
|
|
2279
|
+
type: "SOLANA_LIKE_FUND_AND_SEND_TOKEN";
|
|
2271
2280
|
currency: string;
|
|
2272
2281
|
recipient: string;
|
|
2273
2282
|
amount: string;
|
|
@@ -2275,6 +2284,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2275
2284
|
feeStrategy: {
|
|
2276
2285
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
2277
2286
|
};
|
|
2287
|
+
} | {
|
|
2288
|
+
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
2289
|
+
currency: string;
|
|
2290
|
+
maxFee: string | null;
|
|
2291
|
+
feeStrategy: {
|
|
2292
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
2293
|
+
};
|
|
2278
2294
|
} | {
|
|
2279
2295
|
type: "CARDANO_LIKE_SEND";
|
|
2280
2296
|
currency: string;
|
|
@@ -2338,6 +2354,24 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2338
2354
|
type: "GENERIC_TRANSACTION";
|
|
2339
2355
|
currency: string;
|
|
2340
2356
|
rawTx: string;
|
|
2357
|
+
} | {
|
|
2358
|
+
type: "TRON_LIKE_SEND";
|
|
2359
|
+
currency: string;
|
|
2360
|
+
recipient: string;
|
|
2361
|
+
amount: string;
|
|
2362
|
+
maxFee: string | null;
|
|
2363
|
+
feeStrategy: {
|
|
2364
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
2365
|
+
};
|
|
2366
|
+
} | {
|
|
2367
|
+
type: "TRON_LIKE_SEND_TOKEN";
|
|
2368
|
+
currency: string;
|
|
2369
|
+
recipient: string;
|
|
2370
|
+
amount: string;
|
|
2371
|
+
maxFee: string | null;
|
|
2372
|
+
feeStrategy: {
|
|
2373
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
2374
|
+
};
|
|
2341
2375
|
};
|
|
2342
2376
|
};
|
|
2343
2377
|
output: {
|
|
@@ -2347,13 +2381,16 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2347
2381
|
nonce: string;
|
|
2348
2382
|
priorityFees: string;
|
|
2349
2383
|
} | {
|
|
2350
|
-
type: "
|
|
2384
|
+
type: "RIPPLE_LIKE";
|
|
2351
2385
|
fee: string;
|
|
2352
2386
|
} | {
|
|
2353
2387
|
type: "STELLAR_LIKE";
|
|
2354
2388
|
fee: string;
|
|
2355
2389
|
} | {
|
|
2356
|
-
type: "
|
|
2390
|
+
type: "SUI_LIKE";
|
|
2391
|
+
fee: string;
|
|
2392
|
+
} | {
|
|
2393
|
+
type: "TRON_LIKE";
|
|
2357
2394
|
fee: string;
|
|
2358
2395
|
};
|
|
2359
2396
|
meta: {
|
|
@@ -2503,7 +2540,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2503
2540
|
networkApy: number;
|
|
2504
2541
|
} | null | undefined;
|
|
2505
2542
|
} | {
|
|
2506
|
-
type: "ERC20_LIKE" | "BEP20_LIKE"
|
|
2543
|
+
type: "ERC20_LIKE" | "BEP20_LIKE";
|
|
2507
2544
|
id: string;
|
|
2508
2545
|
balance: {
|
|
2509
2546
|
total: string;
|
|
@@ -2643,6 +2680,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2643
2680
|
address: string;
|
|
2644
2681
|
}[];
|
|
2645
2682
|
} | null | undefined;
|
|
2683
|
+
} | {
|
|
2684
|
+
type: "TRC20_LIKE" | "TRON_LIKE";
|
|
2685
|
+
id: string;
|
|
2686
|
+
balance: {
|
|
2687
|
+
total: string;
|
|
2688
|
+
pending: string;
|
|
2689
|
+
};
|
|
2646
2690
|
};
|
|
2647
2691
|
meta: {
|
|
2648
2692
|
[x: string]: unknown;
|
|
@@ -2699,7 +2743,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2699
2743
|
networkApy: number;
|
|
2700
2744
|
} | null | undefined;
|
|
2701
2745
|
} | {
|
|
2702
|
-
type: "ERC20_LIKE" | "BEP20_LIKE"
|
|
2746
|
+
type: "ERC20_LIKE" | "BEP20_LIKE";
|
|
2703
2747
|
id: string;
|
|
2704
2748
|
balance: {
|
|
2705
2749
|
total: string;
|
|
@@ -2839,6 +2883,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2839
2883
|
address: string;
|
|
2840
2884
|
}[];
|
|
2841
2885
|
} | null | undefined;
|
|
2886
|
+
} | {
|
|
2887
|
+
type: "TRC20_LIKE" | "TRON_LIKE";
|
|
2888
|
+
id: string;
|
|
2889
|
+
balance: {
|
|
2890
|
+
total: string;
|
|
2891
|
+
pending: string;
|
|
2892
|
+
};
|
|
2842
2893
|
})[];
|
|
2843
2894
|
meta: {
|
|
2844
2895
|
[x: string]: unknown;
|
|
@@ -2860,6 +2911,37 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2860
2911
|
};
|
|
2861
2912
|
} & RateLimitMetricsMeta;
|
|
2862
2913
|
}>;
|
|
2914
|
+
getAccountTokenBalances: _trpc_server.TRPCQueryProcedure<{
|
|
2915
|
+
input: {
|
|
2916
|
+
id: string;
|
|
2917
|
+
};
|
|
2918
|
+
output: {
|
|
2919
|
+
currency: {
|
|
2920
|
+
network: string;
|
|
2921
|
+
contractAddress: string | null;
|
|
2922
|
+
};
|
|
2923
|
+
amount: string;
|
|
2924
|
+
}[];
|
|
2925
|
+
meta: {
|
|
2926
|
+
[x: string]: unknown;
|
|
2927
|
+
} & {
|
|
2928
|
+
openapi?: {
|
|
2929
|
+
enabled?: boolean;
|
|
2930
|
+
method: trpc_to_openapi.OpenApiMethod;
|
|
2931
|
+
path: `/${string}`;
|
|
2932
|
+
summary?: string;
|
|
2933
|
+
description?: string;
|
|
2934
|
+
protect?: boolean;
|
|
2935
|
+
tags?: string[];
|
|
2936
|
+
contentTypes?: trpc_to_openapi.OpenApiContentType[];
|
|
2937
|
+
deprecated?: boolean;
|
|
2938
|
+
requestHeaders?: z.AnyZodObject;
|
|
2939
|
+
responseHeaders?: z.AnyZodObject;
|
|
2940
|
+
successDescription?: string;
|
|
2941
|
+
errorResponses?: number[] | Record<number, string>;
|
|
2942
|
+
};
|
|
2943
|
+
} & RateLimitMetricsMeta;
|
|
2944
|
+
}>;
|
|
2863
2945
|
getFreshAddress: _trpc_server.TRPCQueryProcedure<{
|
|
2864
2946
|
input: {
|
|
2865
2947
|
id: string;
|
|
@@ -3210,6 +3292,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3210
3292
|
results: {
|
|
3211
3293
|
name: string;
|
|
3212
3294
|
id: string;
|
|
3295
|
+
network: string | null;
|
|
3213
3296
|
createdAt: Date;
|
|
3214
3297
|
updatedAt: Date;
|
|
3215
3298
|
users: {
|
|
@@ -3299,6 +3382,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3299
3382
|
output: {
|
|
3300
3383
|
name: string;
|
|
3301
3384
|
id: string;
|
|
3385
|
+
network: string | null;
|
|
3302
3386
|
createdAt: Date;
|
|
3303
3387
|
updatedAt: Date;
|
|
3304
3388
|
users: {
|
|
@@ -3802,7 +3886,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3802
3886
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
3803
3887
|
};
|
|
3804
3888
|
} | {
|
|
3805
|
-
type: "
|
|
3889
|
+
type: "SOLANA_LIKE_FUND_AND_SEND_TOKEN";
|
|
3806
3890
|
currency: string;
|
|
3807
3891
|
recipient: string;
|
|
3808
3892
|
amount: string;
|
|
@@ -3810,6 +3894,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3810
3894
|
feeStrategy: {
|
|
3811
3895
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
3812
3896
|
};
|
|
3897
|
+
} | {
|
|
3898
|
+
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
3899
|
+
currency: string;
|
|
3900
|
+
maxFee: string | null;
|
|
3901
|
+
feeStrategy: {
|
|
3902
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
3903
|
+
};
|
|
3813
3904
|
} | {
|
|
3814
3905
|
type: "CARDANO_LIKE_SEND";
|
|
3815
3906
|
currency: string;
|
|
@@ -3873,6 +3964,24 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3873
3964
|
type: "GENERIC_TRANSACTION";
|
|
3874
3965
|
currency: string;
|
|
3875
3966
|
rawTx: string;
|
|
3967
|
+
} | {
|
|
3968
|
+
type: "TRON_LIKE_SEND";
|
|
3969
|
+
currency: string;
|
|
3970
|
+
recipient: string;
|
|
3971
|
+
amount: string;
|
|
3972
|
+
maxFee: string | null;
|
|
3973
|
+
feeStrategy: {
|
|
3974
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
3975
|
+
};
|
|
3976
|
+
} | {
|
|
3977
|
+
type: "TRON_LIKE_SEND_TOKEN";
|
|
3978
|
+
currency: string;
|
|
3979
|
+
recipient: string;
|
|
3980
|
+
amount: string;
|
|
3981
|
+
maxFee: string | null;
|
|
3982
|
+
feeStrategy: {
|
|
3983
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
3984
|
+
};
|
|
3876
3985
|
};
|
|
3877
3986
|
};
|
|
3878
3987
|
createdAt: Date;
|
|
@@ -5292,7 +5401,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
5292
5401
|
id: string;
|
|
5293
5402
|
data: {
|
|
5294
5403
|
name: string;
|
|
5295
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
5404
|
+
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE" | "TRON_LIKE";
|
|
5296
5405
|
derivationPath: string;
|
|
5297
5406
|
currency: string;
|
|
5298
5407
|
index: number;
|
|
@@ -6137,7 +6246,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
6137
6246
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
6138
6247
|
};
|
|
6139
6248
|
} | {
|
|
6140
|
-
type: "
|
|
6249
|
+
type: "SOLANA_LIKE_FUND_AND_SEND_TOKEN";
|
|
6141
6250
|
currency: string;
|
|
6142
6251
|
recipient: string;
|
|
6143
6252
|
amount: string;
|
|
@@ -6145,6 +6254,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
6145
6254
|
feeStrategy: {
|
|
6146
6255
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
6147
6256
|
};
|
|
6257
|
+
} | {
|
|
6258
|
+
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
6259
|
+
currency: string;
|
|
6260
|
+
maxFee: string | null;
|
|
6261
|
+
feeStrategy: {
|
|
6262
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
6263
|
+
};
|
|
6148
6264
|
} | {
|
|
6149
6265
|
type: "CARDANO_LIKE_SEND";
|
|
6150
6266
|
currency: string;
|
|
@@ -6208,6 +6324,24 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
6208
6324
|
type: "GENERIC_TRANSACTION";
|
|
6209
6325
|
currency: string;
|
|
6210
6326
|
rawTx: string;
|
|
6327
|
+
} | {
|
|
6328
|
+
type: "TRON_LIKE_SEND";
|
|
6329
|
+
currency: string;
|
|
6330
|
+
recipient: string;
|
|
6331
|
+
amount: string;
|
|
6332
|
+
maxFee: string | null;
|
|
6333
|
+
feeStrategy: {
|
|
6334
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
6335
|
+
};
|
|
6336
|
+
} | {
|
|
6337
|
+
type: "TRON_LIKE_SEND_TOKEN";
|
|
6338
|
+
currency: string;
|
|
6339
|
+
recipient: string;
|
|
6340
|
+
amount: string;
|
|
6341
|
+
maxFee: string | null;
|
|
6342
|
+
feeStrategy: {
|
|
6343
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
6344
|
+
};
|
|
6211
6345
|
};
|
|
6212
6346
|
};
|
|
6213
6347
|
createdAt: Date;
|
|
@@ -7627,7 +7761,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
7627
7761
|
id: string;
|
|
7628
7762
|
data: {
|
|
7629
7763
|
name: string;
|
|
7630
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
7764
|
+
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE" | "TRON_LIKE";
|
|
7631
7765
|
derivationPath: string;
|
|
7632
7766
|
currency: string;
|
|
7633
7767
|
index: number;
|
|
@@ -8512,7 +8646,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
8512
8646
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
8513
8647
|
};
|
|
8514
8648
|
} | {
|
|
8515
|
-
type: "
|
|
8649
|
+
type: "SOLANA_LIKE_FUND_AND_SEND_TOKEN";
|
|
8516
8650
|
currency: string;
|
|
8517
8651
|
recipient: string;
|
|
8518
8652
|
amount: string;
|
|
@@ -8520,6 +8654,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
8520
8654
|
feeStrategy: {
|
|
8521
8655
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
8522
8656
|
};
|
|
8657
|
+
} | {
|
|
8658
|
+
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
8659
|
+
currency: string;
|
|
8660
|
+
maxFee: string | null;
|
|
8661
|
+
feeStrategy: {
|
|
8662
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
8663
|
+
};
|
|
8523
8664
|
} | {
|
|
8524
8665
|
type: "CARDANO_LIKE_SEND";
|
|
8525
8666
|
currency: string;
|
|
@@ -8583,6 +8724,24 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
8583
8724
|
type: "GENERIC_TRANSACTION";
|
|
8584
8725
|
currency: string;
|
|
8585
8726
|
rawTx: string;
|
|
8727
|
+
} | {
|
|
8728
|
+
type: "TRON_LIKE_SEND";
|
|
8729
|
+
currency: string;
|
|
8730
|
+
recipient: string;
|
|
8731
|
+
amount: string;
|
|
8732
|
+
maxFee: string | null;
|
|
8733
|
+
feeStrategy: {
|
|
8734
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
8735
|
+
};
|
|
8736
|
+
} | {
|
|
8737
|
+
type: "TRON_LIKE_SEND_TOKEN";
|
|
8738
|
+
currency: string;
|
|
8739
|
+
recipient: string;
|
|
8740
|
+
amount: string;
|
|
8741
|
+
maxFee: string | null;
|
|
8742
|
+
feeStrategy: {
|
|
8743
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
8744
|
+
};
|
|
8586
8745
|
};
|
|
8587
8746
|
};
|
|
8588
8747
|
meta?: {
|
|
@@ -9338,8 +9497,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
9338
9497
|
}[];
|
|
9339
9498
|
};
|
|
9340
9499
|
};
|
|
9341
|
-
index?: number | undefined;
|
|
9342
9500
|
contractAddress?: string | undefined;
|
|
9501
|
+
index?: number | undefined;
|
|
9343
9502
|
};
|
|
9344
9503
|
note?: {
|
|
9345
9504
|
title: string;
|
|
@@ -9603,7 +9762,2363 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
9603
9762
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
9604
9763
|
};
|
|
9605
9764
|
} | {
|
|
9606
|
-
type: "
|
|
9765
|
+
type: "SOLANA_LIKE_FUND_AND_SEND_TOKEN";
|
|
9766
|
+
currency: string;
|
|
9767
|
+
recipient: string;
|
|
9768
|
+
amount: string;
|
|
9769
|
+
maxFee: string | null;
|
|
9770
|
+
feeStrategy: {
|
|
9771
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9772
|
+
};
|
|
9773
|
+
} | {
|
|
9774
|
+
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
9775
|
+
currency: string;
|
|
9776
|
+
maxFee: string | null;
|
|
9777
|
+
feeStrategy: {
|
|
9778
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9779
|
+
};
|
|
9780
|
+
} | {
|
|
9781
|
+
type: "CARDANO_LIKE_SEND";
|
|
9782
|
+
currency: string;
|
|
9783
|
+
recipient: string;
|
|
9784
|
+
amount: string;
|
|
9785
|
+
maxFee: string | null;
|
|
9786
|
+
feeStrategy: {
|
|
9787
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9788
|
+
};
|
|
9789
|
+
} | {
|
|
9790
|
+
type: "CARDANO_LIKE_STAKING_DELEGATE";
|
|
9791
|
+
currency: string;
|
|
9792
|
+
maxFee: string | null;
|
|
9793
|
+
feeStrategy: {
|
|
9794
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9795
|
+
};
|
|
9796
|
+
stakePoolId: string;
|
|
9797
|
+
} | {
|
|
9798
|
+
type: "CARDANO_LIKE_STAKING_DEREGISTER";
|
|
9799
|
+
currency: string;
|
|
9800
|
+
amount: string;
|
|
9801
|
+
maxFee: string | null;
|
|
9802
|
+
feeStrategy: {
|
|
9803
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9804
|
+
};
|
|
9805
|
+
} | {
|
|
9806
|
+
type: "CARDANO_LIKE_STAKING_REGISTER";
|
|
9807
|
+
currency: string;
|
|
9808
|
+
amount: string;
|
|
9809
|
+
maxFee: string | null;
|
|
9810
|
+
feeStrategy: {
|
|
9811
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9812
|
+
};
|
|
9813
|
+
} | {
|
|
9814
|
+
type: "CARDANO_LIKE_STAKING_WITHDRAW";
|
|
9815
|
+
currency: string;
|
|
9816
|
+
amount: string;
|
|
9817
|
+
maxFee: string | null;
|
|
9818
|
+
feeStrategy: {
|
|
9819
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9820
|
+
};
|
|
9821
|
+
} | {
|
|
9822
|
+
type: "SUI_LIKE_SEND";
|
|
9823
|
+
currency: string;
|
|
9824
|
+
recipient: string;
|
|
9825
|
+
amount: string;
|
|
9826
|
+
maxFee: string | null;
|
|
9827
|
+
feeStrategy: {
|
|
9828
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9829
|
+
};
|
|
9830
|
+
} | {
|
|
9831
|
+
type: "SUI_LIKE_SEND_TOKEN";
|
|
9832
|
+
currency: string;
|
|
9833
|
+
recipient: string;
|
|
9834
|
+
amount: string;
|
|
9835
|
+
maxFee: string | null;
|
|
9836
|
+
feeStrategy: {
|
|
9837
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9838
|
+
};
|
|
9839
|
+
} | {
|
|
9840
|
+
type: "GENERIC_TRANSACTION";
|
|
9841
|
+
currency: string;
|
|
9842
|
+
rawTx: string;
|
|
9843
|
+
} | {
|
|
9844
|
+
type: "TRON_LIKE_SEND";
|
|
9845
|
+
currency: string;
|
|
9846
|
+
recipient: string;
|
|
9847
|
+
amount: string;
|
|
9848
|
+
maxFee: string | null;
|
|
9849
|
+
feeStrategy: {
|
|
9850
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9851
|
+
};
|
|
9852
|
+
} | {
|
|
9853
|
+
type: "TRON_LIKE_SEND_TOKEN";
|
|
9854
|
+
currency: string;
|
|
9855
|
+
recipient: string;
|
|
9856
|
+
amount: string;
|
|
9857
|
+
maxFee: string | null;
|
|
9858
|
+
feeStrategy: {
|
|
9859
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9860
|
+
};
|
|
9861
|
+
};
|
|
9862
|
+
};
|
|
9863
|
+
createdAt: Date;
|
|
9864
|
+
updatedAt: Date;
|
|
9865
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
9866
|
+
reviewSteps: {
|
|
9867
|
+
stageName: string;
|
|
9868
|
+
quorum: number;
|
|
9869
|
+
}[];
|
|
9870
|
+
currentStepIndex: number;
|
|
9871
|
+
expiresAt: Date;
|
|
9872
|
+
targetId: string | null;
|
|
9873
|
+
note: {
|
|
9874
|
+
title: string;
|
|
9875
|
+
content: string;
|
|
9876
|
+
} | null;
|
|
9877
|
+
createdById: string;
|
|
9878
|
+
reviews: {
|
|
9879
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
9880
|
+
createdAt: Date;
|
|
9881
|
+
updatedAt: Date;
|
|
9882
|
+
userId: string;
|
|
9883
|
+
stepIndex: number;
|
|
9884
|
+
}[];
|
|
9885
|
+
legacyId: number;
|
|
9886
|
+
meta?: {
|
|
9887
|
+
hash: string | null;
|
|
9888
|
+
} | null | undefined;
|
|
9889
|
+
expiredAt?: Date | undefined;
|
|
9890
|
+
inflight?: {
|
|
9891
|
+
retryAfter: Date;
|
|
9892
|
+
numFailed: number;
|
|
9893
|
+
lastError: string | null;
|
|
9894
|
+
} | undefined;
|
|
9895
|
+
} | {
|
|
9896
|
+
type: "UPDATE_QUORUM";
|
|
9897
|
+
id: string;
|
|
9898
|
+
data: {
|
|
9899
|
+
quorum: number;
|
|
9900
|
+
};
|
|
9901
|
+
createdAt: Date;
|
|
9902
|
+
updatedAt: Date;
|
|
9903
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
9904
|
+
reviewSteps: {
|
|
9905
|
+
stageName: string;
|
|
9906
|
+
quorum: number;
|
|
9907
|
+
}[];
|
|
9908
|
+
currentStepIndex: number;
|
|
9909
|
+
expiresAt: Date;
|
|
9910
|
+
targetId: string | null;
|
|
9911
|
+
note: {
|
|
9912
|
+
title: string;
|
|
9913
|
+
content: string;
|
|
9914
|
+
} | null;
|
|
9915
|
+
createdById: string;
|
|
9916
|
+
reviews: {
|
|
9917
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
9918
|
+
createdAt: Date;
|
|
9919
|
+
updatedAt: Date;
|
|
9920
|
+
userId: string;
|
|
9921
|
+
stepIndex: number;
|
|
9922
|
+
}[];
|
|
9923
|
+
legacyId: number;
|
|
9924
|
+
expiredAt?: Date | undefined;
|
|
9925
|
+
inflight?: {
|
|
9926
|
+
retryAfter: Date;
|
|
9927
|
+
numFailed: number;
|
|
9928
|
+
lastError: string | null;
|
|
9929
|
+
} | undefined;
|
|
9930
|
+
} | {
|
|
9931
|
+
type: "EDIT_ACCOUNT";
|
|
9932
|
+
id: string;
|
|
9933
|
+
data: {
|
|
9934
|
+
name: string;
|
|
9935
|
+
governance: {
|
|
9936
|
+
type: "CLASSIC";
|
|
9937
|
+
policy: {
|
|
9938
|
+
policyId: string;
|
|
9939
|
+
} | {
|
|
9940
|
+
rules: {
|
|
9941
|
+
reviewSteps: ({
|
|
9942
|
+
quorum: number;
|
|
9943
|
+
userIds: string[];
|
|
9944
|
+
} | {
|
|
9945
|
+
quorum: number;
|
|
9946
|
+
groupId: string;
|
|
9947
|
+
})[];
|
|
9948
|
+
operationType: "SIGN_MESSAGE" | "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN";
|
|
9949
|
+
threshold?: {
|
|
9950
|
+
min: string | null;
|
|
9951
|
+
max: string | null;
|
|
9952
|
+
} | undefined;
|
|
9953
|
+
whitelistIds?: string[] | undefined;
|
|
9954
|
+
}[];
|
|
9955
|
+
};
|
|
9956
|
+
} | {
|
|
9957
|
+
type: "TRADELINK";
|
|
9958
|
+
exchangeConfigs: {
|
|
9959
|
+
exchangeId: string;
|
|
9960
|
+
repledgeAuthorized: boolean;
|
|
9961
|
+
needsAssetManagerApprovalForSettlements: boolean;
|
|
9962
|
+
}[];
|
|
9963
|
+
} | {
|
|
9964
|
+
type: "RAW_SIGNING";
|
|
9965
|
+
policy: {
|
|
9966
|
+
rules: {
|
|
9967
|
+
reviewSteps: {
|
|
9968
|
+
quorum: number;
|
|
9969
|
+
userIds: string[];
|
|
9970
|
+
}[];
|
|
9971
|
+
operationType: "SIGN_DIGESTS";
|
|
9972
|
+
}[];
|
|
9973
|
+
};
|
|
9974
|
+
};
|
|
9975
|
+
};
|
|
9976
|
+
createdAt: Date;
|
|
9977
|
+
updatedAt: Date;
|
|
9978
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
9979
|
+
reviewSteps: {
|
|
9980
|
+
stageName: string;
|
|
9981
|
+
quorum: number;
|
|
9982
|
+
}[];
|
|
9983
|
+
currentStepIndex: number;
|
|
9984
|
+
expiresAt: Date;
|
|
9985
|
+
targetId: string | null;
|
|
9986
|
+
note: {
|
|
9987
|
+
title: string;
|
|
9988
|
+
content: string;
|
|
9989
|
+
} | null;
|
|
9990
|
+
createdById: string;
|
|
9991
|
+
reviews: {
|
|
9992
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
9993
|
+
createdAt: Date;
|
|
9994
|
+
updatedAt: Date;
|
|
9995
|
+
userId: string;
|
|
9996
|
+
stepIndex: number;
|
|
9997
|
+
}[];
|
|
9998
|
+
legacyId: number;
|
|
9999
|
+
expiredAt?: Date | undefined;
|
|
10000
|
+
inflight?: {
|
|
10001
|
+
retryAfter: Date;
|
|
10002
|
+
numFailed: number;
|
|
10003
|
+
lastError: string | null;
|
|
10004
|
+
} | undefined;
|
|
10005
|
+
} | {
|
|
10006
|
+
type: "ACTIVATE_TRADELINK_ACCOUNT";
|
|
10007
|
+
id: string;
|
|
10008
|
+
data: {};
|
|
10009
|
+
createdAt: Date;
|
|
10010
|
+
updatedAt: Date;
|
|
10011
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10012
|
+
reviewSteps: {
|
|
10013
|
+
stageName: string;
|
|
10014
|
+
quorum: number;
|
|
10015
|
+
}[];
|
|
10016
|
+
currentStepIndex: number;
|
|
10017
|
+
expiresAt: Date;
|
|
10018
|
+
targetId: string | null;
|
|
10019
|
+
note: {
|
|
10020
|
+
title: string;
|
|
10021
|
+
content: string;
|
|
10022
|
+
} | null;
|
|
10023
|
+
createdById: string;
|
|
10024
|
+
reviews: {
|
|
10025
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10026
|
+
createdAt: Date;
|
|
10027
|
+
updatedAt: Date;
|
|
10028
|
+
userId: string;
|
|
10029
|
+
stepIndex: number;
|
|
10030
|
+
}[];
|
|
10031
|
+
legacyId: number;
|
|
10032
|
+
expiredAt?: Date | undefined;
|
|
10033
|
+
inflight?: {
|
|
10034
|
+
retryAfter: Date;
|
|
10035
|
+
numFailed: number;
|
|
10036
|
+
lastError: string | null;
|
|
10037
|
+
} | undefined;
|
|
10038
|
+
} | {
|
|
10039
|
+
type: "CREATE_GROUP";
|
|
10040
|
+
id: string;
|
|
10041
|
+
data: {
|
|
10042
|
+
name: string;
|
|
10043
|
+
description: string | null;
|
|
10044
|
+
members: string[];
|
|
10045
|
+
};
|
|
10046
|
+
createdAt: Date;
|
|
10047
|
+
updatedAt: Date;
|
|
10048
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10049
|
+
reviewSteps: {
|
|
10050
|
+
stageName: string;
|
|
10051
|
+
quorum: number;
|
|
10052
|
+
}[];
|
|
10053
|
+
currentStepIndex: number;
|
|
10054
|
+
expiresAt: Date;
|
|
10055
|
+
targetId: string | null;
|
|
10056
|
+
note: {
|
|
10057
|
+
title: string;
|
|
10058
|
+
content: string;
|
|
10059
|
+
} | null;
|
|
10060
|
+
createdById: string;
|
|
10061
|
+
reviews: {
|
|
10062
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10063
|
+
createdAt: Date;
|
|
10064
|
+
updatedAt: Date;
|
|
10065
|
+
userId: string;
|
|
10066
|
+
stepIndex: number;
|
|
10067
|
+
}[];
|
|
10068
|
+
legacyId: number;
|
|
10069
|
+
expiredAt?: Date | undefined;
|
|
10070
|
+
inflight?: {
|
|
10071
|
+
retryAfter: Date;
|
|
10072
|
+
numFailed: number;
|
|
10073
|
+
lastError: string | null;
|
|
10074
|
+
} | undefined;
|
|
10075
|
+
} | {
|
|
10076
|
+
type: "EDIT_GROUP";
|
|
10077
|
+
id: string;
|
|
10078
|
+
data: {
|
|
10079
|
+
name: string;
|
|
10080
|
+
description: string | null;
|
|
10081
|
+
members: string[];
|
|
10082
|
+
};
|
|
10083
|
+
createdAt: Date;
|
|
10084
|
+
updatedAt: Date;
|
|
10085
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10086
|
+
reviewSteps: {
|
|
10087
|
+
stageName: string;
|
|
10088
|
+
quorum: number;
|
|
10089
|
+
}[];
|
|
10090
|
+
currentStepIndex: number;
|
|
10091
|
+
expiresAt: Date;
|
|
10092
|
+
targetId: string | null;
|
|
10093
|
+
note: {
|
|
10094
|
+
title: string;
|
|
10095
|
+
content: string;
|
|
10096
|
+
} | null;
|
|
10097
|
+
createdById: string;
|
|
10098
|
+
reviews: {
|
|
10099
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10100
|
+
createdAt: Date;
|
|
10101
|
+
updatedAt: Date;
|
|
10102
|
+
userId: string;
|
|
10103
|
+
stepIndex: number;
|
|
10104
|
+
}[];
|
|
10105
|
+
legacyId: number;
|
|
10106
|
+
expiredAt?: Date | undefined;
|
|
10107
|
+
inflight?: {
|
|
10108
|
+
retryAfter: Date;
|
|
10109
|
+
numFailed: number;
|
|
10110
|
+
lastError: string | null;
|
|
10111
|
+
} | undefined;
|
|
10112
|
+
} | {
|
|
10113
|
+
type: "CREATE_WHITELIST";
|
|
10114
|
+
id: string;
|
|
10115
|
+
data: {
|
|
10116
|
+
name: string;
|
|
10117
|
+
type: "TRANSACTION" | "SMART_CONTRACT";
|
|
10118
|
+
description: string | null;
|
|
10119
|
+
addresses: {
|
|
10120
|
+
name: string;
|
|
10121
|
+
currency: string;
|
|
10122
|
+
address: string;
|
|
10123
|
+
destinationTags?: string[] | undefined;
|
|
10124
|
+
}[];
|
|
10125
|
+
};
|
|
10126
|
+
createdAt: Date;
|
|
10127
|
+
updatedAt: Date;
|
|
10128
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10129
|
+
reviewSteps: {
|
|
10130
|
+
stageName: string;
|
|
10131
|
+
quorum: number;
|
|
10132
|
+
}[];
|
|
10133
|
+
currentStepIndex: number;
|
|
10134
|
+
expiresAt: Date;
|
|
10135
|
+
targetId: string | null;
|
|
10136
|
+
note: {
|
|
10137
|
+
title: string;
|
|
10138
|
+
content: string;
|
|
10139
|
+
} | null;
|
|
10140
|
+
createdById: string;
|
|
10141
|
+
reviews: {
|
|
10142
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10143
|
+
createdAt: Date;
|
|
10144
|
+
updatedAt: Date;
|
|
10145
|
+
userId: string;
|
|
10146
|
+
stepIndex: number;
|
|
10147
|
+
}[];
|
|
10148
|
+
legacyId: number;
|
|
10149
|
+
expiredAt?: Date | undefined;
|
|
10150
|
+
inflight?: {
|
|
10151
|
+
retryAfter: Date;
|
|
10152
|
+
numFailed: number;
|
|
10153
|
+
lastError: string | null;
|
|
10154
|
+
} | undefined;
|
|
10155
|
+
} | {
|
|
10156
|
+
type: "EDIT_WHITELIST";
|
|
10157
|
+
id: string;
|
|
10158
|
+
data: {
|
|
10159
|
+
name: string;
|
|
10160
|
+
addresses: {
|
|
10161
|
+
name: string;
|
|
10162
|
+
currency: string;
|
|
10163
|
+
address: string;
|
|
10164
|
+
destinationTags?: string[] | undefined;
|
|
10165
|
+
}[];
|
|
10166
|
+
};
|
|
10167
|
+
createdAt: Date;
|
|
10168
|
+
updatedAt: Date;
|
|
10169
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10170
|
+
reviewSteps: {
|
|
10171
|
+
stageName: string;
|
|
10172
|
+
quorum: number;
|
|
10173
|
+
}[];
|
|
10174
|
+
currentStepIndex: number;
|
|
10175
|
+
expiresAt: Date;
|
|
10176
|
+
targetId: string | null;
|
|
10177
|
+
note: {
|
|
10178
|
+
title: string;
|
|
10179
|
+
content: string;
|
|
10180
|
+
} | null;
|
|
10181
|
+
createdById: string;
|
|
10182
|
+
reviews: {
|
|
10183
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10184
|
+
createdAt: Date;
|
|
10185
|
+
updatedAt: Date;
|
|
10186
|
+
userId: string;
|
|
10187
|
+
stepIndex: number;
|
|
10188
|
+
}[];
|
|
10189
|
+
legacyId: number;
|
|
10190
|
+
expiredAt?: Date | undefined;
|
|
10191
|
+
inflight?: {
|
|
10192
|
+
retryAfter: Date;
|
|
10193
|
+
numFailed: number;
|
|
10194
|
+
lastError: string | null;
|
|
10195
|
+
} | undefined;
|
|
10196
|
+
} | {
|
|
10197
|
+
type: "CREATE_PSD_USER";
|
|
10198
|
+
id: string;
|
|
10199
|
+
data: {
|
|
10200
|
+
registrationId: string;
|
|
10201
|
+
};
|
|
10202
|
+
createdAt: Date;
|
|
10203
|
+
updatedAt: Date;
|
|
10204
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10205
|
+
reviewSteps: {
|
|
10206
|
+
stageName: string;
|
|
10207
|
+
quorum: number;
|
|
10208
|
+
}[];
|
|
10209
|
+
currentStepIndex: number;
|
|
10210
|
+
expiresAt: Date;
|
|
10211
|
+
targetId: string | null;
|
|
10212
|
+
note: {
|
|
10213
|
+
title: string;
|
|
10214
|
+
content: string;
|
|
10215
|
+
} | null;
|
|
10216
|
+
createdById: string;
|
|
10217
|
+
reviews: {
|
|
10218
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10219
|
+
createdAt: Date;
|
|
10220
|
+
updatedAt: Date;
|
|
10221
|
+
userId: string;
|
|
10222
|
+
stepIndex: number;
|
|
10223
|
+
}[];
|
|
10224
|
+
legacyId: number;
|
|
10225
|
+
expiredAt?: Date | undefined;
|
|
10226
|
+
inflight?: {
|
|
10227
|
+
retryAfter: Date;
|
|
10228
|
+
numFailed: number;
|
|
10229
|
+
lastError: string | null;
|
|
10230
|
+
} | undefined;
|
|
10231
|
+
} | {
|
|
10232
|
+
type: "CREATE_API_USER";
|
|
10233
|
+
id: string;
|
|
10234
|
+
data: {
|
|
10235
|
+
name: string;
|
|
10236
|
+
pubKey: string;
|
|
10237
|
+
role: "ADMIN" | "OPERATOR";
|
|
10238
|
+
viewAll?: boolean | undefined;
|
|
10239
|
+
};
|
|
10240
|
+
createdAt: Date;
|
|
10241
|
+
updatedAt: Date;
|
|
10242
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10243
|
+
reviewSteps: {
|
|
10244
|
+
stageName: string;
|
|
10245
|
+
quorum: number;
|
|
10246
|
+
}[];
|
|
10247
|
+
currentStepIndex: number;
|
|
10248
|
+
expiresAt: Date;
|
|
10249
|
+
targetId: string | null;
|
|
10250
|
+
note: {
|
|
10251
|
+
title: string;
|
|
10252
|
+
content: string;
|
|
10253
|
+
} | null;
|
|
10254
|
+
createdById: string;
|
|
10255
|
+
reviews: {
|
|
10256
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10257
|
+
createdAt: Date;
|
|
10258
|
+
updatedAt: Date;
|
|
10259
|
+
userId: string;
|
|
10260
|
+
stepIndex: number;
|
|
10261
|
+
}[];
|
|
10262
|
+
legacyId: number;
|
|
10263
|
+
expiredAt?: Date | undefined;
|
|
10264
|
+
inflight?: {
|
|
10265
|
+
retryAfter: Date;
|
|
10266
|
+
numFailed: number;
|
|
10267
|
+
lastError: string | null;
|
|
10268
|
+
} | undefined;
|
|
10269
|
+
} | {
|
|
10270
|
+
type: "REVOKE_USER";
|
|
10271
|
+
id: string;
|
|
10272
|
+
data: {};
|
|
10273
|
+
createdAt: Date;
|
|
10274
|
+
updatedAt: Date;
|
|
10275
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10276
|
+
reviewSteps: {
|
|
10277
|
+
stageName: string;
|
|
10278
|
+
quorum: number;
|
|
10279
|
+
}[];
|
|
10280
|
+
currentStepIndex: number;
|
|
10281
|
+
expiresAt: Date;
|
|
10282
|
+
targetId: string | null;
|
|
10283
|
+
note: {
|
|
10284
|
+
title: string;
|
|
10285
|
+
content: string;
|
|
10286
|
+
} | null;
|
|
10287
|
+
createdById: string;
|
|
10288
|
+
reviews: {
|
|
10289
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10290
|
+
createdAt: Date;
|
|
10291
|
+
updatedAt: Date;
|
|
10292
|
+
userId: string;
|
|
10293
|
+
stepIndex: number;
|
|
10294
|
+
}[];
|
|
10295
|
+
legacyId: number;
|
|
10296
|
+
expiredAt?: Date | undefined;
|
|
10297
|
+
inflight?: {
|
|
10298
|
+
retryAfter: Date;
|
|
10299
|
+
numFailed: number;
|
|
10300
|
+
lastError: string | null;
|
|
10301
|
+
} | undefined;
|
|
10302
|
+
} | {
|
|
10303
|
+
type: "CREATE_POLICY";
|
|
10304
|
+
id: string;
|
|
10305
|
+
data: {
|
|
10306
|
+
name: string;
|
|
10307
|
+
description: string | null;
|
|
10308
|
+
currency: string | null;
|
|
10309
|
+
govRules: {
|
|
10310
|
+
reviewSteps: ({
|
|
10311
|
+
quorum: number;
|
|
10312
|
+
userIds: string[];
|
|
10313
|
+
} | {
|
|
10314
|
+
quorum: number;
|
|
10315
|
+
groupId: string;
|
|
10316
|
+
})[];
|
|
10317
|
+
operationType: "SIGN_MESSAGE" | "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN";
|
|
10318
|
+
threshold?: {
|
|
10319
|
+
min: string | null;
|
|
10320
|
+
max: string | null;
|
|
10321
|
+
} | undefined;
|
|
10322
|
+
whitelistIds?: string[] | undefined;
|
|
10323
|
+
}[];
|
|
10324
|
+
};
|
|
10325
|
+
createdAt: Date;
|
|
10326
|
+
updatedAt: Date;
|
|
10327
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10328
|
+
reviewSteps: {
|
|
10329
|
+
stageName: string;
|
|
10330
|
+
quorum: number;
|
|
10331
|
+
}[];
|
|
10332
|
+
currentStepIndex: number;
|
|
10333
|
+
expiresAt: Date;
|
|
10334
|
+
targetId: string | null;
|
|
10335
|
+
note: {
|
|
10336
|
+
title: string;
|
|
10337
|
+
content: string;
|
|
10338
|
+
} | null;
|
|
10339
|
+
createdById: string;
|
|
10340
|
+
reviews: {
|
|
10341
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10342
|
+
createdAt: Date;
|
|
10343
|
+
updatedAt: Date;
|
|
10344
|
+
userId: string;
|
|
10345
|
+
stepIndex: number;
|
|
10346
|
+
}[];
|
|
10347
|
+
legacyId: number;
|
|
10348
|
+
expiredAt?: Date | undefined;
|
|
10349
|
+
inflight?: {
|
|
10350
|
+
retryAfter: Date;
|
|
10351
|
+
numFailed: number;
|
|
10352
|
+
lastError: string | null;
|
|
10353
|
+
} | undefined;
|
|
10354
|
+
} | {
|
|
10355
|
+
type: "EDIT_POLICY";
|
|
10356
|
+
id: string;
|
|
10357
|
+
data: {
|
|
10358
|
+
name: string;
|
|
10359
|
+
description: string | null;
|
|
10360
|
+
govRules: {
|
|
10361
|
+
reviewSteps: ({
|
|
10362
|
+
quorum: number;
|
|
10363
|
+
userIds: string[];
|
|
10364
|
+
} | {
|
|
10365
|
+
quorum: number;
|
|
10366
|
+
groupId: string;
|
|
10367
|
+
})[];
|
|
10368
|
+
operationType: "SIGN_MESSAGE" | "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN";
|
|
10369
|
+
threshold?: {
|
|
10370
|
+
min: string | null;
|
|
10371
|
+
max: string | null;
|
|
10372
|
+
} | undefined;
|
|
10373
|
+
whitelistIds?: string[] | undefined;
|
|
10374
|
+
}[];
|
|
10375
|
+
};
|
|
10376
|
+
createdAt: Date;
|
|
10377
|
+
updatedAt: Date;
|
|
10378
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10379
|
+
reviewSteps: {
|
|
10380
|
+
stageName: string;
|
|
10381
|
+
quorum: number;
|
|
10382
|
+
}[];
|
|
10383
|
+
currentStepIndex: number;
|
|
10384
|
+
expiresAt: Date;
|
|
10385
|
+
targetId: string | null;
|
|
10386
|
+
note: {
|
|
10387
|
+
title: string;
|
|
10388
|
+
content: string;
|
|
10389
|
+
} | null;
|
|
10390
|
+
createdById: string;
|
|
10391
|
+
reviews: {
|
|
10392
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10393
|
+
createdAt: Date;
|
|
10394
|
+
updatedAt: Date;
|
|
10395
|
+
userId: string;
|
|
10396
|
+
stepIndex: number;
|
|
10397
|
+
}[];
|
|
10398
|
+
legacyId: number;
|
|
10399
|
+
expiredAt?: Date | undefined;
|
|
10400
|
+
inflight?: {
|
|
10401
|
+
retryAfter: Date;
|
|
10402
|
+
numFailed: number;
|
|
10403
|
+
lastError: string | null;
|
|
10404
|
+
} | undefined;
|
|
10405
|
+
} | {
|
|
10406
|
+
type: "CREATE_TRADELINK_CUSTODIAN";
|
|
10407
|
+
id: string;
|
|
10408
|
+
data: {
|
|
10409
|
+
settlement: {
|
|
10410
|
+
quorum: number;
|
|
10411
|
+
userIds: string[];
|
|
10412
|
+
}[];
|
|
10413
|
+
withdraw: {
|
|
10414
|
+
quorum: number;
|
|
10415
|
+
userIds: string[];
|
|
10416
|
+
}[];
|
|
10417
|
+
arbitration: {
|
|
10418
|
+
quorum: number;
|
|
10419
|
+
userIds: string[];
|
|
10420
|
+
}[];
|
|
10421
|
+
};
|
|
10422
|
+
createdAt: Date;
|
|
10423
|
+
updatedAt: Date;
|
|
10424
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10425
|
+
reviewSteps: {
|
|
10426
|
+
stageName: string;
|
|
10427
|
+
quorum: number;
|
|
10428
|
+
}[];
|
|
10429
|
+
currentStepIndex: number;
|
|
10430
|
+
expiresAt: Date;
|
|
10431
|
+
targetId: string | null;
|
|
10432
|
+
note: {
|
|
10433
|
+
title: string;
|
|
10434
|
+
content: string;
|
|
10435
|
+
} | null;
|
|
10436
|
+
createdById: string;
|
|
10437
|
+
reviews: {
|
|
10438
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10439
|
+
createdAt: Date;
|
|
10440
|
+
updatedAt: Date;
|
|
10441
|
+
userId: string;
|
|
10442
|
+
stepIndex: number;
|
|
10443
|
+
}[];
|
|
10444
|
+
legacyId: number;
|
|
10445
|
+
expiredAt?: Date | undefined;
|
|
10446
|
+
inflight?: {
|
|
10447
|
+
retryAfter: Date;
|
|
10448
|
+
numFailed: number;
|
|
10449
|
+
lastError: string | null;
|
|
10450
|
+
} | undefined;
|
|
10451
|
+
} | {
|
|
10452
|
+
type: "EDIT_TRADELINK_CUSTODIAN";
|
|
10453
|
+
id: string;
|
|
10454
|
+
data: {
|
|
10455
|
+
settlement: {
|
|
10456
|
+
quorum: number;
|
|
10457
|
+
userIds: string[];
|
|
10458
|
+
}[];
|
|
10459
|
+
withdraw: {
|
|
10460
|
+
quorum: number;
|
|
10461
|
+
userIds: string[];
|
|
10462
|
+
}[];
|
|
10463
|
+
arbitration: {
|
|
10464
|
+
quorum: number;
|
|
10465
|
+
userIds: string[];
|
|
10466
|
+
}[];
|
|
10467
|
+
};
|
|
10468
|
+
createdAt: Date;
|
|
10469
|
+
updatedAt: Date;
|
|
10470
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10471
|
+
reviewSteps: {
|
|
10472
|
+
stageName: string;
|
|
10473
|
+
quorum: number;
|
|
10474
|
+
}[];
|
|
10475
|
+
currentStepIndex: number;
|
|
10476
|
+
expiresAt: Date;
|
|
10477
|
+
targetId: string | null;
|
|
10478
|
+
note: {
|
|
10479
|
+
title: string;
|
|
10480
|
+
content: string;
|
|
10481
|
+
} | null;
|
|
10482
|
+
createdById: string;
|
|
10483
|
+
reviews: {
|
|
10484
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10485
|
+
createdAt: Date;
|
|
10486
|
+
updatedAt: Date;
|
|
10487
|
+
userId: string;
|
|
10488
|
+
stepIndex: number;
|
|
10489
|
+
}[];
|
|
10490
|
+
legacyId: number;
|
|
10491
|
+
expiredAt?: Date | undefined;
|
|
10492
|
+
inflight?: {
|
|
10493
|
+
retryAfter: Date;
|
|
10494
|
+
numFailed: number;
|
|
10495
|
+
lastError: string | null;
|
|
10496
|
+
} | undefined;
|
|
10497
|
+
} | {
|
|
10498
|
+
type: "CREATE_TRADELINK_EXCHANGE";
|
|
10499
|
+
id: string;
|
|
10500
|
+
data: {
|
|
10501
|
+
groups: {
|
|
10502
|
+
quorum: number;
|
|
10503
|
+
userIds: string[];
|
|
10504
|
+
}[];
|
|
10505
|
+
whitelist: {
|
|
10506
|
+
name: string;
|
|
10507
|
+
currency: string;
|
|
10508
|
+
address: string;
|
|
10509
|
+
}[];
|
|
10510
|
+
tradelinkId: string;
|
|
10511
|
+
};
|
|
10512
|
+
createdAt: Date;
|
|
10513
|
+
updatedAt: Date;
|
|
10514
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10515
|
+
reviewSteps: {
|
|
10516
|
+
stageName: string;
|
|
10517
|
+
quorum: number;
|
|
10518
|
+
}[];
|
|
10519
|
+
currentStepIndex: number;
|
|
10520
|
+
expiresAt: Date;
|
|
10521
|
+
targetId: string | null;
|
|
10522
|
+
note: {
|
|
10523
|
+
title: string;
|
|
10524
|
+
content: string;
|
|
10525
|
+
} | null;
|
|
10526
|
+
createdById: string;
|
|
10527
|
+
reviews: {
|
|
10528
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10529
|
+
createdAt: Date;
|
|
10530
|
+
updatedAt: Date;
|
|
10531
|
+
userId: string;
|
|
10532
|
+
stepIndex: number;
|
|
10533
|
+
}[];
|
|
10534
|
+
legacyId: number;
|
|
10535
|
+
expiredAt?: Date | undefined;
|
|
10536
|
+
inflight?: {
|
|
10537
|
+
retryAfter: Date;
|
|
10538
|
+
numFailed: number;
|
|
10539
|
+
lastError: string | null;
|
|
10540
|
+
} | undefined;
|
|
10541
|
+
} | {
|
|
10542
|
+
type: "EDIT_TRADELINK_EXCHANGE";
|
|
10543
|
+
id: string;
|
|
10544
|
+
data: {
|
|
10545
|
+
groups: {
|
|
10546
|
+
quorum: number;
|
|
10547
|
+
userIds: string[];
|
|
10548
|
+
}[];
|
|
10549
|
+
whitelist: {
|
|
10550
|
+
name: string;
|
|
10551
|
+
currency: string;
|
|
10552
|
+
address: string;
|
|
10553
|
+
}[];
|
|
10554
|
+
tradelinkId: string;
|
|
10555
|
+
};
|
|
10556
|
+
createdAt: Date;
|
|
10557
|
+
updatedAt: Date;
|
|
10558
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10559
|
+
reviewSteps: {
|
|
10560
|
+
stageName: string;
|
|
10561
|
+
quorum: number;
|
|
10562
|
+
}[];
|
|
10563
|
+
currentStepIndex: number;
|
|
10564
|
+
expiresAt: Date;
|
|
10565
|
+
targetId: string | null;
|
|
10566
|
+
note: {
|
|
10567
|
+
title: string;
|
|
10568
|
+
content: string;
|
|
10569
|
+
} | null;
|
|
10570
|
+
createdById: string;
|
|
10571
|
+
reviews: {
|
|
10572
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10573
|
+
createdAt: Date;
|
|
10574
|
+
updatedAt: Date;
|
|
10575
|
+
userId: string;
|
|
10576
|
+
stepIndex: number;
|
|
10577
|
+
}[];
|
|
10578
|
+
legacyId: number;
|
|
10579
|
+
expiredAt?: Date | undefined;
|
|
10580
|
+
inflight?: {
|
|
10581
|
+
retryAfter: Date;
|
|
10582
|
+
numFailed: number;
|
|
10583
|
+
lastError: string | null;
|
|
10584
|
+
} | undefined;
|
|
10585
|
+
} | {
|
|
10586
|
+
type: "CREATE_TRADELINK_ASSET_MANAGER";
|
|
10587
|
+
id: string;
|
|
10588
|
+
data: {
|
|
10589
|
+
groups: {
|
|
10590
|
+
quorum: number;
|
|
10591
|
+
userIds: string[];
|
|
10592
|
+
}[];
|
|
10593
|
+
whitelist: {
|
|
10594
|
+
name: string;
|
|
10595
|
+
currency: string;
|
|
10596
|
+
address: string;
|
|
10597
|
+
}[];
|
|
10598
|
+
tradelinkId: string;
|
|
10599
|
+
};
|
|
10600
|
+
createdAt: Date;
|
|
10601
|
+
updatedAt: Date;
|
|
10602
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10603
|
+
reviewSteps: {
|
|
10604
|
+
stageName: string;
|
|
10605
|
+
quorum: number;
|
|
10606
|
+
}[];
|
|
10607
|
+
currentStepIndex: number;
|
|
10608
|
+
expiresAt: Date;
|
|
10609
|
+
targetId: string | null;
|
|
10610
|
+
note: {
|
|
10611
|
+
title: string;
|
|
10612
|
+
content: string;
|
|
10613
|
+
} | null;
|
|
10614
|
+
createdById: string;
|
|
10615
|
+
reviews: {
|
|
10616
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10617
|
+
createdAt: Date;
|
|
10618
|
+
updatedAt: Date;
|
|
10619
|
+
userId: string;
|
|
10620
|
+
stepIndex: number;
|
|
10621
|
+
}[];
|
|
10622
|
+
legacyId: number;
|
|
10623
|
+
expiredAt?: Date | undefined;
|
|
10624
|
+
inflight?: {
|
|
10625
|
+
retryAfter: Date;
|
|
10626
|
+
numFailed: number;
|
|
10627
|
+
lastError: string | null;
|
|
10628
|
+
} | undefined;
|
|
10629
|
+
} | {
|
|
10630
|
+
type: "EDIT_TRADELINK_ASSET_MANAGER";
|
|
10631
|
+
id: string;
|
|
10632
|
+
data: {
|
|
10633
|
+
groups: {
|
|
10634
|
+
quorum: number;
|
|
10635
|
+
userIds: string[];
|
|
10636
|
+
}[];
|
|
10637
|
+
whitelist: {
|
|
10638
|
+
name: string;
|
|
10639
|
+
currency: string;
|
|
10640
|
+
address: string;
|
|
10641
|
+
}[];
|
|
10642
|
+
tradelinkId: string;
|
|
10643
|
+
};
|
|
10644
|
+
createdAt: Date;
|
|
10645
|
+
updatedAt: Date;
|
|
10646
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10647
|
+
reviewSteps: {
|
|
10648
|
+
stageName: string;
|
|
10649
|
+
quorum: number;
|
|
10650
|
+
}[];
|
|
10651
|
+
currentStepIndex: number;
|
|
10652
|
+
expiresAt: Date;
|
|
10653
|
+
targetId: string | null;
|
|
10654
|
+
note: {
|
|
10655
|
+
title: string;
|
|
10656
|
+
content: string;
|
|
10657
|
+
} | null;
|
|
10658
|
+
createdById: string;
|
|
10659
|
+
reviews: {
|
|
10660
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10661
|
+
createdAt: Date;
|
|
10662
|
+
updatedAt: Date;
|
|
10663
|
+
userId: string;
|
|
10664
|
+
stepIndex: number;
|
|
10665
|
+
}[];
|
|
10666
|
+
legacyId: number;
|
|
10667
|
+
expiredAt?: Date | undefined;
|
|
10668
|
+
inflight?: {
|
|
10669
|
+
retryAfter: Date;
|
|
10670
|
+
numFailed: number;
|
|
10671
|
+
lastError: string | null;
|
|
10672
|
+
} | undefined;
|
|
10673
|
+
} | {
|
|
10674
|
+
type: "ADJUST_PLEDGE";
|
|
10675
|
+
id: string;
|
|
10676
|
+
data: {
|
|
10677
|
+
accountId: string;
|
|
10678
|
+
exchangeId: string;
|
|
10679
|
+
amount: string;
|
|
10680
|
+
};
|
|
10681
|
+
createdAt: Date;
|
|
10682
|
+
updatedAt: Date;
|
|
10683
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10684
|
+
reviewSteps: {
|
|
10685
|
+
stageName: string;
|
|
10686
|
+
quorum: number;
|
|
10687
|
+
}[];
|
|
10688
|
+
currentStepIndex: number;
|
|
10689
|
+
expiresAt: Date;
|
|
10690
|
+
targetId: string | null;
|
|
10691
|
+
note: {
|
|
10692
|
+
title: string;
|
|
10693
|
+
content: string;
|
|
10694
|
+
} | null;
|
|
10695
|
+
createdById: string;
|
|
10696
|
+
reviews: {
|
|
10697
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10698
|
+
createdAt: Date;
|
|
10699
|
+
updatedAt: Date;
|
|
10700
|
+
userId: string;
|
|
10701
|
+
stepIndex: number;
|
|
10702
|
+
}[];
|
|
10703
|
+
legacyId: number;
|
|
10704
|
+
expiredAt?: Date | undefined;
|
|
10705
|
+
inflight?: {
|
|
10706
|
+
retryAfter: Date;
|
|
10707
|
+
numFailed: number;
|
|
10708
|
+
lastError: string | null;
|
|
10709
|
+
} | undefined;
|
|
10710
|
+
} | {
|
|
10711
|
+
type: "TRADELINK_REPLEDGE";
|
|
10712
|
+
id: string;
|
|
10713
|
+
data: {
|
|
10714
|
+
accountId: string;
|
|
10715
|
+
exchangeId: string;
|
|
10716
|
+
amount: string;
|
|
10717
|
+
};
|
|
10718
|
+
createdAt: Date;
|
|
10719
|
+
updatedAt: Date;
|
|
10720
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10721
|
+
reviewSteps: {
|
|
10722
|
+
stageName: string;
|
|
10723
|
+
quorum: number;
|
|
10724
|
+
}[];
|
|
10725
|
+
currentStepIndex: number;
|
|
10726
|
+
expiresAt: Date;
|
|
10727
|
+
targetId: string | null;
|
|
10728
|
+
note: {
|
|
10729
|
+
title: string;
|
|
10730
|
+
content: string;
|
|
10731
|
+
} | null;
|
|
10732
|
+
createdById: string;
|
|
10733
|
+
reviews: {
|
|
10734
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10735
|
+
createdAt: Date;
|
|
10736
|
+
updatedAt: Date;
|
|
10737
|
+
userId: string;
|
|
10738
|
+
stepIndex: number;
|
|
10739
|
+
}[];
|
|
10740
|
+
legacyId: number;
|
|
10741
|
+
expiredAt?: Date | undefined;
|
|
10742
|
+
inflight?: {
|
|
10743
|
+
retryAfter: Date;
|
|
10744
|
+
numFailed: number;
|
|
10745
|
+
lastError: string | null;
|
|
10746
|
+
} | undefined;
|
|
10747
|
+
} | {
|
|
10748
|
+
type: "CREATE_SETTLEMENT";
|
|
10749
|
+
id: string;
|
|
10750
|
+
data: {
|
|
10751
|
+
accountId: string;
|
|
10752
|
+
exchangeId: string;
|
|
10753
|
+
transaction: {
|
|
10754
|
+
type: "BITCOIN_LIKE_SEND";
|
|
10755
|
+
currency: string;
|
|
10756
|
+
recipient: string;
|
|
10757
|
+
amount: string;
|
|
10758
|
+
maxFee: string | null;
|
|
10759
|
+
feeStrategy: {
|
|
10760
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
10761
|
+
feePerByte?: string | null | undefined;
|
|
10762
|
+
};
|
|
10763
|
+
} | {
|
|
10764
|
+
type: "ETHEREUM_LIKE_SEND";
|
|
10765
|
+
currency: string;
|
|
10766
|
+
recipient: string;
|
|
10767
|
+
amount: string;
|
|
10768
|
+
maxFee: string | null;
|
|
10769
|
+
feeStrategy: {
|
|
10770
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
10771
|
+
gasLimit: string;
|
|
10772
|
+
gasPrice: string;
|
|
10773
|
+
} | {
|
|
10774
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
10775
|
+
gasLimit: string;
|
|
10776
|
+
maxPriorityFeePerGas: string;
|
|
10777
|
+
maxFeePerGas: string;
|
|
10778
|
+
};
|
|
10779
|
+
} | {
|
|
10780
|
+
type: "TEZOS_LIKE_SEND";
|
|
10781
|
+
currency: string;
|
|
10782
|
+
recipient: string;
|
|
10783
|
+
amount: string;
|
|
10784
|
+
maxFee: string | null;
|
|
10785
|
+
feeStrategy: {
|
|
10786
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
10787
|
+
gasLimit: string;
|
|
10788
|
+
storageLimit: string | null;
|
|
10789
|
+
};
|
|
10790
|
+
} | {
|
|
10791
|
+
type: "POLKADOT_LIKE_SEND";
|
|
10792
|
+
currency: string;
|
|
10793
|
+
recipient: string;
|
|
10794
|
+
amount: string;
|
|
10795
|
+
maxFee: string | null;
|
|
10796
|
+
} | {
|
|
10797
|
+
type: "RIPPLE_LIKE_SEND";
|
|
10798
|
+
currency: string;
|
|
10799
|
+
recipient: string;
|
|
10800
|
+
destinationTag: string | null;
|
|
10801
|
+
amount: string;
|
|
10802
|
+
maxFee: string | null;
|
|
10803
|
+
feeStrategy: {
|
|
10804
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
10805
|
+
};
|
|
10806
|
+
} | {
|
|
10807
|
+
type: "STELLAR_LIKE_SEND";
|
|
10808
|
+
currency: string;
|
|
10809
|
+
recipient: string;
|
|
10810
|
+
amount: string;
|
|
10811
|
+
maxFee: string | null;
|
|
10812
|
+
feeStrategy: {
|
|
10813
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
10814
|
+
};
|
|
10815
|
+
memo: {
|
|
10816
|
+
MEMO_TEXT: string;
|
|
10817
|
+
} | {
|
|
10818
|
+
MEMO_ID: string;
|
|
10819
|
+
} | {
|
|
10820
|
+
MEMO_HASH: string;
|
|
10821
|
+
} | {
|
|
10822
|
+
MEMO_RETURN: string;
|
|
10823
|
+
} | null;
|
|
10824
|
+
} | {
|
|
10825
|
+
type: "SOLANA_LIKE_SEND";
|
|
10826
|
+
currency: string;
|
|
10827
|
+
recipient: string;
|
|
10828
|
+
amount: string;
|
|
10829
|
+
maxFee: string | null;
|
|
10830
|
+
feeStrategy: {
|
|
10831
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
10832
|
+
};
|
|
10833
|
+
} | {
|
|
10834
|
+
type: "CARDANO_LIKE_SEND";
|
|
10835
|
+
currency: string;
|
|
10836
|
+
recipient: string;
|
|
10837
|
+
amount: string;
|
|
10838
|
+
maxFee: string | null;
|
|
10839
|
+
feeStrategy: {
|
|
10840
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
10841
|
+
};
|
|
10842
|
+
} | {
|
|
10843
|
+
type: "SUI_LIKE_SEND";
|
|
10844
|
+
currency: string;
|
|
10845
|
+
recipient: string;
|
|
10846
|
+
amount: string;
|
|
10847
|
+
maxFee: string | null;
|
|
10848
|
+
feeStrategy: {
|
|
10849
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
10850
|
+
};
|
|
10851
|
+
};
|
|
10852
|
+
};
|
|
10853
|
+
createdAt: Date;
|
|
10854
|
+
updatedAt: Date;
|
|
10855
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10856
|
+
reviewSteps: {
|
|
10857
|
+
stageName: string;
|
|
10858
|
+
quorum: number;
|
|
10859
|
+
}[];
|
|
10860
|
+
currentStepIndex: number;
|
|
10861
|
+
expiresAt: Date;
|
|
10862
|
+
targetId: string | null;
|
|
10863
|
+
note: {
|
|
10864
|
+
title: string;
|
|
10865
|
+
content: string;
|
|
10866
|
+
} | null;
|
|
10867
|
+
createdById: string;
|
|
10868
|
+
reviews: {
|
|
10869
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10870
|
+
createdAt: Date;
|
|
10871
|
+
updatedAt: Date;
|
|
10872
|
+
userId: string;
|
|
10873
|
+
stepIndex: number;
|
|
10874
|
+
}[];
|
|
10875
|
+
legacyId: number;
|
|
10876
|
+
meta?: {
|
|
10877
|
+
hash: string | null;
|
|
10878
|
+
} | null | undefined;
|
|
10879
|
+
expiredAt?: Date | undefined;
|
|
10880
|
+
inflight?: {
|
|
10881
|
+
retryAfter: Date;
|
|
10882
|
+
numFailed: number;
|
|
10883
|
+
lastError: string | null;
|
|
10884
|
+
} | undefined;
|
|
10885
|
+
} | {
|
|
10886
|
+
type: "FORCE_UNPLEDGE";
|
|
10887
|
+
id: string;
|
|
10888
|
+
data: {
|
|
10889
|
+
accountId: string;
|
|
10890
|
+
exchangeId: string;
|
|
10891
|
+
};
|
|
10892
|
+
createdAt: Date;
|
|
10893
|
+
updatedAt: Date;
|
|
10894
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10895
|
+
reviewSteps: {
|
|
10896
|
+
stageName: string;
|
|
10897
|
+
quorum: number;
|
|
10898
|
+
}[];
|
|
10899
|
+
currentStepIndex: number;
|
|
10900
|
+
expiresAt: Date;
|
|
10901
|
+
targetId: string | null;
|
|
10902
|
+
note: {
|
|
10903
|
+
title: string;
|
|
10904
|
+
content: string;
|
|
10905
|
+
} | null;
|
|
10906
|
+
createdById: string;
|
|
10907
|
+
reviews: {
|
|
10908
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10909
|
+
createdAt: Date;
|
|
10910
|
+
updatedAt: Date;
|
|
10911
|
+
userId: string;
|
|
10912
|
+
stepIndex: number;
|
|
10913
|
+
}[];
|
|
10914
|
+
legacyId: number;
|
|
10915
|
+
expiredAt?: Date | undefined;
|
|
10916
|
+
inflight?: {
|
|
10917
|
+
retryAfter: Date;
|
|
10918
|
+
numFailed: number;
|
|
10919
|
+
lastError: string | null;
|
|
10920
|
+
} | undefined;
|
|
10921
|
+
} | {
|
|
10922
|
+
type: "TRADELINK_WITHDRAW";
|
|
10923
|
+
id: string;
|
|
10924
|
+
data: {
|
|
10925
|
+
accountId: string;
|
|
10926
|
+
transaction: {
|
|
10927
|
+
type: "BITCOIN_LIKE_SEND";
|
|
10928
|
+
currency: string;
|
|
10929
|
+
recipient: string;
|
|
10930
|
+
amount: string;
|
|
10931
|
+
maxFee: string | null;
|
|
10932
|
+
feeStrategy: {
|
|
10933
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
10934
|
+
feePerByte?: string | null | undefined;
|
|
10935
|
+
};
|
|
10936
|
+
} | {
|
|
10937
|
+
type: "ETHEREUM_LIKE_SEND";
|
|
10938
|
+
currency: string;
|
|
10939
|
+
recipient: string;
|
|
10940
|
+
amount: string;
|
|
10941
|
+
maxFee: string | null;
|
|
10942
|
+
feeStrategy: {
|
|
10943
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
10944
|
+
gasLimit: string;
|
|
10945
|
+
gasPrice: string;
|
|
10946
|
+
} | {
|
|
10947
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
10948
|
+
gasLimit: string;
|
|
10949
|
+
maxPriorityFeePerGas: string;
|
|
10950
|
+
maxFeePerGas: string;
|
|
10951
|
+
};
|
|
10952
|
+
} | {
|
|
10953
|
+
type: "TEZOS_LIKE_SEND";
|
|
10954
|
+
currency: string;
|
|
10955
|
+
recipient: string;
|
|
10956
|
+
amount: string;
|
|
10957
|
+
maxFee: string | null;
|
|
10958
|
+
feeStrategy: {
|
|
10959
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
10960
|
+
gasLimit: string;
|
|
10961
|
+
storageLimit: string | null;
|
|
10962
|
+
};
|
|
10963
|
+
} | {
|
|
10964
|
+
type: "POLKADOT_LIKE_SEND";
|
|
10965
|
+
currency: string;
|
|
10966
|
+
recipient: string;
|
|
10967
|
+
amount: string;
|
|
10968
|
+
maxFee: string | null;
|
|
10969
|
+
} | {
|
|
10970
|
+
type: "RIPPLE_LIKE_SEND";
|
|
10971
|
+
currency: string;
|
|
10972
|
+
recipient: string;
|
|
10973
|
+
destinationTag: string | null;
|
|
10974
|
+
amount: string;
|
|
10975
|
+
maxFee: string | null;
|
|
10976
|
+
feeStrategy: {
|
|
10977
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
10978
|
+
};
|
|
10979
|
+
} | {
|
|
10980
|
+
type: "STELLAR_LIKE_SEND";
|
|
10981
|
+
currency: string;
|
|
10982
|
+
recipient: string;
|
|
10983
|
+
amount: string;
|
|
10984
|
+
maxFee: string | null;
|
|
10985
|
+
feeStrategy: {
|
|
10986
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
10987
|
+
};
|
|
10988
|
+
memo: {
|
|
10989
|
+
MEMO_TEXT: string;
|
|
10990
|
+
} | {
|
|
10991
|
+
MEMO_ID: string;
|
|
10992
|
+
} | {
|
|
10993
|
+
MEMO_HASH: string;
|
|
10994
|
+
} | {
|
|
10995
|
+
MEMO_RETURN: string;
|
|
10996
|
+
} | null;
|
|
10997
|
+
} | {
|
|
10998
|
+
type: "SOLANA_LIKE_SEND";
|
|
10999
|
+
currency: string;
|
|
11000
|
+
recipient: string;
|
|
11001
|
+
amount: string;
|
|
11002
|
+
maxFee: string | null;
|
|
11003
|
+
feeStrategy: {
|
|
11004
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
11005
|
+
};
|
|
11006
|
+
} | {
|
|
11007
|
+
type: "CARDANO_LIKE_SEND";
|
|
11008
|
+
currency: string;
|
|
11009
|
+
recipient: string;
|
|
11010
|
+
amount: string;
|
|
11011
|
+
maxFee: string | null;
|
|
11012
|
+
feeStrategy: {
|
|
11013
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
11014
|
+
};
|
|
11015
|
+
} | {
|
|
11016
|
+
type: "SUI_LIKE_SEND";
|
|
11017
|
+
currency: string;
|
|
11018
|
+
recipient: string;
|
|
11019
|
+
amount: string;
|
|
11020
|
+
maxFee: string | null;
|
|
11021
|
+
feeStrategy: {
|
|
11022
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
11023
|
+
};
|
|
11024
|
+
};
|
|
11025
|
+
};
|
|
11026
|
+
createdAt: Date;
|
|
11027
|
+
updatedAt: Date;
|
|
11028
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11029
|
+
reviewSteps: {
|
|
11030
|
+
stageName: string;
|
|
11031
|
+
quorum: number;
|
|
11032
|
+
}[];
|
|
11033
|
+
currentStepIndex: number;
|
|
11034
|
+
expiresAt: Date;
|
|
11035
|
+
targetId: string | null;
|
|
11036
|
+
note: {
|
|
11037
|
+
title: string;
|
|
11038
|
+
content: string;
|
|
11039
|
+
} | null;
|
|
11040
|
+
createdById: string;
|
|
11041
|
+
reviews: {
|
|
11042
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11043
|
+
createdAt: Date;
|
|
11044
|
+
updatedAt: Date;
|
|
11045
|
+
userId: string;
|
|
11046
|
+
stepIndex: number;
|
|
11047
|
+
}[];
|
|
11048
|
+
legacyId: number;
|
|
11049
|
+
meta?: {
|
|
11050
|
+
hash: string | null;
|
|
11051
|
+
} | null | undefined;
|
|
11052
|
+
expiredAt?: Date | undefined;
|
|
11053
|
+
inflight?: {
|
|
11054
|
+
retryAfter: Date;
|
|
11055
|
+
numFailed: number;
|
|
11056
|
+
lastError: string | null;
|
|
11057
|
+
} | undefined;
|
|
11058
|
+
} | {
|
|
11059
|
+
type: "TRADELINK_ARBITRATE";
|
|
11060
|
+
id: string;
|
|
11061
|
+
data: {
|
|
11062
|
+
accountId: string;
|
|
11063
|
+
transaction: {
|
|
11064
|
+
type: "BITCOIN_LIKE_SEND";
|
|
11065
|
+
currency: string;
|
|
11066
|
+
recipient: string;
|
|
11067
|
+
amount: string;
|
|
11068
|
+
maxFee: string | null;
|
|
11069
|
+
feeStrategy: {
|
|
11070
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11071
|
+
feePerByte?: string | null | undefined;
|
|
11072
|
+
};
|
|
11073
|
+
} | {
|
|
11074
|
+
type: "ETHEREUM_LIKE_SEND";
|
|
11075
|
+
currency: string;
|
|
11076
|
+
recipient: string;
|
|
11077
|
+
amount: string;
|
|
11078
|
+
maxFee: string | null;
|
|
11079
|
+
feeStrategy: {
|
|
11080
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11081
|
+
gasLimit: string;
|
|
11082
|
+
gasPrice: string;
|
|
11083
|
+
} | {
|
|
11084
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11085
|
+
gasLimit: string;
|
|
11086
|
+
maxPriorityFeePerGas: string;
|
|
11087
|
+
maxFeePerGas: string;
|
|
11088
|
+
};
|
|
11089
|
+
} | {
|
|
11090
|
+
type: "TEZOS_LIKE_SEND";
|
|
11091
|
+
currency: string;
|
|
11092
|
+
recipient: string;
|
|
11093
|
+
amount: string;
|
|
11094
|
+
maxFee: string | null;
|
|
11095
|
+
feeStrategy: {
|
|
11096
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11097
|
+
gasLimit: string;
|
|
11098
|
+
storageLimit: string | null;
|
|
11099
|
+
};
|
|
11100
|
+
} | {
|
|
11101
|
+
type: "POLKADOT_LIKE_SEND";
|
|
11102
|
+
currency: string;
|
|
11103
|
+
recipient: string;
|
|
11104
|
+
amount: string;
|
|
11105
|
+
maxFee: string | null;
|
|
11106
|
+
} | {
|
|
11107
|
+
type: "RIPPLE_LIKE_SEND";
|
|
11108
|
+
currency: string;
|
|
11109
|
+
recipient: string;
|
|
11110
|
+
destinationTag: string | null;
|
|
11111
|
+
amount: string;
|
|
11112
|
+
maxFee: string | null;
|
|
11113
|
+
feeStrategy: {
|
|
11114
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11115
|
+
};
|
|
11116
|
+
} | {
|
|
11117
|
+
type: "STELLAR_LIKE_SEND";
|
|
11118
|
+
currency: string;
|
|
11119
|
+
recipient: string;
|
|
11120
|
+
amount: string;
|
|
11121
|
+
maxFee: string | null;
|
|
11122
|
+
feeStrategy: {
|
|
11123
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
11124
|
+
};
|
|
11125
|
+
memo: {
|
|
11126
|
+
MEMO_TEXT: string;
|
|
11127
|
+
} | {
|
|
11128
|
+
MEMO_ID: string;
|
|
11129
|
+
} | {
|
|
11130
|
+
MEMO_HASH: string;
|
|
11131
|
+
} | {
|
|
11132
|
+
MEMO_RETURN: string;
|
|
11133
|
+
} | null;
|
|
11134
|
+
} | {
|
|
11135
|
+
type: "SOLANA_LIKE_SEND";
|
|
11136
|
+
currency: string;
|
|
11137
|
+
recipient: string;
|
|
11138
|
+
amount: string;
|
|
11139
|
+
maxFee: string | null;
|
|
11140
|
+
feeStrategy: {
|
|
11141
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
11142
|
+
};
|
|
11143
|
+
} | {
|
|
11144
|
+
type: "CARDANO_LIKE_SEND";
|
|
11145
|
+
currency: string;
|
|
11146
|
+
recipient: string;
|
|
11147
|
+
amount: string;
|
|
11148
|
+
maxFee: string | null;
|
|
11149
|
+
feeStrategy: {
|
|
11150
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
11151
|
+
};
|
|
11152
|
+
} | {
|
|
11153
|
+
type: "SUI_LIKE_SEND";
|
|
11154
|
+
currency: string;
|
|
11155
|
+
recipient: string;
|
|
11156
|
+
amount: string;
|
|
11157
|
+
maxFee: string | null;
|
|
11158
|
+
feeStrategy: {
|
|
11159
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
11160
|
+
};
|
|
11161
|
+
};
|
|
11162
|
+
};
|
|
11163
|
+
createdAt: Date;
|
|
11164
|
+
updatedAt: Date;
|
|
11165
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11166
|
+
reviewSteps: {
|
|
11167
|
+
stageName: string;
|
|
11168
|
+
quorum: number;
|
|
11169
|
+
}[];
|
|
11170
|
+
currentStepIndex: number;
|
|
11171
|
+
expiresAt: Date;
|
|
11172
|
+
targetId: string | null;
|
|
11173
|
+
note: {
|
|
11174
|
+
title: string;
|
|
11175
|
+
content: string;
|
|
11176
|
+
} | null;
|
|
11177
|
+
createdById: string;
|
|
11178
|
+
reviews: {
|
|
11179
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11180
|
+
createdAt: Date;
|
|
11181
|
+
updatedAt: Date;
|
|
11182
|
+
userId: string;
|
|
11183
|
+
stepIndex: number;
|
|
11184
|
+
}[];
|
|
11185
|
+
legacyId: number;
|
|
11186
|
+
meta?: {
|
|
11187
|
+
hash: string | null;
|
|
11188
|
+
} | null | undefined;
|
|
11189
|
+
expiredAt?: Date | undefined;
|
|
11190
|
+
inflight?: {
|
|
11191
|
+
retryAfter: Date;
|
|
11192
|
+
numFailed: number;
|
|
11193
|
+
lastError: string | null;
|
|
11194
|
+
} | undefined;
|
|
11195
|
+
} | {
|
|
11196
|
+
type: "SIGN_MESSAGE";
|
|
11197
|
+
id: string;
|
|
11198
|
+
data: {
|
|
11199
|
+
message: {
|
|
11200
|
+
type: "EIP191" | "EIP712";
|
|
11201
|
+
data: string;
|
|
11202
|
+
};
|
|
11203
|
+
derivationPath: string;
|
|
11204
|
+
accountId: string;
|
|
11205
|
+
address: string;
|
|
11206
|
+
};
|
|
11207
|
+
createdAt: Date;
|
|
11208
|
+
updatedAt: Date;
|
|
11209
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11210
|
+
reviewSteps: {
|
|
11211
|
+
stageName: string;
|
|
11212
|
+
quorum: number;
|
|
11213
|
+
}[];
|
|
11214
|
+
currentStepIndex: number;
|
|
11215
|
+
expiresAt: Date;
|
|
11216
|
+
targetId: string | null;
|
|
11217
|
+
note: {
|
|
11218
|
+
title: string;
|
|
11219
|
+
content: string;
|
|
11220
|
+
} | null;
|
|
11221
|
+
createdById: string;
|
|
11222
|
+
reviews: {
|
|
11223
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11224
|
+
createdAt: Date;
|
|
11225
|
+
updatedAt: Date;
|
|
11226
|
+
userId: string;
|
|
11227
|
+
stepIndex: number;
|
|
11228
|
+
}[];
|
|
11229
|
+
legacyId: number;
|
|
11230
|
+
expiredAt?: Date | undefined;
|
|
11231
|
+
inflight?: {
|
|
11232
|
+
retryAfter: Date;
|
|
11233
|
+
numFailed: number;
|
|
11234
|
+
lastError: string | null;
|
|
11235
|
+
} | undefined;
|
|
11236
|
+
} | {
|
|
11237
|
+
type: "SIGN_DIGESTS";
|
|
11238
|
+
id: string;
|
|
11239
|
+
data: {
|
|
11240
|
+
accountId: string;
|
|
11241
|
+
digests: {
|
|
11242
|
+
digest: string;
|
|
11243
|
+
derivationPath: string;
|
|
11244
|
+
}[];
|
|
11245
|
+
};
|
|
11246
|
+
createdAt: Date;
|
|
11247
|
+
updatedAt: Date;
|
|
11248
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11249
|
+
reviewSteps: {
|
|
11250
|
+
stageName: string;
|
|
11251
|
+
quorum: number;
|
|
11252
|
+
}[];
|
|
11253
|
+
currentStepIndex: number;
|
|
11254
|
+
expiresAt: Date;
|
|
11255
|
+
targetId: string | null;
|
|
11256
|
+
note: {
|
|
11257
|
+
title: string;
|
|
11258
|
+
content: string;
|
|
11259
|
+
} | null;
|
|
11260
|
+
createdById: string;
|
|
11261
|
+
reviews: {
|
|
11262
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11263
|
+
createdAt: Date;
|
|
11264
|
+
updatedAt: Date;
|
|
11265
|
+
userId: string;
|
|
11266
|
+
stepIndex: number;
|
|
11267
|
+
}[];
|
|
11268
|
+
legacyId: number;
|
|
11269
|
+
expiredAt?: Date | undefined;
|
|
11270
|
+
inflight?: {
|
|
11271
|
+
retryAfter: Date;
|
|
11272
|
+
numFailed: number;
|
|
11273
|
+
lastError: string | null;
|
|
11274
|
+
} | undefined;
|
|
11275
|
+
} | {
|
|
11276
|
+
type: "CREATE_ACCOUNT";
|
|
11277
|
+
id: string;
|
|
11278
|
+
data: {
|
|
11279
|
+
name: string;
|
|
11280
|
+
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE" | "TRON_LIKE";
|
|
11281
|
+
derivationPath: string;
|
|
11282
|
+
currency: string;
|
|
11283
|
+
index: number;
|
|
11284
|
+
governance: {
|
|
11285
|
+
type: "CLASSIC";
|
|
11286
|
+
policy: {
|
|
11287
|
+
policyId: string;
|
|
11288
|
+
} | {
|
|
11289
|
+
rules: {
|
|
11290
|
+
reviewSteps: ({
|
|
11291
|
+
quorum: number;
|
|
11292
|
+
userIds: string[];
|
|
11293
|
+
} | {
|
|
11294
|
+
quorum: number;
|
|
11295
|
+
groupId: string;
|
|
11296
|
+
})[];
|
|
11297
|
+
operationType: "SIGN_MESSAGE" | "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN";
|
|
11298
|
+
threshold?: {
|
|
11299
|
+
min: string | null;
|
|
11300
|
+
max: string | null;
|
|
11301
|
+
} | undefined;
|
|
11302
|
+
whitelistIds?: string[] | undefined;
|
|
11303
|
+
}[];
|
|
11304
|
+
};
|
|
11305
|
+
} | {
|
|
11306
|
+
type: "TRADELINK";
|
|
11307
|
+
assetManagerId: string;
|
|
11308
|
+
exchangeConfigs: {
|
|
11309
|
+
exchangeId: string;
|
|
11310
|
+
repledgeAuthorized: boolean;
|
|
11311
|
+
needsAssetManagerApprovalForSettlements: boolean;
|
|
11312
|
+
}[];
|
|
11313
|
+
} | {
|
|
11314
|
+
type: "RAW_SIGNING";
|
|
11315
|
+
policy: {
|
|
11316
|
+
rules: {
|
|
11317
|
+
reviewSteps: {
|
|
11318
|
+
quorum: number;
|
|
11319
|
+
userIds: string[];
|
|
11320
|
+
}[];
|
|
11321
|
+
operationType: "SIGN_DIGESTS";
|
|
11322
|
+
}[];
|
|
11323
|
+
};
|
|
11324
|
+
};
|
|
11325
|
+
contractAddress?: string | undefined;
|
|
11326
|
+
};
|
|
11327
|
+
createdAt: Date;
|
|
11328
|
+
updatedAt: Date;
|
|
11329
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11330
|
+
reviewSteps: {
|
|
11331
|
+
stageName: string;
|
|
11332
|
+
quorum: number;
|
|
11333
|
+
}[];
|
|
11334
|
+
currentStepIndex: number;
|
|
11335
|
+
expiresAt: Date;
|
|
11336
|
+
targetId: string | null;
|
|
11337
|
+
note: {
|
|
11338
|
+
title: string;
|
|
11339
|
+
content: string;
|
|
11340
|
+
} | null;
|
|
11341
|
+
createdById: string;
|
|
11342
|
+
reviews: {
|
|
11343
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11344
|
+
createdAt: Date;
|
|
11345
|
+
updatedAt: Date;
|
|
11346
|
+
userId: string;
|
|
11347
|
+
stepIndex: number;
|
|
11348
|
+
}[];
|
|
11349
|
+
legacyId: number;
|
|
11350
|
+
expiredAt?: Date | undefined;
|
|
11351
|
+
inflight?: {
|
|
11352
|
+
retryAfter: Date;
|
|
11353
|
+
numFailed: number;
|
|
11354
|
+
lastError: string | null;
|
|
11355
|
+
} | undefined;
|
|
11356
|
+
} | {
|
|
11357
|
+
type: "EDIT_TOKEN_RULE";
|
|
11358
|
+
id: string;
|
|
11359
|
+
data: {
|
|
11360
|
+
contractAddress: string;
|
|
11361
|
+
rules: {
|
|
11362
|
+
reviewSteps: ({
|
|
11363
|
+
quorum: number;
|
|
11364
|
+
userIds: string[];
|
|
11365
|
+
} | {
|
|
11366
|
+
quorum: number;
|
|
11367
|
+
groupId: string;
|
|
11368
|
+
})[];
|
|
11369
|
+
operationType: "SIGN_MESSAGE" | "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN";
|
|
11370
|
+
threshold?: {
|
|
11371
|
+
min: string | null;
|
|
11372
|
+
max: string | null;
|
|
11373
|
+
} | undefined;
|
|
11374
|
+
whitelistIds?: string[] | undefined;
|
|
11375
|
+
}[];
|
|
11376
|
+
parentAccountId: string;
|
|
11377
|
+
};
|
|
11378
|
+
createdAt: Date;
|
|
11379
|
+
updatedAt: Date;
|
|
11380
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11381
|
+
reviewSteps: {
|
|
11382
|
+
stageName: string;
|
|
11383
|
+
quorum: number;
|
|
11384
|
+
}[];
|
|
11385
|
+
currentStepIndex: number;
|
|
11386
|
+
expiresAt: Date;
|
|
11387
|
+
targetId: string | null;
|
|
11388
|
+
note: {
|
|
11389
|
+
title: string;
|
|
11390
|
+
content: string;
|
|
11391
|
+
} | null;
|
|
11392
|
+
createdById: string;
|
|
11393
|
+
reviews: {
|
|
11394
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11395
|
+
createdAt: Date;
|
|
11396
|
+
updatedAt: Date;
|
|
11397
|
+
userId: string;
|
|
11398
|
+
stepIndex: number;
|
|
11399
|
+
}[];
|
|
11400
|
+
legacyId: number;
|
|
11401
|
+
expiredAt?: Date | undefined;
|
|
11402
|
+
inflight?: {
|
|
11403
|
+
retryAfter: Date;
|
|
11404
|
+
numFailed: number;
|
|
11405
|
+
lastError: string | null;
|
|
11406
|
+
} | undefined;
|
|
11407
|
+
} | {
|
|
11408
|
+
type: "REVOKE_GROUP";
|
|
11409
|
+
id: string;
|
|
11410
|
+
data: {};
|
|
11411
|
+
createdAt: Date;
|
|
11412
|
+
updatedAt: Date;
|
|
11413
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11414
|
+
reviewSteps: {
|
|
11415
|
+
stageName: string;
|
|
11416
|
+
quorum: number;
|
|
11417
|
+
}[];
|
|
11418
|
+
currentStepIndex: number;
|
|
11419
|
+
expiresAt: Date;
|
|
11420
|
+
targetId: string | null;
|
|
11421
|
+
note: {
|
|
11422
|
+
title: string;
|
|
11423
|
+
content: string;
|
|
11424
|
+
} | null;
|
|
11425
|
+
createdById: string;
|
|
11426
|
+
reviews: {
|
|
11427
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11428
|
+
createdAt: Date;
|
|
11429
|
+
updatedAt: Date;
|
|
11430
|
+
userId: string;
|
|
11431
|
+
stepIndex: number;
|
|
11432
|
+
}[];
|
|
11433
|
+
legacyId: number;
|
|
11434
|
+
expiredAt?: Date | undefined;
|
|
11435
|
+
inflight?: {
|
|
11436
|
+
retryAfter: Date;
|
|
11437
|
+
numFailed: number;
|
|
11438
|
+
lastError: string | null;
|
|
11439
|
+
} | undefined;
|
|
11440
|
+
} | {
|
|
11441
|
+
type: "CREATE_ENTITY";
|
|
11442
|
+
id: string;
|
|
11443
|
+
data: {
|
|
11444
|
+
name: string;
|
|
11445
|
+
accounts: string[];
|
|
11446
|
+
};
|
|
11447
|
+
createdAt: Date;
|
|
11448
|
+
updatedAt: Date;
|
|
11449
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11450
|
+
reviewSteps: {
|
|
11451
|
+
stageName: string;
|
|
11452
|
+
quorum: number;
|
|
11453
|
+
}[];
|
|
11454
|
+
currentStepIndex: number;
|
|
11455
|
+
expiresAt: Date;
|
|
11456
|
+
targetId: string | null;
|
|
11457
|
+
note: {
|
|
11458
|
+
title: string;
|
|
11459
|
+
content: string;
|
|
11460
|
+
} | null;
|
|
11461
|
+
createdById: string;
|
|
11462
|
+
reviews: {
|
|
11463
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11464
|
+
createdAt: Date;
|
|
11465
|
+
updatedAt: Date;
|
|
11466
|
+
userId: string;
|
|
11467
|
+
stepIndex: number;
|
|
11468
|
+
}[];
|
|
11469
|
+
legacyId: number;
|
|
11470
|
+
expiredAt?: Date | undefined;
|
|
11471
|
+
inflight?: {
|
|
11472
|
+
retryAfter: Date;
|
|
11473
|
+
numFailed: number;
|
|
11474
|
+
lastError: string | null;
|
|
11475
|
+
} | undefined;
|
|
11476
|
+
} | {
|
|
11477
|
+
type: "EDIT_ENTITY";
|
|
11478
|
+
id: string;
|
|
11479
|
+
data: {
|
|
11480
|
+
name: string;
|
|
11481
|
+
accounts: string[];
|
|
11482
|
+
};
|
|
11483
|
+
createdAt: Date;
|
|
11484
|
+
updatedAt: Date;
|
|
11485
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11486
|
+
reviewSteps: {
|
|
11487
|
+
stageName: string;
|
|
11488
|
+
quorum: number;
|
|
11489
|
+
}[];
|
|
11490
|
+
currentStepIndex: number;
|
|
11491
|
+
expiresAt: Date;
|
|
11492
|
+
targetId: string | null;
|
|
11493
|
+
note: {
|
|
11494
|
+
title: string;
|
|
11495
|
+
content: string;
|
|
11496
|
+
} | null;
|
|
11497
|
+
createdById: string;
|
|
11498
|
+
reviews: {
|
|
11499
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11500
|
+
createdAt: Date;
|
|
11501
|
+
updatedAt: Date;
|
|
11502
|
+
userId: string;
|
|
11503
|
+
stepIndex: number;
|
|
11504
|
+
}[];
|
|
11505
|
+
legacyId: number;
|
|
11506
|
+
expiredAt?: Date | undefined;
|
|
11507
|
+
inflight?: {
|
|
11508
|
+
retryAfter: Date;
|
|
11509
|
+
numFailed: number;
|
|
11510
|
+
lastError: string | null;
|
|
11511
|
+
} | undefined;
|
|
11512
|
+
} | {
|
|
11513
|
+
type: "REVOKE_ENTITY";
|
|
11514
|
+
id: string;
|
|
11515
|
+
data: {};
|
|
11516
|
+
createdAt: Date;
|
|
11517
|
+
updatedAt: Date;
|
|
11518
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11519
|
+
reviewSteps: {
|
|
11520
|
+
stageName: string;
|
|
11521
|
+
quorum: number;
|
|
11522
|
+
}[];
|
|
11523
|
+
currentStepIndex: number;
|
|
11524
|
+
expiresAt: Date;
|
|
11525
|
+
targetId: string | null;
|
|
11526
|
+
note: {
|
|
11527
|
+
title: string;
|
|
11528
|
+
content: string;
|
|
11529
|
+
} | null;
|
|
11530
|
+
createdById: string;
|
|
11531
|
+
reviews: {
|
|
11532
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11533
|
+
createdAt: Date;
|
|
11534
|
+
updatedAt: Date;
|
|
11535
|
+
userId: string;
|
|
11536
|
+
stepIndex: number;
|
|
11537
|
+
}[];
|
|
11538
|
+
legacyId: number;
|
|
11539
|
+
expiredAt?: Date | undefined;
|
|
11540
|
+
inflight?: {
|
|
11541
|
+
retryAfter: Date;
|
|
11542
|
+
numFailed: number;
|
|
11543
|
+
lastError: string | null;
|
|
11544
|
+
} | undefined;
|
|
11545
|
+
} | {
|
|
11546
|
+
type: "CREATE_API_USER_ACCESS";
|
|
11547
|
+
id: string;
|
|
11548
|
+
data: {
|
|
11549
|
+
name: string;
|
|
11550
|
+
};
|
|
11551
|
+
createdAt: Date;
|
|
11552
|
+
updatedAt: Date;
|
|
11553
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11554
|
+
reviewSteps: {
|
|
11555
|
+
stageName: string;
|
|
11556
|
+
quorum: number;
|
|
11557
|
+
}[];
|
|
11558
|
+
currentStepIndex: number;
|
|
11559
|
+
expiresAt: Date;
|
|
11560
|
+
targetId: string | null;
|
|
11561
|
+
note: {
|
|
11562
|
+
title: string;
|
|
11563
|
+
content: string;
|
|
11564
|
+
} | null;
|
|
11565
|
+
createdById: string;
|
|
11566
|
+
reviews: {
|
|
11567
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11568
|
+
createdAt: Date;
|
|
11569
|
+
updatedAt: Date;
|
|
11570
|
+
userId: string;
|
|
11571
|
+
stepIndex: number;
|
|
11572
|
+
}[];
|
|
11573
|
+
legacyId: number;
|
|
11574
|
+
expiredAt?: Date | undefined;
|
|
11575
|
+
inflight?: {
|
|
11576
|
+
retryAfter: Date;
|
|
11577
|
+
numFailed: number;
|
|
11578
|
+
lastError: string | null;
|
|
11579
|
+
} | undefined;
|
|
11580
|
+
} | {
|
|
11581
|
+
type: "CREATE_WORKSPACE_RULE";
|
|
11582
|
+
id: string;
|
|
11583
|
+
data: {
|
|
11584
|
+
permission: "CREATE_ACCOUNT_WITH_POLICY";
|
|
11585
|
+
reviewConfig: {
|
|
11586
|
+
quorum: number;
|
|
11587
|
+
userIds: string[];
|
|
11588
|
+
}[];
|
|
11589
|
+
};
|
|
11590
|
+
createdAt: Date;
|
|
11591
|
+
updatedAt: Date;
|
|
11592
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11593
|
+
reviewSteps: {
|
|
11594
|
+
stageName: string;
|
|
11595
|
+
quorum: number;
|
|
11596
|
+
}[];
|
|
11597
|
+
currentStepIndex: number;
|
|
11598
|
+
expiresAt: Date;
|
|
11599
|
+
targetId: string | null;
|
|
11600
|
+
note: {
|
|
11601
|
+
title: string;
|
|
11602
|
+
content: string;
|
|
11603
|
+
} | null;
|
|
11604
|
+
createdById: string;
|
|
11605
|
+
reviews: {
|
|
11606
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11607
|
+
createdAt: Date;
|
|
11608
|
+
updatedAt: Date;
|
|
11609
|
+
userId: string;
|
|
11610
|
+
stepIndex: number;
|
|
11611
|
+
}[];
|
|
11612
|
+
legacyId: number;
|
|
11613
|
+
expiredAt?: Date | undefined;
|
|
11614
|
+
inflight?: {
|
|
11615
|
+
retryAfter: Date;
|
|
11616
|
+
numFailed: number;
|
|
11617
|
+
lastError: string | null;
|
|
11618
|
+
} | undefined;
|
|
11619
|
+
} | {
|
|
11620
|
+
type: "EDIT_WORKSPACE_RULE";
|
|
11621
|
+
id: string;
|
|
11622
|
+
data: {
|
|
11623
|
+
permission: "CREATE_ACCOUNT_WITH_POLICY";
|
|
11624
|
+
reviewConfig: {
|
|
11625
|
+
quorum: number;
|
|
11626
|
+
userIds: string[];
|
|
11627
|
+
}[];
|
|
11628
|
+
};
|
|
11629
|
+
createdAt: Date;
|
|
11630
|
+
updatedAt: Date;
|
|
11631
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11632
|
+
reviewSteps: {
|
|
11633
|
+
stageName: string;
|
|
11634
|
+
quorum: number;
|
|
11635
|
+
}[];
|
|
11636
|
+
currentStepIndex: number;
|
|
11637
|
+
expiresAt: Date;
|
|
11638
|
+
targetId: string | null;
|
|
11639
|
+
note: {
|
|
11640
|
+
title: string;
|
|
11641
|
+
content: string;
|
|
11642
|
+
} | null;
|
|
11643
|
+
createdById: string;
|
|
11644
|
+
reviews: {
|
|
11645
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11646
|
+
createdAt: Date;
|
|
11647
|
+
updatedAt: Date;
|
|
11648
|
+
userId: string;
|
|
11649
|
+
stepIndex: number;
|
|
11650
|
+
}[];
|
|
11651
|
+
legacyId: number;
|
|
11652
|
+
expiredAt?: Date | undefined;
|
|
11653
|
+
inflight?: {
|
|
11654
|
+
retryAfter: Date;
|
|
11655
|
+
numFailed: number;
|
|
11656
|
+
lastError: string | null;
|
|
11657
|
+
} | undefined;
|
|
11658
|
+
} | {
|
|
11659
|
+
type: "CREATE_SCICONFIG";
|
|
11660
|
+
id: string;
|
|
11661
|
+
data: {
|
|
11662
|
+
config: {
|
|
11663
|
+
dapps: string[] | null;
|
|
11664
|
+
customContractCallEnabled: boolean;
|
|
11665
|
+
};
|
|
11666
|
+
account: string;
|
|
11667
|
+
};
|
|
11668
|
+
createdAt: Date;
|
|
11669
|
+
updatedAt: Date;
|
|
11670
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11671
|
+
reviewSteps: {
|
|
11672
|
+
stageName: string;
|
|
11673
|
+
quorum: number;
|
|
11674
|
+
}[];
|
|
11675
|
+
currentStepIndex: number;
|
|
11676
|
+
expiresAt: Date;
|
|
11677
|
+
targetId: string | null;
|
|
11678
|
+
note: {
|
|
11679
|
+
title: string;
|
|
11680
|
+
content: string;
|
|
11681
|
+
} | null;
|
|
11682
|
+
createdById: string;
|
|
11683
|
+
reviews: {
|
|
11684
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11685
|
+
createdAt: Date;
|
|
11686
|
+
updatedAt: Date;
|
|
11687
|
+
userId: string;
|
|
11688
|
+
stepIndex: number;
|
|
11689
|
+
}[];
|
|
11690
|
+
legacyId: number;
|
|
11691
|
+
expiredAt?: Date | undefined;
|
|
11692
|
+
inflight?: {
|
|
11693
|
+
retryAfter: Date;
|
|
11694
|
+
numFailed: number;
|
|
11695
|
+
lastError: string | null;
|
|
11696
|
+
} | undefined;
|
|
11697
|
+
} | {
|
|
11698
|
+
type: "EDIT_SCICONFIG";
|
|
11699
|
+
id: string;
|
|
11700
|
+
data: {
|
|
11701
|
+
config: {
|
|
11702
|
+
dapps: string[] | null;
|
|
11703
|
+
customContractCallEnabled: boolean;
|
|
11704
|
+
};
|
|
11705
|
+
};
|
|
11706
|
+
createdAt: Date;
|
|
11707
|
+
updatedAt: Date;
|
|
11708
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11709
|
+
reviewSteps: {
|
|
11710
|
+
stageName: string;
|
|
11711
|
+
quorum: number;
|
|
11712
|
+
}[];
|
|
11713
|
+
currentStepIndex: number;
|
|
11714
|
+
expiresAt: Date;
|
|
11715
|
+
targetId: string | null;
|
|
11716
|
+
note: {
|
|
11717
|
+
title: string;
|
|
11718
|
+
content: string;
|
|
11719
|
+
} | null;
|
|
11720
|
+
createdById: string;
|
|
11721
|
+
reviews: {
|
|
11722
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11723
|
+
createdAt: Date;
|
|
11724
|
+
updatedAt: Date;
|
|
11725
|
+
userId: string;
|
|
11726
|
+
stepIndex: number;
|
|
11727
|
+
}[];
|
|
11728
|
+
legacyId: number;
|
|
11729
|
+
expiredAt?: Date | undefined;
|
|
11730
|
+
inflight?: {
|
|
11731
|
+
retryAfter: Date;
|
|
11732
|
+
numFailed: number;
|
|
11733
|
+
lastError: string | null;
|
|
11734
|
+
} | undefined;
|
|
11735
|
+
} | {
|
|
11736
|
+
type: "CREATE_API_KEY";
|
|
11737
|
+
id: string;
|
|
11738
|
+
data: {
|
|
11739
|
+
name: string;
|
|
11740
|
+
entities: string[];
|
|
11741
|
+
scopes: {};
|
|
11742
|
+
};
|
|
11743
|
+
createdAt: Date;
|
|
11744
|
+
updatedAt: Date;
|
|
11745
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11746
|
+
reviewSteps: {
|
|
11747
|
+
stageName: string;
|
|
11748
|
+
quorum: number;
|
|
11749
|
+
}[];
|
|
11750
|
+
currentStepIndex: number;
|
|
11751
|
+
expiresAt: Date;
|
|
11752
|
+
targetId: string | null;
|
|
11753
|
+
note: {
|
|
11754
|
+
title: string;
|
|
11755
|
+
content: string;
|
|
11756
|
+
} | null;
|
|
11757
|
+
createdById: string;
|
|
11758
|
+
reviews: {
|
|
11759
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11760
|
+
createdAt: Date;
|
|
11761
|
+
updatedAt: Date;
|
|
11762
|
+
userId: string;
|
|
11763
|
+
stepIndex: number;
|
|
11764
|
+
}[];
|
|
11765
|
+
legacyId: number;
|
|
11766
|
+
expiredAt?: Date | undefined;
|
|
11767
|
+
inflight?: {
|
|
11768
|
+
retryAfter: Date;
|
|
11769
|
+
numFailed: number;
|
|
11770
|
+
lastError: string | null;
|
|
11771
|
+
} | undefined;
|
|
11772
|
+
} | {
|
|
11773
|
+
type: "EDIT_API_KEY";
|
|
11774
|
+
id: string;
|
|
11775
|
+
data: {
|
|
11776
|
+
name: string;
|
|
11777
|
+
entities: string[];
|
|
11778
|
+
scopes: {};
|
|
11779
|
+
};
|
|
11780
|
+
createdAt: Date;
|
|
11781
|
+
updatedAt: Date;
|
|
11782
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11783
|
+
reviewSteps: {
|
|
11784
|
+
stageName: string;
|
|
11785
|
+
quorum: number;
|
|
11786
|
+
}[];
|
|
11787
|
+
currentStepIndex: number;
|
|
11788
|
+
expiresAt: Date;
|
|
11789
|
+
targetId: string | null;
|
|
11790
|
+
note: {
|
|
11791
|
+
title: string;
|
|
11792
|
+
content: string;
|
|
11793
|
+
} | null;
|
|
11794
|
+
createdById: string;
|
|
11795
|
+
reviews: {
|
|
11796
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11797
|
+
createdAt: Date;
|
|
11798
|
+
updatedAt: Date;
|
|
11799
|
+
userId: string;
|
|
11800
|
+
stepIndex: number;
|
|
11801
|
+
}[];
|
|
11802
|
+
legacyId: number;
|
|
11803
|
+
expiredAt?: Date | undefined;
|
|
11804
|
+
inflight?: {
|
|
11805
|
+
retryAfter: Date;
|
|
11806
|
+
numFailed: number;
|
|
11807
|
+
lastError: string | null;
|
|
11808
|
+
} | undefined;
|
|
11809
|
+
} | {
|
|
11810
|
+
type: "REVOKE_API_KEY";
|
|
11811
|
+
id: string;
|
|
11812
|
+
data: {};
|
|
11813
|
+
createdAt: Date;
|
|
11814
|
+
updatedAt: Date;
|
|
11815
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11816
|
+
reviewSteps: {
|
|
11817
|
+
stageName: string;
|
|
11818
|
+
quorum: number;
|
|
11819
|
+
}[];
|
|
11820
|
+
currentStepIndex: number;
|
|
11821
|
+
expiresAt: Date;
|
|
11822
|
+
targetId: string | null;
|
|
11823
|
+
note: {
|
|
11824
|
+
title: string;
|
|
11825
|
+
content: string;
|
|
11826
|
+
} | null;
|
|
11827
|
+
createdById: string;
|
|
11828
|
+
reviews: {
|
|
11829
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11830
|
+
createdAt: Date;
|
|
11831
|
+
updatedAt: Date;
|
|
11832
|
+
userId: string;
|
|
11833
|
+
stepIndex: number;
|
|
11834
|
+
}[];
|
|
11835
|
+
legacyId: number;
|
|
11836
|
+
expiredAt?: Date | undefined;
|
|
11837
|
+
inflight?: {
|
|
11838
|
+
retryAfter: Date;
|
|
11839
|
+
numFailed: number;
|
|
11840
|
+
lastError: string | null;
|
|
11841
|
+
} | undefined;
|
|
11842
|
+
};
|
|
11843
|
+
meta: {
|
|
11844
|
+
[x: string]: unknown;
|
|
11845
|
+
} & {
|
|
11846
|
+
openapi?: {
|
|
11847
|
+
enabled?: boolean;
|
|
11848
|
+
method: trpc_to_openapi.OpenApiMethod;
|
|
11849
|
+
path: `/${string}`;
|
|
11850
|
+
summary?: string;
|
|
11851
|
+
description?: string;
|
|
11852
|
+
protect?: boolean;
|
|
11853
|
+
tags?: string[];
|
|
11854
|
+
contentTypes?: trpc_to_openapi.OpenApiContentType[];
|
|
11855
|
+
deprecated?: boolean;
|
|
11856
|
+
requestHeaders?: z.AnyZodObject;
|
|
11857
|
+
responseHeaders?: z.AnyZodObject;
|
|
11858
|
+
successDescription?: string;
|
|
11859
|
+
errorResponses?: number[] | Record<number, string>;
|
|
11860
|
+
};
|
|
11861
|
+
} & RateLimitMetricsMeta;
|
|
11862
|
+
}>;
|
|
11863
|
+
createSuiTransaction: _trpc_server.TRPCMutationProcedure<{
|
|
11864
|
+
input: any;
|
|
11865
|
+
output: {
|
|
11866
|
+
type: "CREATE_TRANSACTION";
|
|
11867
|
+
id: string;
|
|
11868
|
+
data: {
|
|
11869
|
+
accountId: string;
|
|
11870
|
+
transaction: {
|
|
11871
|
+
type: "BITCOIN_LIKE_SEND";
|
|
11872
|
+
currency: string;
|
|
11873
|
+
recipient: string;
|
|
11874
|
+
amount: string;
|
|
11875
|
+
maxFee: string | null;
|
|
11876
|
+
feeStrategy: {
|
|
11877
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11878
|
+
feePerByte?: string | null | undefined;
|
|
11879
|
+
};
|
|
11880
|
+
} | {
|
|
11881
|
+
type: "ETHEREUM_LIKE_DEPLOY_CONTRACT";
|
|
11882
|
+
currency: string;
|
|
11883
|
+
recipient: "0x0000000000000000000000000000000000000000";
|
|
11884
|
+
amount: string;
|
|
11885
|
+
maxFee: string | null;
|
|
11886
|
+
feeStrategy: {
|
|
11887
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11888
|
+
gasLimit: string;
|
|
11889
|
+
gasPrice: string;
|
|
11890
|
+
} | {
|
|
11891
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11892
|
+
gasLimit: string;
|
|
11893
|
+
maxPriorityFeePerGas: string;
|
|
11894
|
+
maxFeePerGas: string;
|
|
11895
|
+
};
|
|
11896
|
+
contractData: string;
|
|
11897
|
+
} | {
|
|
11898
|
+
type: "ETHEREUM_LIKE_EXECUTE_CONTRACT";
|
|
11899
|
+
currency: string;
|
|
11900
|
+
recipient: string;
|
|
11901
|
+
amount: string;
|
|
11902
|
+
maxFee: string | null;
|
|
11903
|
+
feeStrategy: {
|
|
11904
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11905
|
+
gasLimit: string;
|
|
11906
|
+
gasPrice: string;
|
|
11907
|
+
} | {
|
|
11908
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11909
|
+
gasLimit: string;
|
|
11910
|
+
maxPriorityFeePerGas: string;
|
|
11911
|
+
maxFeePerGas: string;
|
|
11912
|
+
};
|
|
11913
|
+
contractData: string;
|
|
11914
|
+
} | {
|
|
11915
|
+
type: "ETHEREUM_LIKE_SEND";
|
|
11916
|
+
currency: string;
|
|
11917
|
+
recipient: string;
|
|
11918
|
+
amount: string;
|
|
11919
|
+
maxFee: string | null;
|
|
11920
|
+
feeStrategy: {
|
|
11921
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11922
|
+
gasLimit: string;
|
|
11923
|
+
gasPrice: string;
|
|
11924
|
+
} | {
|
|
11925
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11926
|
+
gasLimit: string;
|
|
11927
|
+
maxPriorityFeePerGas: string;
|
|
11928
|
+
maxFeePerGas: string;
|
|
11929
|
+
};
|
|
11930
|
+
} | {
|
|
11931
|
+
type: "TEZOS_LIKE_SEND";
|
|
11932
|
+
currency: string;
|
|
11933
|
+
recipient: string;
|
|
11934
|
+
amount: string;
|
|
11935
|
+
maxFee: string | null;
|
|
11936
|
+
feeStrategy: {
|
|
11937
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11938
|
+
gasLimit: string;
|
|
11939
|
+
storageLimit: string | null;
|
|
11940
|
+
};
|
|
11941
|
+
} | {
|
|
11942
|
+
type: "TEZOS_LIKE_DELEGATE";
|
|
11943
|
+
currency: string;
|
|
11944
|
+
recipient: string;
|
|
11945
|
+
maxFee: string | null;
|
|
11946
|
+
feeStrategy: {
|
|
11947
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11948
|
+
gasLimit: string;
|
|
11949
|
+
storageLimit: string | null;
|
|
11950
|
+
};
|
|
11951
|
+
amount?: string | undefined;
|
|
11952
|
+
} | {
|
|
11953
|
+
type: "TEZOS_LIKE_UNDELEGATE";
|
|
11954
|
+
currency: string;
|
|
11955
|
+
maxFee: string | null;
|
|
11956
|
+
feeStrategy: {
|
|
11957
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11958
|
+
gasLimit: string;
|
|
11959
|
+
storageLimit: string | null;
|
|
11960
|
+
};
|
|
11961
|
+
recipient?: string | undefined;
|
|
11962
|
+
amount?: string | undefined;
|
|
11963
|
+
} | {
|
|
11964
|
+
type: "POLKADOT_LIKE_ADDPROXY";
|
|
11965
|
+
proxy: string;
|
|
11966
|
+
currency: string;
|
|
11967
|
+
kind: "Staking";
|
|
11968
|
+
} | {
|
|
11969
|
+
type: "POLKADOT_LIKE_ANONYMOUSPROXY";
|
|
11970
|
+
currency: string;
|
|
11971
|
+
} | {
|
|
11972
|
+
type: "POLKADOT_LIKE_BOND";
|
|
11973
|
+
currency: string;
|
|
11974
|
+
amount: string;
|
|
11975
|
+
payee: "Staked" | "Stash";
|
|
11976
|
+
} | {
|
|
11977
|
+
type: "POLKADOT_LIKE_BONDEXTRA";
|
|
11978
|
+
currency: string;
|
|
11979
|
+
amount: string;
|
|
11980
|
+
} | {
|
|
11981
|
+
type: "POLKADOT_LIKE_CHILL";
|
|
11982
|
+
currency: string;
|
|
11983
|
+
} | {
|
|
11984
|
+
type: "POLKADOT_LIKE_KILLANONYMOUS";
|
|
11985
|
+
currency: string;
|
|
11986
|
+
} | {
|
|
11987
|
+
type: "POLKADOT_LIKE_REBOND";
|
|
11988
|
+
currency: string;
|
|
11989
|
+
amount: string;
|
|
11990
|
+
} | {
|
|
11991
|
+
type: "POLKADOT_LIKE_REMOVEPROXY";
|
|
11992
|
+
proxy: string;
|
|
11993
|
+
currency: string;
|
|
11994
|
+
kind: "Staking";
|
|
11995
|
+
} | {
|
|
11996
|
+
type: "POLKADOT_LIKE_SEND";
|
|
11997
|
+
currency: string;
|
|
11998
|
+
recipient: string;
|
|
11999
|
+
amount: string;
|
|
12000
|
+
maxFee: string | null;
|
|
12001
|
+
} | {
|
|
12002
|
+
type: "POLKADOT_LIKE_SETPAYEE";
|
|
12003
|
+
currency: string;
|
|
12004
|
+
payee: "Staked" | "Stash";
|
|
12005
|
+
} | {
|
|
12006
|
+
type: "POLKADOT_LIKE_UNBOND";
|
|
12007
|
+
currency: string;
|
|
12008
|
+
amount: string;
|
|
12009
|
+
} | {
|
|
12010
|
+
type: "POLKADOT_LIKE_WITHDRAWUNBONDED";
|
|
12011
|
+
currency: string;
|
|
12012
|
+
} | {
|
|
12013
|
+
type: "RIPPLE_LIKE_SEND";
|
|
12014
|
+
currency: string;
|
|
12015
|
+
recipient: string;
|
|
12016
|
+
destinationTag: string | null;
|
|
12017
|
+
amount: string;
|
|
12018
|
+
maxFee: string | null;
|
|
12019
|
+
feeStrategy: {
|
|
12020
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
12021
|
+
};
|
|
12022
|
+
} | {
|
|
12023
|
+
type: "STELLAR_LIKE_SEND";
|
|
12024
|
+
currency: string;
|
|
12025
|
+
recipient: string;
|
|
12026
|
+
amount: string;
|
|
12027
|
+
maxFee: string | null;
|
|
12028
|
+
feeStrategy: {
|
|
12029
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12030
|
+
};
|
|
12031
|
+
memo: {
|
|
12032
|
+
MEMO_TEXT: string;
|
|
12033
|
+
} | {
|
|
12034
|
+
MEMO_ID: string;
|
|
12035
|
+
} | {
|
|
12036
|
+
MEMO_HASH: string;
|
|
12037
|
+
} | {
|
|
12038
|
+
MEMO_RETURN: string;
|
|
12039
|
+
} | null;
|
|
12040
|
+
} | {
|
|
12041
|
+
type: "SOLANA_LIKE_CREATE_DELEGATE_STAKE";
|
|
12042
|
+
currency: string;
|
|
12043
|
+
recipient: string;
|
|
12044
|
+
amount: string;
|
|
12045
|
+
maxFee: string | null;
|
|
12046
|
+
feeStrategy: {
|
|
12047
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12048
|
+
};
|
|
12049
|
+
} | {
|
|
12050
|
+
type: "SOLANA_LIKE_DEACTIVATE_STAKE";
|
|
12051
|
+
currency: string;
|
|
12052
|
+
maxFee: string | null;
|
|
12053
|
+
feeStrategy: {
|
|
12054
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12055
|
+
};
|
|
12056
|
+
stakeAccount: string;
|
|
12057
|
+
} | {
|
|
12058
|
+
type: "SOLANA_LIKE_DELEGATE_STAKE";
|
|
12059
|
+
currency: string;
|
|
12060
|
+
recipient: string;
|
|
12061
|
+
maxFee: string | null;
|
|
12062
|
+
feeStrategy: {
|
|
12063
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12064
|
+
};
|
|
12065
|
+
stakeAccount: string;
|
|
12066
|
+
} | {
|
|
12067
|
+
type: "SOLANA_LIKE_MERGE_STAKE";
|
|
12068
|
+
currency: string;
|
|
12069
|
+
maxFee: string | null;
|
|
12070
|
+
feeStrategy: {
|
|
12071
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12072
|
+
};
|
|
12073
|
+
mergeSrcAccount: string;
|
|
12074
|
+
mergeDstAccount: string;
|
|
12075
|
+
} | {
|
|
12076
|
+
type: "SOLANA_LIKE_SEND";
|
|
12077
|
+
currency: string;
|
|
12078
|
+
recipient: string;
|
|
12079
|
+
amount: string;
|
|
12080
|
+
maxFee: string | null;
|
|
12081
|
+
feeStrategy: {
|
|
12082
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12083
|
+
};
|
|
12084
|
+
} | {
|
|
12085
|
+
type: "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE";
|
|
12086
|
+
currency: string;
|
|
12087
|
+
amount: string;
|
|
12088
|
+
maxFee: string | null;
|
|
12089
|
+
feeStrategy: {
|
|
12090
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12091
|
+
};
|
|
12092
|
+
stakeAccount: string;
|
|
12093
|
+
} | {
|
|
12094
|
+
type: "SOLANA_LIKE_SPLIT_STAKE";
|
|
12095
|
+
currency: string;
|
|
12096
|
+
amount: string;
|
|
12097
|
+
maxFee: string | null;
|
|
12098
|
+
feeStrategy: {
|
|
12099
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12100
|
+
};
|
|
12101
|
+
stakeAccount: string;
|
|
12102
|
+
} | {
|
|
12103
|
+
type: "SOLANA_LIKE_WITHDRAW_STAKE";
|
|
12104
|
+
currency: string;
|
|
12105
|
+
amount: string;
|
|
12106
|
+
maxFee: string | null;
|
|
12107
|
+
feeStrategy: {
|
|
12108
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12109
|
+
};
|
|
12110
|
+
stakeAccount: string;
|
|
12111
|
+
} | {
|
|
12112
|
+
type: "SOLANA_LIKE_SEND_TOKEN";
|
|
12113
|
+
currency: string;
|
|
12114
|
+
recipient: string;
|
|
12115
|
+
amount: string;
|
|
12116
|
+
maxFee: string | null;
|
|
12117
|
+
feeStrategy: {
|
|
12118
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12119
|
+
};
|
|
12120
|
+
} | {
|
|
12121
|
+
type: "SOLANA_LIKE_FUND_AND_SEND_TOKEN";
|
|
9607
12122
|
currency: string;
|
|
9608
12123
|
recipient: string;
|
|
9609
12124
|
amount: string;
|
|
@@ -9611,6 +12126,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
9611
12126
|
feeStrategy: {
|
|
9612
12127
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
9613
12128
|
};
|
|
12129
|
+
} | {
|
|
12130
|
+
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
12131
|
+
currency: string;
|
|
12132
|
+
maxFee: string | null;
|
|
12133
|
+
feeStrategy: {
|
|
12134
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12135
|
+
};
|
|
9614
12136
|
} | {
|
|
9615
12137
|
type: "CARDANO_LIKE_SEND";
|
|
9616
12138
|
currency: string;
|
|
@@ -9674,6 +12196,24 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
9674
12196
|
type: "GENERIC_TRANSACTION";
|
|
9675
12197
|
currency: string;
|
|
9676
12198
|
rawTx: string;
|
|
12199
|
+
} | {
|
|
12200
|
+
type: "TRON_LIKE_SEND";
|
|
12201
|
+
currency: string;
|
|
12202
|
+
recipient: string;
|
|
12203
|
+
amount: string;
|
|
12204
|
+
maxFee: string | null;
|
|
12205
|
+
feeStrategy: {
|
|
12206
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12207
|
+
};
|
|
12208
|
+
} | {
|
|
12209
|
+
type: "TRON_LIKE_SEND_TOKEN";
|
|
12210
|
+
currency: string;
|
|
12211
|
+
recipient: string;
|
|
12212
|
+
amount: string;
|
|
12213
|
+
maxFee: string | null;
|
|
12214
|
+
feeStrategy: {
|
|
12215
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12216
|
+
};
|
|
9677
12217
|
};
|
|
9678
12218
|
};
|
|
9679
12219
|
createdAt: Date;
|
|
@@ -11093,7 +13633,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
11093
13633
|
id: string;
|
|
11094
13634
|
data: {
|
|
11095
13635
|
name: string;
|
|
11096
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
13636
|
+
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE" | "TRON_LIKE";
|
|
11097
13637
|
derivationPath: string;
|
|
11098
13638
|
currency: string;
|
|
11099
13639
|
index: number;
|
|
@@ -11940,7 +14480,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
11940
14480
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
11941
14481
|
};
|
|
11942
14482
|
} | {
|
|
11943
|
-
type: "
|
|
14483
|
+
type: "SOLANA_LIKE_FUND_AND_SEND_TOKEN";
|
|
11944
14484
|
currency: string;
|
|
11945
14485
|
recipient: string;
|
|
11946
14486
|
amount: string;
|
|
@@ -11948,6 +14488,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
11948
14488
|
feeStrategy: {
|
|
11949
14489
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
11950
14490
|
};
|
|
14491
|
+
} | {
|
|
14492
|
+
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
14493
|
+
currency: string;
|
|
14494
|
+
maxFee: string | null;
|
|
14495
|
+
feeStrategy: {
|
|
14496
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
14497
|
+
};
|
|
11951
14498
|
} | {
|
|
11952
14499
|
type: "CARDANO_LIKE_SEND";
|
|
11953
14500
|
currency: string;
|
|
@@ -12011,6 +14558,24 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
12011
14558
|
type: "GENERIC_TRANSACTION";
|
|
12012
14559
|
currency: string;
|
|
12013
14560
|
rawTx: string;
|
|
14561
|
+
} | {
|
|
14562
|
+
type: "TRON_LIKE_SEND";
|
|
14563
|
+
currency: string;
|
|
14564
|
+
recipient: string;
|
|
14565
|
+
amount: string;
|
|
14566
|
+
maxFee: string | null;
|
|
14567
|
+
feeStrategy: {
|
|
14568
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
14569
|
+
};
|
|
14570
|
+
} | {
|
|
14571
|
+
type: "TRON_LIKE_SEND_TOKEN";
|
|
14572
|
+
currency: string;
|
|
14573
|
+
recipient: string;
|
|
14574
|
+
amount: string;
|
|
14575
|
+
maxFee: string | null;
|
|
14576
|
+
feeStrategy: {
|
|
14577
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
14578
|
+
};
|
|
12014
14579
|
};
|
|
12015
14580
|
};
|
|
12016
14581
|
createdAt: Date;
|
|
@@ -13430,7 +15995,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
13430
15995
|
id: string;
|
|
13431
15996
|
data: {
|
|
13432
15997
|
name: string;
|
|
13433
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
15998
|
+
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE" | "TRON_LIKE";
|
|
13434
15999
|
derivationPath: string;
|
|
13435
16000
|
currency: string;
|
|
13436
16001
|
index: number;
|
|
@@ -14277,7 +16842,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
14277
16842
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
14278
16843
|
};
|
|
14279
16844
|
} | {
|
|
14280
|
-
type: "
|
|
16845
|
+
type: "SOLANA_LIKE_FUND_AND_SEND_TOKEN";
|
|
14281
16846
|
currency: string;
|
|
14282
16847
|
recipient: string;
|
|
14283
16848
|
amount: string;
|
|
@@ -14285,6 +16850,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
14285
16850
|
feeStrategy: {
|
|
14286
16851
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
14287
16852
|
};
|
|
16853
|
+
} | {
|
|
16854
|
+
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
16855
|
+
currency: string;
|
|
16856
|
+
maxFee: string | null;
|
|
16857
|
+
feeStrategy: {
|
|
16858
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
16859
|
+
};
|
|
14288
16860
|
} | {
|
|
14289
16861
|
type: "CARDANO_LIKE_SEND";
|
|
14290
16862
|
currency: string;
|
|
@@ -14348,6 +16920,24 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
14348
16920
|
type: "GENERIC_TRANSACTION";
|
|
14349
16921
|
currency: string;
|
|
14350
16922
|
rawTx: string;
|
|
16923
|
+
} | {
|
|
16924
|
+
type: "TRON_LIKE_SEND";
|
|
16925
|
+
currency: string;
|
|
16926
|
+
recipient: string;
|
|
16927
|
+
amount: string;
|
|
16928
|
+
maxFee: string | null;
|
|
16929
|
+
feeStrategy: {
|
|
16930
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
16931
|
+
};
|
|
16932
|
+
} | {
|
|
16933
|
+
type: "TRON_LIKE_SEND_TOKEN";
|
|
16934
|
+
currency: string;
|
|
16935
|
+
recipient: string;
|
|
16936
|
+
amount: string;
|
|
16937
|
+
maxFee: string | null;
|
|
16938
|
+
feeStrategy: {
|
|
16939
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
16940
|
+
};
|
|
14351
16941
|
};
|
|
14352
16942
|
};
|
|
14353
16943
|
createdAt: Date;
|
|
@@ -15767,7 +18357,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
15767
18357
|
id: string;
|
|
15768
18358
|
data: {
|
|
15769
18359
|
name: string;
|
|
15770
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
18360
|
+
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE" | "TRON_LIKE";
|
|
15771
18361
|
derivationPath: string;
|
|
15772
18362
|
currency: string;
|
|
15773
18363
|
index: number;
|
|
@@ -21025,7 +23615,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
21025
23615
|
next: string | null;
|
|
21026
23616
|
results: {
|
|
21027
23617
|
name: string;
|
|
21028
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
23618
|
+
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE" | "TRON_LIKE";
|
|
21029
23619
|
id: string;
|
|
21030
23620
|
units: {
|
|
21031
23621
|
name: string;
|
|
@@ -21057,17 +23647,17 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
21057
23647
|
tokens: _trpc_server.TRPCQueryProcedure<{
|
|
21058
23648
|
input: {
|
|
21059
23649
|
search?: string | undefined;
|
|
21060
|
-
cursor?: string | undefined;
|
|
21061
23650
|
network?: string | undefined;
|
|
23651
|
+
cursor?: string | undefined;
|
|
21062
23652
|
};
|
|
21063
23653
|
output: {
|
|
21064
23654
|
next: string | null;
|
|
21065
23655
|
results: {
|
|
21066
23656
|
name: string;
|
|
21067
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
23657
|
+
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE" | "TRON_LIKE";
|
|
21068
23658
|
id: string;
|
|
21069
|
-
currency: string;
|
|
21070
23659
|
contractAddress: string;
|
|
23660
|
+
currency: string;
|
|
21071
23661
|
units: {
|
|
21072
23662
|
name: string;
|
|
21073
23663
|
code: string;
|
|
@@ -21095,6 +23685,32 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
21095
23685
|
};
|
|
21096
23686
|
} & RateLimitMetricsMeta;
|
|
21097
23687
|
}>;
|
|
23688
|
+
all: _trpc_server.TRPCQueryProcedure<{
|
|
23689
|
+
input: void;
|
|
23690
|
+
output: {
|
|
23691
|
+
currencies: CurrencyResponse[];
|
|
23692
|
+
tokens: TokenResponse[];
|
|
23693
|
+
};
|
|
23694
|
+
meta: {
|
|
23695
|
+
[x: string]: unknown;
|
|
23696
|
+
} & {
|
|
23697
|
+
openapi?: {
|
|
23698
|
+
enabled?: boolean;
|
|
23699
|
+
method: trpc_to_openapi.OpenApiMethod;
|
|
23700
|
+
path: `/${string}`;
|
|
23701
|
+
summary?: string;
|
|
23702
|
+
description?: string;
|
|
23703
|
+
protect?: boolean;
|
|
23704
|
+
tags?: string[];
|
|
23705
|
+
contentTypes?: trpc_to_openapi.OpenApiContentType[];
|
|
23706
|
+
deprecated?: boolean;
|
|
23707
|
+
requestHeaders?: z.AnyZodObject;
|
|
23708
|
+
responseHeaders?: z.AnyZodObject;
|
|
23709
|
+
successDescription?: string;
|
|
23710
|
+
errorResponses?: number[] | Record<number, string>;
|
|
23711
|
+
};
|
|
23712
|
+
} & RateLimitMetricsMeta;
|
|
23713
|
+
}>;
|
|
21098
23714
|
currencyCapabilities: _trpc_server.TRPCQueryProcedure<{
|
|
21099
23715
|
input: {
|
|
21100
23716
|
id: string;
|
|
@@ -21803,7 +24419,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
21803
24419
|
total: number;
|
|
21804
24420
|
results: {
|
|
21805
24421
|
url: string;
|
|
21806
|
-
actions: ("REQUEST_CREATED" | "REQUEST_RECEIVED_APPROVAL" | "REQUEST_RECEIVED_REJECTION" | "
|
|
24422
|
+
actions: ("REQUEST_CREATED" | "REQUEST_RECEIVED_APPROVAL" | "REQUEST_RECEIVED_REJECTION" | "REQUEST_ACTIVATED_REVIEWS" | "REQUEST_EXECUTING" | "REQUEST_EXECUTED" | "REQUEST_ABORTED" | "REQUEST_FAILED" | "REQUEST_EXPIRED")[];
|
|
21807
24423
|
id: string;
|
|
21808
24424
|
createdAt: Date;
|
|
21809
24425
|
}[];
|
|
@@ -21834,7 +24450,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
21834
24450
|
};
|
|
21835
24451
|
output: {
|
|
21836
24452
|
url: string;
|
|
21837
|
-
actions: ("REQUEST_CREATED" | "REQUEST_RECEIVED_APPROVAL" | "REQUEST_RECEIVED_REJECTION" | "
|
|
24453
|
+
actions: ("REQUEST_CREATED" | "REQUEST_RECEIVED_APPROVAL" | "REQUEST_RECEIVED_REJECTION" | "REQUEST_ACTIVATED_REVIEWS" | "REQUEST_EXECUTING" | "REQUEST_EXECUTED" | "REQUEST_ABORTED" | "REQUEST_FAILED" | "REQUEST_EXPIRED")[];
|
|
21838
24454
|
id: string;
|
|
21839
24455
|
createdAt: Date;
|
|
21840
24456
|
};
|
|
@@ -21861,11 +24477,11 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
21861
24477
|
create: _trpc_server.TRPCMutationProcedure<{
|
|
21862
24478
|
input: {
|
|
21863
24479
|
url: string;
|
|
21864
|
-
actions: ("REQUEST_CREATED" | "REQUEST_RECEIVED_APPROVAL" | "REQUEST_RECEIVED_REJECTION" | "
|
|
24480
|
+
actions: ("REQUEST_CREATED" | "REQUEST_RECEIVED_APPROVAL" | "REQUEST_RECEIVED_REJECTION" | "REQUEST_ACTIVATED_REVIEWS" | "REQUEST_EXECUTING" | "REQUEST_EXECUTED" | "REQUEST_ABORTED" | "REQUEST_FAILED" | "REQUEST_EXPIRED")[];
|
|
21865
24481
|
};
|
|
21866
24482
|
output: {
|
|
21867
24483
|
url: string;
|
|
21868
|
-
actions: ("REQUEST_CREATED" | "REQUEST_RECEIVED_APPROVAL" | "REQUEST_RECEIVED_REJECTION" | "
|
|
24484
|
+
actions: ("REQUEST_CREATED" | "REQUEST_RECEIVED_APPROVAL" | "REQUEST_RECEIVED_REJECTION" | "REQUEST_ACTIVATED_REVIEWS" | "REQUEST_EXECUTING" | "REQUEST_EXECUTED" | "REQUEST_ABORTED" | "REQUEST_FAILED" | "REQUEST_EXPIRED")[];
|
|
21869
24485
|
id: string;
|
|
21870
24486
|
createdAt: Date;
|
|
21871
24487
|
};
|
|
@@ -22492,9 +25108,9 @@ declare const zTransactionResponse: z__default.ZodDiscriminatedUnion<"type", [z_
|
|
|
22492
25108
|
senders: z__default.ZodArray<z__default.ZodString, "many">;
|
|
22493
25109
|
recipients: z__default.ZodArray<z__default.ZodString, "many">;
|
|
22494
25110
|
} & {
|
|
22495
|
-
type: z__default.ZodEnum<["SOLANA_LIKE_SEND", "SOLANA_LIKE_RECEIVE", "SOLANA_LIKE_CREATE_DELEGATE_STAKE", "SOLANA_LIKE_DELEGATE_STAKE", "SOLANA_LIKE_WITHDRAW_STAKE", "SOLANA_LIKE_DEACTIVATE_STAKE", "SOLANA_LIKE_SPLIT_STAKE", "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE", "SOLANA_LIKE_MERGE_STAKE", "SOLANA_LIKE_SEND_TOKEN", "
|
|
25111
|
+
type: z__default.ZodEnum<["SOLANA_LIKE_SEND", "SOLANA_LIKE_RECEIVE", "SOLANA_LIKE_CREATE_DELEGATE_STAKE", "SOLANA_LIKE_DELEGATE_STAKE", "SOLANA_LIKE_WITHDRAW_STAKE", "SOLANA_LIKE_DEACTIVATE_STAKE", "SOLANA_LIKE_SPLIT_STAKE", "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE", "SOLANA_LIKE_MERGE_STAKE", "SOLANA_LIKE_SEND_TOKEN", "SOLANA_LIKE_FUND_AND_SEND_TOKEN", "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT"]>;
|
|
22496
25112
|
}, "strip", z__default.ZodTypeAny, {
|
|
22497
|
-
type: "SOLANA_LIKE_SEND" | "SOLANA_LIKE_RECEIVE" | "SOLANA_LIKE_CREATE_DELEGATE_STAKE" | "SOLANA_LIKE_DELEGATE_STAKE" | "SOLANA_LIKE_WITHDRAW_STAKE" | "SOLANA_LIKE_DEACTIVATE_STAKE" | "SOLANA_LIKE_SPLIT_STAKE" | "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE" | "SOLANA_LIKE_MERGE_STAKE" | "SOLANA_LIKE_SEND_TOKEN" | "
|
|
25113
|
+
type: "SOLANA_LIKE_SEND" | "SOLANA_LIKE_RECEIVE" | "SOLANA_LIKE_CREATE_DELEGATE_STAKE" | "SOLANA_LIKE_DELEGATE_STAKE" | "SOLANA_LIKE_WITHDRAW_STAKE" | "SOLANA_LIKE_DEACTIVATE_STAKE" | "SOLANA_LIKE_SPLIT_STAKE" | "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE" | "SOLANA_LIKE_MERGE_STAKE" | "SOLANA_LIKE_SEND_TOKEN" | "SOLANA_LIKE_FUND_AND_SEND_TOKEN" | "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
22498
25114
|
status: "FAILED" | "SUCCESSFUL";
|
|
22499
25115
|
id: string;
|
|
22500
25116
|
hash: string;
|
|
@@ -22508,7 +25124,7 @@ declare const zTransactionResponse: z__default.ZodDiscriminatedUnion<"type", [z_
|
|
|
22508
25124
|
senders: string[];
|
|
22509
25125
|
recipients: string[];
|
|
22510
25126
|
}, {
|
|
22511
|
-
type: "SOLANA_LIKE_SEND" | "SOLANA_LIKE_RECEIVE" | "SOLANA_LIKE_CREATE_DELEGATE_STAKE" | "SOLANA_LIKE_DELEGATE_STAKE" | "SOLANA_LIKE_WITHDRAW_STAKE" | "SOLANA_LIKE_DEACTIVATE_STAKE" | "SOLANA_LIKE_SPLIT_STAKE" | "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE" | "SOLANA_LIKE_MERGE_STAKE" | "SOLANA_LIKE_SEND_TOKEN" | "
|
|
25127
|
+
type: "SOLANA_LIKE_SEND" | "SOLANA_LIKE_RECEIVE" | "SOLANA_LIKE_CREATE_DELEGATE_STAKE" | "SOLANA_LIKE_DELEGATE_STAKE" | "SOLANA_LIKE_WITHDRAW_STAKE" | "SOLANA_LIKE_DEACTIVATE_STAKE" | "SOLANA_LIKE_SPLIT_STAKE" | "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE" | "SOLANA_LIKE_MERGE_STAKE" | "SOLANA_LIKE_SEND_TOKEN" | "SOLANA_LIKE_FUND_AND_SEND_TOKEN" | "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
22512
25128
|
status: "FAILED" | "SUCCESSFUL";
|
|
22513
25129
|
id: string;
|
|
22514
25130
|
hash: string;
|
|
@@ -22690,13 +25306,13 @@ declare const zEstimatedFees: z__default.ZodDiscriminatedUnion<"type", [z__defau
|
|
|
22690
25306
|
nonce: string;
|
|
22691
25307
|
priorityFees: string;
|
|
22692
25308
|
}>, z__default.ZodObject<{
|
|
22693
|
-
type: z__default.ZodLiteral<"
|
|
25309
|
+
type: z__default.ZodLiteral<"RIPPLE_LIKE">;
|
|
22694
25310
|
fee: z__default.ZodString;
|
|
22695
25311
|
}, "strip", z__default.ZodTypeAny, {
|
|
22696
|
-
type: "
|
|
25312
|
+
type: "RIPPLE_LIKE";
|
|
22697
25313
|
fee: string;
|
|
22698
25314
|
}, {
|
|
22699
|
-
type: "
|
|
25315
|
+
type: "RIPPLE_LIKE";
|
|
22700
25316
|
fee: string;
|
|
22701
25317
|
}>, z__default.ZodObject<{
|
|
22702
25318
|
type: z__default.ZodLiteral<"STELLAR_LIKE">;
|
|
@@ -22708,13 +25324,22 @@ declare const zEstimatedFees: z__default.ZodDiscriminatedUnion<"type", [z__defau
|
|
|
22708
25324
|
type: "STELLAR_LIKE";
|
|
22709
25325
|
fee: string;
|
|
22710
25326
|
}>, z__default.ZodObject<{
|
|
22711
|
-
type: z__default.ZodLiteral<"
|
|
25327
|
+
type: z__default.ZodLiteral<"SUI_LIKE">;
|
|
22712
25328
|
fee: z__default.ZodString;
|
|
22713
25329
|
}, "strip", z__default.ZodTypeAny, {
|
|
22714
|
-
type: "
|
|
25330
|
+
type: "SUI_LIKE";
|
|
22715
25331
|
fee: string;
|
|
22716
25332
|
}, {
|
|
22717
|
-
type: "
|
|
25333
|
+
type: "SUI_LIKE";
|
|
25334
|
+
fee: string;
|
|
25335
|
+
}>, z__default.ZodObject<{
|
|
25336
|
+
type: z__default.ZodLiteral<"TRON_LIKE">;
|
|
25337
|
+
fee: z__default.ZodString;
|
|
25338
|
+
}, "strip", z__default.ZodTypeAny, {
|
|
25339
|
+
type: "TRON_LIKE";
|
|
25340
|
+
fee: string;
|
|
25341
|
+
}, {
|
|
25342
|
+
type: "TRON_LIKE";
|
|
22718
25343
|
fee: string;
|
|
22719
25344
|
}>]>;
|
|
22720
25345
|
|
|
@@ -23242,7 +25867,7 @@ declare const zTransactionWithMetaResponse: z__default.ZodDiscriminatedUnion<"ty
|
|
|
23242
25867
|
senders: z__default.ZodArray<z__default.ZodString, "many">;
|
|
23243
25868
|
recipients: z__default.ZodArray<z__default.ZodString, "many">;
|
|
23244
25869
|
} & {
|
|
23245
|
-
type: z__default.ZodEnum<["SOLANA_LIKE_SEND", "SOLANA_LIKE_RECEIVE", "SOLANA_LIKE_CREATE_DELEGATE_STAKE", "SOLANA_LIKE_DELEGATE_STAKE", "SOLANA_LIKE_WITHDRAW_STAKE", "SOLANA_LIKE_DEACTIVATE_STAKE", "SOLANA_LIKE_SPLIT_STAKE", "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE", "SOLANA_LIKE_MERGE_STAKE", "SOLANA_LIKE_SEND_TOKEN", "
|
|
25870
|
+
type: z__default.ZodEnum<["SOLANA_LIKE_SEND", "SOLANA_LIKE_RECEIVE", "SOLANA_LIKE_CREATE_DELEGATE_STAKE", "SOLANA_LIKE_DELEGATE_STAKE", "SOLANA_LIKE_WITHDRAW_STAKE", "SOLANA_LIKE_DEACTIVATE_STAKE", "SOLANA_LIKE_SPLIT_STAKE", "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE", "SOLANA_LIKE_MERGE_STAKE", "SOLANA_LIKE_SEND_TOKEN", "SOLANA_LIKE_FUND_AND_SEND_TOKEN", "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT"]>;
|
|
23246
25871
|
} & {
|
|
23247
25872
|
note: z__default.ZodNullable<z__default.ZodObject<{
|
|
23248
25873
|
title: z__default.ZodString;
|
|
@@ -23255,7 +25880,7 @@ declare const zTransactionWithMetaResponse: z__default.ZodDiscriminatedUnion<"ty
|
|
|
23255
25880
|
content: string;
|
|
23256
25881
|
}>>;
|
|
23257
25882
|
}, "strip", z__default.ZodTypeAny, {
|
|
23258
|
-
type: "SOLANA_LIKE_SEND" | "SOLANA_LIKE_RECEIVE" | "SOLANA_LIKE_CREATE_DELEGATE_STAKE" | "SOLANA_LIKE_DELEGATE_STAKE" | "SOLANA_LIKE_WITHDRAW_STAKE" | "SOLANA_LIKE_DEACTIVATE_STAKE" | "SOLANA_LIKE_SPLIT_STAKE" | "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE" | "SOLANA_LIKE_MERGE_STAKE" | "SOLANA_LIKE_SEND_TOKEN" | "
|
|
25883
|
+
type: "SOLANA_LIKE_SEND" | "SOLANA_LIKE_RECEIVE" | "SOLANA_LIKE_CREATE_DELEGATE_STAKE" | "SOLANA_LIKE_DELEGATE_STAKE" | "SOLANA_LIKE_WITHDRAW_STAKE" | "SOLANA_LIKE_DEACTIVATE_STAKE" | "SOLANA_LIKE_SPLIT_STAKE" | "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE" | "SOLANA_LIKE_MERGE_STAKE" | "SOLANA_LIKE_SEND_TOKEN" | "SOLANA_LIKE_FUND_AND_SEND_TOKEN" | "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
23259
25884
|
status: "FAILED" | "SUCCESSFUL";
|
|
23260
25885
|
id: string;
|
|
23261
25886
|
note: {
|
|
@@ -23273,7 +25898,7 @@ declare const zTransactionWithMetaResponse: z__default.ZodDiscriminatedUnion<"ty
|
|
|
23273
25898
|
senders: string[];
|
|
23274
25899
|
recipients: string[];
|
|
23275
25900
|
}, {
|
|
23276
|
-
type: "SOLANA_LIKE_SEND" | "SOLANA_LIKE_RECEIVE" | "SOLANA_LIKE_CREATE_DELEGATE_STAKE" | "SOLANA_LIKE_DELEGATE_STAKE" | "SOLANA_LIKE_WITHDRAW_STAKE" | "SOLANA_LIKE_DEACTIVATE_STAKE" | "SOLANA_LIKE_SPLIT_STAKE" | "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE" | "SOLANA_LIKE_MERGE_STAKE" | "SOLANA_LIKE_SEND_TOKEN" | "
|
|
25901
|
+
type: "SOLANA_LIKE_SEND" | "SOLANA_LIKE_RECEIVE" | "SOLANA_LIKE_CREATE_DELEGATE_STAKE" | "SOLANA_LIKE_DELEGATE_STAKE" | "SOLANA_LIKE_WITHDRAW_STAKE" | "SOLANA_LIKE_DEACTIVATE_STAKE" | "SOLANA_LIKE_SPLIT_STAKE" | "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE" | "SOLANA_LIKE_MERGE_STAKE" | "SOLANA_LIKE_SEND_TOKEN" | "SOLANA_LIKE_FUND_AND_SEND_TOKEN" | "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
23277
25902
|
status: "FAILED" | "SUCCESSFUL";
|
|
23278
25903
|
id: string;
|
|
23279
25904
|
note: {
|
|
@@ -24018,7 +26643,7 @@ declare const zTransactionWithMetaResponse: z__default.ZodDiscriminatedUnion<"ty
|
|
|
24018
26643
|
senders: z__default.ZodArray<z__default.ZodString, "many">;
|
|
24019
26644
|
recipients: z__default.ZodArray<z__default.ZodString, "many">;
|
|
24020
26645
|
} & {
|
|
24021
|
-
type: z__default.ZodEnum<["SOLANA_LIKE_SEND", "SOLANA_LIKE_RECEIVE", "SOLANA_LIKE_CREATE_DELEGATE_STAKE", "SOLANA_LIKE_DELEGATE_STAKE", "SOLANA_LIKE_WITHDRAW_STAKE", "SOLANA_LIKE_DEACTIVATE_STAKE", "SOLANA_LIKE_SPLIT_STAKE", "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE", "SOLANA_LIKE_MERGE_STAKE", "SOLANA_LIKE_SEND_TOKEN", "
|
|
26646
|
+
type: z__default.ZodEnum<["SOLANA_LIKE_SEND", "SOLANA_LIKE_RECEIVE", "SOLANA_LIKE_CREATE_DELEGATE_STAKE", "SOLANA_LIKE_DELEGATE_STAKE", "SOLANA_LIKE_WITHDRAW_STAKE", "SOLANA_LIKE_DEACTIVATE_STAKE", "SOLANA_LIKE_SPLIT_STAKE", "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE", "SOLANA_LIKE_MERGE_STAKE", "SOLANA_LIKE_SEND_TOKEN", "SOLANA_LIKE_FUND_AND_SEND_TOKEN", "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT"]>;
|
|
24022
26647
|
} & {
|
|
24023
26648
|
note: z__default.ZodNullable<z__default.ZodObject<{
|
|
24024
26649
|
title: z__default.ZodString;
|
|
@@ -24031,7 +26656,7 @@ declare const zTransactionWithMetaResponse: z__default.ZodDiscriminatedUnion<"ty
|
|
|
24031
26656
|
content: string;
|
|
24032
26657
|
}>>;
|
|
24033
26658
|
}, "strip", z__default.ZodTypeAny, {
|
|
24034
|
-
type: "SOLANA_LIKE_SEND" | "SOLANA_LIKE_RECEIVE" | "SOLANA_LIKE_CREATE_DELEGATE_STAKE" | "SOLANA_LIKE_DELEGATE_STAKE" | "SOLANA_LIKE_WITHDRAW_STAKE" | "SOLANA_LIKE_DEACTIVATE_STAKE" | "SOLANA_LIKE_SPLIT_STAKE" | "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE" | "SOLANA_LIKE_MERGE_STAKE" | "SOLANA_LIKE_SEND_TOKEN" | "
|
|
26659
|
+
type: "SOLANA_LIKE_SEND" | "SOLANA_LIKE_RECEIVE" | "SOLANA_LIKE_CREATE_DELEGATE_STAKE" | "SOLANA_LIKE_DELEGATE_STAKE" | "SOLANA_LIKE_WITHDRAW_STAKE" | "SOLANA_LIKE_DEACTIVATE_STAKE" | "SOLANA_LIKE_SPLIT_STAKE" | "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE" | "SOLANA_LIKE_MERGE_STAKE" | "SOLANA_LIKE_SEND_TOKEN" | "SOLANA_LIKE_FUND_AND_SEND_TOKEN" | "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
24035
26660
|
status: "FAILED" | "SUCCESSFUL";
|
|
24036
26661
|
id: string;
|
|
24037
26662
|
note: {
|
|
@@ -24049,7 +26674,7 @@ declare const zTransactionWithMetaResponse: z__default.ZodDiscriminatedUnion<"ty
|
|
|
24049
26674
|
senders: string[];
|
|
24050
26675
|
recipients: string[];
|
|
24051
26676
|
}, {
|
|
24052
|
-
type: "SOLANA_LIKE_SEND" | "SOLANA_LIKE_RECEIVE" | "SOLANA_LIKE_CREATE_DELEGATE_STAKE" | "SOLANA_LIKE_DELEGATE_STAKE" | "SOLANA_LIKE_WITHDRAW_STAKE" | "SOLANA_LIKE_DEACTIVATE_STAKE" | "SOLANA_LIKE_SPLIT_STAKE" | "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE" | "SOLANA_LIKE_MERGE_STAKE" | "SOLANA_LIKE_SEND_TOKEN" | "
|
|
26677
|
+
type: "SOLANA_LIKE_SEND" | "SOLANA_LIKE_RECEIVE" | "SOLANA_LIKE_CREATE_DELEGATE_STAKE" | "SOLANA_LIKE_DELEGATE_STAKE" | "SOLANA_LIKE_WITHDRAW_STAKE" | "SOLANA_LIKE_DEACTIVATE_STAKE" | "SOLANA_LIKE_SPLIT_STAKE" | "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE" | "SOLANA_LIKE_MERGE_STAKE" | "SOLANA_LIKE_SEND_TOKEN" | "SOLANA_LIKE_FUND_AND_SEND_TOKEN" | "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
24053
26678
|
status: "FAILED" | "SUCCESSFUL";
|
|
24054
26679
|
id: string;
|
|
24055
26680
|
note: {
|
|
@@ -24273,140 +26898,6 @@ declare const zTransactionWithMetaResponse: z__default.ZodDiscriminatedUnion<"ty
|
|
|
24273
26898
|
}>)[]]>;
|
|
24274
26899
|
type TransactionWithMetaResponse = z__default.infer<typeof zTransactionWithMetaResponse>;
|
|
24275
26900
|
|
|
24276
|
-
declare const zCurrencyResponse: z__default.ZodObject<{
|
|
24277
|
-
id: z__default.ZodString;
|
|
24278
|
-
name: z__default.ZodString;
|
|
24279
|
-
type: z__default.ZodNativeEnum<{
|
|
24280
|
-
BITCOIN_LIKE: "BITCOIN_LIKE";
|
|
24281
|
-
ETHEREUM_LIKE: "ETHEREUM_LIKE";
|
|
24282
|
-
ERC20_LIKE: "ERC20_LIKE";
|
|
24283
|
-
BEP20_LIKE: "BEP20_LIKE";
|
|
24284
|
-
CARDANO_LIKE: "CARDANO_LIKE";
|
|
24285
|
-
SOLANA_LIKE: "SOLANA_LIKE";
|
|
24286
|
-
TEZOS_LIKE: "TEZOS_LIKE";
|
|
24287
|
-
STELLAR_LIKE: "STELLAR_LIKE";
|
|
24288
|
-
RIPPLE_LIKE: "RIPPLE_LIKE";
|
|
24289
|
-
POLKADOT_LIKE: "POLKADOT_LIKE";
|
|
24290
|
-
TRC20_LIKE: "TRC20_LIKE";
|
|
24291
|
-
GENERIC_LIKE: "GENERIC_LIKE";
|
|
24292
|
-
RAW_SIGNING: "RAW_SIGNING";
|
|
24293
|
-
SUI_LIKE: "SUI_LIKE";
|
|
24294
|
-
}>;
|
|
24295
|
-
units: z__default.ZodArray<z__default.ZodObject<{
|
|
24296
|
-
code: z__default.ZodString;
|
|
24297
|
-
name: z__default.ZodString;
|
|
24298
|
-
magnitude: z__default.ZodNumber;
|
|
24299
|
-
}, "strip", z__default.ZodTypeAny, {
|
|
24300
|
-
name: string;
|
|
24301
|
-
code: string;
|
|
24302
|
-
magnitude: number;
|
|
24303
|
-
}, {
|
|
24304
|
-
name: string;
|
|
24305
|
-
code: string;
|
|
24306
|
-
magnitude: number;
|
|
24307
|
-
}>, "many">;
|
|
24308
|
-
}, "strip", z__default.ZodTypeAny, {
|
|
24309
|
-
name: string;
|
|
24310
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
24311
|
-
id: string;
|
|
24312
|
-
units: {
|
|
24313
|
-
name: string;
|
|
24314
|
-
code: string;
|
|
24315
|
-
magnitude: number;
|
|
24316
|
-
}[];
|
|
24317
|
-
}, {
|
|
24318
|
-
name: string;
|
|
24319
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
24320
|
-
id: string;
|
|
24321
|
-
units: {
|
|
24322
|
-
name: string;
|
|
24323
|
-
code: string;
|
|
24324
|
-
magnitude: number;
|
|
24325
|
-
}[];
|
|
24326
|
-
}>;
|
|
24327
|
-
type CurrencyResponse = z__default.infer<typeof zCurrencyResponse>;
|
|
24328
|
-
declare const zTokenResponse: z__default.ZodObject<{
|
|
24329
|
-
id: z__default.ZodString;
|
|
24330
|
-
name: z__default.ZodString;
|
|
24331
|
-
type: z__default.ZodNativeEnum<{
|
|
24332
|
-
BITCOIN_LIKE: "BITCOIN_LIKE";
|
|
24333
|
-
ETHEREUM_LIKE: "ETHEREUM_LIKE";
|
|
24334
|
-
ERC20_LIKE: "ERC20_LIKE";
|
|
24335
|
-
BEP20_LIKE: "BEP20_LIKE";
|
|
24336
|
-
CARDANO_LIKE: "CARDANO_LIKE";
|
|
24337
|
-
SOLANA_LIKE: "SOLANA_LIKE";
|
|
24338
|
-
TEZOS_LIKE: "TEZOS_LIKE";
|
|
24339
|
-
STELLAR_LIKE: "STELLAR_LIKE";
|
|
24340
|
-
RIPPLE_LIKE: "RIPPLE_LIKE";
|
|
24341
|
-
POLKADOT_LIKE: "POLKADOT_LIKE";
|
|
24342
|
-
TRC20_LIKE: "TRC20_LIKE";
|
|
24343
|
-
GENERIC_LIKE: "GENERIC_LIKE";
|
|
24344
|
-
RAW_SIGNING: "RAW_SIGNING";
|
|
24345
|
-
SUI_LIKE: "SUI_LIKE";
|
|
24346
|
-
}>;
|
|
24347
|
-
units: z__default.ZodArray<z__default.ZodObject<{
|
|
24348
|
-
code: z__default.ZodString;
|
|
24349
|
-
name: z__default.ZodString;
|
|
24350
|
-
magnitude: z__default.ZodNumber;
|
|
24351
|
-
}, "strip", z__default.ZodTypeAny, {
|
|
24352
|
-
name: string;
|
|
24353
|
-
code: string;
|
|
24354
|
-
magnitude: number;
|
|
24355
|
-
}, {
|
|
24356
|
-
name: string;
|
|
24357
|
-
code: string;
|
|
24358
|
-
magnitude: number;
|
|
24359
|
-
}>, "many">;
|
|
24360
|
-
} & {
|
|
24361
|
-
contractAddress: z__default.ZodString;
|
|
24362
|
-
currency: z__default.ZodString;
|
|
24363
|
-
}, "strip", z__default.ZodTypeAny, {
|
|
24364
|
-
name: string;
|
|
24365
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
24366
|
-
id: string;
|
|
24367
|
-
currency: string;
|
|
24368
|
-
contractAddress: string;
|
|
24369
|
-
units: {
|
|
24370
|
-
name: string;
|
|
24371
|
-
code: string;
|
|
24372
|
-
magnitude: number;
|
|
24373
|
-
}[];
|
|
24374
|
-
}, {
|
|
24375
|
-
name: string;
|
|
24376
|
-
type: "RAW_SIGNING" | "BITCOIN_LIKE" | "ETHEREUM_LIKE" | "ERC20_LIKE" | "BEP20_LIKE" | "CARDANO_LIKE" | "SOLANA_LIKE" | "TEZOS_LIKE" | "STELLAR_LIKE" | "RIPPLE_LIKE" | "POLKADOT_LIKE" | "TRC20_LIKE" | "GENERIC_LIKE" | "SUI_LIKE";
|
|
24377
|
-
id: string;
|
|
24378
|
-
currency: string;
|
|
24379
|
-
contractAddress: string;
|
|
24380
|
-
units: {
|
|
24381
|
-
name: string;
|
|
24382
|
-
code: string;
|
|
24383
|
-
magnitude: number;
|
|
24384
|
-
}[];
|
|
24385
|
-
}>;
|
|
24386
|
-
type TokenResponse = z__default.infer<typeof zTokenResponse>;
|
|
24387
|
-
declare const zCurrencyCapabilitiesResponse: z__default.ZodObject<{
|
|
24388
|
-
SEND: z__default.ZodBoolean;
|
|
24389
|
-
STAKE: z__default.ZodBoolean;
|
|
24390
|
-
EXECUTE_CONTRACT: z__default.ZodBoolean;
|
|
24391
|
-
SIGN_MESSAGE: z__default.ZodBoolean;
|
|
24392
|
-
DEPLOY_CONTRACT: z__default.ZodBoolean;
|
|
24393
|
-
ACTIVATE_TOKEN: z__default.ZodBoolean;
|
|
24394
|
-
}, "strip", z__default.ZodTypeAny, {
|
|
24395
|
-
SIGN_MESSAGE: boolean;
|
|
24396
|
-
SEND: boolean;
|
|
24397
|
-
STAKE: boolean;
|
|
24398
|
-
DEPLOY_CONTRACT: boolean;
|
|
24399
|
-
EXECUTE_CONTRACT: boolean;
|
|
24400
|
-
ACTIVATE_TOKEN: boolean;
|
|
24401
|
-
}, {
|
|
24402
|
-
SIGN_MESSAGE: boolean;
|
|
24403
|
-
SEND: boolean;
|
|
24404
|
-
STAKE: boolean;
|
|
24405
|
-
DEPLOY_CONTRACT: boolean;
|
|
24406
|
-
EXECUTE_CONTRACT: boolean;
|
|
24407
|
-
ACTIVATE_TOKEN: boolean;
|
|
24408
|
-
}>;
|
|
24409
|
-
|
|
24410
26901
|
declare const zAuthResponse: z$1.ZodObject<{
|
|
24411
26902
|
accessToken: z$1.ZodString;
|
|
24412
26903
|
expiresInSeconds: z$1.ZodNumber;
|
|
@@ -26417,6 +28908,7 @@ declare const zPolicyResponse: z$1.ZodObject<{
|
|
|
26417
28908
|
name: z$1.ZodString;
|
|
26418
28909
|
description: z$1.ZodNullable<z$1.ZodString>;
|
|
26419
28910
|
currency: z$1.ZodNullable<z$1.ZodString>;
|
|
28911
|
+
network: z$1.ZodNullable<z$1.ZodString>;
|
|
26420
28912
|
isPrivate: z$1.ZodBoolean;
|
|
26421
28913
|
rules: z$1.ZodArray<z$1.ZodObject<{
|
|
26422
28914
|
reviewSteps: z$1.ZodArray<z$1.ZodUnion<[z$1.ZodObject<{
|
|
@@ -26677,6 +29169,7 @@ declare const zPolicyResponse: z$1.ZodObject<{
|
|
|
26677
29169
|
}, "strip", z$1.ZodTypeAny, {
|
|
26678
29170
|
name: string;
|
|
26679
29171
|
id: string;
|
|
29172
|
+
network: string | null;
|
|
26680
29173
|
createdAt: Date;
|
|
26681
29174
|
updatedAt: Date;
|
|
26682
29175
|
users: {
|
|
@@ -26740,6 +29233,7 @@ declare const zPolicyResponse: z$1.ZodObject<{
|
|
|
26740
29233
|
}, {
|
|
26741
29234
|
name: string;
|
|
26742
29235
|
id: string;
|
|
29236
|
+
network: string | null;
|
|
26743
29237
|
createdAt: Date;
|
|
26744
29238
|
updatedAt: Date;
|
|
26745
29239
|
users: {
|
|
@@ -27758,4 +30252,4 @@ declare const zWorkspaceResponse: z__default.ZodObject<{
|
|
|
27758
30252
|
}>;
|
|
27759
30253
|
type WorkspaceResponse = z__default.infer<typeof zWorkspaceResponse>;
|
|
27760
30254
|
|
|
27761
|
-
export { type AdminResponse, type AllowedAction, type AllowedActionsResponse, type AllowedResourcesResponse, type AppRouter, type AuthResponse, type CreateTradelinkOrgEntityInput as CreateTradelinkExchangeInput,
|
|
30255
|
+
export { type AdminResponse, type AllowedAction, type AllowedActionsResponse, type AllowedResourcesResponse, type AppRouter, type AuthResponse, type CreateTradelinkOrgEntityInput as CreateTradelinkExchangeInput, CurrencyResponse, type CursorPaginated, DEFAULT_PAGE_SIZE, type DeleteTradelinkExchangeInput, type DeviceClaim, type EntityResponse, type EntitySortBy, type GroupResponse, type GroupSortBy, type MasterRuleResponse, type OnboardingFullState as OnboardingFullStateResponse, type OnboardingOpts, type OnboardingSeedChallenge, type OnboardingSeedFragment, type Paginated, type PledgeResponse, type PolicyResponse, type PolicySortBy, type PsdAuthChallengeData as PsdAuthChallengeResponse, type ReviewStepWithUsers, type SortOrder, TokenResponse, type TradelinkCustodianResponse, type TradelinkEntityResponse, type TradelinkNetworkBlueprintResponse, type TradelinkNetworkResponse, type TradelinkOrgEntityResponse, type TradelinkSettlementWithAccountAndExchangeInfoResponse, type TransactionResponse, type TransactionWithMetaResponse, type UserRegistrationCreateInput, type UserRegistrationResponse, type UserResponse, type UserSortBy, type WhitelistResponse, type WhitelistSortBy, type WorkspaceResponse, type WrappingKeyFragmentInput, type WrappingKeyProvisioningEphemeralPubKey, type WrappingKeyResponse, paginate, serializePage, stableOrdering, zAdminResponse, zAllowedAction, zAllowedActionsResponse, zAllowedResourcesResponse, zApiUserCredentialsResponse, zAuthResponse, zCreateTradelinkNetworkBlueprintInput, zCreateTradelinkOrgEntityInput, zCursorPaginated, zCursorQuery, zDeleteTradelinkOrgEntityInput, zDeviceClaim, zEntityResponse, zEntitySortBy, zEstimatedFees as zEstimateFeesResponse, zGroupResponse, zGroupSortBy, zOnboardingFullState as zOnboardingFullStateResponse, zOnboardingId, zOnboardingOpts, zOnboardingSeedFragment, zOperationType, zPageQuery, zPaginated, zPledgeResponse, zPolicyResponse, zPolicySortBy, zPsdAuthChallengeData as zPsdAuthChallengeResponse, zReviewStepsArray, zSortOrder, zTradelinkCustodianResponse, zTradelinkEntityResponse, zTradelinkNetworkBlueprintResponse, zTradelinkNetworkResponse, zTradelinkOrgEntityResponse, zTradelinkSettlementWithAccountAndExchangeInfoResponse, zTradelinkWhitelist, zTransactionWithMetaResponse, zUserRegistrationCreateInput, zUserRegistrationResponse, zUserResponse, zUserSortBy, zWhitelistAddressResponse, zWhitelistResponse, zWhitelistSortBy, zWorkspaceResponse, zWorkspaceRuleResponse, zWrappingKeyFragmentInput };
|