@ledgerhq/revault-api 1.36.0 → 1.37.0
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-BiULyctM.d.mts} +1093 -106
- package/lib/fakes.d.mts +164 -21
- package/lib/fakes.mjs +178 -89
- package/lib/fakes.mjs.map +1 -1
- package/lib/index.d.mts +2662 -176
- 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-BiULyctM.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-BiULyctM.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,12 @@ 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
|
+
feeStrategy: {
|
|
2291
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
2292
|
+
};
|
|
2278
2293
|
} | {
|
|
2279
2294
|
type: "CARDANO_LIKE_SEND";
|
|
2280
2295
|
currency: string;
|
|
@@ -2338,6 +2353,24 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2338
2353
|
type: "GENERIC_TRANSACTION";
|
|
2339
2354
|
currency: string;
|
|
2340
2355
|
rawTx: string;
|
|
2356
|
+
} | {
|
|
2357
|
+
type: "TRON_LIKE_SEND";
|
|
2358
|
+
currency: string;
|
|
2359
|
+
recipient: string;
|
|
2360
|
+
amount: string;
|
|
2361
|
+
maxFee: string | null;
|
|
2362
|
+
feeStrategy: {
|
|
2363
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
2364
|
+
};
|
|
2365
|
+
} | {
|
|
2366
|
+
type: "TRON_LIKE_SEND_TOKEN";
|
|
2367
|
+
currency: string;
|
|
2368
|
+
recipient: string;
|
|
2369
|
+
amount: string;
|
|
2370
|
+
maxFee: string | null;
|
|
2371
|
+
feeStrategy: {
|
|
2372
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
2373
|
+
};
|
|
2341
2374
|
};
|
|
2342
2375
|
};
|
|
2343
2376
|
output: {
|
|
@@ -2347,13 +2380,16 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2347
2380
|
nonce: string;
|
|
2348
2381
|
priorityFees: string;
|
|
2349
2382
|
} | {
|
|
2350
|
-
type: "
|
|
2383
|
+
type: "RIPPLE_LIKE";
|
|
2351
2384
|
fee: string;
|
|
2352
2385
|
} | {
|
|
2353
2386
|
type: "STELLAR_LIKE";
|
|
2354
2387
|
fee: string;
|
|
2355
2388
|
} | {
|
|
2356
|
-
type: "
|
|
2389
|
+
type: "SUI_LIKE";
|
|
2390
|
+
fee: string;
|
|
2391
|
+
} | {
|
|
2392
|
+
type: "TRON_LIKE";
|
|
2357
2393
|
fee: string;
|
|
2358
2394
|
};
|
|
2359
2395
|
meta: {
|
|
@@ -2503,7 +2539,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2503
2539
|
networkApy: number;
|
|
2504
2540
|
} | null | undefined;
|
|
2505
2541
|
} | {
|
|
2506
|
-
type: "ERC20_LIKE" | "BEP20_LIKE"
|
|
2542
|
+
type: "ERC20_LIKE" | "BEP20_LIKE";
|
|
2507
2543
|
id: string;
|
|
2508
2544
|
balance: {
|
|
2509
2545
|
total: string;
|
|
@@ -2643,6 +2679,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2643
2679
|
address: string;
|
|
2644
2680
|
}[];
|
|
2645
2681
|
} | null | undefined;
|
|
2682
|
+
} | {
|
|
2683
|
+
type: "TRC20_LIKE" | "TRON_LIKE";
|
|
2684
|
+
id: string;
|
|
2685
|
+
balance: {
|
|
2686
|
+
total: string;
|
|
2687
|
+
pending: string;
|
|
2688
|
+
};
|
|
2646
2689
|
};
|
|
2647
2690
|
meta: {
|
|
2648
2691
|
[x: string]: unknown;
|
|
@@ -2699,7 +2742,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2699
2742
|
networkApy: number;
|
|
2700
2743
|
} | null | undefined;
|
|
2701
2744
|
} | {
|
|
2702
|
-
type: "ERC20_LIKE" | "BEP20_LIKE"
|
|
2745
|
+
type: "ERC20_LIKE" | "BEP20_LIKE";
|
|
2703
2746
|
id: string;
|
|
2704
2747
|
balance: {
|
|
2705
2748
|
total: string;
|
|
@@ -2839,6 +2882,13 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2839
2882
|
address: string;
|
|
2840
2883
|
}[];
|
|
2841
2884
|
} | null | undefined;
|
|
2885
|
+
} | {
|
|
2886
|
+
type: "TRC20_LIKE" | "TRON_LIKE";
|
|
2887
|
+
id: string;
|
|
2888
|
+
balance: {
|
|
2889
|
+
total: string;
|
|
2890
|
+
pending: string;
|
|
2891
|
+
};
|
|
2842
2892
|
})[];
|
|
2843
2893
|
meta: {
|
|
2844
2894
|
[x: string]: unknown;
|
|
@@ -2860,6 +2910,37 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
2860
2910
|
};
|
|
2861
2911
|
} & RateLimitMetricsMeta;
|
|
2862
2912
|
}>;
|
|
2913
|
+
getAccountTokenBalances: _trpc_server.TRPCQueryProcedure<{
|
|
2914
|
+
input: {
|
|
2915
|
+
id: string;
|
|
2916
|
+
};
|
|
2917
|
+
output: {
|
|
2918
|
+
currency: {
|
|
2919
|
+
network: string;
|
|
2920
|
+
contractAddress: string | null;
|
|
2921
|
+
};
|
|
2922
|
+
amount: string;
|
|
2923
|
+
}[];
|
|
2924
|
+
meta: {
|
|
2925
|
+
[x: string]: unknown;
|
|
2926
|
+
} & {
|
|
2927
|
+
openapi?: {
|
|
2928
|
+
enabled?: boolean;
|
|
2929
|
+
method: trpc_to_openapi.OpenApiMethod;
|
|
2930
|
+
path: `/${string}`;
|
|
2931
|
+
summary?: string;
|
|
2932
|
+
description?: string;
|
|
2933
|
+
protect?: boolean;
|
|
2934
|
+
tags?: string[];
|
|
2935
|
+
contentTypes?: trpc_to_openapi.OpenApiContentType[];
|
|
2936
|
+
deprecated?: boolean;
|
|
2937
|
+
requestHeaders?: z.AnyZodObject;
|
|
2938
|
+
responseHeaders?: z.AnyZodObject;
|
|
2939
|
+
successDescription?: string;
|
|
2940
|
+
errorResponses?: number[] | Record<number, string>;
|
|
2941
|
+
};
|
|
2942
|
+
} & RateLimitMetricsMeta;
|
|
2943
|
+
}>;
|
|
2863
2944
|
getFreshAddress: _trpc_server.TRPCQueryProcedure<{
|
|
2864
2945
|
input: {
|
|
2865
2946
|
id: string;
|
|
@@ -3210,6 +3291,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3210
3291
|
results: {
|
|
3211
3292
|
name: string;
|
|
3212
3293
|
id: string;
|
|
3294
|
+
network: string | null;
|
|
3213
3295
|
createdAt: Date;
|
|
3214
3296
|
updatedAt: Date;
|
|
3215
3297
|
users: {
|
|
@@ -3299,6 +3381,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3299
3381
|
output: {
|
|
3300
3382
|
name: string;
|
|
3301
3383
|
id: string;
|
|
3384
|
+
network: string | null;
|
|
3302
3385
|
createdAt: Date;
|
|
3303
3386
|
updatedAt: Date;
|
|
3304
3387
|
users: {
|
|
@@ -3802,7 +3885,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3802
3885
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
3803
3886
|
};
|
|
3804
3887
|
} | {
|
|
3805
|
-
type: "
|
|
3888
|
+
type: "SOLANA_LIKE_FUND_AND_SEND_TOKEN";
|
|
3806
3889
|
currency: string;
|
|
3807
3890
|
recipient: string;
|
|
3808
3891
|
amount: string;
|
|
@@ -3810,6 +3893,12 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3810
3893
|
feeStrategy: {
|
|
3811
3894
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
3812
3895
|
};
|
|
3896
|
+
} | {
|
|
3897
|
+
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
3898
|
+
currency: string;
|
|
3899
|
+
feeStrategy: {
|
|
3900
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
3901
|
+
};
|
|
3813
3902
|
} | {
|
|
3814
3903
|
type: "CARDANO_LIKE_SEND";
|
|
3815
3904
|
currency: string;
|
|
@@ -3873,6 +3962,24 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
3873
3962
|
type: "GENERIC_TRANSACTION";
|
|
3874
3963
|
currency: string;
|
|
3875
3964
|
rawTx: string;
|
|
3965
|
+
} | {
|
|
3966
|
+
type: "TRON_LIKE_SEND";
|
|
3967
|
+
currency: string;
|
|
3968
|
+
recipient: string;
|
|
3969
|
+
amount: string;
|
|
3970
|
+
maxFee: string | null;
|
|
3971
|
+
feeStrategy: {
|
|
3972
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
3973
|
+
};
|
|
3974
|
+
} | {
|
|
3975
|
+
type: "TRON_LIKE_SEND_TOKEN";
|
|
3976
|
+
currency: string;
|
|
3977
|
+
recipient: string;
|
|
3978
|
+
amount: string;
|
|
3979
|
+
maxFee: string | null;
|
|
3980
|
+
feeStrategy: {
|
|
3981
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
3982
|
+
};
|
|
3876
3983
|
};
|
|
3877
3984
|
};
|
|
3878
3985
|
createdAt: Date;
|
|
@@ -5292,7 +5399,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
5292
5399
|
id: string;
|
|
5293
5400
|
data: {
|
|
5294
5401
|
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";
|
|
5402
|
+
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
5403
|
derivationPath: string;
|
|
5297
5404
|
currency: string;
|
|
5298
5405
|
index: number;
|
|
@@ -6137,7 +6244,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
6137
6244
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
6138
6245
|
};
|
|
6139
6246
|
} | {
|
|
6140
|
-
type: "
|
|
6247
|
+
type: "SOLANA_LIKE_FUND_AND_SEND_TOKEN";
|
|
6141
6248
|
currency: string;
|
|
6142
6249
|
recipient: string;
|
|
6143
6250
|
amount: string;
|
|
@@ -6145,6 +6252,12 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
6145
6252
|
feeStrategy: {
|
|
6146
6253
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
6147
6254
|
};
|
|
6255
|
+
} | {
|
|
6256
|
+
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
6257
|
+
currency: string;
|
|
6258
|
+
feeStrategy: {
|
|
6259
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
6260
|
+
};
|
|
6148
6261
|
} | {
|
|
6149
6262
|
type: "CARDANO_LIKE_SEND";
|
|
6150
6263
|
currency: string;
|
|
@@ -6208,6 +6321,24 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
6208
6321
|
type: "GENERIC_TRANSACTION";
|
|
6209
6322
|
currency: string;
|
|
6210
6323
|
rawTx: string;
|
|
6324
|
+
} | {
|
|
6325
|
+
type: "TRON_LIKE_SEND";
|
|
6326
|
+
currency: string;
|
|
6327
|
+
recipient: string;
|
|
6328
|
+
amount: string;
|
|
6329
|
+
maxFee: string | null;
|
|
6330
|
+
feeStrategy: {
|
|
6331
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
6332
|
+
};
|
|
6333
|
+
} | {
|
|
6334
|
+
type: "TRON_LIKE_SEND_TOKEN";
|
|
6335
|
+
currency: string;
|
|
6336
|
+
recipient: string;
|
|
6337
|
+
amount: string;
|
|
6338
|
+
maxFee: string | null;
|
|
6339
|
+
feeStrategy: {
|
|
6340
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
6341
|
+
};
|
|
6211
6342
|
};
|
|
6212
6343
|
};
|
|
6213
6344
|
createdAt: Date;
|
|
@@ -7627,7 +7758,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
7627
7758
|
id: string;
|
|
7628
7759
|
data: {
|
|
7629
7760
|
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";
|
|
7761
|
+
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
7762
|
derivationPath: string;
|
|
7632
7763
|
currency: string;
|
|
7633
7764
|
index: number;
|
|
@@ -8512,7 +8643,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
8512
8643
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
8513
8644
|
};
|
|
8514
8645
|
} | {
|
|
8515
|
-
type: "
|
|
8646
|
+
type: "SOLANA_LIKE_FUND_AND_SEND_TOKEN";
|
|
8516
8647
|
currency: string;
|
|
8517
8648
|
recipient: string;
|
|
8518
8649
|
amount: string;
|
|
@@ -8520,6 +8651,12 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
8520
8651
|
feeStrategy: {
|
|
8521
8652
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
8522
8653
|
};
|
|
8654
|
+
} | {
|
|
8655
|
+
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
8656
|
+
currency: string;
|
|
8657
|
+
feeStrategy: {
|
|
8658
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
8659
|
+
};
|
|
8523
8660
|
} | {
|
|
8524
8661
|
type: "CARDANO_LIKE_SEND";
|
|
8525
8662
|
currency: string;
|
|
@@ -8583,6 +8720,24 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
8583
8720
|
type: "GENERIC_TRANSACTION";
|
|
8584
8721
|
currency: string;
|
|
8585
8722
|
rawTx: string;
|
|
8723
|
+
} | {
|
|
8724
|
+
type: "TRON_LIKE_SEND";
|
|
8725
|
+
currency: string;
|
|
8726
|
+
recipient: string;
|
|
8727
|
+
amount: string;
|
|
8728
|
+
maxFee: string | null;
|
|
8729
|
+
feeStrategy: {
|
|
8730
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
8731
|
+
};
|
|
8732
|
+
} | {
|
|
8733
|
+
type: "TRON_LIKE_SEND_TOKEN";
|
|
8734
|
+
currency: string;
|
|
8735
|
+
recipient: string;
|
|
8736
|
+
amount: string;
|
|
8737
|
+
maxFee: string | null;
|
|
8738
|
+
feeStrategy: {
|
|
8739
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
8740
|
+
};
|
|
8586
8741
|
};
|
|
8587
8742
|
};
|
|
8588
8743
|
meta?: {
|
|
@@ -9338,8 +9493,8 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
9338
9493
|
}[];
|
|
9339
9494
|
};
|
|
9340
9495
|
};
|
|
9341
|
-
index?: number | undefined;
|
|
9342
9496
|
contractAddress?: string | undefined;
|
|
9497
|
+
index?: number | undefined;
|
|
9343
9498
|
};
|
|
9344
9499
|
note?: {
|
|
9345
9500
|
title: string;
|
|
@@ -9603,7 +9758,2362 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
9603
9758
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
9604
9759
|
};
|
|
9605
9760
|
} | {
|
|
9606
|
-
type: "
|
|
9761
|
+
type: "SOLANA_LIKE_FUND_AND_SEND_TOKEN";
|
|
9762
|
+
currency: string;
|
|
9763
|
+
recipient: string;
|
|
9764
|
+
amount: string;
|
|
9765
|
+
maxFee: string | null;
|
|
9766
|
+
feeStrategy: {
|
|
9767
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9768
|
+
};
|
|
9769
|
+
} | {
|
|
9770
|
+
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
9771
|
+
currency: string;
|
|
9772
|
+
feeStrategy: {
|
|
9773
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9774
|
+
};
|
|
9775
|
+
} | {
|
|
9776
|
+
type: "CARDANO_LIKE_SEND";
|
|
9777
|
+
currency: string;
|
|
9778
|
+
recipient: string;
|
|
9779
|
+
amount: string;
|
|
9780
|
+
maxFee: string | null;
|
|
9781
|
+
feeStrategy: {
|
|
9782
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9783
|
+
};
|
|
9784
|
+
} | {
|
|
9785
|
+
type: "CARDANO_LIKE_STAKING_DELEGATE";
|
|
9786
|
+
currency: string;
|
|
9787
|
+
maxFee: string | null;
|
|
9788
|
+
feeStrategy: {
|
|
9789
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9790
|
+
};
|
|
9791
|
+
stakePoolId: string;
|
|
9792
|
+
} | {
|
|
9793
|
+
type: "CARDANO_LIKE_STAKING_DEREGISTER";
|
|
9794
|
+
currency: string;
|
|
9795
|
+
amount: string;
|
|
9796
|
+
maxFee: string | null;
|
|
9797
|
+
feeStrategy: {
|
|
9798
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9799
|
+
};
|
|
9800
|
+
} | {
|
|
9801
|
+
type: "CARDANO_LIKE_STAKING_REGISTER";
|
|
9802
|
+
currency: string;
|
|
9803
|
+
amount: string;
|
|
9804
|
+
maxFee: string | null;
|
|
9805
|
+
feeStrategy: {
|
|
9806
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9807
|
+
};
|
|
9808
|
+
} | {
|
|
9809
|
+
type: "CARDANO_LIKE_STAKING_WITHDRAW";
|
|
9810
|
+
currency: string;
|
|
9811
|
+
amount: string;
|
|
9812
|
+
maxFee: string | null;
|
|
9813
|
+
feeStrategy: {
|
|
9814
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9815
|
+
};
|
|
9816
|
+
} | {
|
|
9817
|
+
type: "SUI_LIKE_SEND";
|
|
9818
|
+
currency: string;
|
|
9819
|
+
recipient: string;
|
|
9820
|
+
amount: string;
|
|
9821
|
+
maxFee: string | null;
|
|
9822
|
+
feeStrategy: {
|
|
9823
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9824
|
+
};
|
|
9825
|
+
} | {
|
|
9826
|
+
type: "SUI_LIKE_SEND_TOKEN";
|
|
9827
|
+
currency: string;
|
|
9828
|
+
recipient: string;
|
|
9829
|
+
amount: string;
|
|
9830
|
+
maxFee: string | null;
|
|
9831
|
+
feeStrategy: {
|
|
9832
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9833
|
+
};
|
|
9834
|
+
} | {
|
|
9835
|
+
type: "GENERIC_TRANSACTION";
|
|
9836
|
+
currency: string;
|
|
9837
|
+
rawTx: string;
|
|
9838
|
+
} | {
|
|
9839
|
+
type: "TRON_LIKE_SEND";
|
|
9840
|
+
currency: string;
|
|
9841
|
+
recipient: string;
|
|
9842
|
+
amount: string;
|
|
9843
|
+
maxFee: string | null;
|
|
9844
|
+
feeStrategy: {
|
|
9845
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9846
|
+
};
|
|
9847
|
+
} | {
|
|
9848
|
+
type: "TRON_LIKE_SEND_TOKEN";
|
|
9849
|
+
currency: string;
|
|
9850
|
+
recipient: string;
|
|
9851
|
+
amount: string;
|
|
9852
|
+
maxFee: string | null;
|
|
9853
|
+
feeStrategy: {
|
|
9854
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
9855
|
+
};
|
|
9856
|
+
};
|
|
9857
|
+
};
|
|
9858
|
+
createdAt: Date;
|
|
9859
|
+
updatedAt: Date;
|
|
9860
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
9861
|
+
reviewSteps: {
|
|
9862
|
+
stageName: string;
|
|
9863
|
+
quorum: number;
|
|
9864
|
+
}[];
|
|
9865
|
+
currentStepIndex: number;
|
|
9866
|
+
expiresAt: Date;
|
|
9867
|
+
targetId: string | null;
|
|
9868
|
+
note: {
|
|
9869
|
+
title: string;
|
|
9870
|
+
content: string;
|
|
9871
|
+
} | null;
|
|
9872
|
+
createdById: string;
|
|
9873
|
+
reviews: {
|
|
9874
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
9875
|
+
createdAt: Date;
|
|
9876
|
+
updatedAt: Date;
|
|
9877
|
+
userId: string;
|
|
9878
|
+
stepIndex: number;
|
|
9879
|
+
}[];
|
|
9880
|
+
legacyId: number;
|
|
9881
|
+
meta?: {
|
|
9882
|
+
hash: string | null;
|
|
9883
|
+
} | null | undefined;
|
|
9884
|
+
expiredAt?: Date | undefined;
|
|
9885
|
+
inflight?: {
|
|
9886
|
+
retryAfter: Date;
|
|
9887
|
+
numFailed: number;
|
|
9888
|
+
lastError: string | null;
|
|
9889
|
+
} | undefined;
|
|
9890
|
+
} | {
|
|
9891
|
+
type: "UPDATE_QUORUM";
|
|
9892
|
+
id: string;
|
|
9893
|
+
data: {
|
|
9894
|
+
quorum: number;
|
|
9895
|
+
};
|
|
9896
|
+
createdAt: Date;
|
|
9897
|
+
updatedAt: Date;
|
|
9898
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
9899
|
+
reviewSteps: {
|
|
9900
|
+
stageName: string;
|
|
9901
|
+
quorum: number;
|
|
9902
|
+
}[];
|
|
9903
|
+
currentStepIndex: number;
|
|
9904
|
+
expiresAt: Date;
|
|
9905
|
+
targetId: string | null;
|
|
9906
|
+
note: {
|
|
9907
|
+
title: string;
|
|
9908
|
+
content: string;
|
|
9909
|
+
} | null;
|
|
9910
|
+
createdById: string;
|
|
9911
|
+
reviews: {
|
|
9912
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
9913
|
+
createdAt: Date;
|
|
9914
|
+
updatedAt: Date;
|
|
9915
|
+
userId: string;
|
|
9916
|
+
stepIndex: number;
|
|
9917
|
+
}[];
|
|
9918
|
+
legacyId: number;
|
|
9919
|
+
expiredAt?: Date | undefined;
|
|
9920
|
+
inflight?: {
|
|
9921
|
+
retryAfter: Date;
|
|
9922
|
+
numFailed: number;
|
|
9923
|
+
lastError: string | null;
|
|
9924
|
+
} | undefined;
|
|
9925
|
+
} | {
|
|
9926
|
+
type: "EDIT_ACCOUNT";
|
|
9927
|
+
id: string;
|
|
9928
|
+
data: {
|
|
9929
|
+
name: string;
|
|
9930
|
+
governance: {
|
|
9931
|
+
type: "CLASSIC";
|
|
9932
|
+
policy: {
|
|
9933
|
+
policyId: string;
|
|
9934
|
+
} | {
|
|
9935
|
+
rules: {
|
|
9936
|
+
reviewSteps: ({
|
|
9937
|
+
quorum: number;
|
|
9938
|
+
userIds: string[];
|
|
9939
|
+
} | {
|
|
9940
|
+
quorum: number;
|
|
9941
|
+
groupId: string;
|
|
9942
|
+
})[];
|
|
9943
|
+
operationType: "SIGN_MESSAGE" | "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN";
|
|
9944
|
+
threshold?: {
|
|
9945
|
+
min: string | null;
|
|
9946
|
+
max: string | null;
|
|
9947
|
+
} | undefined;
|
|
9948
|
+
whitelistIds?: string[] | undefined;
|
|
9949
|
+
}[];
|
|
9950
|
+
};
|
|
9951
|
+
} | {
|
|
9952
|
+
type: "TRADELINK";
|
|
9953
|
+
exchangeConfigs: {
|
|
9954
|
+
exchangeId: string;
|
|
9955
|
+
repledgeAuthorized: boolean;
|
|
9956
|
+
needsAssetManagerApprovalForSettlements: boolean;
|
|
9957
|
+
}[];
|
|
9958
|
+
} | {
|
|
9959
|
+
type: "RAW_SIGNING";
|
|
9960
|
+
policy: {
|
|
9961
|
+
rules: {
|
|
9962
|
+
reviewSteps: {
|
|
9963
|
+
quorum: number;
|
|
9964
|
+
userIds: string[];
|
|
9965
|
+
}[];
|
|
9966
|
+
operationType: "SIGN_DIGESTS";
|
|
9967
|
+
}[];
|
|
9968
|
+
};
|
|
9969
|
+
};
|
|
9970
|
+
};
|
|
9971
|
+
createdAt: Date;
|
|
9972
|
+
updatedAt: Date;
|
|
9973
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
9974
|
+
reviewSteps: {
|
|
9975
|
+
stageName: string;
|
|
9976
|
+
quorum: number;
|
|
9977
|
+
}[];
|
|
9978
|
+
currentStepIndex: number;
|
|
9979
|
+
expiresAt: Date;
|
|
9980
|
+
targetId: string | null;
|
|
9981
|
+
note: {
|
|
9982
|
+
title: string;
|
|
9983
|
+
content: string;
|
|
9984
|
+
} | null;
|
|
9985
|
+
createdById: string;
|
|
9986
|
+
reviews: {
|
|
9987
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
9988
|
+
createdAt: Date;
|
|
9989
|
+
updatedAt: Date;
|
|
9990
|
+
userId: string;
|
|
9991
|
+
stepIndex: number;
|
|
9992
|
+
}[];
|
|
9993
|
+
legacyId: number;
|
|
9994
|
+
expiredAt?: Date | undefined;
|
|
9995
|
+
inflight?: {
|
|
9996
|
+
retryAfter: Date;
|
|
9997
|
+
numFailed: number;
|
|
9998
|
+
lastError: string | null;
|
|
9999
|
+
} | undefined;
|
|
10000
|
+
} | {
|
|
10001
|
+
type: "ACTIVATE_TRADELINK_ACCOUNT";
|
|
10002
|
+
id: string;
|
|
10003
|
+
data: {};
|
|
10004
|
+
createdAt: Date;
|
|
10005
|
+
updatedAt: Date;
|
|
10006
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10007
|
+
reviewSteps: {
|
|
10008
|
+
stageName: string;
|
|
10009
|
+
quorum: number;
|
|
10010
|
+
}[];
|
|
10011
|
+
currentStepIndex: number;
|
|
10012
|
+
expiresAt: Date;
|
|
10013
|
+
targetId: string | null;
|
|
10014
|
+
note: {
|
|
10015
|
+
title: string;
|
|
10016
|
+
content: string;
|
|
10017
|
+
} | null;
|
|
10018
|
+
createdById: string;
|
|
10019
|
+
reviews: {
|
|
10020
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10021
|
+
createdAt: Date;
|
|
10022
|
+
updatedAt: Date;
|
|
10023
|
+
userId: string;
|
|
10024
|
+
stepIndex: number;
|
|
10025
|
+
}[];
|
|
10026
|
+
legacyId: number;
|
|
10027
|
+
expiredAt?: Date | undefined;
|
|
10028
|
+
inflight?: {
|
|
10029
|
+
retryAfter: Date;
|
|
10030
|
+
numFailed: number;
|
|
10031
|
+
lastError: string | null;
|
|
10032
|
+
} | undefined;
|
|
10033
|
+
} | {
|
|
10034
|
+
type: "CREATE_GROUP";
|
|
10035
|
+
id: string;
|
|
10036
|
+
data: {
|
|
10037
|
+
name: string;
|
|
10038
|
+
description: string | null;
|
|
10039
|
+
members: string[];
|
|
10040
|
+
};
|
|
10041
|
+
createdAt: Date;
|
|
10042
|
+
updatedAt: Date;
|
|
10043
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10044
|
+
reviewSteps: {
|
|
10045
|
+
stageName: string;
|
|
10046
|
+
quorum: number;
|
|
10047
|
+
}[];
|
|
10048
|
+
currentStepIndex: number;
|
|
10049
|
+
expiresAt: Date;
|
|
10050
|
+
targetId: string | null;
|
|
10051
|
+
note: {
|
|
10052
|
+
title: string;
|
|
10053
|
+
content: string;
|
|
10054
|
+
} | null;
|
|
10055
|
+
createdById: string;
|
|
10056
|
+
reviews: {
|
|
10057
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10058
|
+
createdAt: Date;
|
|
10059
|
+
updatedAt: Date;
|
|
10060
|
+
userId: string;
|
|
10061
|
+
stepIndex: number;
|
|
10062
|
+
}[];
|
|
10063
|
+
legacyId: number;
|
|
10064
|
+
expiredAt?: Date | undefined;
|
|
10065
|
+
inflight?: {
|
|
10066
|
+
retryAfter: Date;
|
|
10067
|
+
numFailed: number;
|
|
10068
|
+
lastError: string | null;
|
|
10069
|
+
} | undefined;
|
|
10070
|
+
} | {
|
|
10071
|
+
type: "EDIT_GROUP";
|
|
10072
|
+
id: string;
|
|
10073
|
+
data: {
|
|
10074
|
+
name: string;
|
|
10075
|
+
description: string | null;
|
|
10076
|
+
members: string[];
|
|
10077
|
+
};
|
|
10078
|
+
createdAt: Date;
|
|
10079
|
+
updatedAt: Date;
|
|
10080
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10081
|
+
reviewSteps: {
|
|
10082
|
+
stageName: string;
|
|
10083
|
+
quorum: number;
|
|
10084
|
+
}[];
|
|
10085
|
+
currentStepIndex: number;
|
|
10086
|
+
expiresAt: Date;
|
|
10087
|
+
targetId: string | null;
|
|
10088
|
+
note: {
|
|
10089
|
+
title: string;
|
|
10090
|
+
content: string;
|
|
10091
|
+
} | null;
|
|
10092
|
+
createdById: string;
|
|
10093
|
+
reviews: {
|
|
10094
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10095
|
+
createdAt: Date;
|
|
10096
|
+
updatedAt: Date;
|
|
10097
|
+
userId: string;
|
|
10098
|
+
stepIndex: number;
|
|
10099
|
+
}[];
|
|
10100
|
+
legacyId: number;
|
|
10101
|
+
expiredAt?: Date | undefined;
|
|
10102
|
+
inflight?: {
|
|
10103
|
+
retryAfter: Date;
|
|
10104
|
+
numFailed: number;
|
|
10105
|
+
lastError: string | null;
|
|
10106
|
+
} | undefined;
|
|
10107
|
+
} | {
|
|
10108
|
+
type: "CREATE_WHITELIST";
|
|
10109
|
+
id: string;
|
|
10110
|
+
data: {
|
|
10111
|
+
name: string;
|
|
10112
|
+
type: "TRANSACTION" | "SMART_CONTRACT";
|
|
10113
|
+
description: string | null;
|
|
10114
|
+
addresses: {
|
|
10115
|
+
name: string;
|
|
10116
|
+
currency: string;
|
|
10117
|
+
address: string;
|
|
10118
|
+
destinationTags?: string[] | undefined;
|
|
10119
|
+
}[];
|
|
10120
|
+
};
|
|
10121
|
+
createdAt: Date;
|
|
10122
|
+
updatedAt: Date;
|
|
10123
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10124
|
+
reviewSteps: {
|
|
10125
|
+
stageName: string;
|
|
10126
|
+
quorum: number;
|
|
10127
|
+
}[];
|
|
10128
|
+
currentStepIndex: number;
|
|
10129
|
+
expiresAt: Date;
|
|
10130
|
+
targetId: string | null;
|
|
10131
|
+
note: {
|
|
10132
|
+
title: string;
|
|
10133
|
+
content: string;
|
|
10134
|
+
} | null;
|
|
10135
|
+
createdById: string;
|
|
10136
|
+
reviews: {
|
|
10137
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10138
|
+
createdAt: Date;
|
|
10139
|
+
updatedAt: Date;
|
|
10140
|
+
userId: string;
|
|
10141
|
+
stepIndex: number;
|
|
10142
|
+
}[];
|
|
10143
|
+
legacyId: number;
|
|
10144
|
+
expiredAt?: Date | undefined;
|
|
10145
|
+
inflight?: {
|
|
10146
|
+
retryAfter: Date;
|
|
10147
|
+
numFailed: number;
|
|
10148
|
+
lastError: string | null;
|
|
10149
|
+
} | undefined;
|
|
10150
|
+
} | {
|
|
10151
|
+
type: "EDIT_WHITELIST";
|
|
10152
|
+
id: string;
|
|
10153
|
+
data: {
|
|
10154
|
+
name: string;
|
|
10155
|
+
addresses: {
|
|
10156
|
+
name: string;
|
|
10157
|
+
currency: string;
|
|
10158
|
+
address: string;
|
|
10159
|
+
destinationTags?: string[] | undefined;
|
|
10160
|
+
}[];
|
|
10161
|
+
};
|
|
10162
|
+
createdAt: Date;
|
|
10163
|
+
updatedAt: Date;
|
|
10164
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10165
|
+
reviewSteps: {
|
|
10166
|
+
stageName: string;
|
|
10167
|
+
quorum: number;
|
|
10168
|
+
}[];
|
|
10169
|
+
currentStepIndex: number;
|
|
10170
|
+
expiresAt: Date;
|
|
10171
|
+
targetId: string | null;
|
|
10172
|
+
note: {
|
|
10173
|
+
title: string;
|
|
10174
|
+
content: string;
|
|
10175
|
+
} | null;
|
|
10176
|
+
createdById: string;
|
|
10177
|
+
reviews: {
|
|
10178
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10179
|
+
createdAt: Date;
|
|
10180
|
+
updatedAt: Date;
|
|
10181
|
+
userId: string;
|
|
10182
|
+
stepIndex: number;
|
|
10183
|
+
}[];
|
|
10184
|
+
legacyId: number;
|
|
10185
|
+
expiredAt?: Date | undefined;
|
|
10186
|
+
inflight?: {
|
|
10187
|
+
retryAfter: Date;
|
|
10188
|
+
numFailed: number;
|
|
10189
|
+
lastError: string | null;
|
|
10190
|
+
} | undefined;
|
|
10191
|
+
} | {
|
|
10192
|
+
type: "CREATE_PSD_USER";
|
|
10193
|
+
id: string;
|
|
10194
|
+
data: {
|
|
10195
|
+
registrationId: string;
|
|
10196
|
+
};
|
|
10197
|
+
createdAt: Date;
|
|
10198
|
+
updatedAt: Date;
|
|
10199
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10200
|
+
reviewSteps: {
|
|
10201
|
+
stageName: string;
|
|
10202
|
+
quorum: number;
|
|
10203
|
+
}[];
|
|
10204
|
+
currentStepIndex: number;
|
|
10205
|
+
expiresAt: Date;
|
|
10206
|
+
targetId: string | null;
|
|
10207
|
+
note: {
|
|
10208
|
+
title: string;
|
|
10209
|
+
content: string;
|
|
10210
|
+
} | null;
|
|
10211
|
+
createdById: string;
|
|
10212
|
+
reviews: {
|
|
10213
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10214
|
+
createdAt: Date;
|
|
10215
|
+
updatedAt: Date;
|
|
10216
|
+
userId: string;
|
|
10217
|
+
stepIndex: number;
|
|
10218
|
+
}[];
|
|
10219
|
+
legacyId: number;
|
|
10220
|
+
expiredAt?: Date | undefined;
|
|
10221
|
+
inflight?: {
|
|
10222
|
+
retryAfter: Date;
|
|
10223
|
+
numFailed: number;
|
|
10224
|
+
lastError: string | null;
|
|
10225
|
+
} | undefined;
|
|
10226
|
+
} | {
|
|
10227
|
+
type: "CREATE_API_USER";
|
|
10228
|
+
id: string;
|
|
10229
|
+
data: {
|
|
10230
|
+
name: string;
|
|
10231
|
+
pubKey: string;
|
|
10232
|
+
role: "ADMIN" | "OPERATOR";
|
|
10233
|
+
viewAll?: boolean | undefined;
|
|
10234
|
+
};
|
|
10235
|
+
createdAt: Date;
|
|
10236
|
+
updatedAt: Date;
|
|
10237
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10238
|
+
reviewSteps: {
|
|
10239
|
+
stageName: string;
|
|
10240
|
+
quorum: number;
|
|
10241
|
+
}[];
|
|
10242
|
+
currentStepIndex: number;
|
|
10243
|
+
expiresAt: Date;
|
|
10244
|
+
targetId: string | null;
|
|
10245
|
+
note: {
|
|
10246
|
+
title: string;
|
|
10247
|
+
content: string;
|
|
10248
|
+
} | null;
|
|
10249
|
+
createdById: string;
|
|
10250
|
+
reviews: {
|
|
10251
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10252
|
+
createdAt: Date;
|
|
10253
|
+
updatedAt: Date;
|
|
10254
|
+
userId: string;
|
|
10255
|
+
stepIndex: number;
|
|
10256
|
+
}[];
|
|
10257
|
+
legacyId: number;
|
|
10258
|
+
expiredAt?: Date | undefined;
|
|
10259
|
+
inflight?: {
|
|
10260
|
+
retryAfter: Date;
|
|
10261
|
+
numFailed: number;
|
|
10262
|
+
lastError: string | null;
|
|
10263
|
+
} | undefined;
|
|
10264
|
+
} | {
|
|
10265
|
+
type: "REVOKE_USER";
|
|
10266
|
+
id: string;
|
|
10267
|
+
data: {};
|
|
10268
|
+
createdAt: Date;
|
|
10269
|
+
updatedAt: Date;
|
|
10270
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10271
|
+
reviewSteps: {
|
|
10272
|
+
stageName: string;
|
|
10273
|
+
quorum: number;
|
|
10274
|
+
}[];
|
|
10275
|
+
currentStepIndex: number;
|
|
10276
|
+
expiresAt: Date;
|
|
10277
|
+
targetId: string | null;
|
|
10278
|
+
note: {
|
|
10279
|
+
title: string;
|
|
10280
|
+
content: string;
|
|
10281
|
+
} | null;
|
|
10282
|
+
createdById: string;
|
|
10283
|
+
reviews: {
|
|
10284
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10285
|
+
createdAt: Date;
|
|
10286
|
+
updatedAt: Date;
|
|
10287
|
+
userId: string;
|
|
10288
|
+
stepIndex: number;
|
|
10289
|
+
}[];
|
|
10290
|
+
legacyId: number;
|
|
10291
|
+
expiredAt?: Date | undefined;
|
|
10292
|
+
inflight?: {
|
|
10293
|
+
retryAfter: Date;
|
|
10294
|
+
numFailed: number;
|
|
10295
|
+
lastError: string | null;
|
|
10296
|
+
} | undefined;
|
|
10297
|
+
} | {
|
|
10298
|
+
type: "CREATE_POLICY";
|
|
10299
|
+
id: string;
|
|
10300
|
+
data: {
|
|
10301
|
+
name: string;
|
|
10302
|
+
description: string | null;
|
|
10303
|
+
currency: string | null;
|
|
10304
|
+
govRules: {
|
|
10305
|
+
reviewSteps: ({
|
|
10306
|
+
quorum: number;
|
|
10307
|
+
userIds: string[];
|
|
10308
|
+
} | {
|
|
10309
|
+
quorum: number;
|
|
10310
|
+
groupId: string;
|
|
10311
|
+
})[];
|
|
10312
|
+
operationType: "SIGN_MESSAGE" | "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN";
|
|
10313
|
+
threshold?: {
|
|
10314
|
+
min: string | null;
|
|
10315
|
+
max: string | null;
|
|
10316
|
+
} | undefined;
|
|
10317
|
+
whitelistIds?: string[] | undefined;
|
|
10318
|
+
}[];
|
|
10319
|
+
};
|
|
10320
|
+
createdAt: Date;
|
|
10321
|
+
updatedAt: Date;
|
|
10322
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10323
|
+
reviewSteps: {
|
|
10324
|
+
stageName: string;
|
|
10325
|
+
quorum: number;
|
|
10326
|
+
}[];
|
|
10327
|
+
currentStepIndex: number;
|
|
10328
|
+
expiresAt: Date;
|
|
10329
|
+
targetId: string | null;
|
|
10330
|
+
note: {
|
|
10331
|
+
title: string;
|
|
10332
|
+
content: string;
|
|
10333
|
+
} | null;
|
|
10334
|
+
createdById: string;
|
|
10335
|
+
reviews: {
|
|
10336
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10337
|
+
createdAt: Date;
|
|
10338
|
+
updatedAt: Date;
|
|
10339
|
+
userId: string;
|
|
10340
|
+
stepIndex: number;
|
|
10341
|
+
}[];
|
|
10342
|
+
legacyId: number;
|
|
10343
|
+
expiredAt?: Date | undefined;
|
|
10344
|
+
inflight?: {
|
|
10345
|
+
retryAfter: Date;
|
|
10346
|
+
numFailed: number;
|
|
10347
|
+
lastError: string | null;
|
|
10348
|
+
} | undefined;
|
|
10349
|
+
} | {
|
|
10350
|
+
type: "EDIT_POLICY";
|
|
10351
|
+
id: string;
|
|
10352
|
+
data: {
|
|
10353
|
+
name: string;
|
|
10354
|
+
description: string | null;
|
|
10355
|
+
govRules: {
|
|
10356
|
+
reviewSteps: ({
|
|
10357
|
+
quorum: number;
|
|
10358
|
+
userIds: string[];
|
|
10359
|
+
} | {
|
|
10360
|
+
quorum: number;
|
|
10361
|
+
groupId: string;
|
|
10362
|
+
})[];
|
|
10363
|
+
operationType: "SIGN_MESSAGE" | "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN";
|
|
10364
|
+
threshold?: {
|
|
10365
|
+
min: string | null;
|
|
10366
|
+
max: string | null;
|
|
10367
|
+
} | undefined;
|
|
10368
|
+
whitelistIds?: string[] | undefined;
|
|
10369
|
+
}[];
|
|
10370
|
+
};
|
|
10371
|
+
createdAt: Date;
|
|
10372
|
+
updatedAt: Date;
|
|
10373
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10374
|
+
reviewSteps: {
|
|
10375
|
+
stageName: string;
|
|
10376
|
+
quorum: number;
|
|
10377
|
+
}[];
|
|
10378
|
+
currentStepIndex: number;
|
|
10379
|
+
expiresAt: Date;
|
|
10380
|
+
targetId: string | null;
|
|
10381
|
+
note: {
|
|
10382
|
+
title: string;
|
|
10383
|
+
content: string;
|
|
10384
|
+
} | null;
|
|
10385
|
+
createdById: string;
|
|
10386
|
+
reviews: {
|
|
10387
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10388
|
+
createdAt: Date;
|
|
10389
|
+
updatedAt: Date;
|
|
10390
|
+
userId: string;
|
|
10391
|
+
stepIndex: number;
|
|
10392
|
+
}[];
|
|
10393
|
+
legacyId: number;
|
|
10394
|
+
expiredAt?: Date | undefined;
|
|
10395
|
+
inflight?: {
|
|
10396
|
+
retryAfter: Date;
|
|
10397
|
+
numFailed: number;
|
|
10398
|
+
lastError: string | null;
|
|
10399
|
+
} | undefined;
|
|
10400
|
+
} | {
|
|
10401
|
+
type: "CREATE_TRADELINK_CUSTODIAN";
|
|
10402
|
+
id: string;
|
|
10403
|
+
data: {
|
|
10404
|
+
settlement: {
|
|
10405
|
+
quorum: number;
|
|
10406
|
+
userIds: string[];
|
|
10407
|
+
}[];
|
|
10408
|
+
withdraw: {
|
|
10409
|
+
quorum: number;
|
|
10410
|
+
userIds: string[];
|
|
10411
|
+
}[];
|
|
10412
|
+
arbitration: {
|
|
10413
|
+
quorum: number;
|
|
10414
|
+
userIds: string[];
|
|
10415
|
+
}[];
|
|
10416
|
+
};
|
|
10417
|
+
createdAt: Date;
|
|
10418
|
+
updatedAt: Date;
|
|
10419
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10420
|
+
reviewSteps: {
|
|
10421
|
+
stageName: string;
|
|
10422
|
+
quorum: number;
|
|
10423
|
+
}[];
|
|
10424
|
+
currentStepIndex: number;
|
|
10425
|
+
expiresAt: Date;
|
|
10426
|
+
targetId: string | null;
|
|
10427
|
+
note: {
|
|
10428
|
+
title: string;
|
|
10429
|
+
content: string;
|
|
10430
|
+
} | null;
|
|
10431
|
+
createdById: string;
|
|
10432
|
+
reviews: {
|
|
10433
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10434
|
+
createdAt: Date;
|
|
10435
|
+
updatedAt: Date;
|
|
10436
|
+
userId: string;
|
|
10437
|
+
stepIndex: number;
|
|
10438
|
+
}[];
|
|
10439
|
+
legacyId: number;
|
|
10440
|
+
expiredAt?: Date | undefined;
|
|
10441
|
+
inflight?: {
|
|
10442
|
+
retryAfter: Date;
|
|
10443
|
+
numFailed: number;
|
|
10444
|
+
lastError: string | null;
|
|
10445
|
+
} | undefined;
|
|
10446
|
+
} | {
|
|
10447
|
+
type: "EDIT_TRADELINK_CUSTODIAN";
|
|
10448
|
+
id: string;
|
|
10449
|
+
data: {
|
|
10450
|
+
settlement: {
|
|
10451
|
+
quorum: number;
|
|
10452
|
+
userIds: string[];
|
|
10453
|
+
}[];
|
|
10454
|
+
withdraw: {
|
|
10455
|
+
quorum: number;
|
|
10456
|
+
userIds: string[];
|
|
10457
|
+
}[];
|
|
10458
|
+
arbitration: {
|
|
10459
|
+
quorum: number;
|
|
10460
|
+
userIds: string[];
|
|
10461
|
+
}[];
|
|
10462
|
+
};
|
|
10463
|
+
createdAt: Date;
|
|
10464
|
+
updatedAt: Date;
|
|
10465
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10466
|
+
reviewSteps: {
|
|
10467
|
+
stageName: string;
|
|
10468
|
+
quorum: number;
|
|
10469
|
+
}[];
|
|
10470
|
+
currentStepIndex: number;
|
|
10471
|
+
expiresAt: Date;
|
|
10472
|
+
targetId: string | null;
|
|
10473
|
+
note: {
|
|
10474
|
+
title: string;
|
|
10475
|
+
content: string;
|
|
10476
|
+
} | null;
|
|
10477
|
+
createdById: string;
|
|
10478
|
+
reviews: {
|
|
10479
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10480
|
+
createdAt: Date;
|
|
10481
|
+
updatedAt: Date;
|
|
10482
|
+
userId: string;
|
|
10483
|
+
stepIndex: number;
|
|
10484
|
+
}[];
|
|
10485
|
+
legacyId: number;
|
|
10486
|
+
expiredAt?: Date | undefined;
|
|
10487
|
+
inflight?: {
|
|
10488
|
+
retryAfter: Date;
|
|
10489
|
+
numFailed: number;
|
|
10490
|
+
lastError: string | null;
|
|
10491
|
+
} | undefined;
|
|
10492
|
+
} | {
|
|
10493
|
+
type: "CREATE_TRADELINK_EXCHANGE";
|
|
10494
|
+
id: string;
|
|
10495
|
+
data: {
|
|
10496
|
+
groups: {
|
|
10497
|
+
quorum: number;
|
|
10498
|
+
userIds: string[];
|
|
10499
|
+
}[];
|
|
10500
|
+
whitelist: {
|
|
10501
|
+
name: string;
|
|
10502
|
+
currency: string;
|
|
10503
|
+
address: string;
|
|
10504
|
+
}[];
|
|
10505
|
+
tradelinkId: string;
|
|
10506
|
+
};
|
|
10507
|
+
createdAt: Date;
|
|
10508
|
+
updatedAt: Date;
|
|
10509
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10510
|
+
reviewSteps: {
|
|
10511
|
+
stageName: string;
|
|
10512
|
+
quorum: number;
|
|
10513
|
+
}[];
|
|
10514
|
+
currentStepIndex: number;
|
|
10515
|
+
expiresAt: Date;
|
|
10516
|
+
targetId: string | null;
|
|
10517
|
+
note: {
|
|
10518
|
+
title: string;
|
|
10519
|
+
content: string;
|
|
10520
|
+
} | null;
|
|
10521
|
+
createdById: string;
|
|
10522
|
+
reviews: {
|
|
10523
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10524
|
+
createdAt: Date;
|
|
10525
|
+
updatedAt: Date;
|
|
10526
|
+
userId: string;
|
|
10527
|
+
stepIndex: number;
|
|
10528
|
+
}[];
|
|
10529
|
+
legacyId: number;
|
|
10530
|
+
expiredAt?: Date | undefined;
|
|
10531
|
+
inflight?: {
|
|
10532
|
+
retryAfter: Date;
|
|
10533
|
+
numFailed: number;
|
|
10534
|
+
lastError: string | null;
|
|
10535
|
+
} | undefined;
|
|
10536
|
+
} | {
|
|
10537
|
+
type: "EDIT_TRADELINK_EXCHANGE";
|
|
10538
|
+
id: string;
|
|
10539
|
+
data: {
|
|
10540
|
+
groups: {
|
|
10541
|
+
quorum: number;
|
|
10542
|
+
userIds: string[];
|
|
10543
|
+
}[];
|
|
10544
|
+
whitelist: {
|
|
10545
|
+
name: string;
|
|
10546
|
+
currency: string;
|
|
10547
|
+
address: string;
|
|
10548
|
+
}[];
|
|
10549
|
+
tradelinkId: string;
|
|
10550
|
+
};
|
|
10551
|
+
createdAt: Date;
|
|
10552
|
+
updatedAt: Date;
|
|
10553
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10554
|
+
reviewSteps: {
|
|
10555
|
+
stageName: string;
|
|
10556
|
+
quorum: number;
|
|
10557
|
+
}[];
|
|
10558
|
+
currentStepIndex: number;
|
|
10559
|
+
expiresAt: Date;
|
|
10560
|
+
targetId: string | null;
|
|
10561
|
+
note: {
|
|
10562
|
+
title: string;
|
|
10563
|
+
content: string;
|
|
10564
|
+
} | null;
|
|
10565
|
+
createdById: string;
|
|
10566
|
+
reviews: {
|
|
10567
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10568
|
+
createdAt: Date;
|
|
10569
|
+
updatedAt: Date;
|
|
10570
|
+
userId: string;
|
|
10571
|
+
stepIndex: number;
|
|
10572
|
+
}[];
|
|
10573
|
+
legacyId: number;
|
|
10574
|
+
expiredAt?: Date | undefined;
|
|
10575
|
+
inflight?: {
|
|
10576
|
+
retryAfter: Date;
|
|
10577
|
+
numFailed: number;
|
|
10578
|
+
lastError: string | null;
|
|
10579
|
+
} | undefined;
|
|
10580
|
+
} | {
|
|
10581
|
+
type: "CREATE_TRADELINK_ASSET_MANAGER";
|
|
10582
|
+
id: string;
|
|
10583
|
+
data: {
|
|
10584
|
+
groups: {
|
|
10585
|
+
quorum: number;
|
|
10586
|
+
userIds: string[];
|
|
10587
|
+
}[];
|
|
10588
|
+
whitelist: {
|
|
10589
|
+
name: string;
|
|
10590
|
+
currency: string;
|
|
10591
|
+
address: string;
|
|
10592
|
+
}[];
|
|
10593
|
+
tradelinkId: string;
|
|
10594
|
+
};
|
|
10595
|
+
createdAt: Date;
|
|
10596
|
+
updatedAt: Date;
|
|
10597
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10598
|
+
reviewSteps: {
|
|
10599
|
+
stageName: string;
|
|
10600
|
+
quorum: number;
|
|
10601
|
+
}[];
|
|
10602
|
+
currentStepIndex: number;
|
|
10603
|
+
expiresAt: Date;
|
|
10604
|
+
targetId: string | null;
|
|
10605
|
+
note: {
|
|
10606
|
+
title: string;
|
|
10607
|
+
content: string;
|
|
10608
|
+
} | null;
|
|
10609
|
+
createdById: string;
|
|
10610
|
+
reviews: {
|
|
10611
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10612
|
+
createdAt: Date;
|
|
10613
|
+
updatedAt: Date;
|
|
10614
|
+
userId: string;
|
|
10615
|
+
stepIndex: number;
|
|
10616
|
+
}[];
|
|
10617
|
+
legacyId: number;
|
|
10618
|
+
expiredAt?: Date | undefined;
|
|
10619
|
+
inflight?: {
|
|
10620
|
+
retryAfter: Date;
|
|
10621
|
+
numFailed: number;
|
|
10622
|
+
lastError: string | null;
|
|
10623
|
+
} | undefined;
|
|
10624
|
+
} | {
|
|
10625
|
+
type: "EDIT_TRADELINK_ASSET_MANAGER";
|
|
10626
|
+
id: string;
|
|
10627
|
+
data: {
|
|
10628
|
+
groups: {
|
|
10629
|
+
quorum: number;
|
|
10630
|
+
userIds: string[];
|
|
10631
|
+
}[];
|
|
10632
|
+
whitelist: {
|
|
10633
|
+
name: string;
|
|
10634
|
+
currency: string;
|
|
10635
|
+
address: string;
|
|
10636
|
+
}[];
|
|
10637
|
+
tradelinkId: string;
|
|
10638
|
+
};
|
|
10639
|
+
createdAt: Date;
|
|
10640
|
+
updatedAt: Date;
|
|
10641
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10642
|
+
reviewSteps: {
|
|
10643
|
+
stageName: string;
|
|
10644
|
+
quorum: number;
|
|
10645
|
+
}[];
|
|
10646
|
+
currentStepIndex: number;
|
|
10647
|
+
expiresAt: Date;
|
|
10648
|
+
targetId: string | null;
|
|
10649
|
+
note: {
|
|
10650
|
+
title: string;
|
|
10651
|
+
content: string;
|
|
10652
|
+
} | null;
|
|
10653
|
+
createdById: string;
|
|
10654
|
+
reviews: {
|
|
10655
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10656
|
+
createdAt: Date;
|
|
10657
|
+
updatedAt: Date;
|
|
10658
|
+
userId: string;
|
|
10659
|
+
stepIndex: number;
|
|
10660
|
+
}[];
|
|
10661
|
+
legacyId: number;
|
|
10662
|
+
expiredAt?: Date | undefined;
|
|
10663
|
+
inflight?: {
|
|
10664
|
+
retryAfter: Date;
|
|
10665
|
+
numFailed: number;
|
|
10666
|
+
lastError: string | null;
|
|
10667
|
+
} | undefined;
|
|
10668
|
+
} | {
|
|
10669
|
+
type: "ADJUST_PLEDGE";
|
|
10670
|
+
id: string;
|
|
10671
|
+
data: {
|
|
10672
|
+
accountId: string;
|
|
10673
|
+
exchangeId: string;
|
|
10674
|
+
amount: string;
|
|
10675
|
+
};
|
|
10676
|
+
createdAt: Date;
|
|
10677
|
+
updatedAt: Date;
|
|
10678
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10679
|
+
reviewSteps: {
|
|
10680
|
+
stageName: string;
|
|
10681
|
+
quorum: number;
|
|
10682
|
+
}[];
|
|
10683
|
+
currentStepIndex: number;
|
|
10684
|
+
expiresAt: Date;
|
|
10685
|
+
targetId: string | null;
|
|
10686
|
+
note: {
|
|
10687
|
+
title: string;
|
|
10688
|
+
content: string;
|
|
10689
|
+
} | null;
|
|
10690
|
+
createdById: string;
|
|
10691
|
+
reviews: {
|
|
10692
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10693
|
+
createdAt: Date;
|
|
10694
|
+
updatedAt: Date;
|
|
10695
|
+
userId: string;
|
|
10696
|
+
stepIndex: number;
|
|
10697
|
+
}[];
|
|
10698
|
+
legacyId: number;
|
|
10699
|
+
expiredAt?: Date | undefined;
|
|
10700
|
+
inflight?: {
|
|
10701
|
+
retryAfter: Date;
|
|
10702
|
+
numFailed: number;
|
|
10703
|
+
lastError: string | null;
|
|
10704
|
+
} | undefined;
|
|
10705
|
+
} | {
|
|
10706
|
+
type: "TRADELINK_REPLEDGE";
|
|
10707
|
+
id: string;
|
|
10708
|
+
data: {
|
|
10709
|
+
accountId: string;
|
|
10710
|
+
exchangeId: string;
|
|
10711
|
+
amount: string;
|
|
10712
|
+
};
|
|
10713
|
+
createdAt: Date;
|
|
10714
|
+
updatedAt: Date;
|
|
10715
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10716
|
+
reviewSteps: {
|
|
10717
|
+
stageName: string;
|
|
10718
|
+
quorum: number;
|
|
10719
|
+
}[];
|
|
10720
|
+
currentStepIndex: number;
|
|
10721
|
+
expiresAt: Date;
|
|
10722
|
+
targetId: string | null;
|
|
10723
|
+
note: {
|
|
10724
|
+
title: string;
|
|
10725
|
+
content: string;
|
|
10726
|
+
} | null;
|
|
10727
|
+
createdById: string;
|
|
10728
|
+
reviews: {
|
|
10729
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10730
|
+
createdAt: Date;
|
|
10731
|
+
updatedAt: Date;
|
|
10732
|
+
userId: string;
|
|
10733
|
+
stepIndex: number;
|
|
10734
|
+
}[];
|
|
10735
|
+
legacyId: number;
|
|
10736
|
+
expiredAt?: Date | undefined;
|
|
10737
|
+
inflight?: {
|
|
10738
|
+
retryAfter: Date;
|
|
10739
|
+
numFailed: number;
|
|
10740
|
+
lastError: string | null;
|
|
10741
|
+
} | undefined;
|
|
10742
|
+
} | {
|
|
10743
|
+
type: "CREATE_SETTLEMENT";
|
|
10744
|
+
id: string;
|
|
10745
|
+
data: {
|
|
10746
|
+
accountId: string;
|
|
10747
|
+
exchangeId: string;
|
|
10748
|
+
transaction: {
|
|
10749
|
+
type: "BITCOIN_LIKE_SEND";
|
|
10750
|
+
currency: string;
|
|
10751
|
+
recipient: string;
|
|
10752
|
+
amount: string;
|
|
10753
|
+
maxFee: string | null;
|
|
10754
|
+
feeStrategy: {
|
|
10755
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
10756
|
+
feePerByte?: string | null | undefined;
|
|
10757
|
+
};
|
|
10758
|
+
} | {
|
|
10759
|
+
type: "ETHEREUM_LIKE_SEND";
|
|
10760
|
+
currency: string;
|
|
10761
|
+
recipient: string;
|
|
10762
|
+
amount: string;
|
|
10763
|
+
maxFee: string | null;
|
|
10764
|
+
feeStrategy: {
|
|
10765
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
10766
|
+
gasLimit: string;
|
|
10767
|
+
gasPrice: string;
|
|
10768
|
+
} | {
|
|
10769
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
10770
|
+
gasLimit: string;
|
|
10771
|
+
maxPriorityFeePerGas: string;
|
|
10772
|
+
maxFeePerGas: string;
|
|
10773
|
+
};
|
|
10774
|
+
} | {
|
|
10775
|
+
type: "TEZOS_LIKE_SEND";
|
|
10776
|
+
currency: string;
|
|
10777
|
+
recipient: string;
|
|
10778
|
+
amount: string;
|
|
10779
|
+
maxFee: string | null;
|
|
10780
|
+
feeStrategy: {
|
|
10781
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
10782
|
+
gasLimit: string;
|
|
10783
|
+
storageLimit: string | null;
|
|
10784
|
+
};
|
|
10785
|
+
} | {
|
|
10786
|
+
type: "POLKADOT_LIKE_SEND";
|
|
10787
|
+
currency: string;
|
|
10788
|
+
recipient: string;
|
|
10789
|
+
amount: string;
|
|
10790
|
+
maxFee: string | null;
|
|
10791
|
+
} | {
|
|
10792
|
+
type: "RIPPLE_LIKE_SEND";
|
|
10793
|
+
currency: string;
|
|
10794
|
+
recipient: string;
|
|
10795
|
+
destinationTag: string | null;
|
|
10796
|
+
amount: string;
|
|
10797
|
+
maxFee: string | null;
|
|
10798
|
+
feeStrategy: {
|
|
10799
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
10800
|
+
};
|
|
10801
|
+
} | {
|
|
10802
|
+
type: "STELLAR_LIKE_SEND";
|
|
10803
|
+
currency: string;
|
|
10804
|
+
recipient: string;
|
|
10805
|
+
amount: string;
|
|
10806
|
+
maxFee: string | null;
|
|
10807
|
+
feeStrategy: {
|
|
10808
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
10809
|
+
};
|
|
10810
|
+
memo: {
|
|
10811
|
+
MEMO_TEXT: string;
|
|
10812
|
+
} | {
|
|
10813
|
+
MEMO_ID: string;
|
|
10814
|
+
} | {
|
|
10815
|
+
MEMO_HASH: string;
|
|
10816
|
+
} | {
|
|
10817
|
+
MEMO_RETURN: string;
|
|
10818
|
+
} | null;
|
|
10819
|
+
} | {
|
|
10820
|
+
type: "SOLANA_LIKE_SEND";
|
|
10821
|
+
currency: string;
|
|
10822
|
+
recipient: string;
|
|
10823
|
+
amount: string;
|
|
10824
|
+
maxFee: string | null;
|
|
10825
|
+
feeStrategy: {
|
|
10826
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
10827
|
+
};
|
|
10828
|
+
} | {
|
|
10829
|
+
type: "CARDANO_LIKE_SEND";
|
|
10830
|
+
currency: string;
|
|
10831
|
+
recipient: string;
|
|
10832
|
+
amount: string;
|
|
10833
|
+
maxFee: string | null;
|
|
10834
|
+
feeStrategy: {
|
|
10835
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
10836
|
+
};
|
|
10837
|
+
} | {
|
|
10838
|
+
type: "SUI_LIKE_SEND";
|
|
10839
|
+
currency: string;
|
|
10840
|
+
recipient: string;
|
|
10841
|
+
amount: string;
|
|
10842
|
+
maxFee: string | null;
|
|
10843
|
+
feeStrategy: {
|
|
10844
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
10845
|
+
};
|
|
10846
|
+
};
|
|
10847
|
+
};
|
|
10848
|
+
createdAt: Date;
|
|
10849
|
+
updatedAt: Date;
|
|
10850
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10851
|
+
reviewSteps: {
|
|
10852
|
+
stageName: string;
|
|
10853
|
+
quorum: number;
|
|
10854
|
+
}[];
|
|
10855
|
+
currentStepIndex: number;
|
|
10856
|
+
expiresAt: Date;
|
|
10857
|
+
targetId: string | null;
|
|
10858
|
+
note: {
|
|
10859
|
+
title: string;
|
|
10860
|
+
content: string;
|
|
10861
|
+
} | null;
|
|
10862
|
+
createdById: string;
|
|
10863
|
+
reviews: {
|
|
10864
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10865
|
+
createdAt: Date;
|
|
10866
|
+
updatedAt: Date;
|
|
10867
|
+
userId: string;
|
|
10868
|
+
stepIndex: number;
|
|
10869
|
+
}[];
|
|
10870
|
+
legacyId: number;
|
|
10871
|
+
meta?: {
|
|
10872
|
+
hash: string | null;
|
|
10873
|
+
} | null | undefined;
|
|
10874
|
+
expiredAt?: Date | undefined;
|
|
10875
|
+
inflight?: {
|
|
10876
|
+
retryAfter: Date;
|
|
10877
|
+
numFailed: number;
|
|
10878
|
+
lastError: string | null;
|
|
10879
|
+
} | undefined;
|
|
10880
|
+
} | {
|
|
10881
|
+
type: "FORCE_UNPLEDGE";
|
|
10882
|
+
id: string;
|
|
10883
|
+
data: {
|
|
10884
|
+
accountId: string;
|
|
10885
|
+
exchangeId: string;
|
|
10886
|
+
};
|
|
10887
|
+
createdAt: Date;
|
|
10888
|
+
updatedAt: Date;
|
|
10889
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
10890
|
+
reviewSteps: {
|
|
10891
|
+
stageName: string;
|
|
10892
|
+
quorum: number;
|
|
10893
|
+
}[];
|
|
10894
|
+
currentStepIndex: number;
|
|
10895
|
+
expiresAt: Date;
|
|
10896
|
+
targetId: string | null;
|
|
10897
|
+
note: {
|
|
10898
|
+
title: string;
|
|
10899
|
+
content: string;
|
|
10900
|
+
} | null;
|
|
10901
|
+
createdById: string;
|
|
10902
|
+
reviews: {
|
|
10903
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
10904
|
+
createdAt: Date;
|
|
10905
|
+
updatedAt: Date;
|
|
10906
|
+
userId: string;
|
|
10907
|
+
stepIndex: number;
|
|
10908
|
+
}[];
|
|
10909
|
+
legacyId: number;
|
|
10910
|
+
expiredAt?: Date | undefined;
|
|
10911
|
+
inflight?: {
|
|
10912
|
+
retryAfter: Date;
|
|
10913
|
+
numFailed: number;
|
|
10914
|
+
lastError: string | null;
|
|
10915
|
+
} | undefined;
|
|
10916
|
+
} | {
|
|
10917
|
+
type: "TRADELINK_WITHDRAW";
|
|
10918
|
+
id: string;
|
|
10919
|
+
data: {
|
|
10920
|
+
accountId: string;
|
|
10921
|
+
transaction: {
|
|
10922
|
+
type: "BITCOIN_LIKE_SEND";
|
|
10923
|
+
currency: string;
|
|
10924
|
+
recipient: string;
|
|
10925
|
+
amount: string;
|
|
10926
|
+
maxFee: string | null;
|
|
10927
|
+
feeStrategy: {
|
|
10928
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
10929
|
+
feePerByte?: string | null | undefined;
|
|
10930
|
+
};
|
|
10931
|
+
} | {
|
|
10932
|
+
type: "ETHEREUM_LIKE_SEND";
|
|
10933
|
+
currency: string;
|
|
10934
|
+
recipient: string;
|
|
10935
|
+
amount: string;
|
|
10936
|
+
maxFee: string | null;
|
|
10937
|
+
feeStrategy: {
|
|
10938
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
10939
|
+
gasLimit: string;
|
|
10940
|
+
gasPrice: string;
|
|
10941
|
+
} | {
|
|
10942
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
10943
|
+
gasLimit: string;
|
|
10944
|
+
maxPriorityFeePerGas: string;
|
|
10945
|
+
maxFeePerGas: string;
|
|
10946
|
+
};
|
|
10947
|
+
} | {
|
|
10948
|
+
type: "TEZOS_LIKE_SEND";
|
|
10949
|
+
currency: string;
|
|
10950
|
+
recipient: string;
|
|
10951
|
+
amount: string;
|
|
10952
|
+
maxFee: string | null;
|
|
10953
|
+
feeStrategy: {
|
|
10954
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
10955
|
+
gasLimit: string;
|
|
10956
|
+
storageLimit: string | null;
|
|
10957
|
+
};
|
|
10958
|
+
} | {
|
|
10959
|
+
type: "POLKADOT_LIKE_SEND";
|
|
10960
|
+
currency: string;
|
|
10961
|
+
recipient: string;
|
|
10962
|
+
amount: string;
|
|
10963
|
+
maxFee: string | null;
|
|
10964
|
+
} | {
|
|
10965
|
+
type: "RIPPLE_LIKE_SEND";
|
|
10966
|
+
currency: string;
|
|
10967
|
+
recipient: string;
|
|
10968
|
+
destinationTag: string | null;
|
|
10969
|
+
amount: string;
|
|
10970
|
+
maxFee: string | null;
|
|
10971
|
+
feeStrategy: {
|
|
10972
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
10973
|
+
};
|
|
10974
|
+
} | {
|
|
10975
|
+
type: "STELLAR_LIKE_SEND";
|
|
10976
|
+
currency: string;
|
|
10977
|
+
recipient: string;
|
|
10978
|
+
amount: string;
|
|
10979
|
+
maxFee: string | null;
|
|
10980
|
+
feeStrategy: {
|
|
10981
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
10982
|
+
};
|
|
10983
|
+
memo: {
|
|
10984
|
+
MEMO_TEXT: string;
|
|
10985
|
+
} | {
|
|
10986
|
+
MEMO_ID: string;
|
|
10987
|
+
} | {
|
|
10988
|
+
MEMO_HASH: string;
|
|
10989
|
+
} | {
|
|
10990
|
+
MEMO_RETURN: string;
|
|
10991
|
+
} | null;
|
|
10992
|
+
} | {
|
|
10993
|
+
type: "SOLANA_LIKE_SEND";
|
|
10994
|
+
currency: string;
|
|
10995
|
+
recipient: string;
|
|
10996
|
+
amount: string;
|
|
10997
|
+
maxFee: string | null;
|
|
10998
|
+
feeStrategy: {
|
|
10999
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
11000
|
+
};
|
|
11001
|
+
} | {
|
|
11002
|
+
type: "CARDANO_LIKE_SEND";
|
|
11003
|
+
currency: string;
|
|
11004
|
+
recipient: string;
|
|
11005
|
+
amount: string;
|
|
11006
|
+
maxFee: string | null;
|
|
11007
|
+
feeStrategy: {
|
|
11008
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
11009
|
+
};
|
|
11010
|
+
} | {
|
|
11011
|
+
type: "SUI_LIKE_SEND";
|
|
11012
|
+
currency: string;
|
|
11013
|
+
recipient: string;
|
|
11014
|
+
amount: string;
|
|
11015
|
+
maxFee: string | null;
|
|
11016
|
+
feeStrategy: {
|
|
11017
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
11018
|
+
};
|
|
11019
|
+
};
|
|
11020
|
+
};
|
|
11021
|
+
createdAt: Date;
|
|
11022
|
+
updatedAt: Date;
|
|
11023
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11024
|
+
reviewSteps: {
|
|
11025
|
+
stageName: string;
|
|
11026
|
+
quorum: number;
|
|
11027
|
+
}[];
|
|
11028
|
+
currentStepIndex: number;
|
|
11029
|
+
expiresAt: Date;
|
|
11030
|
+
targetId: string | null;
|
|
11031
|
+
note: {
|
|
11032
|
+
title: string;
|
|
11033
|
+
content: string;
|
|
11034
|
+
} | null;
|
|
11035
|
+
createdById: string;
|
|
11036
|
+
reviews: {
|
|
11037
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11038
|
+
createdAt: Date;
|
|
11039
|
+
updatedAt: Date;
|
|
11040
|
+
userId: string;
|
|
11041
|
+
stepIndex: number;
|
|
11042
|
+
}[];
|
|
11043
|
+
legacyId: number;
|
|
11044
|
+
meta?: {
|
|
11045
|
+
hash: string | null;
|
|
11046
|
+
} | null | undefined;
|
|
11047
|
+
expiredAt?: Date | undefined;
|
|
11048
|
+
inflight?: {
|
|
11049
|
+
retryAfter: Date;
|
|
11050
|
+
numFailed: number;
|
|
11051
|
+
lastError: string | null;
|
|
11052
|
+
} | undefined;
|
|
11053
|
+
} | {
|
|
11054
|
+
type: "TRADELINK_ARBITRATE";
|
|
11055
|
+
id: string;
|
|
11056
|
+
data: {
|
|
11057
|
+
accountId: string;
|
|
11058
|
+
transaction: {
|
|
11059
|
+
type: "BITCOIN_LIKE_SEND";
|
|
11060
|
+
currency: string;
|
|
11061
|
+
recipient: string;
|
|
11062
|
+
amount: string;
|
|
11063
|
+
maxFee: string | null;
|
|
11064
|
+
feeStrategy: {
|
|
11065
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11066
|
+
feePerByte?: string | null | undefined;
|
|
11067
|
+
};
|
|
11068
|
+
} | {
|
|
11069
|
+
type: "ETHEREUM_LIKE_SEND";
|
|
11070
|
+
currency: string;
|
|
11071
|
+
recipient: string;
|
|
11072
|
+
amount: string;
|
|
11073
|
+
maxFee: string | null;
|
|
11074
|
+
feeStrategy: {
|
|
11075
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11076
|
+
gasLimit: string;
|
|
11077
|
+
gasPrice: string;
|
|
11078
|
+
} | {
|
|
11079
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11080
|
+
gasLimit: string;
|
|
11081
|
+
maxPriorityFeePerGas: string;
|
|
11082
|
+
maxFeePerGas: string;
|
|
11083
|
+
};
|
|
11084
|
+
} | {
|
|
11085
|
+
type: "TEZOS_LIKE_SEND";
|
|
11086
|
+
currency: string;
|
|
11087
|
+
recipient: string;
|
|
11088
|
+
amount: string;
|
|
11089
|
+
maxFee: string | null;
|
|
11090
|
+
feeStrategy: {
|
|
11091
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11092
|
+
gasLimit: string;
|
|
11093
|
+
storageLimit: string | null;
|
|
11094
|
+
};
|
|
11095
|
+
} | {
|
|
11096
|
+
type: "POLKADOT_LIKE_SEND";
|
|
11097
|
+
currency: string;
|
|
11098
|
+
recipient: string;
|
|
11099
|
+
amount: string;
|
|
11100
|
+
maxFee: string | null;
|
|
11101
|
+
} | {
|
|
11102
|
+
type: "RIPPLE_LIKE_SEND";
|
|
11103
|
+
currency: string;
|
|
11104
|
+
recipient: string;
|
|
11105
|
+
destinationTag: string | null;
|
|
11106
|
+
amount: string;
|
|
11107
|
+
maxFee: string | null;
|
|
11108
|
+
feeStrategy: {
|
|
11109
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11110
|
+
};
|
|
11111
|
+
} | {
|
|
11112
|
+
type: "STELLAR_LIKE_SEND";
|
|
11113
|
+
currency: string;
|
|
11114
|
+
recipient: string;
|
|
11115
|
+
amount: string;
|
|
11116
|
+
maxFee: string | null;
|
|
11117
|
+
feeStrategy: {
|
|
11118
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
11119
|
+
};
|
|
11120
|
+
memo: {
|
|
11121
|
+
MEMO_TEXT: string;
|
|
11122
|
+
} | {
|
|
11123
|
+
MEMO_ID: string;
|
|
11124
|
+
} | {
|
|
11125
|
+
MEMO_HASH: string;
|
|
11126
|
+
} | {
|
|
11127
|
+
MEMO_RETURN: string;
|
|
11128
|
+
} | null;
|
|
11129
|
+
} | {
|
|
11130
|
+
type: "SOLANA_LIKE_SEND";
|
|
11131
|
+
currency: string;
|
|
11132
|
+
recipient: string;
|
|
11133
|
+
amount: string;
|
|
11134
|
+
maxFee: string | null;
|
|
11135
|
+
feeStrategy: {
|
|
11136
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
11137
|
+
};
|
|
11138
|
+
} | {
|
|
11139
|
+
type: "CARDANO_LIKE_SEND";
|
|
11140
|
+
currency: string;
|
|
11141
|
+
recipient: string;
|
|
11142
|
+
amount: string;
|
|
11143
|
+
maxFee: string | null;
|
|
11144
|
+
feeStrategy: {
|
|
11145
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
11146
|
+
};
|
|
11147
|
+
} | {
|
|
11148
|
+
type: "SUI_LIKE_SEND";
|
|
11149
|
+
currency: string;
|
|
11150
|
+
recipient: string;
|
|
11151
|
+
amount: string;
|
|
11152
|
+
maxFee: string | null;
|
|
11153
|
+
feeStrategy: {
|
|
11154
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
11155
|
+
};
|
|
11156
|
+
};
|
|
11157
|
+
};
|
|
11158
|
+
createdAt: Date;
|
|
11159
|
+
updatedAt: Date;
|
|
11160
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11161
|
+
reviewSteps: {
|
|
11162
|
+
stageName: string;
|
|
11163
|
+
quorum: number;
|
|
11164
|
+
}[];
|
|
11165
|
+
currentStepIndex: number;
|
|
11166
|
+
expiresAt: Date;
|
|
11167
|
+
targetId: string | null;
|
|
11168
|
+
note: {
|
|
11169
|
+
title: string;
|
|
11170
|
+
content: string;
|
|
11171
|
+
} | null;
|
|
11172
|
+
createdById: string;
|
|
11173
|
+
reviews: {
|
|
11174
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11175
|
+
createdAt: Date;
|
|
11176
|
+
updatedAt: Date;
|
|
11177
|
+
userId: string;
|
|
11178
|
+
stepIndex: number;
|
|
11179
|
+
}[];
|
|
11180
|
+
legacyId: number;
|
|
11181
|
+
meta?: {
|
|
11182
|
+
hash: string | null;
|
|
11183
|
+
} | null | undefined;
|
|
11184
|
+
expiredAt?: Date | undefined;
|
|
11185
|
+
inflight?: {
|
|
11186
|
+
retryAfter: Date;
|
|
11187
|
+
numFailed: number;
|
|
11188
|
+
lastError: string | null;
|
|
11189
|
+
} | undefined;
|
|
11190
|
+
} | {
|
|
11191
|
+
type: "SIGN_MESSAGE";
|
|
11192
|
+
id: string;
|
|
11193
|
+
data: {
|
|
11194
|
+
message: {
|
|
11195
|
+
type: "EIP191" | "EIP712";
|
|
11196
|
+
data: string;
|
|
11197
|
+
};
|
|
11198
|
+
derivationPath: string;
|
|
11199
|
+
accountId: string;
|
|
11200
|
+
address: string;
|
|
11201
|
+
};
|
|
11202
|
+
createdAt: Date;
|
|
11203
|
+
updatedAt: Date;
|
|
11204
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11205
|
+
reviewSteps: {
|
|
11206
|
+
stageName: string;
|
|
11207
|
+
quorum: number;
|
|
11208
|
+
}[];
|
|
11209
|
+
currentStepIndex: number;
|
|
11210
|
+
expiresAt: Date;
|
|
11211
|
+
targetId: string | null;
|
|
11212
|
+
note: {
|
|
11213
|
+
title: string;
|
|
11214
|
+
content: string;
|
|
11215
|
+
} | null;
|
|
11216
|
+
createdById: string;
|
|
11217
|
+
reviews: {
|
|
11218
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11219
|
+
createdAt: Date;
|
|
11220
|
+
updatedAt: Date;
|
|
11221
|
+
userId: string;
|
|
11222
|
+
stepIndex: number;
|
|
11223
|
+
}[];
|
|
11224
|
+
legacyId: number;
|
|
11225
|
+
expiredAt?: Date | undefined;
|
|
11226
|
+
inflight?: {
|
|
11227
|
+
retryAfter: Date;
|
|
11228
|
+
numFailed: number;
|
|
11229
|
+
lastError: string | null;
|
|
11230
|
+
} | undefined;
|
|
11231
|
+
} | {
|
|
11232
|
+
type: "SIGN_DIGESTS";
|
|
11233
|
+
id: string;
|
|
11234
|
+
data: {
|
|
11235
|
+
accountId: string;
|
|
11236
|
+
digests: {
|
|
11237
|
+
digest: string;
|
|
11238
|
+
derivationPath: string;
|
|
11239
|
+
}[];
|
|
11240
|
+
};
|
|
11241
|
+
createdAt: Date;
|
|
11242
|
+
updatedAt: Date;
|
|
11243
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11244
|
+
reviewSteps: {
|
|
11245
|
+
stageName: string;
|
|
11246
|
+
quorum: number;
|
|
11247
|
+
}[];
|
|
11248
|
+
currentStepIndex: number;
|
|
11249
|
+
expiresAt: Date;
|
|
11250
|
+
targetId: string | null;
|
|
11251
|
+
note: {
|
|
11252
|
+
title: string;
|
|
11253
|
+
content: string;
|
|
11254
|
+
} | null;
|
|
11255
|
+
createdById: string;
|
|
11256
|
+
reviews: {
|
|
11257
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11258
|
+
createdAt: Date;
|
|
11259
|
+
updatedAt: Date;
|
|
11260
|
+
userId: string;
|
|
11261
|
+
stepIndex: number;
|
|
11262
|
+
}[];
|
|
11263
|
+
legacyId: number;
|
|
11264
|
+
expiredAt?: Date | undefined;
|
|
11265
|
+
inflight?: {
|
|
11266
|
+
retryAfter: Date;
|
|
11267
|
+
numFailed: number;
|
|
11268
|
+
lastError: string | null;
|
|
11269
|
+
} | undefined;
|
|
11270
|
+
} | {
|
|
11271
|
+
type: "CREATE_ACCOUNT";
|
|
11272
|
+
id: string;
|
|
11273
|
+
data: {
|
|
11274
|
+
name: string;
|
|
11275
|
+
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";
|
|
11276
|
+
derivationPath: string;
|
|
11277
|
+
currency: string;
|
|
11278
|
+
index: number;
|
|
11279
|
+
governance: {
|
|
11280
|
+
type: "CLASSIC";
|
|
11281
|
+
policy: {
|
|
11282
|
+
policyId: string;
|
|
11283
|
+
} | {
|
|
11284
|
+
rules: {
|
|
11285
|
+
reviewSteps: ({
|
|
11286
|
+
quorum: number;
|
|
11287
|
+
userIds: string[];
|
|
11288
|
+
} | {
|
|
11289
|
+
quorum: number;
|
|
11290
|
+
groupId: string;
|
|
11291
|
+
})[];
|
|
11292
|
+
operationType: "SIGN_MESSAGE" | "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN";
|
|
11293
|
+
threshold?: {
|
|
11294
|
+
min: string | null;
|
|
11295
|
+
max: string | null;
|
|
11296
|
+
} | undefined;
|
|
11297
|
+
whitelistIds?: string[] | undefined;
|
|
11298
|
+
}[];
|
|
11299
|
+
};
|
|
11300
|
+
} | {
|
|
11301
|
+
type: "TRADELINK";
|
|
11302
|
+
assetManagerId: string;
|
|
11303
|
+
exchangeConfigs: {
|
|
11304
|
+
exchangeId: string;
|
|
11305
|
+
repledgeAuthorized: boolean;
|
|
11306
|
+
needsAssetManagerApprovalForSettlements: boolean;
|
|
11307
|
+
}[];
|
|
11308
|
+
} | {
|
|
11309
|
+
type: "RAW_SIGNING";
|
|
11310
|
+
policy: {
|
|
11311
|
+
rules: {
|
|
11312
|
+
reviewSteps: {
|
|
11313
|
+
quorum: number;
|
|
11314
|
+
userIds: string[];
|
|
11315
|
+
}[];
|
|
11316
|
+
operationType: "SIGN_DIGESTS";
|
|
11317
|
+
}[];
|
|
11318
|
+
};
|
|
11319
|
+
};
|
|
11320
|
+
contractAddress?: string | undefined;
|
|
11321
|
+
};
|
|
11322
|
+
createdAt: Date;
|
|
11323
|
+
updatedAt: Date;
|
|
11324
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11325
|
+
reviewSteps: {
|
|
11326
|
+
stageName: string;
|
|
11327
|
+
quorum: number;
|
|
11328
|
+
}[];
|
|
11329
|
+
currentStepIndex: number;
|
|
11330
|
+
expiresAt: Date;
|
|
11331
|
+
targetId: string | null;
|
|
11332
|
+
note: {
|
|
11333
|
+
title: string;
|
|
11334
|
+
content: string;
|
|
11335
|
+
} | null;
|
|
11336
|
+
createdById: string;
|
|
11337
|
+
reviews: {
|
|
11338
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11339
|
+
createdAt: Date;
|
|
11340
|
+
updatedAt: Date;
|
|
11341
|
+
userId: string;
|
|
11342
|
+
stepIndex: number;
|
|
11343
|
+
}[];
|
|
11344
|
+
legacyId: number;
|
|
11345
|
+
expiredAt?: Date | undefined;
|
|
11346
|
+
inflight?: {
|
|
11347
|
+
retryAfter: Date;
|
|
11348
|
+
numFailed: number;
|
|
11349
|
+
lastError: string | null;
|
|
11350
|
+
} | undefined;
|
|
11351
|
+
} | {
|
|
11352
|
+
type: "EDIT_TOKEN_RULE";
|
|
11353
|
+
id: string;
|
|
11354
|
+
data: {
|
|
11355
|
+
contractAddress: string;
|
|
11356
|
+
rules: {
|
|
11357
|
+
reviewSteps: ({
|
|
11358
|
+
quorum: number;
|
|
11359
|
+
userIds: string[];
|
|
11360
|
+
} | {
|
|
11361
|
+
quorum: number;
|
|
11362
|
+
groupId: string;
|
|
11363
|
+
})[];
|
|
11364
|
+
operationType: "SIGN_MESSAGE" | "SEND" | "STAKE" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "ACTIVATE_TOKEN";
|
|
11365
|
+
threshold?: {
|
|
11366
|
+
min: string | null;
|
|
11367
|
+
max: string | null;
|
|
11368
|
+
} | undefined;
|
|
11369
|
+
whitelistIds?: string[] | undefined;
|
|
11370
|
+
}[];
|
|
11371
|
+
parentAccountId: string;
|
|
11372
|
+
};
|
|
11373
|
+
createdAt: Date;
|
|
11374
|
+
updatedAt: Date;
|
|
11375
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11376
|
+
reviewSteps: {
|
|
11377
|
+
stageName: string;
|
|
11378
|
+
quorum: number;
|
|
11379
|
+
}[];
|
|
11380
|
+
currentStepIndex: number;
|
|
11381
|
+
expiresAt: Date;
|
|
11382
|
+
targetId: string | null;
|
|
11383
|
+
note: {
|
|
11384
|
+
title: string;
|
|
11385
|
+
content: string;
|
|
11386
|
+
} | null;
|
|
11387
|
+
createdById: string;
|
|
11388
|
+
reviews: {
|
|
11389
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11390
|
+
createdAt: Date;
|
|
11391
|
+
updatedAt: Date;
|
|
11392
|
+
userId: string;
|
|
11393
|
+
stepIndex: number;
|
|
11394
|
+
}[];
|
|
11395
|
+
legacyId: number;
|
|
11396
|
+
expiredAt?: Date | undefined;
|
|
11397
|
+
inflight?: {
|
|
11398
|
+
retryAfter: Date;
|
|
11399
|
+
numFailed: number;
|
|
11400
|
+
lastError: string | null;
|
|
11401
|
+
} | undefined;
|
|
11402
|
+
} | {
|
|
11403
|
+
type: "REVOKE_GROUP";
|
|
11404
|
+
id: string;
|
|
11405
|
+
data: {};
|
|
11406
|
+
createdAt: Date;
|
|
11407
|
+
updatedAt: Date;
|
|
11408
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11409
|
+
reviewSteps: {
|
|
11410
|
+
stageName: string;
|
|
11411
|
+
quorum: number;
|
|
11412
|
+
}[];
|
|
11413
|
+
currentStepIndex: number;
|
|
11414
|
+
expiresAt: Date;
|
|
11415
|
+
targetId: string | null;
|
|
11416
|
+
note: {
|
|
11417
|
+
title: string;
|
|
11418
|
+
content: string;
|
|
11419
|
+
} | null;
|
|
11420
|
+
createdById: string;
|
|
11421
|
+
reviews: {
|
|
11422
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11423
|
+
createdAt: Date;
|
|
11424
|
+
updatedAt: Date;
|
|
11425
|
+
userId: string;
|
|
11426
|
+
stepIndex: number;
|
|
11427
|
+
}[];
|
|
11428
|
+
legacyId: number;
|
|
11429
|
+
expiredAt?: Date | undefined;
|
|
11430
|
+
inflight?: {
|
|
11431
|
+
retryAfter: Date;
|
|
11432
|
+
numFailed: number;
|
|
11433
|
+
lastError: string | null;
|
|
11434
|
+
} | undefined;
|
|
11435
|
+
} | {
|
|
11436
|
+
type: "CREATE_ENTITY";
|
|
11437
|
+
id: string;
|
|
11438
|
+
data: {
|
|
11439
|
+
name: string;
|
|
11440
|
+
accounts: string[];
|
|
11441
|
+
};
|
|
11442
|
+
createdAt: Date;
|
|
11443
|
+
updatedAt: Date;
|
|
11444
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11445
|
+
reviewSteps: {
|
|
11446
|
+
stageName: string;
|
|
11447
|
+
quorum: number;
|
|
11448
|
+
}[];
|
|
11449
|
+
currentStepIndex: number;
|
|
11450
|
+
expiresAt: Date;
|
|
11451
|
+
targetId: string | null;
|
|
11452
|
+
note: {
|
|
11453
|
+
title: string;
|
|
11454
|
+
content: string;
|
|
11455
|
+
} | null;
|
|
11456
|
+
createdById: string;
|
|
11457
|
+
reviews: {
|
|
11458
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11459
|
+
createdAt: Date;
|
|
11460
|
+
updatedAt: Date;
|
|
11461
|
+
userId: string;
|
|
11462
|
+
stepIndex: number;
|
|
11463
|
+
}[];
|
|
11464
|
+
legacyId: number;
|
|
11465
|
+
expiredAt?: Date | undefined;
|
|
11466
|
+
inflight?: {
|
|
11467
|
+
retryAfter: Date;
|
|
11468
|
+
numFailed: number;
|
|
11469
|
+
lastError: string | null;
|
|
11470
|
+
} | undefined;
|
|
11471
|
+
} | {
|
|
11472
|
+
type: "EDIT_ENTITY";
|
|
11473
|
+
id: string;
|
|
11474
|
+
data: {
|
|
11475
|
+
name: string;
|
|
11476
|
+
accounts: string[];
|
|
11477
|
+
};
|
|
11478
|
+
createdAt: Date;
|
|
11479
|
+
updatedAt: Date;
|
|
11480
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11481
|
+
reviewSteps: {
|
|
11482
|
+
stageName: string;
|
|
11483
|
+
quorum: number;
|
|
11484
|
+
}[];
|
|
11485
|
+
currentStepIndex: number;
|
|
11486
|
+
expiresAt: Date;
|
|
11487
|
+
targetId: string | null;
|
|
11488
|
+
note: {
|
|
11489
|
+
title: string;
|
|
11490
|
+
content: string;
|
|
11491
|
+
} | null;
|
|
11492
|
+
createdById: string;
|
|
11493
|
+
reviews: {
|
|
11494
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11495
|
+
createdAt: Date;
|
|
11496
|
+
updatedAt: Date;
|
|
11497
|
+
userId: string;
|
|
11498
|
+
stepIndex: number;
|
|
11499
|
+
}[];
|
|
11500
|
+
legacyId: number;
|
|
11501
|
+
expiredAt?: Date | undefined;
|
|
11502
|
+
inflight?: {
|
|
11503
|
+
retryAfter: Date;
|
|
11504
|
+
numFailed: number;
|
|
11505
|
+
lastError: string | null;
|
|
11506
|
+
} | undefined;
|
|
11507
|
+
} | {
|
|
11508
|
+
type: "REVOKE_ENTITY";
|
|
11509
|
+
id: string;
|
|
11510
|
+
data: {};
|
|
11511
|
+
createdAt: Date;
|
|
11512
|
+
updatedAt: Date;
|
|
11513
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11514
|
+
reviewSteps: {
|
|
11515
|
+
stageName: string;
|
|
11516
|
+
quorum: number;
|
|
11517
|
+
}[];
|
|
11518
|
+
currentStepIndex: number;
|
|
11519
|
+
expiresAt: Date;
|
|
11520
|
+
targetId: string | null;
|
|
11521
|
+
note: {
|
|
11522
|
+
title: string;
|
|
11523
|
+
content: string;
|
|
11524
|
+
} | null;
|
|
11525
|
+
createdById: string;
|
|
11526
|
+
reviews: {
|
|
11527
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11528
|
+
createdAt: Date;
|
|
11529
|
+
updatedAt: Date;
|
|
11530
|
+
userId: string;
|
|
11531
|
+
stepIndex: number;
|
|
11532
|
+
}[];
|
|
11533
|
+
legacyId: number;
|
|
11534
|
+
expiredAt?: Date | undefined;
|
|
11535
|
+
inflight?: {
|
|
11536
|
+
retryAfter: Date;
|
|
11537
|
+
numFailed: number;
|
|
11538
|
+
lastError: string | null;
|
|
11539
|
+
} | undefined;
|
|
11540
|
+
} | {
|
|
11541
|
+
type: "CREATE_API_USER_ACCESS";
|
|
11542
|
+
id: string;
|
|
11543
|
+
data: {
|
|
11544
|
+
name: string;
|
|
11545
|
+
};
|
|
11546
|
+
createdAt: Date;
|
|
11547
|
+
updatedAt: Date;
|
|
11548
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11549
|
+
reviewSteps: {
|
|
11550
|
+
stageName: string;
|
|
11551
|
+
quorum: number;
|
|
11552
|
+
}[];
|
|
11553
|
+
currentStepIndex: number;
|
|
11554
|
+
expiresAt: Date;
|
|
11555
|
+
targetId: string | null;
|
|
11556
|
+
note: {
|
|
11557
|
+
title: string;
|
|
11558
|
+
content: string;
|
|
11559
|
+
} | null;
|
|
11560
|
+
createdById: string;
|
|
11561
|
+
reviews: {
|
|
11562
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11563
|
+
createdAt: Date;
|
|
11564
|
+
updatedAt: Date;
|
|
11565
|
+
userId: string;
|
|
11566
|
+
stepIndex: number;
|
|
11567
|
+
}[];
|
|
11568
|
+
legacyId: number;
|
|
11569
|
+
expiredAt?: Date | undefined;
|
|
11570
|
+
inflight?: {
|
|
11571
|
+
retryAfter: Date;
|
|
11572
|
+
numFailed: number;
|
|
11573
|
+
lastError: string | null;
|
|
11574
|
+
} | undefined;
|
|
11575
|
+
} | {
|
|
11576
|
+
type: "CREATE_WORKSPACE_RULE";
|
|
11577
|
+
id: string;
|
|
11578
|
+
data: {
|
|
11579
|
+
permission: "CREATE_ACCOUNT_WITH_POLICY";
|
|
11580
|
+
reviewConfig: {
|
|
11581
|
+
quorum: number;
|
|
11582
|
+
userIds: string[];
|
|
11583
|
+
}[];
|
|
11584
|
+
};
|
|
11585
|
+
createdAt: Date;
|
|
11586
|
+
updatedAt: Date;
|
|
11587
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11588
|
+
reviewSteps: {
|
|
11589
|
+
stageName: string;
|
|
11590
|
+
quorum: number;
|
|
11591
|
+
}[];
|
|
11592
|
+
currentStepIndex: number;
|
|
11593
|
+
expiresAt: Date;
|
|
11594
|
+
targetId: string | null;
|
|
11595
|
+
note: {
|
|
11596
|
+
title: string;
|
|
11597
|
+
content: string;
|
|
11598
|
+
} | null;
|
|
11599
|
+
createdById: string;
|
|
11600
|
+
reviews: {
|
|
11601
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11602
|
+
createdAt: Date;
|
|
11603
|
+
updatedAt: Date;
|
|
11604
|
+
userId: string;
|
|
11605
|
+
stepIndex: number;
|
|
11606
|
+
}[];
|
|
11607
|
+
legacyId: number;
|
|
11608
|
+
expiredAt?: Date | undefined;
|
|
11609
|
+
inflight?: {
|
|
11610
|
+
retryAfter: Date;
|
|
11611
|
+
numFailed: number;
|
|
11612
|
+
lastError: string | null;
|
|
11613
|
+
} | undefined;
|
|
11614
|
+
} | {
|
|
11615
|
+
type: "EDIT_WORKSPACE_RULE";
|
|
11616
|
+
id: string;
|
|
11617
|
+
data: {
|
|
11618
|
+
permission: "CREATE_ACCOUNT_WITH_POLICY";
|
|
11619
|
+
reviewConfig: {
|
|
11620
|
+
quorum: number;
|
|
11621
|
+
userIds: string[];
|
|
11622
|
+
}[];
|
|
11623
|
+
};
|
|
11624
|
+
createdAt: Date;
|
|
11625
|
+
updatedAt: Date;
|
|
11626
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11627
|
+
reviewSteps: {
|
|
11628
|
+
stageName: string;
|
|
11629
|
+
quorum: number;
|
|
11630
|
+
}[];
|
|
11631
|
+
currentStepIndex: number;
|
|
11632
|
+
expiresAt: Date;
|
|
11633
|
+
targetId: string | null;
|
|
11634
|
+
note: {
|
|
11635
|
+
title: string;
|
|
11636
|
+
content: string;
|
|
11637
|
+
} | null;
|
|
11638
|
+
createdById: string;
|
|
11639
|
+
reviews: {
|
|
11640
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11641
|
+
createdAt: Date;
|
|
11642
|
+
updatedAt: Date;
|
|
11643
|
+
userId: string;
|
|
11644
|
+
stepIndex: number;
|
|
11645
|
+
}[];
|
|
11646
|
+
legacyId: number;
|
|
11647
|
+
expiredAt?: Date | undefined;
|
|
11648
|
+
inflight?: {
|
|
11649
|
+
retryAfter: Date;
|
|
11650
|
+
numFailed: number;
|
|
11651
|
+
lastError: string | null;
|
|
11652
|
+
} | undefined;
|
|
11653
|
+
} | {
|
|
11654
|
+
type: "CREATE_SCICONFIG";
|
|
11655
|
+
id: string;
|
|
11656
|
+
data: {
|
|
11657
|
+
config: {
|
|
11658
|
+
dapps: string[] | null;
|
|
11659
|
+
customContractCallEnabled: boolean;
|
|
11660
|
+
};
|
|
11661
|
+
account: string;
|
|
11662
|
+
};
|
|
11663
|
+
createdAt: Date;
|
|
11664
|
+
updatedAt: Date;
|
|
11665
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11666
|
+
reviewSteps: {
|
|
11667
|
+
stageName: string;
|
|
11668
|
+
quorum: number;
|
|
11669
|
+
}[];
|
|
11670
|
+
currentStepIndex: number;
|
|
11671
|
+
expiresAt: Date;
|
|
11672
|
+
targetId: string | null;
|
|
11673
|
+
note: {
|
|
11674
|
+
title: string;
|
|
11675
|
+
content: string;
|
|
11676
|
+
} | null;
|
|
11677
|
+
createdById: string;
|
|
11678
|
+
reviews: {
|
|
11679
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11680
|
+
createdAt: Date;
|
|
11681
|
+
updatedAt: Date;
|
|
11682
|
+
userId: string;
|
|
11683
|
+
stepIndex: number;
|
|
11684
|
+
}[];
|
|
11685
|
+
legacyId: number;
|
|
11686
|
+
expiredAt?: Date | undefined;
|
|
11687
|
+
inflight?: {
|
|
11688
|
+
retryAfter: Date;
|
|
11689
|
+
numFailed: number;
|
|
11690
|
+
lastError: string | null;
|
|
11691
|
+
} | undefined;
|
|
11692
|
+
} | {
|
|
11693
|
+
type: "EDIT_SCICONFIG";
|
|
11694
|
+
id: string;
|
|
11695
|
+
data: {
|
|
11696
|
+
config: {
|
|
11697
|
+
dapps: string[] | null;
|
|
11698
|
+
customContractCallEnabled: boolean;
|
|
11699
|
+
};
|
|
11700
|
+
};
|
|
11701
|
+
createdAt: Date;
|
|
11702
|
+
updatedAt: Date;
|
|
11703
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11704
|
+
reviewSteps: {
|
|
11705
|
+
stageName: string;
|
|
11706
|
+
quorum: number;
|
|
11707
|
+
}[];
|
|
11708
|
+
currentStepIndex: number;
|
|
11709
|
+
expiresAt: Date;
|
|
11710
|
+
targetId: string | null;
|
|
11711
|
+
note: {
|
|
11712
|
+
title: string;
|
|
11713
|
+
content: string;
|
|
11714
|
+
} | null;
|
|
11715
|
+
createdById: string;
|
|
11716
|
+
reviews: {
|
|
11717
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11718
|
+
createdAt: Date;
|
|
11719
|
+
updatedAt: Date;
|
|
11720
|
+
userId: string;
|
|
11721
|
+
stepIndex: number;
|
|
11722
|
+
}[];
|
|
11723
|
+
legacyId: number;
|
|
11724
|
+
expiredAt?: Date | undefined;
|
|
11725
|
+
inflight?: {
|
|
11726
|
+
retryAfter: Date;
|
|
11727
|
+
numFailed: number;
|
|
11728
|
+
lastError: string | null;
|
|
11729
|
+
} | undefined;
|
|
11730
|
+
} | {
|
|
11731
|
+
type: "CREATE_API_KEY";
|
|
11732
|
+
id: string;
|
|
11733
|
+
data: {
|
|
11734
|
+
name: string;
|
|
11735
|
+
entities: string[];
|
|
11736
|
+
scopes: {};
|
|
11737
|
+
};
|
|
11738
|
+
createdAt: Date;
|
|
11739
|
+
updatedAt: Date;
|
|
11740
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11741
|
+
reviewSteps: {
|
|
11742
|
+
stageName: string;
|
|
11743
|
+
quorum: number;
|
|
11744
|
+
}[];
|
|
11745
|
+
currentStepIndex: number;
|
|
11746
|
+
expiresAt: Date;
|
|
11747
|
+
targetId: string | null;
|
|
11748
|
+
note: {
|
|
11749
|
+
title: string;
|
|
11750
|
+
content: string;
|
|
11751
|
+
} | null;
|
|
11752
|
+
createdById: string;
|
|
11753
|
+
reviews: {
|
|
11754
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11755
|
+
createdAt: Date;
|
|
11756
|
+
updatedAt: Date;
|
|
11757
|
+
userId: string;
|
|
11758
|
+
stepIndex: number;
|
|
11759
|
+
}[];
|
|
11760
|
+
legacyId: number;
|
|
11761
|
+
expiredAt?: Date | undefined;
|
|
11762
|
+
inflight?: {
|
|
11763
|
+
retryAfter: Date;
|
|
11764
|
+
numFailed: number;
|
|
11765
|
+
lastError: string | null;
|
|
11766
|
+
} | undefined;
|
|
11767
|
+
} | {
|
|
11768
|
+
type: "EDIT_API_KEY";
|
|
11769
|
+
id: string;
|
|
11770
|
+
data: {
|
|
11771
|
+
name: string;
|
|
11772
|
+
entities: string[];
|
|
11773
|
+
scopes: {};
|
|
11774
|
+
};
|
|
11775
|
+
createdAt: Date;
|
|
11776
|
+
updatedAt: Date;
|
|
11777
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11778
|
+
reviewSteps: {
|
|
11779
|
+
stageName: string;
|
|
11780
|
+
quorum: number;
|
|
11781
|
+
}[];
|
|
11782
|
+
currentStepIndex: number;
|
|
11783
|
+
expiresAt: Date;
|
|
11784
|
+
targetId: string | null;
|
|
11785
|
+
note: {
|
|
11786
|
+
title: string;
|
|
11787
|
+
content: string;
|
|
11788
|
+
} | null;
|
|
11789
|
+
createdById: string;
|
|
11790
|
+
reviews: {
|
|
11791
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11792
|
+
createdAt: Date;
|
|
11793
|
+
updatedAt: Date;
|
|
11794
|
+
userId: string;
|
|
11795
|
+
stepIndex: number;
|
|
11796
|
+
}[];
|
|
11797
|
+
legacyId: number;
|
|
11798
|
+
expiredAt?: Date | undefined;
|
|
11799
|
+
inflight?: {
|
|
11800
|
+
retryAfter: Date;
|
|
11801
|
+
numFailed: number;
|
|
11802
|
+
lastError: string | null;
|
|
11803
|
+
} | undefined;
|
|
11804
|
+
} | {
|
|
11805
|
+
type: "REVOKE_API_KEY";
|
|
11806
|
+
id: string;
|
|
11807
|
+
data: {};
|
|
11808
|
+
createdAt: Date;
|
|
11809
|
+
updatedAt: Date;
|
|
11810
|
+
state: "INITIAL" | "PENDING_APPROVAL" | "APPROVED" | "EXECUTING" | "EXECUTED" | "FAILED" | "ABORTED" | "BLOCKED" | "EXPIRED" | "STUCK";
|
|
11811
|
+
reviewSteps: {
|
|
11812
|
+
stageName: string;
|
|
11813
|
+
quorum: number;
|
|
11814
|
+
}[];
|
|
11815
|
+
currentStepIndex: number;
|
|
11816
|
+
expiresAt: Date;
|
|
11817
|
+
targetId: string | null;
|
|
11818
|
+
note: {
|
|
11819
|
+
title: string;
|
|
11820
|
+
content: string;
|
|
11821
|
+
} | null;
|
|
11822
|
+
createdById: string;
|
|
11823
|
+
reviews: {
|
|
11824
|
+
status: "PENDING" | "APPROVED" | "QUEUED" | "REJECTED" | "OBSOLETE";
|
|
11825
|
+
createdAt: Date;
|
|
11826
|
+
updatedAt: Date;
|
|
11827
|
+
userId: string;
|
|
11828
|
+
stepIndex: number;
|
|
11829
|
+
}[];
|
|
11830
|
+
legacyId: number;
|
|
11831
|
+
expiredAt?: Date | undefined;
|
|
11832
|
+
inflight?: {
|
|
11833
|
+
retryAfter: Date;
|
|
11834
|
+
numFailed: number;
|
|
11835
|
+
lastError: string | null;
|
|
11836
|
+
} | undefined;
|
|
11837
|
+
};
|
|
11838
|
+
meta: {
|
|
11839
|
+
[x: string]: unknown;
|
|
11840
|
+
} & {
|
|
11841
|
+
openapi?: {
|
|
11842
|
+
enabled?: boolean;
|
|
11843
|
+
method: trpc_to_openapi.OpenApiMethod;
|
|
11844
|
+
path: `/${string}`;
|
|
11845
|
+
summary?: string;
|
|
11846
|
+
description?: string;
|
|
11847
|
+
protect?: boolean;
|
|
11848
|
+
tags?: string[];
|
|
11849
|
+
contentTypes?: trpc_to_openapi.OpenApiContentType[];
|
|
11850
|
+
deprecated?: boolean;
|
|
11851
|
+
requestHeaders?: z.AnyZodObject;
|
|
11852
|
+
responseHeaders?: z.AnyZodObject;
|
|
11853
|
+
successDescription?: string;
|
|
11854
|
+
errorResponses?: number[] | Record<number, string>;
|
|
11855
|
+
};
|
|
11856
|
+
} & RateLimitMetricsMeta;
|
|
11857
|
+
}>;
|
|
11858
|
+
createSuiTransaction: _trpc_server.TRPCMutationProcedure<{
|
|
11859
|
+
input: any;
|
|
11860
|
+
output: {
|
|
11861
|
+
type: "CREATE_TRANSACTION";
|
|
11862
|
+
id: string;
|
|
11863
|
+
data: {
|
|
11864
|
+
accountId: string;
|
|
11865
|
+
transaction: {
|
|
11866
|
+
type: "BITCOIN_LIKE_SEND";
|
|
11867
|
+
currency: string;
|
|
11868
|
+
recipient: string;
|
|
11869
|
+
amount: string;
|
|
11870
|
+
maxFee: string | null;
|
|
11871
|
+
feeStrategy: {
|
|
11872
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11873
|
+
feePerByte?: string | null | undefined;
|
|
11874
|
+
};
|
|
11875
|
+
} | {
|
|
11876
|
+
type: "ETHEREUM_LIKE_DEPLOY_CONTRACT";
|
|
11877
|
+
currency: string;
|
|
11878
|
+
recipient: "0x0000000000000000000000000000000000000000";
|
|
11879
|
+
amount: string;
|
|
11880
|
+
maxFee: string | null;
|
|
11881
|
+
feeStrategy: {
|
|
11882
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11883
|
+
gasLimit: string;
|
|
11884
|
+
gasPrice: string;
|
|
11885
|
+
} | {
|
|
11886
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11887
|
+
gasLimit: string;
|
|
11888
|
+
maxPriorityFeePerGas: string;
|
|
11889
|
+
maxFeePerGas: string;
|
|
11890
|
+
};
|
|
11891
|
+
contractData: string;
|
|
11892
|
+
} | {
|
|
11893
|
+
type: "ETHEREUM_LIKE_EXECUTE_CONTRACT";
|
|
11894
|
+
currency: string;
|
|
11895
|
+
recipient: string;
|
|
11896
|
+
amount: string;
|
|
11897
|
+
maxFee: string | null;
|
|
11898
|
+
feeStrategy: {
|
|
11899
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11900
|
+
gasLimit: string;
|
|
11901
|
+
gasPrice: string;
|
|
11902
|
+
} | {
|
|
11903
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11904
|
+
gasLimit: string;
|
|
11905
|
+
maxPriorityFeePerGas: string;
|
|
11906
|
+
maxFeePerGas: string;
|
|
11907
|
+
};
|
|
11908
|
+
contractData: string;
|
|
11909
|
+
} | {
|
|
11910
|
+
type: "ETHEREUM_LIKE_SEND";
|
|
11911
|
+
currency: string;
|
|
11912
|
+
recipient: string;
|
|
11913
|
+
amount: string;
|
|
11914
|
+
maxFee: string | null;
|
|
11915
|
+
feeStrategy: {
|
|
11916
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11917
|
+
gasLimit: string;
|
|
11918
|
+
gasPrice: string;
|
|
11919
|
+
} | {
|
|
11920
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11921
|
+
gasLimit: string;
|
|
11922
|
+
maxPriorityFeePerGas: string;
|
|
11923
|
+
maxFeePerGas: string;
|
|
11924
|
+
};
|
|
11925
|
+
} | {
|
|
11926
|
+
type: "TEZOS_LIKE_SEND";
|
|
11927
|
+
currency: string;
|
|
11928
|
+
recipient: string;
|
|
11929
|
+
amount: string;
|
|
11930
|
+
maxFee: string | null;
|
|
11931
|
+
feeStrategy: {
|
|
11932
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11933
|
+
gasLimit: string;
|
|
11934
|
+
storageLimit: string | null;
|
|
11935
|
+
};
|
|
11936
|
+
} | {
|
|
11937
|
+
type: "TEZOS_LIKE_DELEGATE";
|
|
11938
|
+
currency: string;
|
|
11939
|
+
recipient: string;
|
|
11940
|
+
maxFee: string | null;
|
|
11941
|
+
feeStrategy: {
|
|
11942
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11943
|
+
gasLimit: string;
|
|
11944
|
+
storageLimit: string | null;
|
|
11945
|
+
};
|
|
11946
|
+
amount?: string | undefined;
|
|
11947
|
+
} | {
|
|
11948
|
+
type: "TEZOS_LIKE_UNDELEGATE";
|
|
11949
|
+
currency: string;
|
|
11950
|
+
maxFee: string | null;
|
|
11951
|
+
feeStrategy: {
|
|
11952
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
11953
|
+
gasLimit: string;
|
|
11954
|
+
storageLimit: string | null;
|
|
11955
|
+
};
|
|
11956
|
+
recipient?: string | undefined;
|
|
11957
|
+
amount?: string | undefined;
|
|
11958
|
+
} | {
|
|
11959
|
+
type: "POLKADOT_LIKE_ADDPROXY";
|
|
11960
|
+
proxy: string;
|
|
11961
|
+
currency: string;
|
|
11962
|
+
kind: "Staking";
|
|
11963
|
+
} | {
|
|
11964
|
+
type: "POLKADOT_LIKE_ANONYMOUSPROXY";
|
|
11965
|
+
currency: string;
|
|
11966
|
+
} | {
|
|
11967
|
+
type: "POLKADOT_LIKE_BOND";
|
|
11968
|
+
currency: string;
|
|
11969
|
+
amount: string;
|
|
11970
|
+
payee: "Staked" | "Stash";
|
|
11971
|
+
} | {
|
|
11972
|
+
type: "POLKADOT_LIKE_BONDEXTRA";
|
|
11973
|
+
currency: string;
|
|
11974
|
+
amount: string;
|
|
11975
|
+
} | {
|
|
11976
|
+
type: "POLKADOT_LIKE_CHILL";
|
|
11977
|
+
currency: string;
|
|
11978
|
+
} | {
|
|
11979
|
+
type: "POLKADOT_LIKE_KILLANONYMOUS";
|
|
11980
|
+
currency: string;
|
|
11981
|
+
} | {
|
|
11982
|
+
type: "POLKADOT_LIKE_REBOND";
|
|
11983
|
+
currency: string;
|
|
11984
|
+
amount: string;
|
|
11985
|
+
} | {
|
|
11986
|
+
type: "POLKADOT_LIKE_REMOVEPROXY";
|
|
11987
|
+
proxy: string;
|
|
11988
|
+
currency: string;
|
|
11989
|
+
kind: "Staking";
|
|
11990
|
+
} | {
|
|
11991
|
+
type: "POLKADOT_LIKE_SEND";
|
|
11992
|
+
currency: string;
|
|
11993
|
+
recipient: string;
|
|
11994
|
+
amount: string;
|
|
11995
|
+
maxFee: string | null;
|
|
11996
|
+
} | {
|
|
11997
|
+
type: "POLKADOT_LIKE_SETPAYEE";
|
|
11998
|
+
currency: string;
|
|
11999
|
+
payee: "Staked" | "Stash";
|
|
12000
|
+
} | {
|
|
12001
|
+
type: "POLKADOT_LIKE_UNBOND";
|
|
12002
|
+
currency: string;
|
|
12003
|
+
amount: string;
|
|
12004
|
+
} | {
|
|
12005
|
+
type: "POLKADOT_LIKE_WITHDRAWUNBONDED";
|
|
12006
|
+
currency: string;
|
|
12007
|
+
} | {
|
|
12008
|
+
type: "RIPPLE_LIKE_SEND";
|
|
12009
|
+
currency: string;
|
|
12010
|
+
recipient: string;
|
|
12011
|
+
destinationTag: string | null;
|
|
12012
|
+
amount: string;
|
|
12013
|
+
maxFee: string | null;
|
|
12014
|
+
feeStrategy: {
|
|
12015
|
+
type: "FAST" | "NORMAL" | "SLOW" | "CUSTOM";
|
|
12016
|
+
};
|
|
12017
|
+
} | {
|
|
12018
|
+
type: "STELLAR_LIKE_SEND";
|
|
12019
|
+
currency: string;
|
|
12020
|
+
recipient: string;
|
|
12021
|
+
amount: string;
|
|
12022
|
+
maxFee: string | null;
|
|
12023
|
+
feeStrategy: {
|
|
12024
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12025
|
+
};
|
|
12026
|
+
memo: {
|
|
12027
|
+
MEMO_TEXT: string;
|
|
12028
|
+
} | {
|
|
12029
|
+
MEMO_ID: string;
|
|
12030
|
+
} | {
|
|
12031
|
+
MEMO_HASH: string;
|
|
12032
|
+
} | {
|
|
12033
|
+
MEMO_RETURN: string;
|
|
12034
|
+
} | null;
|
|
12035
|
+
} | {
|
|
12036
|
+
type: "SOLANA_LIKE_CREATE_DELEGATE_STAKE";
|
|
12037
|
+
currency: string;
|
|
12038
|
+
recipient: string;
|
|
12039
|
+
amount: string;
|
|
12040
|
+
maxFee: string | null;
|
|
12041
|
+
feeStrategy: {
|
|
12042
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12043
|
+
};
|
|
12044
|
+
} | {
|
|
12045
|
+
type: "SOLANA_LIKE_DEACTIVATE_STAKE";
|
|
12046
|
+
currency: string;
|
|
12047
|
+
maxFee: string | null;
|
|
12048
|
+
feeStrategy: {
|
|
12049
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12050
|
+
};
|
|
12051
|
+
stakeAccount: string;
|
|
12052
|
+
} | {
|
|
12053
|
+
type: "SOLANA_LIKE_DELEGATE_STAKE";
|
|
12054
|
+
currency: string;
|
|
12055
|
+
recipient: string;
|
|
12056
|
+
maxFee: string | null;
|
|
12057
|
+
feeStrategy: {
|
|
12058
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12059
|
+
};
|
|
12060
|
+
stakeAccount: string;
|
|
12061
|
+
} | {
|
|
12062
|
+
type: "SOLANA_LIKE_MERGE_STAKE";
|
|
12063
|
+
currency: string;
|
|
12064
|
+
maxFee: string | null;
|
|
12065
|
+
feeStrategy: {
|
|
12066
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12067
|
+
};
|
|
12068
|
+
mergeSrcAccount: string;
|
|
12069
|
+
mergeDstAccount: string;
|
|
12070
|
+
} | {
|
|
12071
|
+
type: "SOLANA_LIKE_SEND";
|
|
12072
|
+
currency: string;
|
|
12073
|
+
recipient: string;
|
|
12074
|
+
amount: string;
|
|
12075
|
+
maxFee: string | null;
|
|
12076
|
+
feeStrategy: {
|
|
12077
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12078
|
+
};
|
|
12079
|
+
} | {
|
|
12080
|
+
type: "SOLANA_LIKE_SPLIT_DEACTIVATE_STAKE";
|
|
12081
|
+
currency: string;
|
|
12082
|
+
amount: string;
|
|
12083
|
+
maxFee: string | null;
|
|
12084
|
+
feeStrategy: {
|
|
12085
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12086
|
+
};
|
|
12087
|
+
stakeAccount: string;
|
|
12088
|
+
} | {
|
|
12089
|
+
type: "SOLANA_LIKE_SPLIT_STAKE";
|
|
12090
|
+
currency: string;
|
|
12091
|
+
amount: string;
|
|
12092
|
+
maxFee: string | null;
|
|
12093
|
+
feeStrategy: {
|
|
12094
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12095
|
+
};
|
|
12096
|
+
stakeAccount: string;
|
|
12097
|
+
} | {
|
|
12098
|
+
type: "SOLANA_LIKE_WITHDRAW_STAKE";
|
|
12099
|
+
currency: string;
|
|
12100
|
+
amount: string;
|
|
12101
|
+
maxFee: string | null;
|
|
12102
|
+
feeStrategy: {
|
|
12103
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12104
|
+
};
|
|
12105
|
+
stakeAccount: string;
|
|
12106
|
+
} | {
|
|
12107
|
+
type: "SOLANA_LIKE_SEND_TOKEN";
|
|
12108
|
+
currency: string;
|
|
12109
|
+
recipient: string;
|
|
12110
|
+
amount: string;
|
|
12111
|
+
maxFee: string | null;
|
|
12112
|
+
feeStrategy: {
|
|
12113
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12114
|
+
};
|
|
12115
|
+
} | {
|
|
12116
|
+
type: "SOLANA_LIKE_FUND_AND_SEND_TOKEN";
|
|
9607
12117
|
currency: string;
|
|
9608
12118
|
recipient: string;
|
|
9609
12119
|
amount: string;
|
|
@@ -9611,6 +12121,12 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
9611
12121
|
feeStrategy: {
|
|
9612
12122
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
9613
12123
|
};
|
|
12124
|
+
} | {
|
|
12125
|
+
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
12126
|
+
currency: string;
|
|
12127
|
+
feeStrategy: {
|
|
12128
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12129
|
+
};
|
|
9614
12130
|
} | {
|
|
9615
12131
|
type: "CARDANO_LIKE_SEND";
|
|
9616
12132
|
currency: string;
|
|
@@ -9674,6 +12190,24 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
9674
12190
|
type: "GENERIC_TRANSACTION";
|
|
9675
12191
|
currency: string;
|
|
9676
12192
|
rawTx: string;
|
|
12193
|
+
} | {
|
|
12194
|
+
type: "TRON_LIKE_SEND";
|
|
12195
|
+
currency: string;
|
|
12196
|
+
recipient: string;
|
|
12197
|
+
amount: string;
|
|
12198
|
+
maxFee: string | null;
|
|
12199
|
+
feeStrategy: {
|
|
12200
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12201
|
+
};
|
|
12202
|
+
} | {
|
|
12203
|
+
type: "TRON_LIKE_SEND_TOKEN";
|
|
12204
|
+
currency: string;
|
|
12205
|
+
recipient: string;
|
|
12206
|
+
amount: string;
|
|
12207
|
+
maxFee: string | null;
|
|
12208
|
+
feeStrategy: {
|
|
12209
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
12210
|
+
};
|
|
9677
12211
|
};
|
|
9678
12212
|
};
|
|
9679
12213
|
createdAt: Date;
|
|
@@ -11093,7 +13627,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
11093
13627
|
id: string;
|
|
11094
13628
|
data: {
|
|
11095
13629
|
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";
|
|
13630
|
+
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
13631
|
derivationPath: string;
|
|
11098
13632
|
currency: string;
|
|
11099
13633
|
index: number;
|
|
@@ -11940,7 +14474,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
11940
14474
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
11941
14475
|
};
|
|
11942
14476
|
} | {
|
|
11943
|
-
type: "
|
|
14477
|
+
type: "SOLANA_LIKE_FUND_AND_SEND_TOKEN";
|
|
11944
14478
|
currency: string;
|
|
11945
14479
|
recipient: string;
|
|
11946
14480
|
amount: string;
|
|
@@ -11948,6 +14482,12 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
11948
14482
|
feeStrategy: {
|
|
11949
14483
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
11950
14484
|
};
|
|
14485
|
+
} | {
|
|
14486
|
+
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
14487
|
+
currency: string;
|
|
14488
|
+
feeStrategy: {
|
|
14489
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
14490
|
+
};
|
|
11951
14491
|
} | {
|
|
11952
14492
|
type: "CARDANO_LIKE_SEND";
|
|
11953
14493
|
currency: string;
|
|
@@ -12011,6 +14551,24 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
12011
14551
|
type: "GENERIC_TRANSACTION";
|
|
12012
14552
|
currency: string;
|
|
12013
14553
|
rawTx: string;
|
|
14554
|
+
} | {
|
|
14555
|
+
type: "TRON_LIKE_SEND";
|
|
14556
|
+
currency: string;
|
|
14557
|
+
recipient: string;
|
|
14558
|
+
amount: string;
|
|
14559
|
+
maxFee: string | null;
|
|
14560
|
+
feeStrategy: {
|
|
14561
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
14562
|
+
};
|
|
14563
|
+
} | {
|
|
14564
|
+
type: "TRON_LIKE_SEND_TOKEN";
|
|
14565
|
+
currency: string;
|
|
14566
|
+
recipient: string;
|
|
14567
|
+
amount: string;
|
|
14568
|
+
maxFee: string | null;
|
|
14569
|
+
feeStrategy: {
|
|
14570
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
14571
|
+
};
|
|
12014
14572
|
};
|
|
12015
14573
|
};
|
|
12016
14574
|
createdAt: Date;
|
|
@@ -13430,7 +15988,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
13430
15988
|
id: string;
|
|
13431
15989
|
data: {
|
|
13432
15990
|
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";
|
|
15991
|
+
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
15992
|
derivationPath: string;
|
|
13435
15993
|
currency: string;
|
|
13436
15994
|
index: number;
|
|
@@ -14277,7 +16835,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
14277
16835
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
14278
16836
|
};
|
|
14279
16837
|
} | {
|
|
14280
|
-
type: "
|
|
16838
|
+
type: "SOLANA_LIKE_FUND_AND_SEND_TOKEN";
|
|
14281
16839
|
currency: string;
|
|
14282
16840
|
recipient: string;
|
|
14283
16841
|
amount: string;
|
|
@@ -14285,6 +16843,12 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
14285
16843
|
feeStrategy: {
|
|
14286
16844
|
type: "FAST" | "NORMAL" | "SLOW";
|
|
14287
16845
|
};
|
|
16846
|
+
} | {
|
|
16847
|
+
type: "SOLANA_LIKE_CREATE_SPL_TOKEN_ACCOUNT";
|
|
16848
|
+
currency: string;
|
|
16849
|
+
feeStrategy: {
|
|
16850
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
16851
|
+
};
|
|
14288
16852
|
} | {
|
|
14289
16853
|
type: "CARDANO_LIKE_SEND";
|
|
14290
16854
|
currency: string;
|
|
@@ -14348,6 +16912,24 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
14348
16912
|
type: "GENERIC_TRANSACTION";
|
|
14349
16913
|
currency: string;
|
|
14350
16914
|
rawTx: string;
|
|
16915
|
+
} | {
|
|
16916
|
+
type: "TRON_LIKE_SEND";
|
|
16917
|
+
currency: string;
|
|
16918
|
+
recipient: string;
|
|
16919
|
+
amount: string;
|
|
16920
|
+
maxFee: string | null;
|
|
16921
|
+
feeStrategy: {
|
|
16922
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
16923
|
+
};
|
|
16924
|
+
} | {
|
|
16925
|
+
type: "TRON_LIKE_SEND_TOKEN";
|
|
16926
|
+
currency: string;
|
|
16927
|
+
recipient: string;
|
|
16928
|
+
amount: string;
|
|
16929
|
+
maxFee: string | null;
|
|
16930
|
+
feeStrategy: {
|
|
16931
|
+
type: "FAST" | "NORMAL" | "SLOW";
|
|
16932
|
+
};
|
|
14351
16933
|
};
|
|
14352
16934
|
};
|
|
14353
16935
|
createdAt: Date;
|
|
@@ -15767,7 +18349,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
15767
18349
|
id: string;
|
|
15768
18350
|
data: {
|
|
15769
18351
|
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";
|
|
18352
|
+
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
18353
|
derivationPath: string;
|
|
15772
18354
|
currency: string;
|
|
15773
18355
|
index: number;
|
|
@@ -21025,7 +23607,7 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
21025
23607
|
next: string | null;
|
|
21026
23608
|
results: {
|
|
21027
23609
|
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";
|
|
23610
|
+
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
23611
|
id: string;
|
|
21030
23612
|
units: {
|
|
21031
23613
|
name: string;
|
|
@@ -21057,17 +23639,17 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
21057
23639
|
tokens: _trpc_server.TRPCQueryProcedure<{
|
|
21058
23640
|
input: {
|
|
21059
23641
|
search?: string | undefined;
|
|
21060
|
-
cursor?: string | undefined;
|
|
21061
23642
|
network?: string | undefined;
|
|
23643
|
+
cursor?: string | undefined;
|
|
21062
23644
|
};
|
|
21063
23645
|
output: {
|
|
21064
23646
|
next: string | null;
|
|
21065
23647
|
results: {
|
|
21066
23648
|
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";
|
|
23649
|
+
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
23650
|
id: string;
|
|
21069
|
-
currency: string;
|
|
21070
23651
|
contractAddress: string;
|
|
23652
|
+
currency: string;
|
|
21071
23653
|
units: {
|
|
21072
23654
|
name: string;
|
|
21073
23655
|
code: string;
|
|
@@ -21095,6 +23677,32 @@ declare const appRouter: _trpc_server.TRPCBuiltRouter<{
|
|
|
21095
23677
|
};
|
|
21096
23678
|
} & RateLimitMetricsMeta;
|
|
21097
23679
|
}>;
|
|
23680
|
+
all: _trpc_server.TRPCQueryProcedure<{
|
|
23681
|
+
input: void;
|
|
23682
|
+
output: {
|
|
23683
|
+
currencies: CurrencyResponse[];
|
|
23684
|
+
tokens: TokenResponse[];
|
|
23685
|
+
};
|
|
23686
|
+
meta: {
|
|
23687
|
+
[x: string]: unknown;
|
|
23688
|
+
} & {
|
|
23689
|
+
openapi?: {
|
|
23690
|
+
enabled?: boolean;
|
|
23691
|
+
method: trpc_to_openapi.OpenApiMethod;
|
|
23692
|
+
path: `/${string}`;
|
|
23693
|
+
summary?: string;
|
|
23694
|
+
description?: string;
|
|
23695
|
+
protect?: boolean;
|
|
23696
|
+
tags?: string[];
|
|
23697
|
+
contentTypes?: trpc_to_openapi.OpenApiContentType[];
|
|
23698
|
+
deprecated?: boolean;
|
|
23699
|
+
requestHeaders?: z.AnyZodObject;
|
|
23700
|
+
responseHeaders?: z.AnyZodObject;
|
|
23701
|
+
successDescription?: string;
|
|
23702
|
+
errorResponses?: number[] | Record<number, string>;
|
|
23703
|
+
};
|
|
23704
|
+
} & RateLimitMetricsMeta;
|
|
23705
|
+
}>;
|
|
21098
23706
|
currencyCapabilities: _trpc_server.TRPCQueryProcedure<{
|
|
21099
23707
|
input: {
|
|
21100
23708
|
id: string;
|
|
@@ -22492,9 +25100,9 @@ declare const zTransactionResponse: z__default.ZodDiscriminatedUnion<"type", [z_
|
|
|
22492
25100
|
senders: z__default.ZodArray<z__default.ZodString, "many">;
|
|
22493
25101
|
recipients: z__default.ZodArray<z__default.ZodString, "many">;
|
|
22494
25102
|
} & {
|
|
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", "
|
|
25103
|
+
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
25104
|
}, "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" | "
|
|
25105
|
+
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
25106
|
status: "FAILED" | "SUCCESSFUL";
|
|
22499
25107
|
id: string;
|
|
22500
25108
|
hash: string;
|
|
@@ -22508,7 +25116,7 @@ declare const zTransactionResponse: z__default.ZodDiscriminatedUnion<"type", [z_
|
|
|
22508
25116
|
senders: string[];
|
|
22509
25117
|
recipients: string[];
|
|
22510
25118
|
}, {
|
|
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" | "
|
|
25119
|
+
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
25120
|
status: "FAILED" | "SUCCESSFUL";
|
|
22513
25121
|
id: string;
|
|
22514
25122
|
hash: string;
|
|
@@ -22690,13 +25298,13 @@ declare const zEstimatedFees: z__default.ZodDiscriminatedUnion<"type", [z__defau
|
|
|
22690
25298
|
nonce: string;
|
|
22691
25299
|
priorityFees: string;
|
|
22692
25300
|
}>, z__default.ZodObject<{
|
|
22693
|
-
type: z__default.ZodLiteral<"
|
|
25301
|
+
type: z__default.ZodLiteral<"RIPPLE_LIKE">;
|
|
22694
25302
|
fee: z__default.ZodString;
|
|
22695
25303
|
}, "strip", z__default.ZodTypeAny, {
|
|
22696
|
-
type: "
|
|
25304
|
+
type: "RIPPLE_LIKE";
|
|
22697
25305
|
fee: string;
|
|
22698
25306
|
}, {
|
|
22699
|
-
type: "
|
|
25307
|
+
type: "RIPPLE_LIKE";
|
|
22700
25308
|
fee: string;
|
|
22701
25309
|
}>, z__default.ZodObject<{
|
|
22702
25310
|
type: z__default.ZodLiteral<"STELLAR_LIKE">;
|
|
@@ -22708,13 +25316,22 @@ declare const zEstimatedFees: z__default.ZodDiscriminatedUnion<"type", [z__defau
|
|
|
22708
25316
|
type: "STELLAR_LIKE";
|
|
22709
25317
|
fee: string;
|
|
22710
25318
|
}>, z__default.ZodObject<{
|
|
22711
|
-
type: z__default.ZodLiteral<"
|
|
25319
|
+
type: z__default.ZodLiteral<"SUI_LIKE">;
|
|
22712
25320
|
fee: z__default.ZodString;
|
|
22713
25321
|
}, "strip", z__default.ZodTypeAny, {
|
|
22714
|
-
type: "
|
|
25322
|
+
type: "SUI_LIKE";
|
|
22715
25323
|
fee: string;
|
|
22716
25324
|
}, {
|
|
22717
|
-
type: "
|
|
25325
|
+
type: "SUI_LIKE";
|
|
25326
|
+
fee: string;
|
|
25327
|
+
}>, z__default.ZodObject<{
|
|
25328
|
+
type: z__default.ZodLiteral<"TRON_LIKE">;
|
|
25329
|
+
fee: z__default.ZodString;
|
|
25330
|
+
}, "strip", z__default.ZodTypeAny, {
|
|
25331
|
+
type: "TRON_LIKE";
|
|
25332
|
+
fee: string;
|
|
25333
|
+
}, {
|
|
25334
|
+
type: "TRON_LIKE";
|
|
22718
25335
|
fee: string;
|
|
22719
25336
|
}>]>;
|
|
22720
25337
|
|
|
@@ -23242,7 +25859,7 @@ declare const zTransactionWithMetaResponse: z__default.ZodDiscriminatedUnion<"ty
|
|
|
23242
25859
|
senders: z__default.ZodArray<z__default.ZodString, "many">;
|
|
23243
25860
|
recipients: z__default.ZodArray<z__default.ZodString, "many">;
|
|
23244
25861
|
} & {
|
|
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", "
|
|
25862
|
+
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
25863
|
} & {
|
|
23247
25864
|
note: z__default.ZodNullable<z__default.ZodObject<{
|
|
23248
25865
|
title: z__default.ZodString;
|
|
@@ -23255,7 +25872,7 @@ declare const zTransactionWithMetaResponse: z__default.ZodDiscriminatedUnion<"ty
|
|
|
23255
25872
|
content: string;
|
|
23256
25873
|
}>>;
|
|
23257
25874
|
}, "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" | "
|
|
25875
|
+
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
25876
|
status: "FAILED" | "SUCCESSFUL";
|
|
23260
25877
|
id: string;
|
|
23261
25878
|
note: {
|
|
@@ -23273,7 +25890,7 @@ declare const zTransactionWithMetaResponse: z__default.ZodDiscriminatedUnion<"ty
|
|
|
23273
25890
|
senders: string[];
|
|
23274
25891
|
recipients: string[];
|
|
23275
25892
|
}, {
|
|
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" | "
|
|
25893
|
+
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
25894
|
status: "FAILED" | "SUCCESSFUL";
|
|
23278
25895
|
id: string;
|
|
23279
25896
|
note: {
|
|
@@ -24018,7 +26635,7 @@ declare const zTransactionWithMetaResponse: z__default.ZodDiscriminatedUnion<"ty
|
|
|
24018
26635
|
senders: z__default.ZodArray<z__default.ZodString, "many">;
|
|
24019
26636
|
recipients: z__default.ZodArray<z__default.ZodString, "many">;
|
|
24020
26637
|
} & {
|
|
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", "
|
|
26638
|
+
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
26639
|
} & {
|
|
24023
26640
|
note: z__default.ZodNullable<z__default.ZodObject<{
|
|
24024
26641
|
title: z__default.ZodString;
|
|
@@ -24031,7 +26648,7 @@ declare const zTransactionWithMetaResponse: z__default.ZodDiscriminatedUnion<"ty
|
|
|
24031
26648
|
content: string;
|
|
24032
26649
|
}>>;
|
|
24033
26650
|
}, "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" | "
|
|
26651
|
+
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
26652
|
status: "FAILED" | "SUCCESSFUL";
|
|
24036
26653
|
id: string;
|
|
24037
26654
|
note: {
|
|
@@ -24049,7 +26666,7 @@ declare const zTransactionWithMetaResponse: z__default.ZodDiscriminatedUnion<"ty
|
|
|
24049
26666
|
senders: string[];
|
|
24050
26667
|
recipients: string[];
|
|
24051
26668
|
}, {
|
|
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" | "
|
|
26669
|
+
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
26670
|
status: "FAILED" | "SUCCESSFUL";
|
|
24054
26671
|
id: string;
|
|
24055
26672
|
note: {
|
|
@@ -24273,140 +26890,6 @@ declare const zTransactionWithMetaResponse: z__default.ZodDiscriminatedUnion<"ty
|
|
|
24273
26890
|
}>)[]]>;
|
|
24274
26891
|
type TransactionWithMetaResponse = z__default.infer<typeof zTransactionWithMetaResponse>;
|
|
24275
26892
|
|
|
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
26893
|
declare const zAuthResponse: z$1.ZodObject<{
|
|
24411
26894
|
accessToken: z$1.ZodString;
|
|
24412
26895
|
expiresInSeconds: z$1.ZodNumber;
|
|
@@ -26417,6 +28900,7 @@ declare const zPolicyResponse: z$1.ZodObject<{
|
|
|
26417
28900
|
name: z$1.ZodString;
|
|
26418
28901
|
description: z$1.ZodNullable<z$1.ZodString>;
|
|
26419
28902
|
currency: z$1.ZodNullable<z$1.ZodString>;
|
|
28903
|
+
network: z$1.ZodNullable<z$1.ZodString>;
|
|
26420
28904
|
isPrivate: z$1.ZodBoolean;
|
|
26421
28905
|
rules: z$1.ZodArray<z$1.ZodObject<{
|
|
26422
28906
|
reviewSteps: z$1.ZodArray<z$1.ZodUnion<[z$1.ZodObject<{
|
|
@@ -26677,6 +29161,7 @@ declare const zPolicyResponse: z$1.ZodObject<{
|
|
|
26677
29161
|
}, "strip", z$1.ZodTypeAny, {
|
|
26678
29162
|
name: string;
|
|
26679
29163
|
id: string;
|
|
29164
|
+
network: string | null;
|
|
26680
29165
|
createdAt: Date;
|
|
26681
29166
|
updatedAt: Date;
|
|
26682
29167
|
users: {
|
|
@@ -26740,6 +29225,7 @@ declare const zPolicyResponse: z$1.ZodObject<{
|
|
|
26740
29225
|
}, {
|
|
26741
29226
|
name: string;
|
|
26742
29227
|
id: string;
|
|
29228
|
+
network: string | null;
|
|
26743
29229
|
createdAt: Date;
|
|
26744
29230
|
updatedAt: Date;
|
|
26745
29231
|
users: {
|
|
@@ -27758,4 +30244,4 @@ declare const zWorkspaceResponse: z__default.ZodObject<{
|
|
|
27758
30244
|
}>;
|
|
27759
30245
|
type WorkspaceResponse = z__default.infer<typeof zWorkspaceResponse>;
|
|
27760
30246
|
|
|
27761
|
-
export { type AdminResponse, type AllowedAction, type AllowedActionsResponse, type AllowedResourcesResponse, type AppRouter, type AuthResponse, type CreateTradelinkOrgEntityInput as CreateTradelinkExchangeInput,
|
|
30247
|
+
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 };
|