@verana-labs/verana-types 0.10.1-dev.13 → 0.10.1-dev.15

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.
@@ -36,11 +36,11 @@ export interface MsgStartParticipantOP {
36
36
  verificationFees: OptionalUInt64 | undefined;
37
37
  /** vs_operator: the account of the Verifiable Service (optional) */
38
38
  vsOperator: string;
39
- vsOperatorAuthzEnabled: boolean;
39
+ vsOperatorAuthzMsgTypes: string[];
40
40
  vsOperatorAuthzSpendLimit: Coin[];
41
41
  vsOperatorAuthzWithFeegrant: boolean;
42
42
  vsOperatorAuthzFeeSpendLimit: Coin[];
43
- vsOperatorAuthzSpendPeriod: Duration | undefined;
43
+ vsOperatorAuthzPeriod: Duration | undefined;
44
44
  }
45
45
  /** MsgStartParticipantOPResponse defines the Msg/StartParticipantOP response type */
46
46
  export interface MsgStartParticipantOPResponse {
@@ -92,9 +92,8 @@ export interface MsgCancelParticipantOPLastRequestResponse {
92
92
  }
93
93
  export interface MsgCreateRootParticipant {
94
94
  /**
95
- * [MOD-PP-MSG-7-1] Spec v4 parameters.
96
- * participant.role is hardcoded to ECOSYSTEM by the handler per [MOD-PP-MSG-7-3];
97
- * vs_operator is not set on root participants.
95
+ * [MOD-PP-MSG-7-1] Spec v4-rc2 parameters.
96
+ * participant.role is hardcoded to ECOSYSTEM by the handler per [MOD-PP-MSG-7-3].
98
97
  */
99
98
  corporation: string;
100
99
  operator: string;
@@ -105,6 +104,17 @@ export interface MsgCreateRootParticipant {
105
104
  validationFees: number;
106
105
  issuanceFees: number;
107
106
  verificationFees: number;
107
+ /** vs_operator: the account of the Verifiable Service (optional, spec v4-rc2). */
108
+ vsOperator: string;
109
+ /**
110
+ * vs_operator_authz_msg_types: presence triggers VSOA record creation; MUST be a
111
+ * subset of [SetParticipantOPToValidated] for root participants.
112
+ */
113
+ vsOperatorAuthzMsgTypes: string[];
114
+ vsOperatorAuthzSpendLimit: Coin[];
115
+ vsOperatorAuthzWithFeegrant: boolean;
116
+ vsOperatorAuthzFeeSpendLimit: Coin[];
117
+ vsOperatorAuthzPeriod: Duration | undefined;
108
118
  }
109
119
  export interface MsgCreateRootParticipantResponse {
110
120
  /** ID of the created participant */
@@ -180,15 +190,29 @@ export interface MsgSelfCreateParticipant {
180
190
  validationFees: number;
181
191
  /** vs_operator: the account of the Verifiable Service (optional) */
182
192
  vsOperator: string;
183
- vsOperatorAuthzEnabled: boolean;
193
+ vsOperatorAuthzMsgTypes: string[];
184
194
  vsOperatorAuthzSpendLimit: Coin[];
185
195
  vsOperatorAuthzWithFeegrant: boolean;
186
196
  vsOperatorAuthzFeeSpendLimit: Coin[];
187
- vsOperatorAuthzSpendPeriod: Duration | undefined;
197
+ vsOperatorAuthzPeriod: Duration | undefined;
188
198
  }
189
199
  export interface MsgSelfCreateParticipantResponse {
190
200
  id: number;
191
201
  }
202
+ /** [MOD-PP-MSG-15] Trigger Resolver. Event-only; does not modify VPR state. */
203
+ export interface MsgTriggerResolver {
204
+ /**
205
+ * corporation is the policy_address of the corporation on whose behalf this
206
+ * message runs.
207
+ */
208
+ corporation: string;
209
+ /** operator is the account authorized by the corporation to run this Msg. */
210
+ operator: string;
211
+ /** id of the Participant entry for which a trust resolution must be triggered. */
212
+ id: number;
213
+ }
214
+ export interface MsgTriggerResolverResponse {
215
+ }
192
216
  export declare const MsgUpdateParams: {
193
217
  encode(message: MsgUpdateParams, writer?: _m0.Writer): _m0.Writer;
194
218
  decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParams;
@@ -381,6 +405,22 @@ export declare const MsgSelfCreateParticipantResponse: {
381
405
  create<I extends Exact<DeepPartial<MsgSelfCreateParticipantResponse>, I>>(base?: I): MsgSelfCreateParticipantResponse;
382
406
  fromPartial<I extends Exact<DeepPartial<MsgSelfCreateParticipantResponse>, I>>(object: I): MsgSelfCreateParticipantResponse;
383
407
  };
408
+ export declare const MsgTriggerResolver: {
409
+ encode(message: MsgTriggerResolver, writer?: _m0.Writer): _m0.Writer;
410
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgTriggerResolver;
411
+ fromJSON(object: any): MsgTriggerResolver;
412
+ toJSON(message: MsgTriggerResolver): unknown;
413
+ create<I extends Exact<DeepPartial<MsgTriggerResolver>, I>>(base?: I): MsgTriggerResolver;
414
+ fromPartial<I extends Exact<DeepPartial<MsgTriggerResolver>, I>>(object: I): MsgTriggerResolver;
415
+ };
416
+ export declare const MsgTriggerResolverResponse: {
417
+ encode(_: MsgTriggerResolverResponse, writer?: _m0.Writer): _m0.Writer;
418
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgTriggerResolverResponse;
419
+ fromJSON(_: any): MsgTriggerResolverResponse;
420
+ toJSON(_: MsgTriggerResolverResponse): unknown;
421
+ create<I extends Exact<DeepPartial<MsgTriggerResolverResponse>, I>>(base?: I): MsgTriggerResolverResponse;
422
+ fromPartial<I extends Exact<DeepPartial<MsgTriggerResolverResponse>, I>>(_: I): MsgTriggerResolverResponse;
423
+ };
384
424
  /** Msg defines the Msg service. */
385
425
  export interface Msg {
386
426
  /**
@@ -400,6 +440,8 @@ export interface Msg {
400
440
  RepayParticipantSlashedTrustDeposit(request: MsgRepayParticipantSlashedTrustDeposit): Promise<MsgRepayParticipantSlashedTrustDepositResponse>;
401
441
  /** [MOD-PP-MSG-14] Self Create Participant (OPEN mode) */
402
442
  SelfCreateParticipant(request: MsgSelfCreateParticipant): Promise<MsgSelfCreateParticipantResponse>;
443
+ /** [MOD-PP-MSG-15] Trigger Resolver (event-only) */
444
+ TriggerResolver(request: MsgTriggerResolver): Promise<MsgTriggerResolverResponse>;
403
445
  }
404
446
  export declare const MsgServiceName = "verana.pp.v1.Msg";
405
447
  export declare class MsgClientImpl implements Msg {
@@ -420,6 +462,7 @@ export declare class MsgClientImpl implements Msg {
420
462
  SlashParticipantTrustDeposit(request: MsgSlashParticipantTrustDeposit): Promise<MsgSlashParticipantTrustDepositResponse>;
421
463
  RepayParticipantSlashedTrustDeposit(request: MsgRepayParticipantSlashedTrustDeposit): Promise<MsgRepayParticipantSlashedTrustDepositResponse>;
422
464
  SelfCreateParticipant(request: MsgSelfCreateParticipant): Promise<MsgSelfCreateParticipantResponse>;
465
+ TriggerResolver(request: MsgTriggerResolver): Promise<MsgTriggerResolverResponse>;
423
466
  }
424
467
  interface Rpc {
425
468
  request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;