@invisible-labs/sdk 0.9.0-devnet → 0.10.0-devnet
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -3
- package/dist/.invisible-sdk-build-target.json +2 -2
- package/dist/{chunk-ISIWWGSR.js → chunk-6AGC3IOB.js} +3 -3
- package/dist/{chunk-ISIWWGSR.js.map → chunk-6AGC3IOB.js.map} +1 -1
- package/dist/{chunk-EOPZVOVP.js → chunk-ANQMIQYS.js} +579 -16
- package/dist/chunk-ANQMIQYS.js.map +1 -0
- package/dist/{chunk-QF5TSUQE.js → chunk-DFBH5XLM.js} +403 -49
- package/dist/chunk-DFBH5XLM.js.map +1 -0
- package/dist/coordinator-T2B7253V.js +4 -0
- package/dist/{coordinator-DHL3AP7V.js.map → coordinator-T2B7253V.js.map} +1 -1
- package/dist/events.js +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/lp.d.ts +40 -2
- package/dist/lp.js +190 -25
- package/dist/lp.js.map +1 -1
- package/dist/{types.generated-DrM2M4DZ.d.ts → types.generated-CtMxCo9F.d.ts} +74 -0
- package/dist/user.d.ts +9 -4
- package/dist/user.js +47 -16
- package/dist/user.js.map +1 -1
- package/package.json +2 -2
- package/dist/chunk-EOPZVOVP.js.map +0 -1
- package/dist/chunk-QF5TSUQE.js.map +0 -1
- package/dist/coordinator-DHL3AP7V.js +0 -4
|
@@ -1247,7 +1247,7 @@ function assertAttestResponse(value) {
|
|
|
1247
1247
|
if (v["mode"] !== "dev" && v["mode"] !== "prod") {
|
|
1248
1248
|
throw err("QUOTE_DECODE", `attestation response has unknown mode: "${v["mode"]}"`);
|
|
1249
1249
|
}
|
|
1250
|
-
if (v["runtime_profile"] !== void 0 && v["runtime_profile"] !== "prod-hardened" && v["runtime_profile"] !== "prod-devnet-simplified" && v["runtime_profile"] !== "prod-devnet-simplified-locked" && v["runtime_profile"] !== "azure-tdx-v0-agentless") {
|
|
1250
|
+
if (v["runtime_profile"] !== void 0 && v["runtime_profile"] !== "prod-hardened" && v["runtime_profile"] !== "prod-devnet-simplified" && v["runtime_profile"] !== "prod-devnet-simplified-locked" && v["runtime_profile"] !== "prod-devnet-premium-locked" && v["runtime_profile"] !== "azure-tdx-v0-agentless") {
|
|
1251
1251
|
throw err(
|
|
1252
1252
|
"QUOTE_DECODE",
|
|
1253
1253
|
`attestation response has unknown runtime profile: "${v["runtime_profile"]}"`
|
|
@@ -3739,7 +3739,10 @@ var payoutPolicy_schema_default = {
|
|
|
3739
3739
|
},
|
|
3740
3740
|
batchExclusionId: {
|
|
3741
3741
|
type: "string",
|
|
3742
|
-
|
|
3742
|
+
minLength: 1,
|
|
3743
|
+
maxLength: 128,
|
|
3744
|
+
pattern: "^[A-Za-z0-9_-]+$",
|
|
3745
|
+
description: "Opaque user-scoped grouping token. Same-ID user-owned liquidity cannot fund this contract; it is not an identity credential."
|
|
3743
3746
|
}
|
|
3744
3747
|
},
|
|
3745
3748
|
$defs: {
|
|
@@ -3860,6 +3863,7 @@ var coordinatorPoolConfig_schema_default = {
|
|
|
3860
3863
|
"prod-hardened",
|
|
3861
3864
|
"prod-devnet-simplified",
|
|
3862
3865
|
"prod-devnet-simplified-locked",
|
|
3866
|
+
"prod-devnet-premium-locked",
|
|
3863
3867
|
"azure-tdx-v0-agentless"
|
|
3864
3868
|
],
|
|
3865
3869
|
description: "Optional compile-time coordinator runtime profile; production simplified deployments must pin it."
|
|
@@ -3927,37 +3931,596 @@ var lpPositionView_schema_default = {
|
|
|
3927
3931
|
"createdAt"
|
|
3928
3932
|
],
|
|
3929
3933
|
properties: {
|
|
3930
|
-
id: {
|
|
3931
|
-
|
|
3932
|
-
|
|
3934
|
+
id: {
|
|
3935
|
+
type: "string",
|
|
3936
|
+
description: "lp_position_id"
|
|
3937
|
+
},
|
|
3938
|
+
status: {
|
|
3939
|
+
enum: ["dkg_pending", "active", "withdrawing", "closed"]
|
|
3940
|
+
},
|
|
3941
|
+
targetShardCount: {
|
|
3942
|
+
type: "integer",
|
|
3943
|
+
minimum: 0,
|
|
3944
|
+
maximum: 4294967295
|
|
3945
|
+
},
|
|
3933
3946
|
authPublicKey: {
|
|
3934
3947
|
type: "string",
|
|
3935
3948
|
description: "Derived from the LP Position Code; signs LP commands."
|
|
3936
3949
|
},
|
|
3937
|
-
refillPublicKey: {
|
|
3950
|
+
refillPublicKey: {
|
|
3951
|
+
type: "string",
|
|
3952
|
+
description: "Ed25519, 32 bytes."
|
|
3953
|
+
},
|
|
3938
3954
|
withdrawalCommitment: {
|
|
3939
3955
|
type: "string",
|
|
3940
3956
|
description: "SHA256(withdrawal_secret)."
|
|
3941
3957
|
},
|
|
3942
|
-
committedLamports: {
|
|
3943
|
-
|
|
3944
|
-
|
|
3958
|
+
committedLamports: {
|
|
3959
|
+
type: "integer",
|
|
3960
|
+
minimum: 0
|
|
3961
|
+
},
|
|
3962
|
+
earnedLamports: {
|
|
3963
|
+
type: "integer",
|
|
3964
|
+
minimum: 0,
|
|
3965
|
+
description: "Historical gross fees. For a profiled position, actorSync.lifetimeEarnedLamports is the LP net entitlement."
|
|
3966
|
+
},
|
|
3967
|
+
refillThreshold: {
|
|
3968
|
+
type: "integer",
|
|
3969
|
+
minimum: 0
|
|
3970
|
+
},
|
|
3945
3971
|
shards: {
|
|
3946
3972
|
type: "array",
|
|
3947
3973
|
description: "LpInventoryShard[] from the protocol package; opaque to the SDK skeleton.",
|
|
3948
|
-
items: {
|
|
3974
|
+
items: {
|
|
3975
|
+
type: "object"
|
|
3976
|
+
}
|
|
3977
|
+
},
|
|
3978
|
+
createdAt: {
|
|
3979
|
+
type: "integer",
|
|
3980
|
+
minimum: 0
|
|
3949
3981
|
},
|
|
3950
|
-
createdAt: { type: "integer", minimum: 0 },
|
|
3951
3982
|
redemptionPermission: {
|
|
3952
3983
|
type: "object",
|
|
3953
3984
|
additionalProperties: false,
|
|
3954
3985
|
required: ["state", "grantRevision", "observedAtMs"],
|
|
3955
3986
|
properties: {
|
|
3956
|
-
state: {
|
|
3957
|
-
|
|
3958
|
-
|
|
3987
|
+
state: {
|
|
3988
|
+
enum: ["unknown", "locked", "enabled"]
|
|
3989
|
+
},
|
|
3990
|
+
grantRevision: {
|
|
3991
|
+
type: "integer",
|
|
3992
|
+
minimum: 0
|
|
3993
|
+
},
|
|
3994
|
+
observedAtMs: {
|
|
3995
|
+
type: "integer",
|
|
3996
|
+
minimum: 0
|
|
3997
|
+
}
|
|
3998
|
+
}
|
|
3999
|
+
},
|
|
4000
|
+
feePolicy: {
|
|
4001
|
+
$ref: "#/$defs/lpFeePolicy"
|
|
4002
|
+
},
|
|
4003
|
+
lpFeePolicyVersion: {
|
|
4004
|
+
const: 1
|
|
4005
|
+
},
|
|
4006
|
+
actorSync: {
|
|
4007
|
+
type: "object",
|
|
4008
|
+
additionalProperties: false,
|
|
4009
|
+
required: [
|
|
4010
|
+
"lpPositionId",
|
|
4011
|
+
"status",
|
|
4012
|
+
"sourceLiquidityUse",
|
|
4013
|
+
"pendingReservationCount",
|
|
4014
|
+
"reservedPayoutLamports",
|
|
4015
|
+
"estimatedNetworkFeeLamports",
|
|
4016
|
+
"reimbursementDueCount",
|
|
4017
|
+
"reimbursementDueSourceCount",
|
|
4018
|
+
"reimbursementDuePayoutLamports",
|
|
4019
|
+
"reimbursementDueNetworkFeeLamports",
|
|
4020
|
+
"withdrawalRequestedLamports",
|
|
4021
|
+
"withdrawalLandedLamports",
|
|
4022
|
+
"withdrawalLandedFeeLamports",
|
|
4023
|
+
"withdrawalCanceledLamports",
|
|
4024
|
+
"withdrawalNetworkFeeLossLamports",
|
|
4025
|
+
"withdrawalTxHashes",
|
|
4026
|
+
"stateVersion",
|
|
4027
|
+
"updatedAtMs",
|
|
4028
|
+
"redeemableProjectionAvailable"
|
|
4029
|
+
],
|
|
4030
|
+
dependentRequired: {
|
|
4031
|
+
redeemablePrincipalLamports: [
|
|
4032
|
+
"redeemableFeeLamports",
|
|
4033
|
+
"lifetimeEarnedLamports",
|
|
4034
|
+
"redeemablePrincipalSourceCount",
|
|
4035
|
+
"redeemableFeeSourceCount"
|
|
4036
|
+
],
|
|
4037
|
+
redeemableFeeLamports: [
|
|
4038
|
+
"redeemablePrincipalLamports",
|
|
4039
|
+
"lifetimeEarnedLamports",
|
|
4040
|
+
"redeemablePrincipalSourceCount",
|
|
4041
|
+
"redeemableFeeSourceCount"
|
|
4042
|
+
],
|
|
4043
|
+
lifetimeEarnedLamports: [
|
|
4044
|
+
"redeemablePrincipalLamports",
|
|
4045
|
+
"redeemableFeeLamports",
|
|
4046
|
+
"redeemablePrincipalSourceCount",
|
|
4047
|
+
"redeemableFeeSourceCount"
|
|
4048
|
+
],
|
|
4049
|
+
redeemablePrincipalSourceCount: [
|
|
4050
|
+
"redeemablePrincipalLamports",
|
|
4051
|
+
"redeemableFeeLamports",
|
|
4052
|
+
"lifetimeEarnedLamports",
|
|
4053
|
+
"redeemableFeeSourceCount"
|
|
4054
|
+
],
|
|
4055
|
+
redeemableFeeSourceCount: [
|
|
4056
|
+
"redeemablePrincipalLamports",
|
|
4057
|
+
"redeemableFeeLamports",
|
|
4058
|
+
"lifetimeEarnedLamports",
|
|
4059
|
+
"redeemablePrincipalSourceCount"
|
|
4060
|
+
],
|
|
4061
|
+
feePolicy: [
|
|
4062
|
+
"feeBasisRevision",
|
|
4063
|
+
"grossFeeLamports",
|
|
4064
|
+
"protocolCommissionLamports",
|
|
4065
|
+
"redeemablePrincipalLamports",
|
|
4066
|
+
"redeemableFeeLamports",
|
|
4067
|
+
"lifetimeEarnedLamports",
|
|
4068
|
+
"economicReturn"
|
|
4069
|
+
],
|
|
4070
|
+
feeBasisRevision: [
|
|
4071
|
+
"feePolicy",
|
|
4072
|
+
"grossFeeLamports",
|
|
4073
|
+
"protocolCommissionLamports",
|
|
4074
|
+
"redeemablePrincipalLamports",
|
|
4075
|
+
"redeemableFeeLamports",
|
|
4076
|
+
"lifetimeEarnedLamports",
|
|
4077
|
+
"economicReturn"
|
|
4078
|
+
],
|
|
4079
|
+
grossFeeLamports: [
|
|
4080
|
+
"feePolicy",
|
|
4081
|
+
"feeBasisRevision",
|
|
4082
|
+
"protocolCommissionLamports",
|
|
4083
|
+
"redeemablePrincipalLamports",
|
|
4084
|
+
"redeemableFeeLamports",
|
|
4085
|
+
"lifetimeEarnedLamports",
|
|
4086
|
+
"economicReturn"
|
|
4087
|
+
],
|
|
4088
|
+
protocolCommissionLamports: [
|
|
4089
|
+
"feePolicy",
|
|
4090
|
+
"feeBasisRevision",
|
|
4091
|
+
"grossFeeLamports",
|
|
4092
|
+
"redeemablePrincipalLamports",
|
|
4093
|
+
"redeemableFeeLamports",
|
|
4094
|
+
"lifetimeEarnedLamports",
|
|
4095
|
+
"economicReturn"
|
|
4096
|
+
]
|
|
4097
|
+
},
|
|
4098
|
+
properties: {
|
|
4099
|
+
economicReturn: {
|
|
4100
|
+
type: "object",
|
|
4101
|
+
additionalProperties: false,
|
|
4102
|
+
required: [
|
|
4103
|
+
"providerRewardLamports",
|
|
4104
|
+
"sourceExpenseCompensationLamports",
|
|
4105
|
+
"chargedReimbursementLossLamports",
|
|
4106
|
+
"netEconomicReturnLamports"
|
|
4107
|
+
],
|
|
4108
|
+
properties: {
|
|
4109
|
+
providerRewardLamports: {
|
|
4110
|
+
type: "string",
|
|
4111
|
+
minLength: 1,
|
|
4112
|
+
maxLength: 39,
|
|
4113
|
+
pattern: "^(0|[1-9][0-9]*)$"
|
|
4114
|
+
},
|
|
4115
|
+
sourceExpenseCompensationLamports: {
|
|
4116
|
+
type: "string",
|
|
4117
|
+
minLength: 1,
|
|
4118
|
+
maxLength: 39,
|
|
4119
|
+
pattern: "^(0|[1-9][0-9]*)$"
|
|
4120
|
+
},
|
|
4121
|
+
chargedReimbursementLossLamports: {
|
|
4122
|
+
type: "string",
|
|
4123
|
+
minLength: 1,
|
|
4124
|
+
maxLength: 39,
|
|
4125
|
+
pattern: "^(0|[1-9][0-9]*)$"
|
|
4126
|
+
},
|
|
4127
|
+
netEconomicReturnLamports: {
|
|
4128
|
+
type: "string",
|
|
4129
|
+
minLength: 1,
|
|
4130
|
+
maxLength: 40,
|
|
4131
|
+
pattern: "^(0|-?[1-9][0-9]*)$"
|
|
4132
|
+
}
|
|
4133
|
+
}
|
|
4134
|
+
},
|
|
4135
|
+
lpPositionId: {
|
|
4136
|
+
type: "string",
|
|
4137
|
+
minLength: 3,
|
|
4138
|
+
maxLength: 96,
|
|
4139
|
+
pattern: "^[A-Za-z0-9_-]+$"
|
|
4140
|
+
},
|
|
4141
|
+
status: {
|
|
4142
|
+
enum: ["idle", "settling", "reimbursement_due"]
|
|
4143
|
+
},
|
|
4144
|
+
sourceLiquidityUse: {
|
|
4145
|
+
enum: [
|
|
4146
|
+
"not_materialized",
|
|
4147
|
+
"available",
|
|
4148
|
+
"locked_for_payout",
|
|
4149
|
+
"pending_finality",
|
|
4150
|
+
"spent",
|
|
4151
|
+
"released"
|
|
4152
|
+
]
|
|
4153
|
+
},
|
|
4154
|
+
redeemablePrincipalLamports: {
|
|
4155
|
+
type: "integer",
|
|
4156
|
+
minimum: 0,
|
|
4157
|
+
maximum: 9007199254740991
|
|
4158
|
+
},
|
|
4159
|
+
redeemableFeeLamports: {
|
|
4160
|
+
type: "integer",
|
|
4161
|
+
minimum: 0,
|
|
4162
|
+
maximum: 9007199254740991
|
|
4163
|
+
},
|
|
4164
|
+
lifetimeEarnedLamports: {
|
|
4165
|
+
type: "integer",
|
|
4166
|
+
minimum: 0,
|
|
4167
|
+
maximum: 9007199254740991
|
|
4168
|
+
},
|
|
4169
|
+
redeemablePrincipalSourceCount: {
|
|
4170
|
+
type: "integer",
|
|
4171
|
+
minimum: 0,
|
|
4172
|
+
maximum: 9007199254740991
|
|
4173
|
+
},
|
|
4174
|
+
redeemableFeeSourceCount: {
|
|
4175
|
+
type: "integer",
|
|
4176
|
+
minimum: 0,
|
|
4177
|
+
maximum: 9007199254740991
|
|
4178
|
+
},
|
|
4179
|
+
redeemableSourceCount: {
|
|
4180
|
+
type: "integer",
|
|
4181
|
+
minimum: 0,
|
|
4182
|
+
maximum: 9007199254740991
|
|
4183
|
+
},
|
|
4184
|
+
pendingReservationCount: {
|
|
4185
|
+
type: "integer",
|
|
4186
|
+
minimum: 0,
|
|
4187
|
+
maximum: 9007199254740991
|
|
4188
|
+
},
|
|
4189
|
+
reservedPayoutLamports: {
|
|
4190
|
+
type: "integer",
|
|
4191
|
+
minimum: 0,
|
|
4192
|
+
maximum: 9007199254740991
|
|
4193
|
+
},
|
|
4194
|
+
estimatedNetworkFeeLamports: {
|
|
4195
|
+
type: "integer",
|
|
4196
|
+
minimum: 0,
|
|
4197
|
+
maximum: 9007199254740991
|
|
4198
|
+
},
|
|
4199
|
+
reimbursementDueCount: {
|
|
4200
|
+
type: "integer",
|
|
4201
|
+
minimum: 0,
|
|
4202
|
+
maximum: 9007199254740991
|
|
4203
|
+
},
|
|
4204
|
+
reimbursementDueSourceCount: {
|
|
4205
|
+
type: "integer",
|
|
4206
|
+
minimum: 0,
|
|
4207
|
+
maximum: 9007199254740991
|
|
4208
|
+
},
|
|
4209
|
+
reimbursementDuePayoutLamports: {
|
|
4210
|
+
type: "integer",
|
|
4211
|
+
minimum: 0,
|
|
4212
|
+
maximum: 9007199254740991
|
|
4213
|
+
},
|
|
4214
|
+
reimbursementDueNetworkFeeLamports: {
|
|
4215
|
+
type: "integer",
|
|
4216
|
+
minimum: 0,
|
|
4217
|
+
maximum: 9007199254740991
|
|
4218
|
+
},
|
|
4219
|
+
withdrawalRequestedLamports: {
|
|
4220
|
+
type: "integer",
|
|
4221
|
+
minimum: 0,
|
|
4222
|
+
maximum: 9007199254740991
|
|
4223
|
+
},
|
|
4224
|
+
withdrawalLandedLamports: {
|
|
4225
|
+
type: "integer",
|
|
4226
|
+
minimum: 0,
|
|
4227
|
+
maximum: 9007199254740991
|
|
4228
|
+
},
|
|
4229
|
+
withdrawalLandedFeeLamports: {
|
|
4230
|
+
type: "integer",
|
|
4231
|
+
minimum: 0,
|
|
4232
|
+
maximum: 9007199254740991
|
|
4233
|
+
},
|
|
4234
|
+
withdrawalCanceledLamports: {
|
|
4235
|
+
type: "integer",
|
|
4236
|
+
minimum: 0,
|
|
4237
|
+
maximum: 9007199254740991
|
|
4238
|
+
},
|
|
4239
|
+
withdrawalNetworkFeeLossLamports: {
|
|
4240
|
+
type: "integer",
|
|
4241
|
+
minimum: 0,
|
|
4242
|
+
maximum: 9007199254740991
|
|
4243
|
+
},
|
|
4244
|
+
withdrawalTxHashes: {
|
|
4245
|
+
type: "array",
|
|
4246
|
+
maxItems: 500,
|
|
4247
|
+
items: {
|
|
4248
|
+
type: "string",
|
|
4249
|
+
minLength: 1,
|
|
4250
|
+
maxLength: 88
|
|
4251
|
+
}
|
|
4252
|
+
},
|
|
4253
|
+
redemptionHistory: {
|
|
4254
|
+
type: "array",
|
|
4255
|
+
maxItems: 32,
|
|
4256
|
+
items: {
|
|
4257
|
+
type: "object",
|
|
4258
|
+
additionalProperties: false,
|
|
4259
|
+
required: [
|
|
4260
|
+
"redemptionId",
|
|
4261
|
+
"state",
|
|
4262
|
+
"acceptedLamports",
|
|
4263
|
+
"acceptedDepositPrincipalLamports",
|
|
4264
|
+
"acceptedEarnedFeeLamports",
|
|
4265
|
+
"landedLamports",
|
|
4266
|
+
"landedDepositPrincipalLamports",
|
|
4267
|
+
"landedEarnedFeeLamports",
|
|
4268
|
+
"canceledLamports",
|
|
4269
|
+
"canceledDepositPrincipalLamports",
|
|
4270
|
+
"canceledEarnedFeeLamports",
|
|
4271
|
+
"networkFeeLamports",
|
|
4272
|
+
"networkFeeLossLamports",
|
|
4273
|
+
"failedAttempts",
|
|
4274
|
+
"destinationAddresses",
|
|
4275
|
+
"destinationCount",
|
|
4276
|
+
"txSignatures",
|
|
4277
|
+
"txSignatureCount",
|
|
4278
|
+
"detailsTruncated",
|
|
4279
|
+
"stateVersion",
|
|
4280
|
+
"createdAtMs",
|
|
4281
|
+
"updatedAtMs"
|
|
4282
|
+
],
|
|
4283
|
+
properties: {
|
|
4284
|
+
redemptionId: {
|
|
4285
|
+
type: "string",
|
|
4286
|
+
minLength: 1,
|
|
4287
|
+
maxLength: 160,
|
|
4288
|
+
pattern: "^[A-Za-z0-9_:-]+$"
|
|
4289
|
+
},
|
|
4290
|
+
state: {
|
|
4291
|
+
enum: [
|
|
4292
|
+
"requested",
|
|
4293
|
+
"match_requested",
|
|
4294
|
+
"reserved",
|
|
4295
|
+
"pending",
|
|
4296
|
+
"confirmed",
|
|
4297
|
+
"rejected"
|
|
4298
|
+
]
|
|
4299
|
+
},
|
|
4300
|
+
withdrawalMode: {
|
|
4301
|
+
enum: ["exact", "max_available"]
|
|
4302
|
+
},
|
|
4303
|
+
acceptedLamports: {
|
|
4304
|
+
type: "integer",
|
|
4305
|
+
minimum: 1,
|
|
4306
|
+
maximum: 9007199254740991
|
|
4307
|
+
},
|
|
4308
|
+
acceptedDepositPrincipalLamports: {
|
|
4309
|
+
type: "integer",
|
|
4310
|
+
minimum: 0,
|
|
4311
|
+
maximum: 9007199254740991
|
|
4312
|
+
},
|
|
4313
|
+
acceptedEarnedFeeLamports: {
|
|
4314
|
+
type: "integer",
|
|
4315
|
+
minimum: 0,
|
|
4316
|
+
maximum: 9007199254740991
|
|
4317
|
+
},
|
|
4318
|
+
landedLamports: {
|
|
4319
|
+
type: "integer",
|
|
4320
|
+
minimum: 0,
|
|
4321
|
+
maximum: 9007199254740991
|
|
4322
|
+
},
|
|
4323
|
+
landedDepositPrincipalLamports: {
|
|
4324
|
+
type: "integer",
|
|
4325
|
+
minimum: 0,
|
|
4326
|
+
maximum: 9007199254740991
|
|
4327
|
+
},
|
|
4328
|
+
landedEarnedFeeLamports: {
|
|
4329
|
+
type: "integer",
|
|
4330
|
+
minimum: 0,
|
|
4331
|
+
maximum: 9007199254740991
|
|
4332
|
+
},
|
|
4333
|
+
canceledLamports: {
|
|
4334
|
+
type: "integer",
|
|
4335
|
+
minimum: 0,
|
|
4336
|
+
maximum: 9007199254740991
|
|
4337
|
+
},
|
|
4338
|
+
canceledDepositPrincipalLamports: {
|
|
4339
|
+
type: "integer",
|
|
4340
|
+
minimum: 0,
|
|
4341
|
+
maximum: 9007199254740991
|
|
4342
|
+
},
|
|
4343
|
+
canceledEarnedFeeLamports: {
|
|
4344
|
+
type: "integer",
|
|
4345
|
+
minimum: 0,
|
|
4346
|
+
maximum: 9007199254740991
|
|
4347
|
+
},
|
|
4348
|
+
networkFeeLamports: {
|
|
4349
|
+
type: "integer",
|
|
4350
|
+
minimum: 0,
|
|
4351
|
+
maximum: 9007199254740991
|
|
4352
|
+
},
|
|
4353
|
+
networkFeeLossLamports: {
|
|
4354
|
+
type: "integer",
|
|
4355
|
+
minimum: 0,
|
|
4356
|
+
maximum: 9007199254740991
|
|
4357
|
+
},
|
|
4358
|
+
failedAttempts: {
|
|
4359
|
+
type: "integer",
|
|
4360
|
+
minimum: 0,
|
|
4361
|
+
maximum: 9007199254740991
|
|
4362
|
+
},
|
|
4363
|
+
destinationAddresses: {
|
|
4364
|
+
type: "array",
|
|
4365
|
+
minItems: 1,
|
|
4366
|
+
maxItems: 1e3,
|
|
4367
|
+
items: {
|
|
4368
|
+
type: "string",
|
|
4369
|
+
minLength: 1,
|
|
4370
|
+
maxLength: 44
|
|
4371
|
+
}
|
|
4372
|
+
},
|
|
4373
|
+
destinationCount: {
|
|
4374
|
+
type: "integer",
|
|
4375
|
+
minimum: 0,
|
|
4376
|
+
maximum: 9007199254740991
|
|
4377
|
+
},
|
|
4378
|
+
txSignatures: {
|
|
4379
|
+
type: "array",
|
|
4380
|
+
maxItems: 32,
|
|
4381
|
+
items: {
|
|
4382
|
+
type: "string",
|
|
4383
|
+
minLength: 1,
|
|
4384
|
+
maxLength: 88
|
|
4385
|
+
}
|
|
4386
|
+
},
|
|
4387
|
+
txSignatureCount: {
|
|
4388
|
+
type: "integer",
|
|
4389
|
+
minimum: 0,
|
|
4390
|
+
maximum: 9007199254740991
|
|
4391
|
+
},
|
|
4392
|
+
detailsTruncated: {
|
|
4393
|
+
type: "boolean"
|
|
4394
|
+
},
|
|
4395
|
+
stateVersion: {
|
|
4396
|
+
type: "integer",
|
|
4397
|
+
minimum: 0,
|
|
4398
|
+
maximum: 9007199254740991
|
|
4399
|
+
},
|
|
4400
|
+
createdAtMs: {
|
|
4401
|
+
type: "integer",
|
|
4402
|
+
minimum: 0,
|
|
4403
|
+
maximum: 9007199254740991
|
|
4404
|
+
},
|
|
4405
|
+
updatedAtMs: {
|
|
4406
|
+
type: "integer",
|
|
4407
|
+
minimum: 0,
|
|
4408
|
+
maximum: 9007199254740991
|
|
4409
|
+
},
|
|
4410
|
+
feePolicyHash: {
|
|
4411
|
+
type: "string",
|
|
4412
|
+
pattern: "^[0-9a-f]{64}$",
|
|
4413
|
+
minLength: 64,
|
|
4414
|
+
maxLength: 64
|
|
4415
|
+
},
|
|
4416
|
+
feeBasisRevision: {
|
|
4417
|
+
type: "integer",
|
|
4418
|
+
minimum: 0,
|
|
4419
|
+
maximum: 9007199254740991
|
|
4420
|
+
}
|
|
4421
|
+
},
|
|
4422
|
+
dependentRequired: {
|
|
4423
|
+
feePolicyHash: ["feeBasisRevision"],
|
|
4424
|
+
feeBasisRevision: ["feePolicyHash"]
|
|
4425
|
+
}
|
|
4426
|
+
}
|
|
4427
|
+
},
|
|
4428
|
+
redemptionHistoryHasMore: {
|
|
4429
|
+
type: "boolean"
|
|
4430
|
+
},
|
|
4431
|
+
redemptionHistoryNextCursor: {
|
|
4432
|
+
type: "string",
|
|
4433
|
+
minLength: 1,
|
|
4434
|
+
maxLength: 160,
|
|
4435
|
+
pattern: "^[A-Za-z0-9_:-]+$"
|
|
4436
|
+
},
|
|
4437
|
+
stateVersion: {
|
|
4438
|
+
type: "integer",
|
|
4439
|
+
minimum: 0,
|
|
4440
|
+
maximum: 9007199254740991
|
|
4441
|
+
},
|
|
4442
|
+
updatedAtMs: {
|
|
4443
|
+
type: "integer",
|
|
4444
|
+
minimum: 0,
|
|
4445
|
+
maximum: 9007199254740991
|
|
4446
|
+
},
|
|
4447
|
+
feePolicy: {
|
|
4448
|
+
$ref: "#/$defs/lpFeePolicy"
|
|
4449
|
+
},
|
|
4450
|
+
feeBasisRevision: {
|
|
4451
|
+
type: "integer",
|
|
4452
|
+
minimum: 0,
|
|
4453
|
+
maximum: 9007199254740991
|
|
4454
|
+
},
|
|
4455
|
+
grossFeeLamports: {
|
|
4456
|
+
type: "integer",
|
|
4457
|
+
minimum: 0,
|
|
4458
|
+
maximum: 9007199254740991
|
|
4459
|
+
},
|
|
4460
|
+
protocolCommissionLamports: {
|
|
4461
|
+
type: "integer",
|
|
4462
|
+
minimum: 0,
|
|
4463
|
+
maximum: 9007199254740991
|
|
4464
|
+
},
|
|
4465
|
+
redeemableProjectionAvailable: {
|
|
4466
|
+
type: "boolean"
|
|
4467
|
+
}
|
|
3959
4468
|
}
|
|
3960
4469
|
}
|
|
4470
|
+
},
|
|
4471
|
+
$defs: {
|
|
4472
|
+
lpFeePolicy: {
|
|
4473
|
+
type: "object",
|
|
4474
|
+
additionalProperties: false,
|
|
4475
|
+
required: ["version", "profile", "commission_bps", "policy_hash"],
|
|
4476
|
+
properties: {
|
|
4477
|
+
version: {
|
|
4478
|
+
const: 1
|
|
4479
|
+
},
|
|
4480
|
+
profile: {
|
|
4481
|
+
enum: ["internal", "partner"]
|
|
4482
|
+
},
|
|
4483
|
+
commission_bps: {
|
|
4484
|
+
enum: [0, 6e3]
|
|
4485
|
+
},
|
|
4486
|
+
policy_hash: {
|
|
4487
|
+
type: "string",
|
|
4488
|
+
pattern: "^[0-9a-f]{64}$"
|
|
4489
|
+
}
|
|
4490
|
+
},
|
|
4491
|
+
allOf: [
|
|
4492
|
+
{
|
|
4493
|
+
oneOf: [
|
|
4494
|
+
{
|
|
4495
|
+
properties: {
|
|
4496
|
+
profile: {
|
|
4497
|
+
const: "internal"
|
|
4498
|
+
},
|
|
4499
|
+
commission_bps: {
|
|
4500
|
+
const: 0
|
|
4501
|
+
},
|
|
4502
|
+
policy_hash: {
|
|
4503
|
+
const: "53479c39d822899c0abe21990aeff40ea74681277b2744ef86234152cc94ca5a"
|
|
4504
|
+
}
|
|
4505
|
+
}
|
|
4506
|
+
},
|
|
4507
|
+
{
|
|
4508
|
+
properties: {
|
|
4509
|
+
profile: {
|
|
4510
|
+
const: "partner"
|
|
4511
|
+
},
|
|
4512
|
+
commission_bps: {
|
|
4513
|
+
const: 6e3
|
|
4514
|
+
},
|
|
4515
|
+
policy_hash: {
|
|
4516
|
+
const: "3e1a307504043bc0b25f03ccffdff1b42cd2b38699f000f7eb70ce9433a5b2a7"
|
|
4517
|
+
}
|
|
4518
|
+
}
|
|
4519
|
+
}
|
|
4520
|
+
]
|
|
4521
|
+
}
|
|
4522
|
+
]
|
|
4523
|
+
}
|
|
3961
4524
|
}
|
|
3962
4525
|
};
|
|
3963
4526
|
|
|
@@ -4190,5 +4753,5 @@ async function runReattest(state, endpoint) {
|
|
|
4190
4753
|
}
|
|
4191
4754
|
|
|
4192
4755
|
export { INTEL_SGX_ROOT_CA_FINGERPRINT_SHA256, closeSession, createExponentialBackoff, createSession, createSessionInternal, createStateController, disabledClientPersistence, formatAjvErrors, getPersistedTransfer, isLoopbackUrl, listPersistedTransfers, noiseWebSocketTransport, persistTransferAllocation, persistTransferDkgMetadata, persistTransferReady, persistTransferRecoveryCode, persistTransferStatus, persistTransferTerminal, purgePersistedTransfers, readPersistedTransferForResume, reattestSerialized, removePersistedTransfer, validatePayoutPolicyShape };
|
|
4193
|
-
//# sourceMappingURL=chunk-
|
|
4194
|
-
//# sourceMappingURL=chunk-
|
|
4756
|
+
//# sourceMappingURL=chunk-ANQMIQYS.js.map
|
|
4757
|
+
//# sourceMappingURL=chunk-ANQMIQYS.js.map
|