@ledgerhq/revault-api 1.83.0 → 1.83.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{app-lib-wzQKqbv_.d.mts → app-lib-CylpEF5I.d.mts} +1058 -1058
- package/lib/fakes.d.mts +1 -1
- package/lib/index.d.mts +1 -1
- package/lib/internal/app-lib.d.mts +715 -715
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Cn as UserRole, Dr as zOidcConfig, J as ActivityTracer, Ji as TransactionData, K as BackofficePermissionMeta, Ka as Note, Ki as SendOnlyTransactionData, Sn as UserDeviceType, X as BackofficePermission, Y as ExtendedPrismaClient, cn as MaintenanceMode, en as ActivationStatus, it as VaultRequestResponse, oi as HsmCertificate, on as GateUserType, po as HsmWorkspaceComparison, q as RateLimitMetricsMeta, tt as RequestReview } from "../app-lib-
|
|
1
|
+
import { Cn as UserRole, Dr as zOidcConfig, J as ActivityTracer, Ji as TransactionData, K as BackofficePermissionMeta, Ka as Note, Ki as SendOnlyTransactionData, Sn as UserDeviceType, X as BackofficePermission, Y as ExtendedPrismaClient, cn as MaintenanceMode, en as ActivationStatus, it as VaultRequestResponse, oi as HsmCertificate, on as GateUserType, po as HsmWorkspaceComparison, q as RateLimitMetricsMeta, tt as RequestReview } from "../app-lib-CylpEF5I.mjs";
|
|
2
2
|
import z from "zod";
|
|
3
3
|
import "trpc-to-openapi";
|
|
4
4
|
//#region src/core/workspaces/schemas.d.ts
|
|
@@ -3088,6 +3088,71 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3088
3088
|
id: string;
|
|
3089
3089
|
};
|
|
3090
3090
|
output: ({
|
|
3091
|
+
type: "EDIT_EXTERNAL_SIGNER_PUBKEYS";
|
|
3092
|
+
data: {
|
|
3093
|
+
previousPublicKeys: string[];
|
|
3094
|
+
requestedPublicKeys: string[];
|
|
3095
|
+
};
|
|
3096
|
+
id: string;
|
|
3097
|
+
legacyId: number;
|
|
3098
|
+
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
3099
|
+
reviewSteps: {
|
|
3100
|
+
stageName: string;
|
|
3101
|
+
quorum: number;
|
|
3102
|
+
}[];
|
|
3103
|
+
currentStepIndex: number;
|
|
3104
|
+
expiresAt: Date;
|
|
3105
|
+
targetId: string | null;
|
|
3106
|
+
note: Note | null;
|
|
3107
|
+
reviews: RequestReview[];
|
|
3108
|
+
createdAt: Date;
|
|
3109
|
+
updatedAt: Date;
|
|
3110
|
+
createdById: string;
|
|
3111
|
+
inflight?: {
|
|
3112
|
+
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3113
|
+
retryAfter: Date;
|
|
3114
|
+
} | undefined;
|
|
3115
|
+
scanHistory?: {
|
|
3116
|
+
type: "creation" | "pre_signature";
|
|
3117
|
+
timestamp: string;
|
|
3118
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3119
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3120
|
+
message: string;
|
|
3121
|
+
tinyUrl: string;
|
|
3122
|
+
}[] | undefined;
|
|
3123
|
+
} | {
|
|
3124
|
+
type: "UPDATE_QUORUM";
|
|
3125
|
+
data: {
|
|
3126
|
+
quorum: number;
|
|
3127
|
+
};
|
|
3128
|
+
id: string;
|
|
3129
|
+
legacyId: number;
|
|
3130
|
+
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
3131
|
+
reviewSteps: {
|
|
3132
|
+
stageName: string;
|
|
3133
|
+
quorum: number;
|
|
3134
|
+
}[];
|
|
3135
|
+
currentStepIndex: number;
|
|
3136
|
+
expiresAt: Date;
|
|
3137
|
+
targetId: string | null;
|
|
3138
|
+
note: Note | null;
|
|
3139
|
+
reviews: RequestReview[];
|
|
3140
|
+
createdAt: Date;
|
|
3141
|
+
updatedAt: Date;
|
|
3142
|
+
createdById: string;
|
|
3143
|
+
inflight?: {
|
|
3144
|
+
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
3145
|
+
retryAfter: Date;
|
|
3146
|
+
} | undefined;
|
|
3147
|
+
scanHistory?: {
|
|
3148
|
+
type: "creation" | "pre_signature";
|
|
3149
|
+
timestamp: string;
|
|
3150
|
+
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
3151
|
+
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
3152
|
+
message: string;
|
|
3153
|
+
tinyUrl: string;
|
|
3154
|
+
}[] | undefined;
|
|
3155
|
+
} | {
|
|
3091
3156
|
type: "CREATE_TRANSACTION";
|
|
3092
3157
|
data: {
|
|
3093
3158
|
accountId: string;
|
|
@@ -3122,9 +3187,33 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3122
3187
|
tinyUrl: string;
|
|
3123
3188
|
}[] | undefined;
|
|
3124
3189
|
} | {
|
|
3125
|
-
type: "
|
|
3190
|
+
type: "SIGN_MESSAGE";
|
|
3126
3191
|
data: {
|
|
3127
|
-
|
|
3192
|
+
message: {
|
|
3193
|
+
type: "EIP191";
|
|
3194
|
+
data: string;
|
|
3195
|
+
} | {
|
|
3196
|
+
type: "EIP712";
|
|
3197
|
+
data: {
|
|
3198
|
+
types: Record<string, {
|
|
3199
|
+
name: string;
|
|
3200
|
+
type: string;
|
|
3201
|
+
}[]>;
|
|
3202
|
+
primaryType: string;
|
|
3203
|
+
domain: Record<string, any>;
|
|
3204
|
+
message: Record<string, any>;
|
|
3205
|
+
};
|
|
3206
|
+
} | {
|
|
3207
|
+
type: "CIP8";
|
|
3208
|
+
data: string;
|
|
3209
|
+
signingKey: "PAYMENT" | "STAKE";
|
|
3210
|
+
} | {
|
|
3211
|
+
type: "BIP137";
|
|
3212
|
+
data: string;
|
|
3213
|
+
};
|
|
3214
|
+
accountId: string;
|
|
3215
|
+
address: string;
|
|
3216
|
+
derivationPath: string;
|
|
3128
3217
|
};
|
|
3129
3218
|
id: string;
|
|
3130
3219
|
legacyId: number;
|
|
@@ -3190,9 +3279,13 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3190
3279
|
tinyUrl: string;
|
|
3191
3280
|
}[] | undefined;
|
|
3192
3281
|
} | {
|
|
3193
|
-
type: "
|
|
3282
|
+
type: "CREATE_ACCOUNT";
|
|
3194
3283
|
data: {
|
|
3195
3284
|
name: string;
|
|
3285
|
+
currency: string;
|
|
3286
|
+
contractAddress: string | null;
|
|
3287
|
+
tokenIdentifier: string | null;
|
|
3288
|
+
bitcoinAddressDerivationMode?: "NEW" | "STATIC" | undefined;
|
|
3196
3289
|
governance: {
|
|
3197
3290
|
type: "CLASSIC";
|
|
3198
3291
|
policy: {
|
|
@@ -3216,6 +3309,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3216
3309
|
};
|
|
3217
3310
|
} | {
|
|
3218
3311
|
type: "TRADELINK";
|
|
3312
|
+
assetManagerId: string;
|
|
3219
3313
|
exchangeConfigs: {
|
|
3220
3314
|
exchangeId: string;
|
|
3221
3315
|
repledgeAuthorized: boolean;
|
|
@@ -3233,6 +3327,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3233
3327
|
}[];
|
|
3234
3328
|
};
|
|
3235
3329
|
};
|
|
3330
|
+
portfolioIds?: string[] | undefined;
|
|
3331
|
+
index: number;
|
|
3332
|
+
derivationPath: string;
|
|
3333
|
+
type: "BITCOIN_LIKE" | "CANTON_LIKE" | "CARDANO_LIKE" | "ETHEREUM_LIKE" | "GENERIC_LIKE" | "HEDERA_LIKE" | "POLKADOT_LIKE" | "RAW_SIGNING" | "RIPPLE_LIKE" | "SOLANA_LIKE" | "STELLAR_LIKE" | "SUI_LIKE" | "TEZOS_LIKE" | "TRON_LIKE";
|
|
3236
3334
|
};
|
|
3237
3335
|
id: string;
|
|
3238
3336
|
legacyId: number;
|
|
@@ -3262,11 +3360,49 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3262
3360
|
tinyUrl: string;
|
|
3263
3361
|
}[] | undefined;
|
|
3264
3362
|
} | {
|
|
3265
|
-
type: "
|
|
3363
|
+
type: "EDIT_ACCOUNT";
|
|
3266
3364
|
data: {
|
|
3267
3365
|
name: string;
|
|
3268
|
-
|
|
3269
|
-
|
|
3366
|
+
governance: {
|
|
3367
|
+
type: "CLASSIC";
|
|
3368
|
+
policy: {
|
|
3369
|
+
policyId: string;
|
|
3370
|
+
} | {
|
|
3371
|
+
rules: {
|
|
3372
|
+
reviewSteps: ({
|
|
3373
|
+
quorum: number;
|
|
3374
|
+
userIds: string[];
|
|
3375
|
+
} | {
|
|
3376
|
+
quorum: number;
|
|
3377
|
+
groupId: string;
|
|
3378
|
+
})[];
|
|
3379
|
+
threshold?: {
|
|
3380
|
+
min: string | null;
|
|
3381
|
+
max: string | null;
|
|
3382
|
+
} | undefined;
|
|
3383
|
+
whitelistIds?: string[] | undefined;
|
|
3384
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
3385
|
+
}[];
|
|
3386
|
+
};
|
|
3387
|
+
} | {
|
|
3388
|
+
type: "TRADELINK";
|
|
3389
|
+
exchangeConfigs: {
|
|
3390
|
+
exchangeId: string;
|
|
3391
|
+
repledgeAuthorized: boolean;
|
|
3392
|
+
needsAssetManagerApprovalForSettlements: boolean;
|
|
3393
|
+
}[];
|
|
3394
|
+
} | {
|
|
3395
|
+
type: "RAW_SIGNING";
|
|
3396
|
+
policy: {
|
|
3397
|
+
rules: {
|
|
3398
|
+
operationType: "SIGN_DIGESTS";
|
|
3399
|
+
reviewSteps: {
|
|
3400
|
+
quorum: number;
|
|
3401
|
+
userIds: string[];
|
|
3402
|
+
}[];
|
|
3403
|
+
}[];
|
|
3404
|
+
};
|
|
3405
|
+
};
|
|
3270
3406
|
};
|
|
3271
3407
|
id: string;
|
|
3272
3408
|
legacyId: number;
|
|
@@ -3296,11 +3432,25 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3296
3432
|
tinyUrl: string;
|
|
3297
3433
|
}[] | undefined;
|
|
3298
3434
|
} | {
|
|
3299
|
-
type: "
|
|
3435
|
+
type: "EDIT_TOKEN_RULE";
|
|
3300
3436
|
data: {
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3437
|
+
parentAccountId: string;
|
|
3438
|
+
contractAddress: string;
|
|
3439
|
+
rules: {
|
|
3440
|
+
reviewSteps: ({
|
|
3441
|
+
quorum: number;
|
|
3442
|
+
userIds: string[];
|
|
3443
|
+
} | {
|
|
3444
|
+
quorum: number;
|
|
3445
|
+
groupId: string;
|
|
3446
|
+
})[];
|
|
3447
|
+
threshold?: {
|
|
3448
|
+
min: string | null;
|
|
3449
|
+
max: string | null;
|
|
3450
|
+
} | undefined;
|
|
3451
|
+
whitelistIds?: string[] | undefined;
|
|
3452
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
3453
|
+
}[];
|
|
3304
3454
|
};
|
|
3305
3455
|
id: string;
|
|
3306
3456
|
legacyId: number;
|
|
@@ -3330,17 +3480,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3330
3480
|
tinyUrl: string;
|
|
3331
3481
|
}[] | undefined;
|
|
3332
3482
|
} | {
|
|
3333
|
-
type: "
|
|
3483
|
+
type: "CREATE_GROUP";
|
|
3334
3484
|
data: {
|
|
3335
3485
|
name: string;
|
|
3336
3486
|
description: string | null;
|
|
3337
|
-
|
|
3338
|
-
name: string;
|
|
3339
|
-
currency: string;
|
|
3340
|
-
address: string;
|
|
3341
|
-
destinationTag?: string | undefined;
|
|
3342
|
-
}[];
|
|
3343
|
-
type: "SMART_CONTRACT" | "TRANSACTION";
|
|
3487
|
+
members: string[];
|
|
3344
3488
|
};
|
|
3345
3489
|
id: string;
|
|
3346
3490
|
legacyId: number;
|
|
@@ -3370,15 +3514,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3370
3514
|
tinyUrl: string;
|
|
3371
3515
|
}[] | undefined;
|
|
3372
3516
|
} | {
|
|
3373
|
-
type: "
|
|
3517
|
+
type: "EDIT_GROUP";
|
|
3374
3518
|
data: {
|
|
3375
3519
|
name: string;
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
currency: string;
|
|
3379
|
-
address: string;
|
|
3380
|
-
destinationTag?: string | undefined;
|
|
3381
|
-
}[];
|
|
3520
|
+
description: string | null;
|
|
3521
|
+
members: string[];
|
|
3382
3522
|
};
|
|
3383
3523
|
id: string;
|
|
3384
3524
|
legacyId: number;
|
|
@@ -3408,12 +3548,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3408
3548
|
tinyUrl: string;
|
|
3409
3549
|
}[] | undefined;
|
|
3410
3550
|
} | {
|
|
3411
|
-
type: "
|
|
3412
|
-
data:
|
|
3413
|
-
name: string;
|
|
3414
|
-
accountIds: string[];
|
|
3415
|
-
memberIds: string[];
|
|
3416
|
-
};
|
|
3551
|
+
type: "REVOKE_GROUP";
|
|
3552
|
+
data: Record<string, never>;
|
|
3417
3553
|
id: string;
|
|
3418
3554
|
legacyId: number;
|
|
3419
3555
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -3442,11 +3578,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3442
3578
|
tinyUrl: string;
|
|
3443
3579
|
}[] | undefined;
|
|
3444
3580
|
} | {
|
|
3445
|
-
type: "
|
|
3581
|
+
type: "CREATE_WHITELIST";
|
|
3446
3582
|
data: {
|
|
3447
3583
|
name: string;
|
|
3448
|
-
|
|
3449
|
-
|
|
3584
|
+
description: string | null;
|
|
3585
|
+
addresses: {
|
|
3586
|
+
name: string;
|
|
3587
|
+
currency: string;
|
|
3588
|
+
address: string;
|
|
3589
|
+
destinationTag?: string | undefined;
|
|
3590
|
+
}[];
|
|
3591
|
+
type: "SMART_CONTRACT" | "TRANSACTION";
|
|
3450
3592
|
};
|
|
3451
3593
|
id: string;
|
|
3452
3594
|
legacyId: number;
|
|
@@ -3476,8 +3618,16 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3476
3618
|
tinyUrl: string;
|
|
3477
3619
|
}[] | undefined;
|
|
3478
3620
|
} | {
|
|
3479
|
-
type: "
|
|
3480
|
-
data:
|
|
3621
|
+
type: "EDIT_WHITELIST";
|
|
3622
|
+
data: {
|
|
3623
|
+
name: string;
|
|
3624
|
+
addresses: {
|
|
3625
|
+
name: string;
|
|
3626
|
+
currency: string;
|
|
3627
|
+
address: string;
|
|
3628
|
+
destinationTag?: string | undefined;
|
|
3629
|
+
}[];
|
|
3630
|
+
};
|
|
3481
3631
|
id: string;
|
|
3482
3632
|
legacyId: number;
|
|
3483
3633
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -3506,9 +3656,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3506
3656
|
tinyUrl: string;
|
|
3507
3657
|
}[] | undefined;
|
|
3508
3658
|
} | {
|
|
3509
|
-
type: "
|
|
3659
|
+
type: "CREATE_ENTITY";
|
|
3510
3660
|
data: {
|
|
3511
|
-
|
|
3661
|
+
name: string;
|
|
3662
|
+
accountIds: string[];
|
|
3663
|
+
memberIds: string[];
|
|
3512
3664
|
};
|
|
3513
3665
|
id: string;
|
|
3514
3666
|
legacyId: number;
|
|
@@ -3538,12 +3690,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3538
3690
|
tinyUrl: string;
|
|
3539
3691
|
}[] | undefined;
|
|
3540
3692
|
} | {
|
|
3541
|
-
type: "
|
|
3693
|
+
type: "EDIT_ENTITY";
|
|
3542
3694
|
data: {
|
|
3543
3695
|
name: string;
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
viewAll?: boolean | undefined;
|
|
3696
|
+
accountIds: string[];
|
|
3697
|
+
memberIds: string[];
|
|
3547
3698
|
};
|
|
3548
3699
|
id: string;
|
|
3549
3700
|
legacyId: number;
|
|
@@ -3573,7 +3724,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3573
3724
|
tinyUrl: string;
|
|
3574
3725
|
}[] | undefined;
|
|
3575
3726
|
} | {
|
|
3576
|
-
type: "
|
|
3727
|
+
type: "REVOKE_ENTITY";
|
|
3577
3728
|
data: Record<string, never>;
|
|
3578
3729
|
id: string;
|
|
3579
3730
|
legacyId: number;
|
|
@@ -3603,13 +3754,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3603
3754
|
tinyUrl: string;
|
|
3604
3755
|
}[] | undefined;
|
|
3605
3756
|
} | {
|
|
3606
|
-
type: "
|
|
3757
|
+
type: "CREATE_PSD_USER";
|
|
3607
3758
|
data: {
|
|
3608
|
-
|
|
3609
|
-
reviewConfig: {
|
|
3610
|
-
quorum: number;
|
|
3611
|
-
userIds: string[];
|
|
3612
|
-
}[];
|
|
3759
|
+
registrationId: string;
|
|
3613
3760
|
};
|
|
3614
3761
|
id: string;
|
|
3615
3762
|
legacyId: number;
|
|
@@ -3639,30 +3786,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3639
3786
|
tinyUrl: string;
|
|
3640
3787
|
}[] | undefined;
|
|
3641
3788
|
} | {
|
|
3642
|
-
type: "
|
|
3789
|
+
type: "CREATE_API_USER";
|
|
3643
3790
|
data: {
|
|
3644
3791
|
name: string;
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
contractAddress: string | null;
|
|
3649
|
-
tokenIdentifier: string | null;
|
|
3650
|
-
} | null;
|
|
3651
|
-
govRules: {
|
|
3652
|
-
reviewSteps: ({
|
|
3653
|
-
quorum: number;
|
|
3654
|
-
userIds: string[];
|
|
3655
|
-
} | {
|
|
3656
|
-
quorum: number;
|
|
3657
|
-
groupId: string;
|
|
3658
|
-
})[];
|
|
3659
|
-
threshold?: {
|
|
3660
|
-
min: string | null;
|
|
3661
|
-
max: string | null;
|
|
3662
|
-
} | undefined;
|
|
3663
|
-
whitelistIds?: string[] | undefined;
|
|
3664
|
-
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
3665
|
-
}[];
|
|
3792
|
+
pubKey: string;
|
|
3793
|
+
role: "ADMIN" | "OPERATOR";
|
|
3794
|
+
viewAll?: boolean | undefined;
|
|
3666
3795
|
};
|
|
3667
3796
|
id: string;
|
|
3668
3797
|
legacyId: number;
|
|
@@ -3692,25 +3821,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3692
3821
|
tinyUrl: string;
|
|
3693
3822
|
}[] | undefined;
|
|
3694
3823
|
} | {
|
|
3695
|
-
type: "
|
|
3824
|
+
type: "CREATE_API_USER_ACCESS";
|
|
3696
3825
|
data: {
|
|
3697
3826
|
name: string;
|
|
3698
|
-
description: string | null;
|
|
3699
|
-
govRules: {
|
|
3700
|
-
reviewSteps: ({
|
|
3701
|
-
quorum: number;
|
|
3702
|
-
userIds: string[];
|
|
3703
|
-
} | {
|
|
3704
|
-
quorum: number;
|
|
3705
|
-
groupId: string;
|
|
3706
|
-
})[];
|
|
3707
|
-
threshold?: {
|
|
3708
|
-
min: string | null;
|
|
3709
|
-
max: string | null;
|
|
3710
|
-
} | undefined;
|
|
3711
|
-
whitelistIds?: string[] | undefined;
|
|
3712
|
-
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
3713
|
-
}[];
|
|
3714
3827
|
};
|
|
3715
3828
|
id: string;
|
|
3716
3829
|
legacyId: number;
|
|
@@ -3740,8 +3853,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3740
3853
|
tinyUrl: string;
|
|
3741
3854
|
}[] | undefined;
|
|
3742
3855
|
} | {
|
|
3743
|
-
type: "
|
|
3744
|
-
data:
|
|
3856
|
+
type: "REVOKE_USER";
|
|
3857
|
+
data: Record<string, never>;
|
|
3745
3858
|
id: string;
|
|
3746
3859
|
legacyId: number;
|
|
3747
3860
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -3770,17 +3883,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3770
3883
|
tinyUrl: string;
|
|
3771
3884
|
}[] | undefined;
|
|
3772
3885
|
} | {
|
|
3773
|
-
type: "
|
|
3886
|
+
type: "EDIT_WORKSPACE_RULE";
|
|
3774
3887
|
data: {
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
userIds: string[];
|
|
3778
|
-
}[];
|
|
3779
|
-
withdraw: {
|
|
3780
|
-
quorum: number;
|
|
3781
|
-
userIds: string[];
|
|
3782
|
-
}[];
|
|
3783
|
-
arbitration: {
|
|
3888
|
+
permission: "CREATE_ACCOUNT_WITH_POLICY";
|
|
3889
|
+
reviewConfig: {
|
|
3784
3890
|
quorum: number;
|
|
3785
3891
|
userIds: string[];
|
|
3786
3892
|
}[];
|
|
@@ -3813,20 +3919,13 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3813
3919
|
tinyUrl: string;
|
|
3814
3920
|
}[] | undefined;
|
|
3815
3921
|
} | {
|
|
3816
|
-
type: "
|
|
3922
|
+
type: "CREATE_SCICONFIG";
|
|
3817
3923
|
data: {
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
quorum: number;
|
|
3824
|
-
userIds: string[];
|
|
3825
|
-
}[];
|
|
3826
|
-
arbitration: {
|
|
3827
|
-
quorum: number;
|
|
3828
|
-
userIds: string[];
|
|
3829
|
-
}[];
|
|
3924
|
+
account: string;
|
|
3925
|
+
config: {
|
|
3926
|
+
dapps: string[] | null;
|
|
3927
|
+
customContractCallEnabled: boolean;
|
|
3928
|
+
};
|
|
3830
3929
|
};
|
|
3831
3930
|
id: string;
|
|
3832
3931
|
legacyId: number;
|
|
@@ -3856,18 +3955,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3856
3955
|
tinyUrl: string;
|
|
3857
3956
|
}[] | undefined;
|
|
3858
3957
|
} | {
|
|
3859
|
-
type: "
|
|
3958
|
+
type: "EDIT_SCICONFIG";
|
|
3860
3959
|
data: {
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
}[];
|
|
3866
|
-
whitelist: {
|
|
3867
|
-
name: string;
|
|
3868
|
-
currency: string;
|
|
3869
|
-
address: string;
|
|
3870
|
-
}[];
|
|
3960
|
+
config: {
|
|
3961
|
+
dapps: string[] | null;
|
|
3962
|
+
customContractCallEnabled: boolean;
|
|
3963
|
+
};
|
|
3871
3964
|
};
|
|
3872
3965
|
id: string;
|
|
3873
3966
|
legacyId: number;
|
|
@@ -3897,18 +3990,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3897
3990
|
tinyUrl: string;
|
|
3898
3991
|
}[] | undefined;
|
|
3899
3992
|
} | {
|
|
3900
|
-
type: "
|
|
3993
|
+
type: "CREATE_API_KEY";
|
|
3901
3994
|
data: {
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
userIds: string[];
|
|
3906
|
-
}[];
|
|
3907
|
-
whitelist: {
|
|
3908
|
-
name: string;
|
|
3909
|
-
currency: string;
|
|
3910
|
-
address: string;
|
|
3911
|
-
}[];
|
|
3995
|
+
name: string;
|
|
3996
|
+
entities: string[];
|
|
3997
|
+
scopes: Record<string, never>;
|
|
3912
3998
|
};
|
|
3913
3999
|
id: string;
|
|
3914
4000
|
legacyId: number;
|
|
@@ -3938,18 +4024,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3938
4024
|
tinyUrl: string;
|
|
3939
4025
|
}[] | undefined;
|
|
3940
4026
|
} | {
|
|
3941
|
-
type: "
|
|
4027
|
+
type: "EDIT_API_KEY";
|
|
3942
4028
|
data: {
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
userIds: string[];
|
|
3947
|
-
}[];
|
|
3948
|
-
whitelist: {
|
|
3949
|
-
name: string;
|
|
3950
|
-
currency: string;
|
|
3951
|
-
address: string;
|
|
3952
|
-
}[];
|
|
4029
|
+
name: string;
|
|
4030
|
+
entities: string[];
|
|
4031
|
+
scopes: Record<string, never>;
|
|
3953
4032
|
};
|
|
3954
4033
|
id: string;
|
|
3955
4034
|
legacyId: number;
|
|
@@ -3979,19 +4058,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
3979
4058
|
tinyUrl: string;
|
|
3980
4059
|
}[] | undefined;
|
|
3981
4060
|
} | {
|
|
3982
|
-
type: "
|
|
3983
|
-
data:
|
|
3984
|
-
tradelinkId: string;
|
|
3985
|
-
groups: {
|
|
3986
|
-
quorum: number;
|
|
3987
|
-
userIds: string[];
|
|
3988
|
-
}[];
|
|
3989
|
-
whitelist: {
|
|
3990
|
-
name: string;
|
|
3991
|
-
currency: string;
|
|
3992
|
-
address: string;
|
|
3993
|
-
}[];
|
|
3994
|
-
};
|
|
4061
|
+
type: "REVOKE_API_KEY";
|
|
4062
|
+
data: Record<string, never>;
|
|
3995
4063
|
id: string;
|
|
3996
4064
|
legacyId: number;
|
|
3997
4065
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -4020,11 +4088,30 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4020
4088
|
tinyUrl: string;
|
|
4021
4089
|
}[] | undefined;
|
|
4022
4090
|
} | {
|
|
4023
|
-
type: "
|
|
4091
|
+
type: "CREATE_POLICY";
|
|
4024
4092
|
data: {
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4093
|
+
name: string;
|
|
4094
|
+
description: string | null;
|
|
4095
|
+
asset: {
|
|
4096
|
+
network: string;
|
|
4097
|
+
contractAddress: string | null;
|
|
4098
|
+
tokenIdentifier: string | null;
|
|
4099
|
+
} | null;
|
|
4100
|
+
govRules: {
|
|
4101
|
+
reviewSteps: ({
|
|
4102
|
+
quorum: number;
|
|
4103
|
+
userIds: string[];
|
|
4104
|
+
} | {
|
|
4105
|
+
quorum: number;
|
|
4106
|
+
groupId: string;
|
|
4107
|
+
})[];
|
|
4108
|
+
threshold?: {
|
|
4109
|
+
min: string | null;
|
|
4110
|
+
max: string | null;
|
|
4111
|
+
} | undefined;
|
|
4112
|
+
whitelistIds?: string[] | undefined;
|
|
4113
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
4114
|
+
}[];
|
|
4028
4115
|
};
|
|
4029
4116
|
id: string;
|
|
4030
4117
|
legacyId: number;
|
|
@@ -4054,11 +4141,25 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4054
4141
|
tinyUrl: string;
|
|
4055
4142
|
}[] | undefined;
|
|
4056
4143
|
} | {
|
|
4057
|
-
type: "
|
|
4144
|
+
type: "EDIT_POLICY";
|
|
4058
4145
|
data: {
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4146
|
+
name: string;
|
|
4147
|
+
description: string | null;
|
|
4148
|
+
govRules: {
|
|
4149
|
+
reviewSteps: ({
|
|
4150
|
+
quorum: number;
|
|
4151
|
+
userIds: string[];
|
|
4152
|
+
} | {
|
|
4153
|
+
quorum: number;
|
|
4154
|
+
groupId: string;
|
|
4155
|
+
})[];
|
|
4156
|
+
threshold?: {
|
|
4157
|
+
min: string | null;
|
|
4158
|
+
max: string | null;
|
|
4159
|
+
} | undefined;
|
|
4160
|
+
whitelistIds?: string[] | undefined;
|
|
4161
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
4162
|
+
}[];
|
|
4062
4163
|
};
|
|
4063
4164
|
id: string;
|
|
4064
4165
|
legacyId: number;
|
|
@@ -4088,12 +4189,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4088
4189
|
tinyUrl: string;
|
|
4089
4190
|
}[] | undefined;
|
|
4090
4191
|
} | {
|
|
4091
|
-
type: "
|
|
4092
|
-
data:
|
|
4093
|
-
accountId: string;
|
|
4094
|
-
exchangeId: string;
|
|
4095
|
-
transaction: SendOnlyTransactionData;
|
|
4096
|
-
};
|
|
4192
|
+
type: "TRADELINK_ACTIVATE_ACCOUNT";
|
|
4193
|
+
data: null;
|
|
4097
4194
|
id: string;
|
|
4098
4195
|
legacyId: number;
|
|
4099
4196
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -4122,10 +4219,20 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4122
4219
|
tinyUrl: string;
|
|
4123
4220
|
}[] | undefined;
|
|
4124
4221
|
} | {
|
|
4125
|
-
type: "
|
|
4222
|
+
type: "TRADELINK_CREATE_CUSTODIAN";
|
|
4126
4223
|
data: {
|
|
4127
|
-
|
|
4128
|
-
|
|
4224
|
+
settlement: {
|
|
4225
|
+
quorum: number;
|
|
4226
|
+
userIds: string[];
|
|
4227
|
+
}[];
|
|
4228
|
+
withdraw: {
|
|
4229
|
+
quorum: number;
|
|
4230
|
+
userIds: string[];
|
|
4231
|
+
}[];
|
|
4232
|
+
arbitration: {
|
|
4233
|
+
quorum: number;
|
|
4234
|
+
userIds: string[];
|
|
4235
|
+
}[];
|
|
4129
4236
|
};
|
|
4130
4237
|
id: string;
|
|
4131
4238
|
legacyId: number;
|
|
@@ -4155,10 +4262,20 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4155
4262
|
tinyUrl: string;
|
|
4156
4263
|
}[] | undefined;
|
|
4157
4264
|
} | {
|
|
4158
|
-
type: "
|
|
4265
|
+
type: "TRADELINK_EDIT_CUSTODIAN";
|
|
4159
4266
|
data: {
|
|
4160
|
-
|
|
4161
|
-
|
|
4267
|
+
settlement: {
|
|
4268
|
+
quorum: number;
|
|
4269
|
+
userIds: string[];
|
|
4270
|
+
}[];
|
|
4271
|
+
withdraw: {
|
|
4272
|
+
quorum: number;
|
|
4273
|
+
userIds: string[];
|
|
4274
|
+
}[];
|
|
4275
|
+
arbitration: {
|
|
4276
|
+
quorum: number;
|
|
4277
|
+
userIds: string[];
|
|
4278
|
+
}[];
|
|
4162
4279
|
};
|
|
4163
4280
|
id: string;
|
|
4164
4281
|
legacyId: number;
|
|
@@ -4188,10 +4305,18 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4188
4305
|
tinyUrl: string;
|
|
4189
4306
|
}[] | undefined;
|
|
4190
4307
|
} | {
|
|
4191
|
-
type: "
|
|
4308
|
+
type: "TRADELINK_CREATE_EXCHANGE";
|
|
4192
4309
|
data: {
|
|
4193
|
-
|
|
4194
|
-
|
|
4310
|
+
tradelinkId: string;
|
|
4311
|
+
groups: {
|
|
4312
|
+
quorum: number;
|
|
4313
|
+
userIds: string[];
|
|
4314
|
+
}[];
|
|
4315
|
+
whitelist: {
|
|
4316
|
+
name: string;
|
|
4317
|
+
currency: string;
|
|
4318
|
+
address: string;
|
|
4319
|
+
}[];
|
|
4195
4320
|
};
|
|
4196
4321
|
id: string;
|
|
4197
4322
|
legacyId: number;
|
|
@@ -4221,10 +4346,18 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4221
4346
|
tinyUrl: string;
|
|
4222
4347
|
}[] | undefined;
|
|
4223
4348
|
} | {
|
|
4224
|
-
type: "
|
|
4349
|
+
type: "TRADELINK_EDIT_EXCHANGE";
|
|
4225
4350
|
data: {
|
|
4226
|
-
|
|
4227
|
-
|
|
4351
|
+
tradelinkId: string;
|
|
4352
|
+
groups: {
|
|
4353
|
+
quorum: number;
|
|
4354
|
+
userIds: string[];
|
|
4355
|
+
}[];
|
|
4356
|
+
whitelist: {
|
|
4357
|
+
name: string;
|
|
4358
|
+
currency: string;
|
|
4359
|
+
address: string;
|
|
4360
|
+
}[];
|
|
4228
4361
|
};
|
|
4229
4362
|
id: string;
|
|
4230
4363
|
legacyId: number;
|
|
@@ -4254,33 +4387,18 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4254
4387
|
tinyUrl: string;
|
|
4255
4388
|
}[] | undefined;
|
|
4256
4389
|
} | {
|
|
4257
|
-
type: "
|
|
4390
|
+
type: "TRADELINK_CREATE_ASSET_MANAGER";
|
|
4258
4391
|
data: {
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
primaryType: string;
|
|
4270
|
-
domain: Record<string, any>;
|
|
4271
|
-
message: Record<string, any>;
|
|
4272
|
-
};
|
|
4273
|
-
} | {
|
|
4274
|
-
type: "CIP8";
|
|
4275
|
-
data: string;
|
|
4276
|
-
signingKey: "PAYMENT" | "STAKE";
|
|
4277
|
-
} | {
|
|
4278
|
-
type: "BIP137";
|
|
4279
|
-
data: string;
|
|
4280
|
-
};
|
|
4281
|
-
accountId: string;
|
|
4282
|
-
address: string;
|
|
4283
|
-
derivationPath: string;
|
|
4392
|
+
tradelinkId: string;
|
|
4393
|
+
groups: {
|
|
4394
|
+
quorum: number;
|
|
4395
|
+
userIds: string[];
|
|
4396
|
+
}[];
|
|
4397
|
+
whitelist: {
|
|
4398
|
+
name: string;
|
|
4399
|
+
currency: string;
|
|
4400
|
+
address: string;
|
|
4401
|
+
}[];
|
|
4284
4402
|
};
|
|
4285
4403
|
id: string;
|
|
4286
4404
|
legacyId: number;
|
|
@@ -4310,58 +4428,18 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4310
4428
|
tinyUrl: string;
|
|
4311
4429
|
}[] | undefined;
|
|
4312
4430
|
} | {
|
|
4313
|
-
type: "
|
|
4431
|
+
type: "TRADELINK_EDIT_ASSET_MANAGER";
|
|
4314
4432
|
data: {
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
rules: {
|
|
4326
|
-
reviewSteps: ({
|
|
4327
|
-
quorum: number;
|
|
4328
|
-
userIds: string[];
|
|
4329
|
-
} | {
|
|
4330
|
-
quorum: number;
|
|
4331
|
-
groupId: string;
|
|
4332
|
-
})[];
|
|
4333
|
-
threshold?: {
|
|
4334
|
-
min: string | null;
|
|
4335
|
-
max: string | null;
|
|
4336
|
-
} | undefined;
|
|
4337
|
-
whitelistIds?: string[] | undefined;
|
|
4338
|
-
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
4339
|
-
}[];
|
|
4340
|
-
};
|
|
4341
|
-
} | {
|
|
4342
|
-
type: "TRADELINK";
|
|
4343
|
-
assetManagerId: string;
|
|
4344
|
-
exchangeConfigs: {
|
|
4345
|
-
exchangeId: string;
|
|
4346
|
-
repledgeAuthorized: boolean;
|
|
4347
|
-
needsAssetManagerApprovalForSettlements: boolean;
|
|
4348
|
-
}[];
|
|
4349
|
-
} | {
|
|
4350
|
-
type: "RAW_SIGNING";
|
|
4351
|
-
policy: {
|
|
4352
|
-
rules: {
|
|
4353
|
-
operationType: "SIGN_DIGESTS";
|
|
4354
|
-
reviewSteps: {
|
|
4355
|
-
quorum: number;
|
|
4356
|
-
userIds: string[];
|
|
4357
|
-
}[];
|
|
4358
|
-
}[];
|
|
4359
|
-
};
|
|
4360
|
-
};
|
|
4361
|
-
portfolioIds?: string[] | undefined;
|
|
4362
|
-
index: number;
|
|
4363
|
-
derivationPath: string;
|
|
4364
|
-
type: "BITCOIN_LIKE" | "CANTON_LIKE" | "CARDANO_LIKE" | "ETHEREUM_LIKE" | "GENERIC_LIKE" | "HEDERA_LIKE" | "POLKADOT_LIKE" | "RAW_SIGNING" | "RIPPLE_LIKE" | "SOLANA_LIKE" | "STELLAR_LIKE" | "SUI_LIKE" | "TEZOS_LIKE" | "TRON_LIKE";
|
|
4433
|
+
tradelinkId: string;
|
|
4434
|
+
groups: {
|
|
4435
|
+
quorum: number;
|
|
4436
|
+
userIds: string[];
|
|
4437
|
+
}[];
|
|
4438
|
+
whitelist: {
|
|
4439
|
+
name: string;
|
|
4440
|
+
currency: string;
|
|
4441
|
+
address: string;
|
|
4442
|
+
}[];
|
|
4365
4443
|
};
|
|
4366
4444
|
id: string;
|
|
4367
4445
|
legacyId: number;
|
|
@@ -4391,25 +4469,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4391
4469
|
tinyUrl: string;
|
|
4392
4470
|
}[] | undefined;
|
|
4393
4471
|
} | {
|
|
4394
|
-
type: "
|
|
4472
|
+
type: "TRADELINK_ADJUST_PLEDGE";
|
|
4395
4473
|
data: {
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
reviewSteps: ({
|
|
4400
|
-
quorum: number;
|
|
4401
|
-
userIds: string[];
|
|
4402
|
-
} | {
|
|
4403
|
-
quorum: number;
|
|
4404
|
-
groupId: string;
|
|
4405
|
-
})[];
|
|
4406
|
-
threshold?: {
|
|
4407
|
-
min: string | null;
|
|
4408
|
-
max: string | null;
|
|
4409
|
-
} | undefined;
|
|
4410
|
-
whitelistIds?: string[] | undefined;
|
|
4411
|
-
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
4412
|
-
}[];
|
|
4474
|
+
accountId: string;
|
|
4475
|
+
exchangeId: string;
|
|
4476
|
+
amount: string;
|
|
4413
4477
|
};
|
|
4414
4478
|
id: string;
|
|
4415
4479
|
legacyId: number;
|
|
@@ -4439,39 +4503,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4439
4503
|
tinyUrl: string;
|
|
4440
4504
|
}[] | undefined;
|
|
4441
4505
|
} | {
|
|
4442
|
-
type: "
|
|
4443
|
-
data: Record<string, never>;
|
|
4444
|
-
id: string;
|
|
4445
|
-
legacyId: number;
|
|
4446
|
-
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
4447
|
-
reviewSteps: {
|
|
4448
|
-
stageName: string;
|
|
4449
|
-
quorum: number;
|
|
4450
|
-
}[];
|
|
4451
|
-
currentStepIndex: number;
|
|
4452
|
-
expiresAt: Date;
|
|
4453
|
-
targetId: string | null;
|
|
4454
|
-
note: Note | null;
|
|
4455
|
-
reviews: RequestReview[];
|
|
4456
|
-
createdAt: Date;
|
|
4457
|
-
updatedAt: Date;
|
|
4458
|
-
createdById: string;
|
|
4459
|
-
inflight?: {
|
|
4460
|
-
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
4461
|
-
retryAfter: Date;
|
|
4462
|
-
} | undefined;
|
|
4463
|
-
scanHistory?: {
|
|
4464
|
-
type: "creation" | "pre_signature";
|
|
4465
|
-
timestamp: string;
|
|
4466
|
-
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
4467
|
-
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
4468
|
-
message: string;
|
|
4469
|
-
tinyUrl: string;
|
|
4470
|
-
}[] | undefined;
|
|
4471
|
-
} | {
|
|
4472
|
-
type: "CREATE_API_USER_ACCESS";
|
|
4506
|
+
type: "TRADELINK_REPLEDGE";
|
|
4473
4507
|
data: {
|
|
4474
|
-
|
|
4508
|
+
accountId: string;
|
|
4509
|
+
exchangeId: string;
|
|
4510
|
+
amount: string;
|
|
4475
4511
|
};
|
|
4476
4512
|
id: string;
|
|
4477
4513
|
legacyId: number;
|
|
@@ -4501,13 +4537,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4501
4537
|
tinyUrl: string;
|
|
4502
4538
|
}[] | undefined;
|
|
4503
4539
|
} | {
|
|
4504
|
-
type: "
|
|
4540
|
+
type: "TRADELINK_CREATE_SETTLEMENT";
|
|
4505
4541
|
data: {
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
customContractCallEnabled: boolean;
|
|
4510
|
-
};
|
|
4542
|
+
accountId: string;
|
|
4543
|
+
exchangeId: string;
|
|
4544
|
+
transaction: SendOnlyTransactionData;
|
|
4511
4545
|
};
|
|
4512
4546
|
id: string;
|
|
4513
4547
|
legacyId: number;
|
|
@@ -4537,12 +4571,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4537
4571
|
tinyUrl: string;
|
|
4538
4572
|
}[] | undefined;
|
|
4539
4573
|
} | {
|
|
4540
|
-
type: "
|
|
4574
|
+
type: "TRADELINK_FORCE_UNPLEDGE";
|
|
4541
4575
|
data: {
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
customContractCallEnabled: boolean;
|
|
4545
|
-
};
|
|
4576
|
+
accountId: string;
|
|
4577
|
+
exchangeId: string;
|
|
4546
4578
|
};
|
|
4547
4579
|
id: string;
|
|
4548
4580
|
legacyId: number;
|
|
@@ -4572,11 +4604,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4572
4604
|
tinyUrl: string;
|
|
4573
4605
|
}[] | undefined;
|
|
4574
4606
|
} | {
|
|
4575
|
-
type: "
|
|
4607
|
+
type: "TRADELINK_WITHDRAW";
|
|
4576
4608
|
data: {
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
scopes: Record<string, never>;
|
|
4609
|
+
accountId: string;
|
|
4610
|
+
transaction: SendOnlyTransactionData;
|
|
4580
4611
|
};
|
|
4581
4612
|
id: string;
|
|
4582
4613
|
legacyId: number;
|
|
@@ -4606,11 +4637,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4606
4637
|
tinyUrl: string;
|
|
4607
4638
|
}[] | undefined;
|
|
4608
4639
|
} | {
|
|
4609
|
-
type: "
|
|
4640
|
+
type: "TRADELINK_ARBITRATE";
|
|
4610
4641
|
data: {
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
scopes: Record<string, never>;
|
|
4642
|
+
accountId: string;
|
|
4643
|
+
transaction: SendOnlyTransactionData;
|
|
4614
4644
|
};
|
|
4615
4645
|
id: string;
|
|
4616
4646
|
legacyId: number;
|
|
@@ -4639,36 +4669,6 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
4639
4669
|
message: string;
|
|
4640
4670
|
tinyUrl: string;
|
|
4641
4671
|
}[] | undefined;
|
|
4642
|
-
} | {
|
|
4643
|
-
type: "REVOKE_API_KEY";
|
|
4644
|
-
data: Record<string, never>;
|
|
4645
|
-
id: string;
|
|
4646
|
-
legacyId: number;
|
|
4647
|
-
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
4648
|
-
reviewSteps: {
|
|
4649
|
-
stageName: string;
|
|
4650
|
-
quorum: number;
|
|
4651
|
-
}[];
|
|
4652
|
-
currentStepIndex: number;
|
|
4653
|
-
expiresAt: Date;
|
|
4654
|
-
targetId: string | null;
|
|
4655
|
-
note: Note | null;
|
|
4656
|
-
reviews: RequestReview[];
|
|
4657
|
-
createdAt: Date;
|
|
4658
|
-
updatedAt: Date;
|
|
4659
|
-
createdById: string;
|
|
4660
|
-
inflight?: {
|
|
4661
|
-
completionState: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK" | null;
|
|
4662
|
-
retryAfter: Date;
|
|
4663
|
-
} | undefined;
|
|
4664
|
-
scanHistory?: {
|
|
4665
|
-
type: "creation" | "pre_signature";
|
|
4666
|
-
timestamp: string;
|
|
4667
|
-
riskLevel: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE";
|
|
4668
|
-
riskCategory: "ADDRESS" | "LOSING_OPERATION" | "NA" | "OTHERS" | "SMART_CONTRACT";
|
|
4669
|
-
message: string;
|
|
4670
|
-
tinyUrl: string;
|
|
4671
|
-
}[] | undefined;
|
|
4672
4672
|
}) & {
|
|
4673
4673
|
workspaceName: string;
|
|
4674
4674
|
};
|
|
@@ -5635,11 +5635,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5635
5635
|
pageSize: number;
|
|
5636
5636
|
total: number;
|
|
5637
5637
|
results: ({
|
|
5638
|
-
type: "
|
|
5638
|
+
type: "EDIT_EXTERNAL_SIGNER_PUBKEYS";
|
|
5639
5639
|
data: {
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
maxAllowedRiskLevel?: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE" | undefined;
|
|
5640
|
+
previousPublicKeys: string[];
|
|
5641
|
+
requestedPublicKeys: string[];
|
|
5643
5642
|
};
|
|
5644
5643
|
id: string;
|
|
5645
5644
|
legacyId: number;
|
|
@@ -5701,13 +5700,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5701
5700
|
tinyUrl: string;
|
|
5702
5701
|
}[] | undefined;
|
|
5703
5702
|
} | {
|
|
5704
|
-
type: "
|
|
5703
|
+
type: "CREATE_TRANSACTION";
|
|
5705
5704
|
data: {
|
|
5706
5705
|
accountId: string;
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
derivationPath: string;
|
|
5710
|
-
}[];
|
|
5706
|
+
transaction: TransactionData;
|
|
5707
|
+
maxAllowedRiskLevel?: "BENIGN" | "RISK" | "THREAT" | "UNAVAILABLE" | undefined;
|
|
5711
5708
|
};
|
|
5712
5709
|
id: string;
|
|
5713
5710
|
legacyId: number;
|
|
@@ -5737,49 +5734,33 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5737
5734
|
tinyUrl: string;
|
|
5738
5735
|
}[] | undefined;
|
|
5739
5736
|
} | {
|
|
5740
|
-
type: "
|
|
5737
|
+
type: "SIGN_MESSAGE";
|
|
5741
5738
|
data: {
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
|
|
5745
|
-
policy: {
|
|
5746
|
-
policyId: string;
|
|
5747
|
-
} | {
|
|
5748
|
-
rules: {
|
|
5749
|
-
reviewSteps: ({
|
|
5750
|
-
quorum: number;
|
|
5751
|
-
userIds: string[];
|
|
5752
|
-
} | {
|
|
5753
|
-
quorum: number;
|
|
5754
|
-
groupId: string;
|
|
5755
|
-
})[];
|
|
5756
|
-
threshold?: {
|
|
5757
|
-
min: string | null;
|
|
5758
|
-
max: string | null;
|
|
5759
|
-
} | undefined;
|
|
5760
|
-
whitelistIds?: string[] | undefined;
|
|
5761
|
-
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
5762
|
-
}[];
|
|
5763
|
-
};
|
|
5739
|
+
message: {
|
|
5740
|
+
type: "EIP191";
|
|
5741
|
+
data: string;
|
|
5764
5742
|
} | {
|
|
5765
|
-
type: "
|
|
5766
|
-
|
|
5767
|
-
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
rules: {
|
|
5775
|
-
operationType: "SIGN_DIGESTS";
|
|
5776
|
-
reviewSteps: {
|
|
5777
|
-
quorum: number;
|
|
5778
|
-
userIds: string[];
|
|
5779
|
-
}[];
|
|
5780
|
-
}[];
|
|
5743
|
+
type: "EIP712";
|
|
5744
|
+
data: {
|
|
5745
|
+
types: Record<string, {
|
|
5746
|
+
name: string;
|
|
5747
|
+
type: string;
|
|
5748
|
+
}[]>;
|
|
5749
|
+
primaryType: string;
|
|
5750
|
+
domain: Record<string, any>;
|
|
5751
|
+
message: Record<string, any>;
|
|
5781
5752
|
};
|
|
5753
|
+
} | {
|
|
5754
|
+
type: "CIP8";
|
|
5755
|
+
data: string;
|
|
5756
|
+
signingKey: "PAYMENT" | "STAKE";
|
|
5757
|
+
} | {
|
|
5758
|
+
type: "BIP137";
|
|
5759
|
+
data: string;
|
|
5782
5760
|
};
|
|
5761
|
+
accountId: string;
|
|
5762
|
+
address: string;
|
|
5763
|
+
derivationPath: string;
|
|
5783
5764
|
};
|
|
5784
5765
|
id: string;
|
|
5785
5766
|
legacyId: number;
|
|
@@ -5809,11 +5790,13 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5809
5790
|
tinyUrl: string;
|
|
5810
5791
|
}[] | undefined;
|
|
5811
5792
|
} | {
|
|
5812
|
-
type: "
|
|
5793
|
+
type: "SIGN_DIGESTS";
|
|
5813
5794
|
data: {
|
|
5814
|
-
|
|
5815
|
-
|
|
5816
|
-
|
|
5795
|
+
accountId: string;
|
|
5796
|
+
digests: {
|
|
5797
|
+
digest: string;
|
|
5798
|
+
derivationPath: string;
|
|
5799
|
+
}[];
|
|
5817
5800
|
};
|
|
5818
5801
|
id: string;
|
|
5819
5802
|
legacyId: number;
|
|
@@ -5843,11 +5826,58 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5843
5826
|
tinyUrl: string;
|
|
5844
5827
|
}[] | undefined;
|
|
5845
5828
|
} | {
|
|
5846
|
-
type: "
|
|
5829
|
+
type: "CREATE_ACCOUNT";
|
|
5847
5830
|
data: {
|
|
5848
5831
|
name: string;
|
|
5849
|
-
|
|
5850
|
-
|
|
5832
|
+
currency: string;
|
|
5833
|
+
contractAddress: string | null;
|
|
5834
|
+
tokenIdentifier: string | null;
|
|
5835
|
+
bitcoinAddressDerivationMode?: "NEW" | "STATIC" | undefined;
|
|
5836
|
+
governance: {
|
|
5837
|
+
type: "CLASSIC";
|
|
5838
|
+
policy: {
|
|
5839
|
+
policyId: string;
|
|
5840
|
+
} | {
|
|
5841
|
+
rules: {
|
|
5842
|
+
reviewSteps: ({
|
|
5843
|
+
quorum: number;
|
|
5844
|
+
userIds: string[];
|
|
5845
|
+
} | {
|
|
5846
|
+
quorum: number;
|
|
5847
|
+
groupId: string;
|
|
5848
|
+
})[];
|
|
5849
|
+
threshold?: {
|
|
5850
|
+
min: string | null;
|
|
5851
|
+
max: string | null;
|
|
5852
|
+
} | undefined;
|
|
5853
|
+
whitelistIds?: string[] | undefined;
|
|
5854
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
5855
|
+
}[];
|
|
5856
|
+
};
|
|
5857
|
+
} | {
|
|
5858
|
+
type: "TRADELINK";
|
|
5859
|
+
assetManagerId: string;
|
|
5860
|
+
exchangeConfigs: {
|
|
5861
|
+
exchangeId: string;
|
|
5862
|
+
repledgeAuthorized: boolean;
|
|
5863
|
+
needsAssetManagerApprovalForSettlements: boolean;
|
|
5864
|
+
}[];
|
|
5865
|
+
} | {
|
|
5866
|
+
type: "RAW_SIGNING";
|
|
5867
|
+
policy: {
|
|
5868
|
+
rules: {
|
|
5869
|
+
operationType: "SIGN_DIGESTS";
|
|
5870
|
+
reviewSteps: {
|
|
5871
|
+
quorum: number;
|
|
5872
|
+
userIds: string[];
|
|
5873
|
+
}[];
|
|
5874
|
+
}[];
|
|
5875
|
+
};
|
|
5876
|
+
};
|
|
5877
|
+
portfolioIds?: string[] | undefined;
|
|
5878
|
+
index: number;
|
|
5879
|
+
derivationPath: string;
|
|
5880
|
+
type: "BITCOIN_LIKE" | "CANTON_LIKE" | "CARDANO_LIKE" | "ETHEREUM_LIKE" | "GENERIC_LIKE" | "HEDERA_LIKE" | "POLKADOT_LIKE" | "RAW_SIGNING" | "RIPPLE_LIKE" | "SOLANA_LIKE" | "STELLAR_LIKE" | "SUI_LIKE" | "TEZOS_LIKE" | "TRON_LIKE";
|
|
5851
5881
|
};
|
|
5852
5882
|
id: string;
|
|
5853
5883
|
legacyId: number;
|
|
@@ -5877,17 +5907,49 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5877
5907
|
tinyUrl: string;
|
|
5878
5908
|
}[] | undefined;
|
|
5879
5909
|
} | {
|
|
5880
|
-
type: "
|
|
5910
|
+
type: "EDIT_ACCOUNT";
|
|
5881
5911
|
data: {
|
|
5882
5912
|
name: string;
|
|
5883
|
-
|
|
5884
|
-
|
|
5885
|
-
|
|
5886
|
-
|
|
5887
|
-
|
|
5888
|
-
|
|
5889
|
-
|
|
5890
|
-
|
|
5913
|
+
governance: {
|
|
5914
|
+
type: "CLASSIC";
|
|
5915
|
+
policy: {
|
|
5916
|
+
policyId: string;
|
|
5917
|
+
} | {
|
|
5918
|
+
rules: {
|
|
5919
|
+
reviewSteps: ({
|
|
5920
|
+
quorum: number;
|
|
5921
|
+
userIds: string[];
|
|
5922
|
+
} | {
|
|
5923
|
+
quorum: number;
|
|
5924
|
+
groupId: string;
|
|
5925
|
+
})[];
|
|
5926
|
+
threshold?: {
|
|
5927
|
+
min: string | null;
|
|
5928
|
+
max: string | null;
|
|
5929
|
+
} | undefined;
|
|
5930
|
+
whitelistIds?: string[] | undefined;
|
|
5931
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
5932
|
+
}[];
|
|
5933
|
+
};
|
|
5934
|
+
} | {
|
|
5935
|
+
type: "TRADELINK";
|
|
5936
|
+
exchangeConfigs: {
|
|
5937
|
+
exchangeId: string;
|
|
5938
|
+
repledgeAuthorized: boolean;
|
|
5939
|
+
needsAssetManagerApprovalForSettlements: boolean;
|
|
5940
|
+
}[];
|
|
5941
|
+
} | {
|
|
5942
|
+
type: "RAW_SIGNING";
|
|
5943
|
+
policy: {
|
|
5944
|
+
rules: {
|
|
5945
|
+
operationType: "SIGN_DIGESTS";
|
|
5946
|
+
reviewSteps: {
|
|
5947
|
+
quorum: number;
|
|
5948
|
+
userIds: string[];
|
|
5949
|
+
}[];
|
|
5950
|
+
}[];
|
|
5951
|
+
};
|
|
5952
|
+
};
|
|
5891
5953
|
};
|
|
5892
5954
|
id: string;
|
|
5893
5955
|
legacyId: number;
|
|
@@ -5917,14 +5979,24 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5917
5979
|
tinyUrl: string;
|
|
5918
5980
|
}[] | undefined;
|
|
5919
5981
|
} | {
|
|
5920
|
-
type: "
|
|
5982
|
+
type: "EDIT_TOKEN_RULE";
|
|
5921
5983
|
data: {
|
|
5922
|
-
|
|
5923
|
-
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
5984
|
+
parentAccountId: string;
|
|
5985
|
+
contractAddress: string;
|
|
5986
|
+
rules: {
|
|
5987
|
+
reviewSteps: ({
|
|
5988
|
+
quorum: number;
|
|
5989
|
+
userIds: string[];
|
|
5990
|
+
} | {
|
|
5991
|
+
quorum: number;
|
|
5992
|
+
groupId: string;
|
|
5993
|
+
})[];
|
|
5994
|
+
threshold?: {
|
|
5995
|
+
min: string | null;
|
|
5996
|
+
max: string | null;
|
|
5997
|
+
} | undefined;
|
|
5998
|
+
whitelistIds?: string[] | undefined;
|
|
5999
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
5928
6000
|
}[];
|
|
5929
6001
|
};
|
|
5930
6002
|
id: string;
|
|
@@ -5955,11 +6027,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5955
6027
|
tinyUrl: string;
|
|
5956
6028
|
}[] | undefined;
|
|
5957
6029
|
} | {
|
|
5958
|
-
type: "
|
|
6030
|
+
type: "CREATE_GROUP";
|
|
5959
6031
|
data: {
|
|
5960
6032
|
name: string;
|
|
5961
|
-
|
|
5962
|
-
|
|
6033
|
+
description: string | null;
|
|
6034
|
+
members: string[];
|
|
5963
6035
|
};
|
|
5964
6036
|
id: string;
|
|
5965
6037
|
legacyId: number;
|
|
@@ -5989,11 +6061,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
5989
6061
|
tinyUrl: string;
|
|
5990
6062
|
}[] | undefined;
|
|
5991
6063
|
} | {
|
|
5992
|
-
type: "
|
|
6064
|
+
type: "EDIT_GROUP";
|
|
5993
6065
|
data: {
|
|
5994
6066
|
name: string;
|
|
5995
|
-
|
|
5996
|
-
|
|
6067
|
+
description: string | null;
|
|
6068
|
+
members: string[];
|
|
5997
6069
|
};
|
|
5998
6070
|
id: string;
|
|
5999
6071
|
legacyId: number;
|
|
@@ -6023,7 +6095,7 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6023
6095
|
tinyUrl: string;
|
|
6024
6096
|
}[] | undefined;
|
|
6025
6097
|
} | {
|
|
6026
|
-
type: "
|
|
6098
|
+
type: "REVOKE_GROUP";
|
|
6027
6099
|
data: Record<string, never>;
|
|
6028
6100
|
id: string;
|
|
6029
6101
|
legacyId: number;
|
|
@@ -6053,9 +6125,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6053
6125
|
tinyUrl: string;
|
|
6054
6126
|
}[] | undefined;
|
|
6055
6127
|
} | {
|
|
6056
|
-
type: "
|
|
6128
|
+
type: "CREATE_WHITELIST";
|
|
6057
6129
|
data: {
|
|
6058
|
-
|
|
6130
|
+
name: string;
|
|
6131
|
+
description: string | null;
|
|
6132
|
+
addresses: {
|
|
6133
|
+
name: string;
|
|
6134
|
+
currency: string;
|
|
6135
|
+
address: string;
|
|
6136
|
+
destinationTag?: string | undefined;
|
|
6137
|
+
}[];
|
|
6138
|
+
type: "SMART_CONTRACT" | "TRANSACTION";
|
|
6059
6139
|
};
|
|
6060
6140
|
id: string;
|
|
6061
6141
|
legacyId: number;
|
|
@@ -6085,12 +6165,15 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6085
6165
|
tinyUrl: string;
|
|
6086
6166
|
}[] | undefined;
|
|
6087
6167
|
} | {
|
|
6088
|
-
type: "
|
|
6168
|
+
type: "EDIT_WHITELIST";
|
|
6089
6169
|
data: {
|
|
6090
6170
|
name: string;
|
|
6091
|
-
|
|
6092
|
-
|
|
6093
|
-
|
|
6171
|
+
addresses: {
|
|
6172
|
+
name: string;
|
|
6173
|
+
currency: string;
|
|
6174
|
+
address: string;
|
|
6175
|
+
destinationTag?: string | undefined;
|
|
6176
|
+
}[];
|
|
6094
6177
|
};
|
|
6095
6178
|
id: string;
|
|
6096
6179
|
legacyId: number;
|
|
@@ -6120,8 +6203,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6120
6203
|
tinyUrl: string;
|
|
6121
6204
|
}[] | undefined;
|
|
6122
6205
|
} | {
|
|
6123
|
-
type: "
|
|
6124
|
-
data:
|
|
6206
|
+
type: "CREATE_ENTITY";
|
|
6207
|
+
data: {
|
|
6208
|
+
name: string;
|
|
6209
|
+
accountIds: string[];
|
|
6210
|
+
memberIds: string[];
|
|
6211
|
+
};
|
|
6125
6212
|
id: string;
|
|
6126
6213
|
legacyId: number;
|
|
6127
6214
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -6150,13 +6237,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6150
6237
|
tinyUrl: string;
|
|
6151
6238
|
}[] | undefined;
|
|
6152
6239
|
} | {
|
|
6153
|
-
type: "
|
|
6240
|
+
type: "EDIT_ENTITY";
|
|
6154
6241
|
data: {
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
|
|
6158
|
-
userIds: string[];
|
|
6159
|
-
}[];
|
|
6242
|
+
name: string;
|
|
6243
|
+
accountIds: string[];
|
|
6244
|
+
memberIds: string[];
|
|
6160
6245
|
};
|
|
6161
6246
|
id: string;
|
|
6162
6247
|
legacyId: number;
|
|
@@ -6186,31 +6271,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6186
6271
|
tinyUrl: string;
|
|
6187
6272
|
}[] | undefined;
|
|
6188
6273
|
} | {
|
|
6189
|
-
type: "
|
|
6190
|
-
data:
|
|
6191
|
-
name: string;
|
|
6192
|
-
description: string | null;
|
|
6193
|
-
asset: {
|
|
6194
|
-
network: string;
|
|
6195
|
-
contractAddress: string | null;
|
|
6196
|
-
tokenIdentifier: string | null;
|
|
6197
|
-
} | null;
|
|
6198
|
-
govRules: {
|
|
6199
|
-
reviewSteps: ({
|
|
6200
|
-
quorum: number;
|
|
6201
|
-
userIds: string[];
|
|
6202
|
-
} | {
|
|
6203
|
-
quorum: number;
|
|
6204
|
-
groupId: string;
|
|
6205
|
-
})[];
|
|
6206
|
-
threshold?: {
|
|
6207
|
-
min: string | null;
|
|
6208
|
-
max: string | null;
|
|
6209
|
-
} | undefined;
|
|
6210
|
-
whitelistIds?: string[] | undefined;
|
|
6211
|
-
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
6212
|
-
}[];
|
|
6213
|
-
};
|
|
6274
|
+
type: "REVOKE_ENTITY";
|
|
6275
|
+
data: Record<string, never>;
|
|
6214
6276
|
id: string;
|
|
6215
6277
|
legacyId: number;
|
|
6216
6278
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -6239,25 +6301,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6239
6301
|
tinyUrl: string;
|
|
6240
6302
|
}[] | undefined;
|
|
6241
6303
|
} | {
|
|
6242
|
-
type: "
|
|
6304
|
+
type: "CREATE_PSD_USER";
|
|
6243
6305
|
data: {
|
|
6244
|
-
|
|
6245
|
-
description: string | null;
|
|
6246
|
-
govRules: {
|
|
6247
|
-
reviewSteps: ({
|
|
6248
|
-
quorum: number;
|
|
6249
|
-
userIds: string[];
|
|
6250
|
-
} | {
|
|
6251
|
-
quorum: number;
|
|
6252
|
-
groupId: string;
|
|
6253
|
-
})[];
|
|
6254
|
-
threshold?: {
|
|
6255
|
-
min: string | null;
|
|
6256
|
-
max: string | null;
|
|
6257
|
-
} | undefined;
|
|
6258
|
-
whitelistIds?: string[] | undefined;
|
|
6259
|
-
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
6260
|
-
}[];
|
|
6306
|
+
registrationId: string;
|
|
6261
6307
|
};
|
|
6262
6308
|
id: string;
|
|
6263
6309
|
legacyId: number;
|
|
@@ -6287,8 +6333,13 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6287
6333
|
tinyUrl: string;
|
|
6288
6334
|
}[] | undefined;
|
|
6289
6335
|
} | {
|
|
6290
|
-
type: "
|
|
6291
|
-
data:
|
|
6336
|
+
type: "CREATE_API_USER";
|
|
6337
|
+
data: {
|
|
6338
|
+
name: string;
|
|
6339
|
+
pubKey: string;
|
|
6340
|
+
role: "ADMIN" | "OPERATOR";
|
|
6341
|
+
viewAll?: boolean | undefined;
|
|
6342
|
+
};
|
|
6292
6343
|
id: string;
|
|
6293
6344
|
legacyId: number;
|
|
6294
6345
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -6317,20 +6368,9 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6317
6368
|
tinyUrl: string;
|
|
6318
6369
|
}[] | undefined;
|
|
6319
6370
|
} | {
|
|
6320
|
-
type: "
|
|
6371
|
+
type: "CREATE_API_USER_ACCESS";
|
|
6321
6372
|
data: {
|
|
6322
|
-
|
|
6323
|
-
quorum: number;
|
|
6324
|
-
userIds: string[];
|
|
6325
|
-
}[];
|
|
6326
|
-
withdraw: {
|
|
6327
|
-
quorum: number;
|
|
6328
|
-
userIds: string[];
|
|
6329
|
-
}[];
|
|
6330
|
-
arbitration: {
|
|
6331
|
-
quorum: number;
|
|
6332
|
-
userIds: string[];
|
|
6333
|
-
}[];
|
|
6373
|
+
name: string;
|
|
6334
6374
|
};
|
|
6335
6375
|
id: string;
|
|
6336
6376
|
legacyId: number;
|
|
@@ -6360,21 +6400,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6360
6400
|
tinyUrl: string;
|
|
6361
6401
|
}[] | undefined;
|
|
6362
6402
|
} | {
|
|
6363
|
-
type: "
|
|
6364
|
-
data:
|
|
6365
|
-
settlement: {
|
|
6366
|
-
quorum: number;
|
|
6367
|
-
userIds: string[];
|
|
6368
|
-
}[];
|
|
6369
|
-
withdraw: {
|
|
6370
|
-
quorum: number;
|
|
6371
|
-
userIds: string[];
|
|
6372
|
-
}[];
|
|
6373
|
-
arbitration: {
|
|
6374
|
-
quorum: number;
|
|
6375
|
-
userIds: string[];
|
|
6376
|
-
}[];
|
|
6377
|
-
};
|
|
6403
|
+
type: "REVOKE_USER";
|
|
6404
|
+
data: Record<string, never>;
|
|
6378
6405
|
id: string;
|
|
6379
6406
|
legacyId: number;
|
|
6380
6407
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -6403,18 +6430,13 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6403
6430
|
tinyUrl: string;
|
|
6404
6431
|
}[] | undefined;
|
|
6405
6432
|
} | {
|
|
6406
|
-
type: "
|
|
6433
|
+
type: "EDIT_WORKSPACE_RULE";
|
|
6407
6434
|
data: {
|
|
6408
|
-
|
|
6409
|
-
|
|
6435
|
+
permission: "CREATE_ACCOUNT_WITH_POLICY";
|
|
6436
|
+
reviewConfig: {
|
|
6410
6437
|
quorum: number;
|
|
6411
6438
|
userIds: string[];
|
|
6412
6439
|
}[];
|
|
6413
|
-
whitelist: {
|
|
6414
|
-
name: string;
|
|
6415
|
-
currency: string;
|
|
6416
|
-
address: string;
|
|
6417
|
-
}[];
|
|
6418
6440
|
};
|
|
6419
6441
|
id: string;
|
|
6420
6442
|
legacyId: number;
|
|
@@ -6444,18 +6466,13 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6444
6466
|
tinyUrl: string;
|
|
6445
6467
|
}[] | undefined;
|
|
6446
6468
|
} | {
|
|
6447
|
-
type: "
|
|
6469
|
+
type: "CREATE_SCICONFIG";
|
|
6448
6470
|
data: {
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
}
|
|
6454
|
-
whitelist: {
|
|
6455
|
-
name: string;
|
|
6456
|
-
currency: string;
|
|
6457
|
-
address: string;
|
|
6458
|
-
}[];
|
|
6471
|
+
account: string;
|
|
6472
|
+
config: {
|
|
6473
|
+
dapps: string[] | null;
|
|
6474
|
+
customContractCallEnabled: boolean;
|
|
6475
|
+
};
|
|
6459
6476
|
};
|
|
6460
6477
|
id: string;
|
|
6461
6478
|
legacyId: number;
|
|
@@ -6485,18 +6502,12 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6485
6502
|
tinyUrl: string;
|
|
6486
6503
|
}[] | undefined;
|
|
6487
6504
|
} | {
|
|
6488
|
-
type: "
|
|
6505
|
+
type: "EDIT_SCICONFIG";
|
|
6489
6506
|
data: {
|
|
6490
|
-
|
|
6491
|
-
|
|
6492
|
-
|
|
6493
|
-
|
|
6494
|
-
}[];
|
|
6495
|
-
whitelist: {
|
|
6496
|
-
name: string;
|
|
6497
|
-
currency: string;
|
|
6498
|
-
address: string;
|
|
6499
|
-
}[];
|
|
6507
|
+
config: {
|
|
6508
|
+
dapps: string[] | null;
|
|
6509
|
+
customContractCallEnabled: boolean;
|
|
6510
|
+
};
|
|
6500
6511
|
};
|
|
6501
6512
|
id: string;
|
|
6502
6513
|
legacyId: number;
|
|
@@ -6526,18 +6537,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6526
6537
|
tinyUrl: string;
|
|
6527
6538
|
}[] | undefined;
|
|
6528
6539
|
} | {
|
|
6529
|
-
type: "
|
|
6540
|
+
type: "CREATE_API_KEY";
|
|
6530
6541
|
data: {
|
|
6531
|
-
|
|
6532
|
-
|
|
6533
|
-
|
|
6534
|
-
userIds: string[];
|
|
6535
|
-
}[];
|
|
6536
|
-
whitelist: {
|
|
6537
|
-
name: string;
|
|
6538
|
-
currency: string;
|
|
6539
|
-
address: string;
|
|
6540
|
-
}[];
|
|
6542
|
+
name: string;
|
|
6543
|
+
entities: string[];
|
|
6544
|
+
scopes: Record<string, never>;
|
|
6541
6545
|
};
|
|
6542
6546
|
id: string;
|
|
6543
6547
|
legacyId: number;
|
|
@@ -6567,11 +6571,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6567
6571
|
tinyUrl: string;
|
|
6568
6572
|
}[] | undefined;
|
|
6569
6573
|
} | {
|
|
6570
|
-
type: "
|
|
6574
|
+
type: "EDIT_API_KEY";
|
|
6571
6575
|
data: {
|
|
6572
|
-
|
|
6573
|
-
|
|
6574
|
-
|
|
6576
|
+
name: string;
|
|
6577
|
+
entities: string[];
|
|
6578
|
+
scopes: Record<string, never>;
|
|
6575
6579
|
};
|
|
6576
6580
|
id: string;
|
|
6577
6581
|
legacyId: number;
|
|
@@ -6601,12 +6605,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6601
6605
|
tinyUrl: string;
|
|
6602
6606
|
}[] | undefined;
|
|
6603
6607
|
} | {
|
|
6604
|
-
type: "
|
|
6605
|
-
data:
|
|
6606
|
-
accountId: string;
|
|
6607
|
-
exchangeId: string;
|
|
6608
|
-
amount: string;
|
|
6609
|
-
};
|
|
6608
|
+
type: "REVOKE_API_KEY";
|
|
6609
|
+
data: Record<string, never>;
|
|
6610
6610
|
id: string;
|
|
6611
6611
|
legacyId: number;
|
|
6612
6612
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -6635,11 +6635,30 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6635
6635
|
tinyUrl: string;
|
|
6636
6636
|
}[] | undefined;
|
|
6637
6637
|
} | {
|
|
6638
|
-
type: "
|
|
6638
|
+
type: "CREATE_POLICY";
|
|
6639
6639
|
data: {
|
|
6640
|
-
|
|
6641
|
-
|
|
6642
|
-
|
|
6640
|
+
name: string;
|
|
6641
|
+
description: string | null;
|
|
6642
|
+
asset: {
|
|
6643
|
+
network: string;
|
|
6644
|
+
contractAddress: string | null;
|
|
6645
|
+
tokenIdentifier: string | null;
|
|
6646
|
+
} | null;
|
|
6647
|
+
govRules: {
|
|
6648
|
+
reviewSteps: ({
|
|
6649
|
+
quorum: number;
|
|
6650
|
+
userIds: string[];
|
|
6651
|
+
} | {
|
|
6652
|
+
quorum: number;
|
|
6653
|
+
groupId: string;
|
|
6654
|
+
})[];
|
|
6655
|
+
threshold?: {
|
|
6656
|
+
min: string | null;
|
|
6657
|
+
max: string | null;
|
|
6658
|
+
} | undefined;
|
|
6659
|
+
whitelistIds?: string[] | undefined;
|
|
6660
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
6661
|
+
}[];
|
|
6643
6662
|
};
|
|
6644
6663
|
id: string;
|
|
6645
6664
|
legacyId: number;
|
|
@@ -6669,10 +6688,25 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6669
6688
|
tinyUrl: string;
|
|
6670
6689
|
}[] | undefined;
|
|
6671
6690
|
} | {
|
|
6672
|
-
type: "
|
|
6691
|
+
type: "EDIT_POLICY";
|
|
6673
6692
|
data: {
|
|
6674
|
-
|
|
6675
|
-
|
|
6693
|
+
name: string;
|
|
6694
|
+
description: string | null;
|
|
6695
|
+
govRules: {
|
|
6696
|
+
reviewSteps: ({
|
|
6697
|
+
quorum: number;
|
|
6698
|
+
userIds: string[];
|
|
6699
|
+
} | {
|
|
6700
|
+
quorum: number;
|
|
6701
|
+
groupId: string;
|
|
6702
|
+
})[];
|
|
6703
|
+
threshold?: {
|
|
6704
|
+
min: string | null;
|
|
6705
|
+
max: string | null;
|
|
6706
|
+
} | undefined;
|
|
6707
|
+
whitelistIds?: string[] | undefined;
|
|
6708
|
+
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
6709
|
+
}[];
|
|
6676
6710
|
};
|
|
6677
6711
|
id: string;
|
|
6678
6712
|
legacyId: number;
|
|
@@ -6702,11 +6736,8 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6702
6736
|
tinyUrl: string;
|
|
6703
6737
|
}[] | undefined;
|
|
6704
6738
|
} | {
|
|
6705
|
-
type: "
|
|
6706
|
-
data:
|
|
6707
|
-
accountId: string;
|
|
6708
|
-
transaction: SendOnlyTransactionData;
|
|
6709
|
-
};
|
|
6739
|
+
type: "TRADELINK_ACTIVATE_ACCOUNT";
|
|
6740
|
+
data: null;
|
|
6710
6741
|
id: string;
|
|
6711
6742
|
legacyId: number;
|
|
6712
6743
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -6735,10 +6766,20 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6735
6766
|
tinyUrl: string;
|
|
6736
6767
|
}[] | undefined;
|
|
6737
6768
|
} | {
|
|
6738
|
-
type: "
|
|
6769
|
+
type: "TRADELINK_CREATE_CUSTODIAN";
|
|
6739
6770
|
data: {
|
|
6740
|
-
|
|
6741
|
-
|
|
6771
|
+
settlement: {
|
|
6772
|
+
quorum: number;
|
|
6773
|
+
userIds: string[];
|
|
6774
|
+
}[];
|
|
6775
|
+
withdraw: {
|
|
6776
|
+
quorum: number;
|
|
6777
|
+
userIds: string[];
|
|
6778
|
+
}[];
|
|
6779
|
+
arbitration: {
|
|
6780
|
+
quorum: number;
|
|
6781
|
+
userIds: string[];
|
|
6782
|
+
}[];
|
|
6742
6783
|
};
|
|
6743
6784
|
id: string;
|
|
6744
6785
|
legacyId: number;
|
|
@@ -6768,10 +6809,20 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6768
6809
|
tinyUrl: string;
|
|
6769
6810
|
}[] | undefined;
|
|
6770
6811
|
} | {
|
|
6771
|
-
type: "
|
|
6812
|
+
type: "TRADELINK_EDIT_CUSTODIAN";
|
|
6772
6813
|
data: {
|
|
6773
|
-
|
|
6774
|
-
|
|
6814
|
+
settlement: {
|
|
6815
|
+
quorum: number;
|
|
6816
|
+
userIds: string[];
|
|
6817
|
+
}[];
|
|
6818
|
+
withdraw: {
|
|
6819
|
+
quorum: number;
|
|
6820
|
+
userIds: string[];
|
|
6821
|
+
}[];
|
|
6822
|
+
arbitration: {
|
|
6823
|
+
quorum: number;
|
|
6824
|
+
userIds: string[];
|
|
6825
|
+
}[];
|
|
6775
6826
|
};
|
|
6776
6827
|
id: string;
|
|
6777
6828
|
legacyId: number;
|
|
@@ -6801,33 +6852,18 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6801
6852
|
tinyUrl: string;
|
|
6802
6853
|
}[] | undefined;
|
|
6803
6854
|
} | {
|
|
6804
|
-
type: "
|
|
6855
|
+
type: "TRADELINK_CREATE_EXCHANGE";
|
|
6805
6856
|
data: {
|
|
6806
|
-
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
|
-
|
|
6812
|
-
|
|
6813
|
-
|
|
6814
|
-
|
|
6815
|
-
|
|
6816
|
-
primaryType: string;
|
|
6817
|
-
domain: Record<string, any>;
|
|
6818
|
-
message: Record<string, any>;
|
|
6819
|
-
};
|
|
6820
|
-
} | {
|
|
6821
|
-
type: "CIP8";
|
|
6822
|
-
data: string;
|
|
6823
|
-
signingKey: "PAYMENT" | "STAKE";
|
|
6824
|
-
} | {
|
|
6825
|
-
type: "BIP137";
|
|
6826
|
-
data: string;
|
|
6827
|
-
};
|
|
6828
|
-
accountId: string;
|
|
6829
|
-
address: string;
|
|
6830
|
-
derivationPath: string;
|
|
6857
|
+
tradelinkId: string;
|
|
6858
|
+
groups: {
|
|
6859
|
+
quorum: number;
|
|
6860
|
+
userIds: string[];
|
|
6861
|
+
}[];
|
|
6862
|
+
whitelist: {
|
|
6863
|
+
name: string;
|
|
6864
|
+
currency: string;
|
|
6865
|
+
address: string;
|
|
6866
|
+
}[];
|
|
6831
6867
|
};
|
|
6832
6868
|
id: string;
|
|
6833
6869
|
legacyId: number;
|
|
@@ -6857,58 +6893,18 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6857
6893
|
tinyUrl: string;
|
|
6858
6894
|
}[] | undefined;
|
|
6859
6895
|
} | {
|
|
6860
|
-
type: "
|
|
6896
|
+
type: "TRADELINK_EDIT_EXCHANGE";
|
|
6861
6897
|
data: {
|
|
6862
|
-
|
|
6863
|
-
|
|
6864
|
-
|
|
6865
|
-
|
|
6866
|
-
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
|
|
6870
|
-
|
|
6871
|
-
|
|
6872
|
-
rules: {
|
|
6873
|
-
reviewSteps: ({
|
|
6874
|
-
quorum: number;
|
|
6875
|
-
userIds: string[];
|
|
6876
|
-
} | {
|
|
6877
|
-
quorum: number;
|
|
6878
|
-
groupId: string;
|
|
6879
|
-
})[];
|
|
6880
|
-
threshold?: {
|
|
6881
|
-
min: string | null;
|
|
6882
|
-
max: string | null;
|
|
6883
|
-
} | undefined;
|
|
6884
|
-
whitelistIds?: string[] | undefined;
|
|
6885
|
-
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
6886
|
-
}[];
|
|
6887
|
-
};
|
|
6888
|
-
} | {
|
|
6889
|
-
type: "TRADELINK";
|
|
6890
|
-
assetManagerId: string;
|
|
6891
|
-
exchangeConfigs: {
|
|
6892
|
-
exchangeId: string;
|
|
6893
|
-
repledgeAuthorized: boolean;
|
|
6894
|
-
needsAssetManagerApprovalForSettlements: boolean;
|
|
6895
|
-
}[];
|
|
6896
|
-
} | {
|
|
6897
|
-
type: "RAW_SIGNING";
|
|
6898
|
-
policy: {
|
|
6899
|
-
rules: {
|
|
6900
|
-
operationType: "SIGN_DIGESTS";
|
|
6901
|
-
reviewSteps: {
|
|
6902
|
-
quorum: number;
|
|
6903
|
-
userIds: string[];
|
|
6904
|
-
}[];
|
|
6905
|
-
}[];
|
|
6906
|
-
};
|
|
6907
|
-
};
|
|
6908
|
-
portfolioIds?: string[] | undefined;
|
|
6909
|
-
index: number;
|
|
6910
|
-
derivationPath: string;
|
|
6911
|
-
type: "BITCOIN_LIKE" | "CANTON_LIKE" | "CARDANO_LIKE" | "ETHEREUM_LIKE" | "GENERIC_LIKE" | "HEDERA_LIKE" | "POLKADOT_LIKE" | "RAW_SIGNING" | "RIPPLE_LIKE" | "SOLANA_LIKE" | "STELLAR_LIKE" | "SUI_LIKE" | "TEZOS_LIKE" | "TRON_LIKE";
|
|
6898
|
+
tradelinkId: string;
|
|
6899
|
+
groups: {
|
|
6900
|
+
quorum: number;
|
|
6901
|
+
userIds: string[];
|
|
6902
|
+
}[];
|
|
6903
|
+
whitelist: {
|
|
6904
|
+
name: string;
|
|
6905
|
+
currency: string;
|
|
6906
|
+
address: string;
|
|
6907
|
+
}[];
|
|
6912
6908
|
};
|
|
6913
6909
|
id: string;
|
|
6914
6910
|
legacyId: number;
|
|
@@ -6938,24 +6934,17 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6938
6934
|
tinyUrl: string;
|
|
6939
6935
|
}[] | undefined;
|
|
6940
6936
|
} | {
|
|
6941
|
-
type: "
|
|
6937
|
+
type: "TRADELINK_CREATE_ASSET_MANAGER";
|
|
6942
6938
|
data: {
|
|
6943
|
-
|
|
6944
|
-
|
|
6945
|
-
|
|
6946
|
-
|
|
6947
|
-
|
|
6948
|
-
|
|
6949
|
-
|
|
6950
|
-
|
|
6951
|
-
|
|
6952
|
-
})[];
|
|
6953
|
-
threshold?: {
|
|
6954
|
-
min: string | null;
|
|
6955
|
-
max: string | null;
|
|
6956
|
-
} | undefined;
|
|
6957
|
-
whitelistIds?: string[] | undefined;
|
|
6958
|
-
operationType: "ACTIVATE_TOKEN" | "DEPLOY_CONTRACT" | "EXECUTE_CONTRACT" | "RECEIVE" | "SEND" | "SIGN_MESSAGE" | "STAKE";
|
|
6939
|
+
tradelinkId: string;
|
|
6940
|
+
groups: {
|
|
6941
|
+
quorum: number;
|
|
6942
|
+
userIds: string[];
|
|
6943
|
+
}[];
|
|
6944
|
+
whitelist: {
|
|
6945
|
+
name: string;
|
|
6946
|
+
currency: string;
|
|
6947
|
+
address: string;
|
|
6959
6948
|
}[];
|
|
6960
6949
|
};
|
|
6961
6950
|
id: string;
|
|
@@ -6986,8 +6975,19 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
6986
6975
|
tinyUrl: string;
|
|
6987
6976
|
}[] | undefined;
|
|
6988
6977
|
} | {
|
|
6989
|
-
type: "
|
|
6990
|
-
data:
|
|
6978
|
+
type: "TRADELINK_EDIT_ASSET_MANAGER";
|
|
6979
|
+
data: {
|
|
6980
|
+
tradelinkId: string;
|
|
6981
|
+
groups: {
|
|
6982
|
+
quorum: number;
|
|
6983
|
+
userIds: string[];
|
|
6984
|
+
}[];
|
|
6985
|
+
whitelist: {
|
|
6986
|
+
name: string;
|
|
6987
|
+
currency: string;
|
|
6988
|
+
address: string;
|
|
6989
|
+
}[];
|
|
6990
|
+
};
|
|
6991
6991
|
id: string;
|
|
6992
6992
|
legacyId: number;
|
|
6993
6993
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|
|
@@ -7016,9 +7016,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7016
7016
|
tinyUrl: string;
|
|
7017
7017
|
}[] | undefined;
|
|
7018
7018
|
} | {
|
|
7019
|
-
type: "
|
|
7019
|
+
type: "TRADELINK_ADJUST_PLEDGE";
|
|
7020
7020
|
data: {
|
|
7021
|
-
|
|
7021
|
+
accountId: string;
|
|
7022
|
+
exchangeId: string;
|
|
7023
|
+
amount: string;
|
|
7022
7024
|
};
|
|
7023
7025
|
id: string;
|
|
7024
7026
|
legacyId: number;
|
|
@@ -7048,13 +7050,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7048
7050
|
tinyUrl: string;
|
|
7049
7051
|
}[] | undefined;
|
|
7050
7052
|
} | {
|
|
7051
|
-
type: "
|
|
7053
|
+
type: "TRADELINK_REPLEDGE";
|
|
7052
7054
|
data: {
|
|
7053
|
-
|
|
7054
|
-
|
|
7055
|
-
|
|
7056
|
-
customContractCallEnabled: boolean;
|
|
7057
|
-
};
|
|
7055
|
+
accountId: string;
|
|
7056
|
+
exchangeId: string;
|
|
7057
|
+
amount: string;
|
|
7058
7058
|
};
|
|
7059
7059
|
id: string;
|
|
7060
7060
|
legacyId: number;
|
|
@@ -7084,12 +7084,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7084
7084
|
tinyUrl: string;
|
|
7085
7085
|
}[] | undefined;
|
|
7086
7086
|
} | {
|
|
7087
|
-
type: "
|
|
7087
|
+
type: "TRADELINK_CREATE_SETTLEMENT";
|
|
7088
7088
|
data: {
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
|
|
7092
|
-
};
|
|
7089
|
+
accountId: string;
|
|
7090
|
+
exchangeId: string;
|
|
7091
|
+
transaction: SendOnlyTransactionData;
|
|
7093
7092
|
};
|
|
7094
7093
|
id: string;
|
|
7095
7094
|
legacyId: number;
|
|
@@ -7119,11 +7118,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7119
7118
|
tinyUrl: string;
|
|
7120
7119
|
}[] | undefined;
|
|
7121
7120
|
} | {
|
|
7122
|
-
type: "
|
|
7121
|
+
type: "TRADELINK_FORCE_UNPLEDGE";
|
|
7123
7122
|
data: {
|
|
7124
|
-
|
|
7125
|
-
|
|
7126
|
-
scopes: Record<string, never>;
|
|
7123
|
+
accountId: string;
|
|
7124
|
+
exchangeId: string;
|
|
7127
7125
|
};
|
|
7128
7126
|
id: string;
|
|
7129
7127
|
legacyId: number;
|
|
@@ -7153,11 +7151,10 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7153
7151
|
tinyUrl: string;
|
|
7154
7152
|
}[] | undefined;
|
|
7155
7153
|
} | {
|
|
7156
|
-
type: "
|
|
7154
|
+
type: "TRADELINK_WITHDRAW";
|
|
7157
7155
|
data: {
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
scopes: Record<string, never>;
|
|
7156
|
+
accountId: string;
|
|
7157
|
+
transaction: SendOnlyTransactionData;
|
|
7161
7158
|
};
|
|
7162
7159
|
id: string;
|
|
7163
7160
|
legacyId: number;
|
|
@@ -7187,8 +7184,11 @@ declare const internalAppRouter: import("@trpc/server").TRPCBuiltRouter<{
|
|
|
7187
7184
|
tinyUrl: string;
|
|
7188
7185
|
}[] | undefined;
|
|
7189
7186
|
} | {
|
|
7190
|
-
type: "
|
|
7191
|
-
data:
|
|
7187
|
+
type: "TRADELINK_ARBITRATE";
|
|
7188
|
+
data: {
|
|
7189
|
+
accountId: string;
|
|
7190
|
+
transaction: SendOnlyTransactionData;
|
|
7191
|
+
};
|
|
7192
7192
|
id: string;
|
|
7193
7193
|
legacyId: number;
|
|
7194
7194
|
state: "ABORTED" | "BLOCKED" | "EXECUTED" | "EXECUTING" | "EXPIRED" | "FAILED" | "INITIAL" | "PENDING_APPROVAL" | "STUCK";
|