@silvana-one/orderbook 1.1.43 → 1.1.44
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/dist/node/index.cjs +447 -335
- package/dist/node/ledger.d.ts +28 -4
- package/dist/node/ledger.js +35 -3
- package/dist/node/ledger.js.map +1 -1
- package/dist/node/proto/silvana/ledger/v1/bridge_pb.d.ts +352 -0
- package/dist/node/proto/silvana/ledger/v1/bridge_pb.js +54 -0
- package/dist/node/proto/silvana/ledger/v1/bridge_pb.js.map +1 -0
- package/dist/node/proto/silvana/ledger/v1/cip56_pb.d.ts +67 -0
- package/dist/node/proto/silvana/ledger/v1/cip56_pb.js +19 -0
- package/dist/node/proto/silvana/ledger/v1/cip56_pb.js.map +1 -0
- package/dist/node/proto/silvana/ledger/v1/common_pb.d.ts +323 -0
- package/dist/node/proto/silvana/ledger/v1/common_pb.js +251 -0
- package/dist/node/proto/silvana/ledger/v1/common_pb.js.map +1 -0
- package/dist/node/proto/silvana/ledger/v1/dvp_pb.d.ts +142 -0
- package/dist/node/proto/silvana/ledger/v1/dvp_pb.js +44 -0
- package/dist/node/proto/silvana/ledger/v1/dvp_pb.js.map +1 -0
- package/dist/node/proto/silvana/ledger/v1/faucet_pb.d.ts +107 -0
- package/dist/node/proto/silvana/ledger/v1/faucet_pb.js +20 -0
- package/dist/node/proto/silvana/ledger/v1/faucet_pb.js.map +1 -0
- package/dist/node/proto/silvana/ledger/v1/lock_pb.d.ts +240 -0
- package/dist/node/proto/silvana/ledger/v1/lock_pb.js +39 -0
- package/dist/node/proto/silvana/ledger/v1/lock_pb.js.map +1 -0
- package/dist/node/proto/silvana/ledger/v1/multicall_pb.d.ts +469 -0
- package/dist/node/proto/silvana/ledger/v1/multicall_pb.js +94 -0
- package/dist/node/proto/silvana/ledger/v1/multicall_pb.js.map +1 -0
- package/dist/node/proto/silvana/ledger/v1/onboarding_pb.d.ts +245 -0
- package/dist/node/proto/silvana/ledger/v1/onboarding_pb.js +90 -0
- package/dist/node/proto/silvana/ledger/v1/onboarding_pb.js.map +1 -0
- package/dist/node/proto/silvana/ledger/v1/preapproval_pb.d.ts +99 -0
- package/dist/node/proto/silvana/ledger/v1/preapproval_pb.js +34 -0
- package/dist/node/proto/silvana/ledger/v1/preapproval_pb.js.map +1 -0
- package/dist/node/proto/silvana/ledger/v1/queries_pb.d.ts +602 -0
- package/dist/node/proto/silvana/ledger/v1/queries_pb.js +136 -0
- package/dist/node/proto/silvana/ledger/v1/queries_pb.js.map +1 -0
- package/dist/node/proto/silvana/ledger/v1/recurring_pb.d.ts +88 -0
- package/dist/node/proto/silvana/ledger/v1/recurring_pb.js +24 -0
- package/dist/node/proto/silvana/ledger/v1/recurring_pb.js.map +1 -0
- package/dist/node/proto/silvana/ledger/v1/service_pb.d.ts +178 -0
- package/dist/node/proto/silvana/ledger/v1/service_pb.js +21 -0
- package/dist/node/proto/silvana/ledger/v1/service_pb.js.map +1 -0
- package/dist/node/proto/silvana/ledger/v1/transactions_pb.d.ts +289 -0
- package/dist/node/proto/silvana/ledger/v1/transactions_pb.js +37 -0
- package/dist/node/proto/silvana/ledger/v1/transactions_pb.js.map +1 -0
- package/dist/node/proto/silvana/ledger/v1/transfer_pb.d.ts +69 -0
- package/dist/node/proto/silvana/ledger/v1/transfer_pb.js +19 -0
- package/dist/node/proto/silvana/ledger/v1/transfer_pb.js.map +1 -0
- package/dist/node/proto/silvana/news/v1/news_pb.d.ts +2 -2
- package/dist/node/proto/silvana/news/v1/news_pb.js +11 -11
- package/dist/node/proto/silvana/news/v1/news_pb.js.map +1 -1
- package/dist/node/proto/silvana/orderbook/v1/orderbook_pb.d.ts +2 -2
- package/dist/node/proto/silvana/orderbook/v1/orderbook_pb.js +109 -109
- package/dist/node/proto/silvana/orderbook/v1/orderbook_pb.js.map +1 -1
- package/dist/node/proto/silvana/pricing/v1/pricing_pb.d.ts +2 -2
- package/dist/node/proto/silvana/pricing/v1/pricing_pb.js +26 -26
- package/dist/node/proto/silvana/pricing/v1/pricing_pb.js.map +1 -1
- package/dist/node/proto/silvana/settlement/v1/settlement_pb.d.ts +2 -2
- package/dist/node/proto/silvana/settlement/v1/settlement_pb.js +79 -79
- package/dist/node/proto/silvana/settlement/v1/settlement_pb.js.map +1 -1
- package/dist/node/settlement.d.ts +1 -1
- package/dist/node/settlement.js +1 -2
- package/dist/node/settlement.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/tsconfig.web.tsbuildinfo +1 -1
- package/dist/web/ledger.d.ts +28 -4
- package/dist/web/ledger.js +35 -3
- package/dist/web/ledger.js.map +1 -1
- package/dist/web/proto/silvana/ledger/v1/bridge_pb.d.ts +352 -0
- package/dist/web/proto/silvana/ledger/v1/bridge_pb.js +54 -0
- package/dist/web/proto/silvana/ledger/v1/bridge_pb.js.map +1 -0
- package/dist/web/proto/silvana/ledger/v1/cip56_pb.d.ts +67 -0
- package/dist/web/proto/silvana/ledger/v1/cip56_pb.js +19 -0
- package/dist/web/proto/silvana/ledger/v1/cip56_pb.js.map +1 -0
- package/dist/web/proto/silvana/ledger/v1/common_pb.d.ts +323 -0
- package/dist/web/proto/silvana/ledger/v1/common_pb.js +251 -0
- package/dist/web/proto/silvana/ledger/v1/common_pb.js.map +1 -0
- package/dist/web/proto/silvana/ledger/v1/dvp_pb.d.ts +142 -0
- package/dist/web/proto/silvana/ledger/v1/dvp_pb.js +44 -0
- package/dist/web/proto/silvana/ledger/v1/dvp_pb.js.map +1 -0
- package/dist/web/proto/silvana/ledger/v1/faucet_pb.d.ts +107 -0
- package/dist/web/proto/silvana/ledger/v1/faucet_pb.js +20 -0
- package/dist/web/proto/silvana/ledger/v1/faucet_pb.js.map +1 -0
- package/dist/web/proto/silvana/ledger/v1/lock_pb.d.ts +240 -0
- package/dist/web/proto/silvana/ledger/v1/lock_pb.js +39 -0
- package/dist/web/proto/silvana/ledger/v1/lock_pb.js.map +1 -0
- package/dist/web/proto/silvana/ledger/v1/multicall_pb.d.ts +469 -0
- package/dist/web/proto/silvana/ledger/v1/multicall_pb.js +94 -0
- package/dist/web/proto/silvana/ledger/v1/multicall_pb.js.map +1 -0
- package/dist/web/proto/silvana/ledger/v1/onboarding_pb.d.ts +245 -0
- package/dist/web/proto/silvana/ledger/v1/onboarding_pb.js +90 -0
- package/dist/web/proto/silvana/ledger/v1/onboarding_pb.js.map +1 -0
- package/dist/web/proto/silvana/ledger/v1/preapproval_pb.d.ts +99 -0
- package/dist/web/proto/silvana/ledger/v1/preapproval_pb.js +34 -0
- package/dist/web/proto/silvana/ledger/v1/preapproval_pb.js.map +1 -0
- package/dist/web/proto/silvana/ledger/v1/queries_pb.d.ts +602 -0
- package/dist/web/proto/silvana/ledger/v1/queries_pb.js +136 -0
- package/dist/web/proto/silvana/ledger/v1/queries_pb.js.map +1 -0
- package/dist/web/proto/silvana/ledger/v1/recurring_pb.d.ts +88 -0
- package/dist/web/proto/silvana/ledger/v1/recurring_pb.js +24 -0
- package/dist/web/proto/silvana/ledger/v1/recurring_pb.js.map +1 -0
- package/dist/web/proto/silvana/ledger/v1/service_pb.d.ts +178 -0
- package/dist/web/proto/silvana/ledger/v1/service_pb.js +21 -0
- package/dist/web/proto/silvana/ledger/v1/service_pb.js.map +1 -0
- package/dist/web/proto/silvana/ledger/v1/transactions_pb.d.ts +289 -0
- package/dist/web/proto/silvana/ledger/v1/transactions_pb.js +37 -0
- package/dist/web/proto/silvana/ledger/v1/transactions_pb.js.map +1 -0
- package/dist/web/proto/silvana/ledger/v1/transfer_pb.d.ts +69 -0
- package/dist/web/proto/silvana/ledger/v1/transfer_pb.js +19 -0
- package/dist/web/proto/silvana/ledger/v1/transfer_pb.js.map +1 -0
- package/dist/web/proto/silvana/news/v1/news_pb.d.ts +2 -2
- package/dist/web/proto/silvana/news/v1/news_pb.js +11 -11
- package/dist/web/proto/silvana/news/v1/news_pb.js.map +1 -1
- package/dist/web/proto/silvana/orderbook/v1/orderbook_pb.d.ts +2 -2
- package/dist/web/proto/silvana/orderbook/v1/orderbook_pb.js +109 -109
- package/dist/web/proto/silvana/orderbook/v1/orderbook_pb.js.map +1 -1
- package/dist/web/proto/silvana/pricing/v1/pricing_pb.d.ts +2 -2
- package/dist/web/proto/silvana/pricing/v1/pricing_pb.js +26 -26
- package/dist/web/proto/silvana/pricing/v1/pricing_pb.js.map +1 -1
- package/dist/web/proto/silvana/settlement/v1/settlement_pb.d.ts +2 -2
- package/dist/web/proto/silvana/settlement/v1/settlement_pb.js +79 -79
- package/dist/web/proto/silvana/settlement/v1/settlement_pb.js.map +1 -1
- package/dist/web/settlement.d.ts +1 -1
- package/dist/web/settlement.js +1 -2
- package/dist/web/settlement.js.map +1 -1
- package/package.json +6 -6
- package/src/ledger.ts +65 -25
- package/src/proto/silvana/ledger/v1/bridge_pb.ts +383 -0
- package/src/proto/silvana/ledger/v1/cip56_pb.ts +85 -0
- package/src/proto/silvana/ledger/v1/common_pb.ts +393 -0
- package/src/proto/silvana/ledger/v1/dvp_pb.ts +178 -0
- package/src/proto/silvana/ledger/v1/faucet_pb.ts +134 -0
- package/src/proto/silvana/ledger/v1/lock_pb.ts +294 -0
- package/src/proto/silvana/ledger/v1/multicall_pb.ts +552 -0
- package/src/proto/silvana/ledger/v1/onboarding_pb.ts +303 -0
- package/src/proto/silvana/ledger/v1/preapproval_pb.ts +128 -0
- package/src/proto/silvana/ledger/v1/queries_pb.ts +736 -0
- package/src/proto/silvana/ledger/v1/recurring_pb.ts +115 -0
- package/src/proto/silvana/ledger/v1/service_pb.ts +194 -0
- package/src/proto/silvana/ledger/v1/transactions_pb.ts +335 -0
- package/src/proto/silvana/ledger/v1/transfer_pb.ts +89 -0
- package/src/proto/silvana/news/v1/news_pb.ts +12 -12
- package/src/proto/silvana/orderbook/v1/orderbook_pb.ts +110 -110
- package/src/proto/silvana/pricing/v1/pricing_pb.ts +27 -27
- package/src/proto/silvana/settlement/v1/settlement_pb.ts +80 -80
- package/src/settlement.ts +1 -2
- package/dist/node/proto/silvana/ledger/v1/ledger_pb.d.ts +0 -2954
- package/dist/node/proto/silvana/ledger/v1/ledger_pb.js +0 -701
- package/dist/node/proto/silvana/ledger/v1/ledger_pb.js.map +0 -1
- package/dist/web/proto/silvana/ledger/v1/ledger_pb.d.ts +0 -2954
- package/dist/web/proto/silvana/ledger/v1/ledger_pb.js +0 -701
- package/dist/web/proto/silvana/ledger/v1/ledger_pb.js.map +0 -1
- package/src/proto/silvana/ledger/v1/ledger_pb.ts +0 -3426
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,js_import_style=module,import_extension=.js"
|
|
2
|
+
// @generated from file silvana/ledger/v1/recurring.proto (package silvana.ledger.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file silvana/ledger/v1/recurring.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_silvana_ledger_v1_recurring: GenFile = /*@__PURE__*/
|
|
13
|
+
fileDesc("CiFzaWx2YW5hL2xlZGdlci92MS9yZWN1cnJpbmcucHJvdG8SEXNpbHZhbmEubGVkZ2VyLnYxIssBCh1SZXF1ZXN0UmVjdXJyaW5nUHJlcGFpZFBhcmFtcxIRCglhcHBfcGFydHkYASABKAkSDgoGYW1vdW50GAIgASgJEhUKDWxvY2tlZF9hbW91bnQYAyABKAkSEQoJbG9ja19kYXlzGAQgASgNEhgKC2Rlc2NyaXB0aW9uGAUgASgJSACIAQESFgoJcmVmZXJlbmNlGAYgASgJSAGIAQESDQoFbGltaXQYByABKAlCDgoMX2Rlc2NyaXB0aW9uQgwKCl9yZWZlcmVuY2UilQEKIFJlcXVlc3RSZWN1cnJpbmdQYXlhc3lvdWdvUGFyYW1zEhEKCWFwcF9wYXJ0eRgBIAEoCRIOCgZhbW91bnQYAiABKAkSGAoLZGVzY3JpcHRpb24YAyABKAlIAIgBARIWCglyZWZlcmVuY2UYBCABKAlIAYgBAUIOCgxfZGVzY3JpcHRpb25CDAoKX3JlZmVyZW5jZSJuChhSZXF1ZXN0VXNlclNlcnZpY2VQYXJhbXMSGQoMcmVmZXJlbmNlX2lkGAEgASgJSACIAQESFwoKcGFydHlfbmFtZRgCIAEoCUgBiAEBQg8KDV9yZWZlcmVuY2VfaWRCDQoLX3BhcnR5X25hbWVCMVovZ2l0aHViLmNvbS9TaWx2YW5hT25lL2NhbnRvbi1hZ2VudC9wcm90bztsZWRnZXJiBnByb3RvMw");
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @generated from message silvana.ledger.v1.RequestRecurringPrepaidParams
|
|
17
|
+
*/
|
|
18
|
+
export type RequestRecurringPrepaidParams = Message<"silvana.ledger.v1.RequestRecurringPrepaidParams"> & {
|
|
19
|
+
/**
|
|
20
|
+
* @generated from field: string app_party = 1;
|
|
21
|
+
*/
|
|
22
|
+
appParty: string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: string amount = 2;
|
|
26
|
+
*/
|
|
27
|
+
amount: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: string locked_amount = 3;
|
|
31
|
+
*/
|
|
32
|
+
lockedAmount: string;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @generated from field: uint32 lock_days = 4;
|
|
36
|
+
*/
|
|
37
|
+
lockDays: number;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: optional string description = 5;
|
|
41
|
+
*/
|
|
42
|
+
description?: string;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: optional string reference = 6;
|
|
46
|
+
*/
|
|
47
|
+
reference?: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: string limit = 7;
|
|
51
|
+
*/
|
|
52
|
+
limit: string;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message silvana.ledger.v1.RequestRecurringPrepaidParams.
|
|
57
|
+
* Use `create(RequestRecurringPrepaidParamsSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export const RequestRecurringPrepaidParamsSchema: GenMessage<RequestRecurringPrepaidParams> = /*@__PURE__*/
|
|
60
|
+
messageDesc(file_silvana_ledger_v1_recurring, 0);
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @generated from message silvana.ledger.v1.RequestRecurringPayasyougoParams
|
|
64
|
+
*/
|
|
65
|
+
export type RequestRecurringPayasyougoParams = Message<"silvana.ledger.v1.RequestRecurringPayasyougoParams"> & {
|
|
66
|
+
/**
|
|
67
|
+
* @generated from field: string app_party = 1;
|
|
68
|
+
*/
|
|
69
|
+
appParty: string;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @generated from field: string amount = 2;
|
|
73
|
+
*/
|
|
74
|
+
amount: string;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @generated from field: optional string description = 3;
|
|
78
|
+
*/
|
|
79
|
+
description?: string;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* @generated from field: optional string reference = 4;
|
|
83
|
+
*/
|
|
84
|
+
reference?: string;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Describes the message silvana.ledger.v1.RequestRecurringPayasyougoParams.
|
|
89
|
+
* Use `create(RequestRecurringPayasyougoParamsSchema)` to create a new message.
|
|
90
|
+
*/
|
|
91
|
+
export const RequestRecurringPayasyougoParamsSchema: GenMessage<RequestRecurringPayasyougoParams> = /*@__PURE__*/
|
|
92
|
+
messageDesc(file_silvana_ledger_v1_recurring, 1);
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* @generated from message silvana.ledger.v1.RequestUserServiceParams
|
|
96
|
+
*/
|
|
97
|
+
export type RequestUserServiceParams = Message<"silvana.ledger.v1.RequestUserServiceParams"> & {
|
|
98
|
+
/**
|
|
99
|
+
* @generated from field: optional string reference_id = 1;
|
|
100
|
+
*/
|
|
101
|
+
referenceId?: string;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @generated from field: optional string party_name = 2;
|
|
105
|
+
*/
|
|
106
|
+
partyName?: string;
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Describes the message silvana.ledger.v1.RequestUserServiceParams.
|
|
111
|
+
* Use `create(RequestUserServiceParamsSchema)` to create a new message.
|
|
112
|
+
*/
|
|
113
|
+
export const RequestUserServiceParamsSchema: GenMessage<RequestUserServiceParams> = /*@__PURE__*/
|
|
114
|
+
messageDesc(file_silvana_ledger_v1_recurring, 2);
|
|
115
|
+
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,js_import_style=module,import_extension=.js"
|
|
2
|
+
// @generated from file silvana/ledger/v1/service.proto (package silvana.ledger.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import type { GetActiveContractsRequestSchema, GetActiveContractsResponseSchema, GetAmuletsRequestSchema, GetAmuletsResponseSchema, GetBalancesRequestSchema, GetBalancesResponseSchema, GetDsoRatesRequestSchema, GetDsoRatesResponseSchema, GetLedgerEndRequestSchema, GetLedgerEndResponseSchema, GetServiceInfoRequestSchema, GetServiceInfoResponseSchema, GetUpdatesRequestSchema, GetUpdatesResponseSchema } from "./queries_pb.js";
|
|
8
|
+
import { file_silvana_ledger_v1_queries } from "./queries_pb.js";
|
|
9
|
+
import type { ExecuteTransactionRequestSchema, ExecuteTransactionResponseSchema, PrepareTransactionRequestSchema, PrepareTransactionResponseSchema } from "./transactions_pb.js";
|
|
10
|
+
import { file_silvana_ledger_v1_transactions } from "./transactions_pb.js";
|
|
11
|
+
import type { GetAgentConfigRequestSchema, GetAgentConfigResponseSchema, GetOnboardingStatusRequestSchema, GetOnboardingStatusResponseSchema, RegisterAgentRequestSchema, RegisterAgentResponseSchema, SubmitOnboardingSignatureRequestSchema, SubmitOnboardingSignatureResponseSchema } from "./onboarding_pb.js";
|
|
12
|
+
import { file_silvana_ledger_v1_onboarding } from "./onboarding_pb.js";
|
|
13
|
+
import type { GetPreapprovalsRequestSchema, GetPreapprovalsResponseSchema } from "./preapproval_pb.js";
|
|
14
|
+
import { file_silvana_ledger_v1_preapproval } from "./preapproval_pb.js";
|
|
15
|
+
import type { GetSettlementContractsRequestSchema, GetSettlementContractsResponseSchema } from "./dvp_pb.js";
|
|
16
|
+
import { file_silvana_ledger_v1_dvp } from "./dvp_pb.js";
|
|
17
|
+
import type { FaucetRequestSchema, FaucetResponseSchema } from "./faucet_pb.js";
|
|
18
|
+
import { file_silvana_ledger_v1_faucet } from "./faucet_pb.js";
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Describes the file silvana/ledger/v1/service.proto.
|
|
22
|
+
*/
|
|
23
|
+
export const file_silvana_ledger_v1_service: GenFile = /*@__PURE__*/
|
|
24
|
+
fileDesc("Ch9zaWx2YW5hL2xlZGdlci92MS9zZXJ2aWNlLnByb3RvEhFzaWx2YW5hLmxlZGdlci52MTK1DQoTREFwcFByb3ZpZGVyU2VydmljZRJzChJHZXRBY3RpdmVDb250cmFjdHMSLC5zaWx2YW5hLmxlZGdlci52MS5HZXRBY3RpdmVDb250cmFjdHNSZXF1ZXN0Gi0uc2lsdmFuYS5sZWRnZXIudjEuR2V0QWN0aXZlQ29udHJhY3RzUmVzcG9uc2UwARJbCgpHZXRVcGRhdGVzEiQuc2lsdmFuYS5sZWRnZXIudjEuR2V0VXBkYXRlc1JlcXVlc3QaJS5zaWx2YW5hLmxlZ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_ledger_v1_transactions, file_silvana_ledger_v1_onboarding, file_silvana_ledger_v1_preapproval, file_silvana_ledger_v1_dvp, file_silvana_ledger_v1_faucet]);
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* === Streaming Query RPCs ===
|
|
28
|
+
*
|
|
29
|
+
* @generated from service silvana.ledger.v1.DAppProviderService
|
|
30
|
+
*/
|
|
31
|
+
export const DAppProviderService: GenService<{
|
|
32
|
+
/**
|
|
33
|
+
* Stream active contracts for the authenticated party (one per message)
|
|
34
|
+
*
|
|
35
|
+
* @generated from rpc silvana.ledger.v1.DAppProviderService.GetActiveContracts
|
|
36
|
+
*/
|
|
37
|
+
getActiveContracts: {
|
|
38
|
+
methodKind: "server_streaming";
|
|
39
|
+
input: typeof GetActiveContractsRequestSchema;
|
|
40
|
+
output: typeof GetActiveContractsResponseSchema;
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* Stream ledger updates from a given offset (for tx confirmation checks)
|
|
44
|
+
*
|
|
45
|
+
* @generated from rpc silvana.ledger.v1.DAppProviderService.GetUpdates
|
|
46
|
+
*/
|
|
47
|
+
getUpdates: {
|
|
48
|
+
methodKind: "server_streaming";
|
|
49
|
+
input: typeof GetUpdatesRequestSchema;
|
|
50
|
+
output: typeof GetUpdatesResponseSchema;
|
|
51
|
+
},
|
|
52
|
+
/**
|
|
53
|
+
* Get current ledger end offset (for use with GetUpdates)
|
|
54
|
+
*
|
|
55
|
+
* @generated from rpc silvana.ledger.v1.DAppProviderService.GetLedgerEnd
|
|
56
|
+
*/
|
|
57
|
+
getLedgerEnd: {
|
|
58
|
+
methodKind: "unary";
|
|
59
|
+
input: typeof GetLedgerEndRequestSchema;
|
|
60
|
+
output: typeof GetLedgerEndResponseSchema;
|
|
61
|
+
},
|
|
62
|
+
/**
|
|
63
|
+
* Get token balances (CIP-56 holdings + Canton Coin)
|
|
64
|
+
*
|
|
65
|
+
* @generated from rpc silvana.ledger.v1.DAppProviderService.GetBalances
|
|
66
|
+
*/
|
|
67
|
+
getBalances: {
|
|
68
|
+
methodKind: "unary";
|
|
69
|
+
input: typeof GetBalancesRequestSchema;
|
|
70
|
+
output: typeof GetBalancesResponseSchema;
|
|
71
|
+
},
|
|
72
|
+
/**
|
|
73
|
+
* Fetch TransferPreapproval contracts
|
|
74
|
+
*
|
|
75
|
+
* @generated from rpc silvana.ledger.v1.DAppProviderService.GetPreapprovals
|
|
76
|
+
*/
|
|
77
|
+
getPreapprovals: {
|
|
78
|
+
methodKind: "unary";
|
|
79
|
+
input: typeof GetPreapprovalsRequestSchema;
|
|
80
|
+
output: typeof GetPreapprovalsResponseSchema;
|
|
81
|
+
},
|
|
82
|
+
/**
|
|
83
|
+
* Get DSO rates (CC/USD rate, current round)
|
|
84
|
+
*
|
|
85
|
+
* @generated from rpc silvana.ledger.v1.DAppProviderService.GetDsoRates
|
|
86
|
+
*/
|
|
87
|
+
getDsoRates: {
|
|
88
|
+
methodKind: "unary";
|
|
89
|
+
input: typeof GetDsoRatesRequestSchema;
|
|
90
|
+
output: typeof GetDsoRatesResponseSchema;
|
|
91
|
+
},
|
|
92
|
+
/**
|
|
93
|
+
* Discover on-chain DvpProposal/Dvp contracts for active settlements
|
|
94
|
+
*
|
|
95
|
+
* @generated from rpc silvana.ledger.v1.DAppProviderService.GetSettlementContracts
|
|
96
|
+
*/
|
|
97
|
+
getSettlementContracts: {
|
|
98
|
+
methodKind: "unary";
|
|
99
|
+
input: typeof GetSettlementContractsRequestSchema;
|
|
100
|
+
output: typeof GetSettlementContractsResponseSchema;
|
|
101
|
+
},
|
|
102
|
+
/**
|
|
103
|
+
* Get provider service info
|
|
104
|
+
*
|
|
105
|
+
* @generated from rpc silvana.ledger.v1.DAppProviderService.GetServiceInfo
|
|
106
|
+
*/
|
|
107
|
+
getServiceInfo: {
|
|
108
|
+
methodKind: "unary";
|
|
109
|
+
input: typeof GetServiceInfoRequestSchema;
|
|
110
|
+
output: typeof GetServiceInfoResponseSchema;
|
|
111
|
+
},
|
|
112
|
+
/**
|
|
113
|
+
* Get unlocked amulet contracts with amounts (lightweight ACS query for payment scheduling)
|
|
114
|
+
*
|
|
115
|
+
* @generated from rpc silvana.ledger.v1.DAppProviderService.GetAmulets
|
|
116
|
+
*/
|
|
117
|
+
getAmulets: {
|
|
118
|
+
methodKind: "unary";
|
|
119
|
+
input: typeof GetAmuletsRequestSchema;
|
|
120
|
+
output: typeof GetAmuletsResponseSchema;
|
|
121
|
+
},
|
|
122
|
+
/**
|
|
123
|
+
* Get agent configuration template (unauthenticated)
|
|
124
|
+
*
|
|
125
|
+
* @generated from rpc silvana.ledger.v1.DAppProviderService.GetAgentConfig
|
|
126
|
+
*/
|
|
127
|
+
getAgentConfig: {
|
|
128
|
+
methodKind: "unary";
|
|
129
|
+
input: typeof GetAgentConfigRequestSchema;
|
|
130
|
+
output: typeof GetAgentConfigResponseSchema;
|
|
131
|
+
},
|
|
132
|
+
/**
|
|
133
|
+
* Register agent on waiting list (signed by agent's Ed25519 key)
|
|
134
|
+
*
|
|
135
|
+
* @generated from rpc silvana.ledger.v1.DAppProviderService.RegisterAgent
|
|
136
|
+
*/
|
|
137
|
+
registerAgent: {
|
|
138
|
+
methodKind: "unary";
|
|
139
|
+
input: typeof RegisterAgentRequestSchema;
|
|
140
|
+
output: typeof RegisterAgentResponseSchema;
|
|
141
|
+
},
|
|
142
|
+
/**
|
|
143
|
+
* Poll onboarding status (signed by agent's Ed25519 key)
|
|
144
|
+
*
|
|
145
|
+
* @generated from rpc silvana.ledger.v1.DAppProviderService.GetOnboardingStatus
|
|
146
|
+
*/
|
|
147
|
+
getOnboardingStatus: {
|
|
148
|
+
methodKind: "unary";
|
|
149
|
+
input: typeof GetOnboardingStatusRequestSchema;
|
|
150
|
+
output: typeof GetOnboardingStatusResponseSchema;
|
|
151
|
+
},
|
|
152
|
+
/**
|
|
153
|
+
* Submit multihash signature (signed by agent's Ed25519 key)
|
|
154
|
+
*
|
|
155
|
+
* @generated from rpc silvana.ledger.v1.DAppProviderService.SubmitOnboardingSignature
|
|
156
|
+
*/
|
|
157
|
+
submitOnboardingSignature: {
|
|
158
|
+
methodKind: "unary";
|
|
159
|
+
input: typeof SubmitOnboardingSignatureRequestSchema;
|
|
160
|
+
output: typeof SubmitOnboardingSignatureResponseSchema;
|
|
161
|
+
},
|
|
162
|
+
/**
|
|
163
|
+
* Phase 1: Prepare transaction (server builds tx, returns hash to sign)
|
|
164
|
+
*
|
|
165
|
+
* @generated from rpc silvana.ledger.v1.DAppProviderService.PrepareTransaction
|
|
166
|
+
*/
|
|
167
|
+
prepareTransaction: {
|
|
168
|
+
methodKind: "unary";
|
|
169
|
+
input: typeof PrepareTransactionRequestSchema;
|
|
170
|
+
output: typeof PrepareTransactionResponseSchema;
|
|
171
|
+
},
|
|
172
|
+
/**
|
|
173
|
+
* Phase 2: Execute signed transaction
|
|
174
|
+
*
|
|
175
|
+
* @generated from rpc silvana.ledger.v1.DAppProviderService.ExecuteTransaction
|
|
176
|
+
*/
|
|
177
|
+
executeTransaction: {
|
|
178
|
+
methodKind: "unary";
|
|
179
|
+
input: typeof ExecuteTransactionRequestSchema;
|
|
180
|
+
output: typeof ExecuteTransactionResponseSchema;
|
|
181
|
+
},
|
|
182
|
+
/**
|
|
183
|
+
* Request tokens from the faucet (CC or CIP-56)
|
|
184
|
+
*
|
|
185
|
+
* @generated from rpc silvana.ledger.v1.DAppProviderService.RequestFaucet
|
|
186
|
+
*/
|
|
187
|
+
requestFaucet: {
|
|
188
|
+
methodKind: "unary";
|
|
189
|
+
input: typeof FaucetRequestSchema;
|
|
190
|
+
output: typeof FaucetResponseSchema;
|
|
191
|
+
},
|
|
192
|
+
}> = /*@__PURE__*/
|
|
193
|
+
serviceDesc(file_silvana_ledger_v1_service, 0);
|
|
194
|
+
|
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts,js_import_style=module,import_extension=.js"
|
|
2
|
+
// @generated from file silvana/ledger/v1/transactions.proto (package silvana.ledger.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
6
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
7
|
+
import type { CreatedContractInfo, MessageSignature, ProviderError, TrafficEstimate, TransactionOperation, TransactionStatus } from "./common_pb.js";
|
|
8
|
+
import { file_silvana_ledger_v1_common } from "./common_pb.js";
|
|
9
|
+
import type { SplitCcParams, TransferCcParams } from "./transfer_pb.js";
|
|
10
|
+
import { file_silvana_ledger_v1_transfer } from "./transfer_pb.js";
|
|
11
|
+
import type { RequestPreapprovalParams } from "./preapproval_pb.js";
|
|
12
|
+
import { file_silvana_ledger_v1_preapproval } from "./preapproval_pb.js";
|
|
13
|
+
import type { AcceptDvpParams, AllocateParams, PayFeeParams, ProposeDvpParams } from "./dvp_pb.js";
|
|
14
|
+
import { file_silvana_ledger_v1_dvp } from "./dvp_pb.js";
|
|
15
|
+
import type { AcceptCip56Params, TransferCip56Params } from "./cip56_pb.js";
|
|
16
|
+
import { file_silvana_ledger_v1_cip56 } from "./cip56_pb.js";
|
|
17
|
+
import type { RequestRecurringPayasyougoParams, RequestRecurringPrepaidParams, RequestUserServiceParams } from "./recurring_pb.js";
|
|
18
|
+
import { file_silvana_ledger_v1_recurring } from "./recurring_pb.js";
|
|
19
|
+
import type { ExecuteMultiCallParams } from "./multicall_pb.js";
|
|
20
|
+
import { file_silvana_ledger_v1_multicall } from "./multicall_pb.js";
|
|
21
|
+
import type { LockHoldingsParams, ProcessLockUnlockRequestsParams, ResizeLockParams, TerminateLockParams } from "./lock_pb.js";
|
|
22
|
+
import { file_silvana_ledger_v1_lock } from "./lock_pb.js";
|
|
23
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Describes the file silvana/ledger/v1/transactions.proto.
|
|
27
|
+
*/
|
|
28
|
+
export const file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cmFjdEluZm9CDgoMX2NvbnRyYWN0X2lkQhAKDl9lcnJvcl9tZXNzYWdlQhEKD19yZXdhcmRzX2Ftb3VudEIQCg5fcmV3YXJkc19yb3VuZEIRCg9fcHJvdmlkZXJfZXJyb3JCMVovZ2l0aHViLmNvbS9TaWx2YW5hT25lL2NhbnRvbi1hZ2VudC9wcm90bztsZWRnZXJiBnByb3RvMw", [file_silvana_ledger_v1_common, file_silvana_ledger_v1_transfer, file_silvana_ledger_v1_preapproval, file_silvana_ledger_v1_dvp, file_silvana_ledger_v1_cip56, file_silvana_ledger_v1_recurring, file_silvana_ledger_v1_multicall, file_silvana_ledger_v1_lock]);
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @generated from message silvana.ledger.v1.PrepareTransactionRequest
|
|
33
|
+
*/
|
|
34
|
+
export type PrepareTransactionRequest = Message<"silvana.ledger.v1.PrepareTransactionRequest"> & {
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: silvana.ledger.v1.TransactionOperation operation = 1;
|
|
37
|
+
*/
|
|
38
|
+
operation: TransactionOperation;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @generated from oneof silvana.ledger.v1.PrepareTransactionRequest.params
|
|
42
|
+
*/
|
|
43
|
+
params: {
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: silvana.ledger.v1.PayFeeParams pay_fee = 10;
|
|
46
|
+
*/
|
|
47
|
+
value: PayFeeParams;
|
|
48
|
+
case: "payFee";
|
|
49
|
+
} | {
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: silvana.ledger.v1.ProposeDvpParams propose_dvp = 11;
|
|
52
|
+
*/
|
|
53
|
+
value: ProposeDvpParams;
|
|
54
|
+
case: "proposeDvp";
|
|
55
|
+
} | {
|
|
56
|
+
/**
|
|
57
|
+
* @generated from field: silvana.ledger.v1.AcceptDvpParams accept_dvp = 12;
|
|
58
|
+
*/
|
|
59
|
+
value: AcceptDvpParams;
|
|
60
|
+
case: "acceptDvp";
|
|
61
|
+
} | {
|
|
62
|
+
/**
|
|
63
|
+
* @generated from field: silvana.ledger.v1.AllocateParams allocate = 13;
|
|
64
|
+
*/
|
|
65
|
+
value: AllocateParams;
|
|
66
|
+
case: "allocate";
|
|
67
|
+
} | {
|
|
68
|
+
/**
|
|
69
|
+
* @generated from field: silvana.ledger.v1.TransferCcParams transfer_cc = 14;
|
|
70
|
+
*/
|
|
71
|
+
value: TransferCcParams;
|
|
72
|
+
case: "transferCc";
|
|
73
|
+
} | {
|
|
74
|
+
/**
|
|
75
|
+
* @generated from field: silvana.ledger.v1.RequestPreapprovalParams request_preapproval = 15;
|
|
76
|
+
*/
|
|
77
|
+
value: RequestPreapprovalParams;
|
|
78
|
+
case: "requestPreapproval";
|
|
79
|
+
} | {
|
|
80
|
+
/**
|
|
81
|
+
* @generated from field: silvana.ledger.v1.RequestRecurringPrepaidParams request_recurring_prepaid = 16;
|
|
82
|
+
*/
|
|
83
|
+
value: RequestRecurringPrepaidParams;
|
|
84
|
+
case: "requestRecurringPrepaid";
|
|
85
|
+
} | {
|
|
86
|
+
/**
|
|
87
|
+
* @generated from field: silvana.ledger.v1.RequestRecurringPayasyougoParams request_recurring_payasyougo = 17;
|
|
88
|
+
*/
|
|
89
|
+
value: RequestRecurringPayasyougoParams;
|
|
90
|
+
case: "requestRecurringPayasyougo";
|
|
91
|
+
} | {
|
|
92
|
+
/**
|
|
93
|
+
* @generated from field: silvana.ledger.v1.RequestUserServiceParams request_user_service = 18;
|
|
94
|
+
*/
|
|
95
|
+
value: RequestUserServiceParams;
|
|
96
|
+
case: "requestUserService";
|
|
97
|
+
} | {
|
|
98
|
+
/**
|
|
99
|
+
* @generated from field: silvana.ledger.v1.TransferCip56Params transfer_cip56 = 19;
|
|
100
|
+
*/
|
|
101
|
+
value: TransferCip56Params;
|
|
102
|
+
case: "transferCip56";
|
|
103
|
+
} | {
|
|
104
|
+
/**
|
|
105
|
+
* @generated from field: silvana.ledger.v1.AcceptCip56Params accept_cip56 = 20;
|
|
106
|
+
*/
|
|
107
|
+
value: AcceptCip56Params;
|
|
108
|
+
case: "acceptCip56";
|
|
109
|
+
} | {
|
|
110
|
+
/**
|
|
111
|
+
* @generated from field: silvana.ledger.v1.SplitCcParams split_cc = 21;
|
|
112
|
+
*/
|
|
113
|
+
value: SplitCcParams;
|
|
114
|
+
case: "splitCc";
|
|
115
|
+
} | {
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: silvana.ledger.v1.ExecuteMultiCallParams execute_multicall = 22;
|
|
118
|
+
*/
|
|
119
|
+
value: ExecuteMultiCallParams;
|
|
120
|
+
case: "executeMulticall";
|
|
121
|
+
} | {
|
|
122
|
+
/**
|
|
123
|
+
* @generated from field: silvana.ledger.v1.LockHoldingsParams lock_holdings = 23;
|
|
124
|
+
*/
|
|
125
|
+
value: LockHoldingsParams;
|
|
126
|
+
case: "lockHoldings";
|
|
127
|
+
} | {
|
|
128
|
+
/**
|
|
129
|
+
* @generated from field: silvana.ledger.v1.ProcessLockUnlockRequestsParams process_lock_unlock_requests = 24;
|
|
130
|
+
*/
|
|
131
|
+
value: ProcessLockUnlockRequestsParams;
|
|
132
|
+
case: "processLockUnlockRequests";
|
|
133
|
+
} | {
|
|
134
|
+
/**
|
|
135
|
+
* @generated from field: silvana.ledger.v1.ResizeLockParams resize_lock = 25;
|
|
136
|
+
*/
|
|
137
|
+
value: ResizeLockParams;
|
|
138
|
+
case: "resizeLock";
|
|
139
|
+
} | {
|
|
140
|
+
/**
|
|
141
|
+
* @generated from field: silvana.ledger.v1.TerminateLockParams terminate_lock = 26;
|
|
142
|
+
*/
|
|
143
|
+
value: TerminateLockParams;
|
|
144
|
+
case: "terminateLock";
|
|
145
|
+
} | { case: undefined; value?: undefined };
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Message-level signature from cloud agent (Ed25519 over canonical request payload)
|
|
149
|
+
*
|
|
150
|
+
* @generated from field: silvana.ledger.v1.MessageSignature request_signature = 30;
|
|
151
|
+
*/
|
|
152
|
+
requestSignature?: MessageSignature;
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Describes the message silvana.ledger.v1.PrepareTransactionRequest.
|
|
157
|
+
* Use `create(PrepareTransactionRequestSchema)` to create a new message.
|
|
158
|
+
*/
|
|
159
|
+
export const PrepareTransactionRequestSchema: GenMessage<PrepareTransactionRequest> = /*@__PURE__*/
|
|
160
|
+
messageDesc(file_silvana_ledger_v1_transactions, 0);
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* @generated from message silvana.ledger.v1.PrepareTransactionResponse
|
|
164
|
+
*/
|
|
165
|
+
export type PrepareTransactionResponse = Message<"silvana.ledger.v1.PrepareTransactionResponse"> & {
|
|
166
|
+
/**
|
|
167
|
+
* Server-generated session ID
|
|
168
|
+
*
|
|
169
|
+
* @generated from field: string transaction_id = 1;
|
|
170
|
+
*/
|
|
171
|
+
transactionId: string;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Base64 hash (DO NOT TRUST — recompute from prepared_transaction)
|
|
175
|
+
*
|
|
176
|
+
* @generated from field: string prepared_transaction_hash = 2;
|
|
177
|
+
*/
|
|
178
|
+
preparedTransactionHash: string;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Deterministic command ID used
|
|
182
|
+
*
|
|
183
|
+
* @generated from field: string command_id = 3;
|
|
184
|
+
*/
|
|
185
|
+
commandId: string;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* @generated from field: silvana.ledger.v1.TrafficEstimate traffic_estimate = 4;
|
|
189
|
+
*/
|
|
190
|
+
trafficEstimate?: TrafficEstimate;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Full Canton PreparedTransaction protobuf (for client verification)
|
|
194
|
+
*
|
|
195
|
+
* @generated from field: bytes prepared_transaction = 5;
|
|
196
|
+
*/
|
|
197
|
+
preparedTransaction: Uint8Array;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* "V2" or "V3" — needed for hash recomputation
|
|
201
|
+
*
|
|
202
|
+
* @generated from field: string hashing_scheme_version = 6;
|
|
203
|
+
*/
|
|
204
|
+
hashingSchemeVersion: string;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Message-level signature from dApp provider service (Ed25519 over canonical response payload)
|
|
208
|
+
*
|
|
209
|
+
* @generated from field: silvana.ledger.v1.MessageSignature response_signature = 30;
|
|
210
|
+
*/
|
|
211
|
+
responseSignature?: MessageSignature;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Transaction lifecycle status (always PENDING after prepare)
|
|
215
|
+
*
|
|
216
|
+
* @generated from field: silvana.ledger.v1.TransactionStatus transaction_status = 40;
|
|
217
|
+
*/
|
|
218
|
+
transactionStatus: TransactionStatus;
|
|
219
|
+
};
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Describes the message silvana.ledger.v1.PrepareTransactionResponse.
|
|
223
|
+
* Use `create(PrepareTransactionResponseSchema)` to create a new message.
|
|
224
|
+
*/
|
|
225
|
+
export const PrepareTransactionResponseSchema: GenMessage<PrepareTransactionResponse> = /*@__PURE__*/
|
|
226
|
+
messageDesc(file_silvana_ledger_v1_transactions, 1);
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* @generated from message silvana.ledger.v1.ExecuteTransactionRequest
|
|
230
|
+
*/
|
|
231
|
+
export type ExecuteTransactionRequest = Message<"silvana.ledger.v1.ExecuteTransactionRequest"> & {
|
|
232
|
+
/**
|
|
233
|
+
* From PrepareTransactionResponse
|
|
234
|
+
*
|
|
235
|
+
* @generated from field: string transaction_id = 1;
|
|
236
|
+
*/
|
|
237
|
+
transactionId: string;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Base64-encoded Ed25519 signature of the hash
|
|
241
|
+
*
|
|
242
|
+
* @generated from field: string signature = 2;
|
|
243
|
+
*/
|
|
244
|
+
signature: string;
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Message-level signature from cloud agent (Ed25519 over canonical request payload)
|
|
248
|
+
*
|
|
249
|
+
* @generated from field: silvana.ledger.v1.MessageSignature request_signature = 30;
|
|
250
|
+
*/
|
|
251
|
+
requestSignature?: MessageSignature;
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Describes the message silvana.ledger.v1.ExecuteTransactionRequest.
|
|
256
|
+
* Use `create(ExecuteTransactionRequestSchema)` to create a new message.
|
|
257
|
+
*/
|
|
258
|
+
export const ExecuteTransactionRequestSchema: GenMessage<ExecuteTransactionRequest> = /*@__PURE__*/
|
|
259
|
+
messageDesc(file_silvana_ledger_v1_transactions, 2);
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* @generated from message silvana.ledger.v1.ExecuteTransactionResponse
|
|
263
|
+
*/
|
|
264
|
+
export type ExecuteTransactionResponse = Message<"silvana.ledger.v1.ExecuteTransactionResponse"> & {
|
|
265
|
+
/**
|
|
266
|
+
* @generated from field: bool success = 1;
|
|
267
|
+
*/
|
|
268
|
+
success: boolean;
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* @generated from field: string update_id = 2;
|
|
272
|
+
*/
|
|
273
|
+
updateId: string;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* @generated from field: optional string contract_id = 3;
|
|
277
|
+
*/
|
|
278
|
+
contractId?: string;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* @generated from field: optional string error_message = 4;
|
|
282
|
+
*/
|
|
283
|
+
errorMessage?: string;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* @generated from field: silvana.ledger.v1.TrafficEstimate traffic = 5;
|
|
287
|
+
*/
|
|
288
|
+
traffic?: TrafficEstimate;
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* @generated from field: optional string rewards_amount = 6;
|
|
292
|
+
*/
|
|
293
|
+
rewardsAmount?: string;
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* @generated from field: optional uint64 rewards_round = 7;
|
|
297
|
+
*/
|
|
298
|
+
rewardsRound?: bigint;
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Message-level signature from dApp provider service (Ed25519 over canonical response payload)
|
|
302
|
+
*
|
|
303
|
+
* @generated from field: silvana.ledger.v1.MessageSignature response_signature = 30;
|
|
304
|
+
*/
|
|
305
|
+
responseSignature?: MessageSignature;
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Transaction lifecycle status (EXECUTED on success, FAILED on error)
|
|
309
|
+
*
|
|
310
|
+
* @generated from field: silvana.ledger.v1.TransactionStatus transaction_status = 40;
|
|
311
|
+
*/
|
|
312
|
+
transactionStatus: TransactionStatus;
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Structured error (ProviderRpcError) — populated when success=false
|
|
316
|
+
*
|
|
317
|
+
* @generated from field: optional silvana.ledger.v1.ProviderError provider_error = 41;
|
|
318
|
+
*/
|
|
319
|
+
providerError?: ProviderError;
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* All contracts created by this transaction (for tracking new amulets from change/split)
|
|
323
|
+
*
|
|
324
|
+
* @generated from field: repeated silvana.ledger.v1.CreatedContractInfo created_contracts = 42;
|
|
325
|
+
*/
|
|
326
|
+
createdContracts: CreatedContractInfo[];
|
|
327
|
+
};
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Describes the message silvana.ledger.v1.ExecuteTransactionResponse.
|
|
331
|
+
* Use `create(ExecuteTransactionResponseSchema)` to create a new message.
|
|
332
|
+
*/
|
|
333
|
+
export const ExecuteTransactionResponseSchema: GenMessage<ExecuteTransactionResponse> = /*@__PURE__*/
|
|
334
|
+
messageDesc(file_silvana_ledger_v1_transactions, 3);
|
|
335
|
+
|