@silvana-one/orderbook 1.1.43 → 1.1.45
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 +477 -336
- 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/orderbook.d.ts +2 -0
- package/dist/node/orderbook.js +2 -0
- package/dist/node/orderbook.js.map +1 -1
- package/dist/node/proto/silvana/ledger/v1/bridge_pb.d.ts +437 -0
- package/dist/node/proto/silvana/ledger/v1/bridge_pb.js +55 -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 +329 -0
- package/dist/node/proto/silvana/ledger/v1/common_pb.js +257 -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 +164 -0
- package/dist/node/proto/silvana/ledger/v1/faucet_pb.js +35 -0
- package/dist/node/proto/silvana/ledger/v1/faucet_pb.js.map +1 -0
- package/dist/node/proto/silvana/ledger/v1/fees_pb.d.ts +34 -0
- package/dist/node/proto/silvana/ledger/v1/fees_pb.js +14 -0
- package/dist/node/proto/silvana/ledger/v1/fees_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/pay_fee_pb.d.ts +152 -0
- package/dist/node/proto/silvana/ledger/v1/pay_fee_pb.js +31 -0
- package/dist/node/proto/silvana/ledger/v1/pay_fee_pb.js.map +1 -0
- package/dist/node/proto/silvana/ledger/v1/preapproval_pb.d.ts +105 -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 +653 -0
- package/dist/node/proto/silvana/ledger/v1/queries_pb.js +146 -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 +223 -0
- package/dist/node/proto/silvana/ledger/v1/service_pb.js +22 -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 +337 -0
- package/dist/node/proto/silvana/ledger/v1/transactions_pb.js +38 -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 +108 -0
- package/dist/node/proto/silvana/ledger/v1/transfer_pb.js +24 -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 +15 -15
- 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 +258 -227
- 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 +48 -48
- 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 +183 -183
- 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/orderbook.d.ts +2 -0
- package/dist/web/orderbook.js +2 -0
- package/dist/web/orderbook.js.map +1 -1
- package/dist/web/proto/silvana/ledger/v1/bridge_pb.d.ts +437 -0
- package/dist/web/proto/silvana/ledger/v1/bridge_pb.js +55 -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 +329 -0
- package/dist/web/proto/silvana/ledger/v1/common_pb.js +257 -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 +164 -0
- package/dist/web/proto/silvana/ledger/v1/faucet_pb.js +35 -0
- package/dist/web/proto/silvana/ledger/v1/faucet_pb.js.map +1 -0
- package/dist/web/proto/silvana/ledger/v1/fees_pb.d.ts +34 -0
- package/dist/web/proto/silvana/ledger/v1/fees_pb.js +14 -0
- package/dist/web/proto/silvana/ledger/v1/fees_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/pay_fee_pb.d.ts +152 -0
- package/dist/web/proto/silvana/ledger/v1/pay_fee_pb.js +31 -0
- package/dist/web/proto/silvana/ledger/v1/pay_fee_pb.js.map +1 -0
- package/dist/web/proto/silvana/ledger/v1/preapproval_pb.d.ts +105 -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 +653 -0
- package/dist/web/proto/silvana/ledger/v1/queries_pb.js +146 -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 +223 -0
- package/dist/web/proto/silvana/ledger/v1/service_pb.js +22 -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 +337 -0
- package/dist/web/proto/silvana/ledger/v1/transactions_pb.js +38 -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 +108 -0
- package/dist/web/proto/silvana/ledger/v1/transfer_pb.js +24 -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 +15 -15
- 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 +258 -227
- 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 +48 -48
- 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 +183 -183
- 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/orderbook.ts +4 -0
- package/src/proto/silvana/ledger/v1/bridge_pb.ts +469 -0
- package/src/proto/silvana/ledger/v1/cip56_pb.ts +85 -0
- package/src/proto/silvana/ledger/v1/common_pb.ts +400 -0
- package/src/proto/silvana/ledger/v1/dvp_pb.ts +178 -0
- package/src/proto/silvana/ledger/v1/faucet_pb.ts +204 -0
- package/src/proto/silvana/ledger/v1/fees_pb.ts +47 -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/pay_fee_pb.ts +189 -0
- package/src/proto/silvana/ledger/v1/preapproval_pb.ts +135 -0
- package/src/proto/silvana/ledger/v1/queries_pb.ts +798 -0
- package/src/proto/silvana/ledger/v1/recurring_pb.ts +115 -0
- package/src/proto/silvana/ledger/v1/service_pb.ts +240 -0
- package/src/proto/silvana/ledger/v1/transactions_pb.ts +389 -0
- package/src/proto/silvana/ledger/v1/transfer_pb.ts +134 -0
- package/src/proto/silvana/news/v1/news_pb.ts +25 -25
- package/src/proto/silvana/orderbook/v1/orderbook_pb.ts +371 -335
- package/src/proto/silvana/pricing/v1/pricing_pb.ts +73 -73
- package/src/proto/silvana/settlement/v1/settlement_pb.ts +261 -261
- 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,389 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.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 { PrepayTrafficParams, 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 { Fee } from "./fees_pb.js";
|
|
24
|
+
import { file_silvana_ledger_v1_fees } from "./fees_pb.js";
|
|
25
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Describes the file silvana/ledger/v1/transactions.proto.
|
|
29
|
+
*/
|
|
30
|
+
export const file_silvana_ledger_v1_transactions: GenFile = /*@__PURE__*/
|
|
31
|
+
fileDesc("CiRzaWx2YW5hL2xlZGdlci92MS90cmFuc2FjdGlvbnMucHJvdG8SEXNpbHZhbmEubGVkZ2VyLnYxIuUKChlQcmVwYXJlVHJhbnNhY3Rpb25SZXF1ZXN0EjoKCW9wZXJhdGlvbhgBIAEoDjInLnNpbHZhbmEubGVkZ2VyLnYxLlRyYW5zYWN0aW9uT3BlcmF0aW9uEjIKB3BheV9mZWUYCiABKAsyHy5zaWx2YW5hLmxlZGdlci52MS5QYXlGZWVQYXJhbXNIABI6Cgtwcm9wb3NlX2R2cBgLIAEoCzIjLnNpbHZhbmEubGVkZ2VyLnYxLlByb3Bvc2VEdnBQYXJhbXNIABI4CgphY2NlcHRfZHZwGAwgASgLMiIuc2lsdmFuYS5sZWRnZXIudjEuQWNjZXB0RHZwUGFyYW1zSAASNQoIYWxsb2NhdGUYDSABKAsyIS5zaWx2YW5hLmxlZGdlci52MS5BbGxvY2F0ZVBhcmFtc0gAEjoKC3RyYW5zZmVyX2NjGA4gASgLMiMuc2lsdmFuYS5sZWRnZXIudjEuVHJhbnNmZXJDY1BhcmFtc0gAEkoKE3JlcXVlc3RfcHJlYXBwcm92YWwYDyABKAsyKy5zaWx2YW5hLmxlZGdlci52MS5SZXF1ZXN0UHJlYXBwcm92YWxQYXJhbXNIABJVChlyZXF1ZXN0X3JlY3VycmluZ19wcmVwYWlkGBAgASgLMjAuc2lsdmFuYS5sZWRnZXIudjEuUmVxdWVzdFJlY3VycmluZ1ByZXBhaWRQYXJhbXNIABJbChxyZXF1ZXN0X3JlY3VycmluZ19wYXlhc3lvdWdvGBEgASgLMjMuc2lsdmFuYS5sZWRnZXIudjEuUmVxdWVzdFJlY3VycmluZ1BheWFzeW91Z29QYXJhbXNIABJLChRyZXF1ZXN0X3VzZXJfc2VydmljZRgSIAEoCzIrLnNpbHZhbmEubGVkZ2VyLnYxLlJlcXVlc3RVc2VyU2VydmljZVBhcmFtc0gAEkAKDnRyYW5zZmVyX2NpcDU2GBMgASgLMiYuc2lsdmFuYS5sZWRnZXIudjEuVHJhbnNmZXJDaXA1NlBhcmFtc0gAEjwKDGFjY2VwdF9jaXA1NhgUIAEoCzIkLnNpbHZhbmEubGVkZ2VyLnYxLkFjY2VwdENpcDU2UGFyYW1zSAASNAoIc3BsaXRfY2MYFSABKAsyIC5zaWx2YW5hLmxlZGdlci52MS5TcGxpdENjUGFyYW1zSAASRgoRZXhlY3V0ZV9tdWx0aWNhbGwYFiABKAsyKS5zaWx2YW5hLmxlZGdlci52MS5FeGVjdXRlTXVsdGlDYWxsUGFyYW1zSAASPgoNbG9ja19ob2xkaW5ncxgXIAEoCzIlLnNpbHZhbmEubGVkZ2VyLnYxLkxvY2tIb2xkaW5nc1BhcmFtc0gAEloKHHByb2Nlc3NfbG9ja191bmxvY2tfcmVxdWVzdHMYGCABKAsyMi5zaWx2YW5hLmxlZGdlci52MS5Qcm9jZXNzTG9ja1VubG9ja1JlcXVlc3RzUGFyYW1zSAASOgoLcmVzaXplX2xvY2sYGSABKAsyIy5zaWx2YW5hLmxlZGdlci52MS5SZXNpemVMb2NrUGFyYW1zSAASQAoOdGVybWluYXRlX2xvY2sYGiABKAsyJi5zaWx2YW5hLmxlZGdlci52MS5UZXJtaW5hdGVMb2NrUGFyYW1zSAASQAoOcHJlcGF5X3RyYWZmaWMYGyABKAsyJi5zaWx2YW5hLmxlZGdlci52MS5QcmVwYXlUcmFmZmljUGFyYW1zSAASPgoRcmVxdWVzdF9zaWduYXR1cmUYHiABKAsyIy5zaWx2YW5hLmxlZGdlci52MS5NZXNzYWdlU2lnbmF0dXJlQggKBnBhcmFtcyLgAwoaUHJlcGFyZVRyYW5zYWN0aW9uUmVzcG9uc2USFgoOdHJhbnNhY3Rpb25faWQYASABKAkSIQoZcHJlcGFyZWRfdHJhbnNhY3Rpb25faGFzaBgCIAEoCRISCgpjb21tYW5kX2lkGAMgASgJEjwKEHRyYWZmaWNfZXN0aW1hdGUYBCABKAsyIi5zaWx2YW5hLmxlZGdlci52MS5UcmFmZmljRXN0aW1hdGUSHAoUcHJlcGFyZWRfdHJhbnNhY3Rpb24YBSABKAwSHgoWaGFzaGluZ19zY2hlbWVfdmVyc2lvbhgGIAEoCRIkCgRmZWVzGAcgAygLMhYuc2lsdmFuYS5sZWRnZXIudjEuRmVlEhEKCWZlZXNfanNvbhgIIAEoCRI/ChJyZXNwb25zZV9zaWduYXR1cmUYHiABKAsyIy5zaWx2YW5hLmxlZGdlci52MS5NZXNzYWdlU2lnbmF0dXJlEjsKDmZlZXNfc2lnbmF0dXJlGB8gASgLMiMuc2lsdmFuYS5sZWRnZXIudjEuTWVzc2FnZVNpZ25hdHVyZRJAChJ0cmFuc2FjdGlvbl9zdGF0dXMYKCABKA4yJC5zaWx2YW5hLmxlZGdlci52MS5UcmFuc2FjdGlvblN0YXR1cyLaAQoZRXhlY3V0ZVRyYW5zYWN0aW9uUmVxdWVzdBIWCg50cmFuc2FjdGlvbl9pZBgBIAEoCRIRCglzaWduYXR1cmUYAiABKAkSEQoJZmVlc19qc29uGAMgASgJEj4KEXJlcXVlc3Rfc2lnbmF0dXJlGB4gASgLMiMuc2lsdmFuYS5sZWRnZXIudjEuTWVzc2FnZVNpZ25hdHVyZRI/ChJmZWVzX2F1dGhvcml6YXRpb24YHyABKAsyIy5zaWx2YW5hLmxlZGdlci52MS5NZXNzYWdlU2lnbmF0dXJlIsMEChpFeGVjdXRlVHJhbnNhY3Rpb25SZXNwb25zZRIPCgdzdWNjZXNzGAEgASgIEhEKCXVwZGF0ZV9pZBgCIAEoCRIYCgtjb250cmFjdF9pZBgDIAEoCUgAiAEBEhoKDWVycm9yX21lc3NhZ2UYBCABKAlIAYgBARIzCgd0cmFmZmljGAUgASgLMiIuc2lsdmFuYS5sZWRnZXIudjEuVHJhZmZpY0VzdGltYXRlEhsKDnJld2FyZHNfYW1vdW50GAYgASgJSAKIAQESGgoNcmV3YXJkc19yb3VuZBgHIAEoBEgDiAEBEj8KEnJlc3BvbnNlX3NpZ25hdHVyZRgeIAEoCzIjLnNpbHZhbmEubGVkZ2VyLnYxLk1lc3NhZ2VTaWduYXR1cmUSQAoSdHJhbnNhY3Rpb25fc3RhdHVzGCggASgOMiQuc2lsdmFuYS5sZWRnZXIudjEuVHJhbnNhY3Rpb25TdGF0dXMSPQoOcHJvdmlkZXJfZXJyb3IYKSABKAsyIC5zaWx2YW5hLmxlZGdlci52MS5Qcm92aWRlckVycm9ySASIAQESQQoRY3JlYXRlZF9jb250cmFjdHMYKiADKAsyJi5zaWx2YW5hLmxlZGdlci52MS5DcmVhdGVkQ29udHJhY3RJbmZvQg4KDF9jb250cmFjdF9pZEIQCg5fZXJyb3JfbWVzc2FnZUIRCg9fcmV3YXJkc19hbW91bnRCEAoOX3Jld2FyZHNfcm91bmRCEQoPX3Byb3ZpZGVyX2Vycm9yQjFaL2dpdGh1Yi5jb20vU2lsdmFuYU9uZS9jYW50b24tYWdlbnQvcHJvdG87bGVkZ2VyYgZwcm90bzM", [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, file_silvana_ledger_v1_fees]);
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from message silvana.ledger.v1.PrepareTransactionRequest
|
|
35
|
+
*/
|
|
36
|
+
export type PrepareTransactionRequest = Message<"silvana.ledger.v1.PrepareTransactionRequest"> & {
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: silvana.ledger.v1.TransactionOperation operation = 1;
|
|
39
|
+
*/
|
|
40
|
+
operation: TransactionOperation;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @generated from oneof silvana.ledger.v1.PrepareTransactionRequest.params
|
|
44
|
+
*/
|
|
45
|
+
params: {
|
|
46
|
+
/**
|
|
47
|
+
* @generated from field: silvana.ledger.v1.PayFeeParams pay_fee = 10;
|
|
48
|
+
*/
|
|
49
|
+
value: PayFeeParams;
|
|
50
|
+
case: "payFee";
|
|
51
|
+
} | {
|
|
52
|
+
/**
|
|
53
|
+
* @generated from field: silvana.ledger.v1.ProposeDvpParams propose_dvp = 11;
|
|
54
|
+
*/
|
|
55
|
+
value: ProposeDvpParams;
|
|
56
|
+
case: "proposeDvp";
|
|
57
|
+
} | {
|
|
58
|
+
/**
|
|
59
|
+
* @generated from field: silvana.ledger.v1.AcceptDvpParams accept_dvp = 12;
|
|
60
|
+
*/
|
|
61
|
+
value: AcceptDvpParams;
|
|
62
|
+
case: "acceptDvp";
|
|
63
|
+
} | {
|
|
64
|
+
/**
|
|
65
|
+
* @generated from field: silvana.ledger.v1.AllocateParams allocate = 13;
|
|
66
|
+
*/
|
|
67
|
+
value: AllocateParams;
|
|
68
|
+
case: "allocate";
|
|
69
|
+
} | {
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: silvana.ledger.v1.TransferCcParams transfer_cc = 14;
|
|
72
|
+
*/
|
|
73
|
+
value: TransferCcParams;
|
|
74
|
+
case: "transferCc";
|
|
75
|
+
} | {
|
|
76
|
+
/**
|
|
77
|
+
* @generated from field: silvana.ledger.v1.RequestPreapprovalParams request_preapproval = 15;
|
|
78
|
+
*/
|
|
79
|
+
value: RequestPreapprovalParams;
|
|
80
|
+
case: "requestPreapproval";
|
|
81
|
+
} | {
|
|
82
|
+
/**
|
|
83
|
+
* @generated from field: silvana.ledger.v1.RequestRecurringPrepaidParams request_recurring_prepaid = 16;
|
|
84
|
+
*/
|
|
85
|
+
value: RequestRecurringPrepaidParams;
|
|
86
|
+
case: "requestRecurringPrepaid";
|
|
87
|
+
} | {
|
|
88
|
+
/**
|
|
89
|
+
* @generated from field: silvana.ledger.v1.RequestRecurringPayasyougoParams request_recurring_payasyougo = 17;
|
|
90
|
+
*/
|
|
91
|
+
value: RequestRecurringPayasyougoParams;
|
|
92
|
+
case: "requestRecurringPayasyougo";
|
|
93
|
+
} | {
|
|
94
|
+
/**
|
|
95
|
+
* @generated from field: silvana.ledger.v1.RequestUserServiceParams request_user_service = 18;
|
|
96
|
+
*/
|
|
97
|
+
value: RequestUserServiceParams;
|
|
98
|
+
case: "requestUserService";
|
|
99
|
+
} | {
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: silvana.ledger.v1.TransferCip56Params transfer_cip56 = 19;
|
|
102
|
+
*/
|
|
103
|
+
value: TransferCip56Params;
|
|
104
|
+
case: "transferCip56";
|
|
105
|
+
} | {
|
|
106
|
+
/**
|
|
107
|
+
* @generated from field: silvana.ledger.v1.AcceptCip56Params accept_cip56 = 20;
|
|
108
|
+
*/
|
|
109
|
+
value: AcceptCip56Params;
|
|
110
|
+
case: "acceptCip56";
|
|
111
|
+
} | {
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: silvana.ledger.v1.SplitCcParams split_cc = 21;
|
|
114
|
+
*/
|
|
115
|
+
value: SplitCcParams;
|
|
116
|
+
case: "splitCc";
|
|
117
|
+
} | {
|
|
118
|
+
/**
|
|
119
|
+
* @generated from field: silvana.ledger.v1.ExecuteMultiCallParams execute_multicall = 22;
|
|
120
|
+
*/
|
|
121
|
+
value: ExecuteMultiCallParams;
|
|
122
|
+
case: "executeMulticall";
|
|
123
|
+
} | {
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: silvana.ledger.v1.LockHoldingsParams lock_holdings = 23;
|
|
126
|
+
*/
|
|
127
|
+
value: LockHoldingsParams;
|
|
128
|
+
case: "lockHoldings";
|
|
129
|
+
} | {
|
|
130
|
+
/**
|
|
131
|
+
* @generated from field: silvana.ledger.v1.ProcessLockUnlockRequestsParams process_lock_unlock_requests = 24;
|
|
132
|
+
*/
|
|
133
|
+
value: ProcessLockUnlockRequestsParams;
|
|
134
|
+
case: "processLockUnlockRequests";
|
|
135
|
+
} | {
|
|
136
|
+
/**
|
|
137
|
+
* @generated from field: silvana.ledger.v1.ResizeLockParams resize_lock = 25;
|
|
138
|
+
*/
|
|
139
|
+
value: ResizeLockParams;
|
|
140
|
+
case: "resizeLock";
|
|
141
|
+
} | {
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: silvana.ledger.v1.TerminateLockParams terminate_lock = 26;
|
|
144
|
+
*/
|
|
145
|
+
value: TerminateLockParams;
|
|
146
|
+
case: "terminateLock";
|
|
147
|
+
} | {
|
|
148
|
+
/**
|
|
149
|
+
* @generated from field: silvana.ledger.v1.PrepayTrafficParams prepay_traffic = 27;
|
|
150
|
+
*/
|
|
151
|
+
value: PrepayTrafficParams;
|
|
152
|
+
case: "prepayTraffic";
|
|
153
|
+
} | { case: undefined; value?: undefined };
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Message-level signature from cloud agent (Ed25519 over canonical request payload)
|
|
157
|
+
*
|
|
158
|
+
* @generated from field: silvana.ledger.v1.MessageSignature request_signature = 30;
|
|
159
|
+
*/
|
|
160
|
+
requestSignature?: MessageSignature | undefined;
|
|
161
|
+
};
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Describes the message silvana.ledger.v1.PrepareTransactionRequest.
|
|
165
|
+
* Use `create(PrepareTransactionRequestSchema)` to create a new message.
|
|
166
|
+
*/
|
|
167
|
+
export const PrepareTransactionRequestSchema: GenMessage<PrepareTransactionRequest> = /*@__PURE__*/
|
|
168
|
+
messageDesc(file_silvana_ledger_v1_transactions, 0);
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* @generated from message silvana.ledger.v1.PrepareTransactionResponse
|
|
172
|
+
*/
|
|
173
|
+
export type PrepareTransactionResponse = Message<"silvana.ledger.v1.PrepareTransactionResponse"> & {
|
|
174
|
+
/**
|
|
175
|
+
* Server-generated session ID
|
|
176
|
+
*
|
|
177
|
+
* @generated from field: string transaction_id = 1;
|
|
178
|
+
*/
|
|
179
|
+
transactionId: string;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Base64 hash (DO NOT TRUST — recompute from prepared_transaction)
|
|
183
|
+
*
|
|
184
|
+
* @generated from field: string prepared_transaction_hash = 2;
|
|
185
|
+
*/
|
|
186
|
+
preparedTransactionHash: string;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Deterministic command ID used
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: string command_id = 3;
|
|
192
|
+
*/
|
|
193
|
+
commandId: string;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* @generated from field: silvana.ledger.v1.TrafficEstimate traffic_estimate = 4;
|
|
197
|
+
*/
|
|
198
|
+
trafficEstimate?: TrafficEstimate | undefined;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Full Canton PreparedTransaction protobuf (for client verification)
|
|
202
|
+
*
|
|
203
|
+
* @generated from field: bytes prepared_transaction = 5;
|
|
204
|
+
*/
|
|
205
|
+
preparedTransaction: Uint8Array;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* "V2" or "V3" — needed for hash recomputation
|
|
209
|
+
*
|
|
210
|
+
* @generated from field: string hashing_scheme_version = 6;
|
|
211
|
+
*/
|
|
212
|
+
hashingSchemeVersion: string;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Server-issued fee schedule for this op. Debited off-chain from the
|
|
216
|
+
* sender's prepaid traffic balance after Canton execute succeeds.
|
|
217
|
+
*
|
|
218
|
+
* @generated from field: repeated silvana.ledger.v1.Fee fees = 7;
|
|
219
|
+
*/
|
|
220
|
+
fees: Fee[];
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Canonical JSON of `fees` — verbatim what `fees_signature` covers.
|
|
224
|
+
* The cloud-agent must echo this string back in ExecuteTransactionRequest.
|
|
225
|
+
*
|
|
226
|
+
* @generated from field: string fees_json = 8;
|
|
227
|
+
*/
|
|
228
|
+
feesJson: string;
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Message-level signature from dApp provider service over the existing
|
|
232
|
+
* canonical (transaction_id, hash, command_id, prepared_transaction,
|
|
233
|
+
* hashing_scheme_version). MUST NOT cover fees_json — that has its own
|
|
234
|
+
* signature so the Canton-prepared payload signature stays untouched.
|
|
235
|
+
*
|
|
236
|
+
* @generated from field: silvana.ledger.v1.MessageSignature response_signature = 30;
|
|
237
|
+
*/
|
|
238
|
+
responseSignature?: MessageSignature | undefined;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Separate Ed25519 signature from the dApp provider service over
|
|
242
|
+
* canonical_fees_authorization(fees_json). Out-of-band from the Canton
|
|
243
|
+
* payload signature to preserve Canton verifiability.
|
|
244
|
+
*
|
|
245
|
+
* @generated from field: silvana.ledger.v1.MessageSignature fees_signature = 31;
|
|
246
|
+
*/
|
|
247
|
+
feesSignature?: MessageSignature | undefined;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Transaction lifecycle status (always PENDING after prepare)
|
|
251
|
+
*
|
|
252
|
+
* @generated from field: silvana.ledger.v1.TransactionStatus transaction_status = 40;
|
|
253
|
+
*/
|
|
254
|
+
transactionStatus: TransactionStatus;
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Describes the message silvana.ledger.v1.PrepareTransactionResponse.
|
|
259
|
+
* Use `create(PrepareTransactionResponseSchema)` to create a new message.
|
|
260
|
+
*/
|
|
261
|
+
export const PrepareTransactionResponseSchema: GenMessage<PrepareTransactionResponse> = /*@__PURE__*/
|
|
262
|
+
messageDesc(file_silvana_ledger_v1_transactions, 1);
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* @generated from message silvana.ledger.v1.ExecuteTransactionRequest
|
|
266
|
+
*/
|
|
267
|
+
export type ExecuteTransactionRequest = Message<"silvana.ledger.v1.ExecuteTransactionRequest"> & {
|
|
268
|
+
/**
|
|
269
|
+
* From PrepareTransactionResponse
|
|
270
|
+
*
|
|
271
|
+
* @generated from field: string transaction_id = 1;
|
|
272
|
+
*/
|
|
273
|
+
transactionId: string;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Base64-encoded Ed25519 signature of the hash (Canton multihash; UNTOUCHED)
|
|
277
|
+
*
|
|
278
|
+
* @generated from field: string signature = 2;
|
|
279
|
+
*/
|
|
280
|
+
signature: string;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Echoed verbatim from PrepareTransactionResponse.fees_json so the server
|
|
284
|
+
* can verify the cloud-agent authorized this exact fee schedule.
|
|
285
|
+
*
|
|
286
|
+
* @generated from field: string fees_json = 3;
|
|
287
|
+
*/
|
|
288
|
+
feesJson: string;
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Message-level signature from cloud agent over the existing canonical
|
|
292
|
+
* (transaction_id, signature). MUST NOT cover fees_json.
|
|
293
|
+
*
|
|
294
|
+
* @generated from field: silvana.ledger.v1.MessageSignature request_signature = 30;
|
|
295
|
+
*/
|
|
296
|
+
requestSignature?: MessageSignature | undefined;
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Separate Ed25519 signature from cloud-agent over
|
|
300
|
+
* canonical_fees_authorization(fees_json). Authorizes the off-chain debit
|
|
301
|
+
* of the fees from the sender's prepaid traffic balance.
|
|
302
|
+
*
|
|
303
|
+
* @generated from field: silvana.ledger.v1.MessageSignature fees_authorization = 31;
|
|
304
|
+
*/
|
|
305
|
+
feesAuthorization?: MessageSignature | undefined;
|
|
306
|
+
};
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Describes the message silvana.ledger.v1.ExecuteTransactionRequest.
|
|
310
|
+
* Use `create(ExecuteTransactionRequestSchema)` to create a new message.
|
|
311
|
+
*/
|
|
312
|
+
export const ExecuteTransactionRequestSchema: GenMessage<ExecuteTransactionRequest> = /*@__PURE__*/
|
|
313
|
+
messageDesc(file_silvana_ledger_v1_transactions, 2);
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* @generated from message silvana.ledger.v1.ExecuteTransactionResponse
|
|
317
|
+
*/
|
|
318
|
+
export type ExecuteTransactionResponse = Message<"silvana.ledger.v1.ExecuteTransactionResponse"> & {
|
|
319
|
+
/**
|
|
320
|
+
* @generated from field: bool success = 1;
|
|
321
|
+
*/
|
|
322
|
+
success: boolean;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* @generated from field: string update_id = 2;
|
|
326
|
+
*/
|
|
327
|
+
updateId: string;
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* @generated from field: optional string contract_id = 3;
|
|
331
|
+
*/
|
|
332
|
+
contractId?: string | undefined;
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* @generated from field: optional string error_message = 4;
|
|
336
|
+
*/
|
|
337
|
+
errorMessage?: string | undefined;
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* @generated from field: silvana.ledger.v1.TrafficEstimate traffic = 5;
|
|
341
|
+
*/
|
|
342
|
+
traffic?: TrafficEstimate | undefined;
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* @generated from field: optional string rewards_amount = 6;
|
|
346
|
+
*/
|
|
347
|
+
rewardsAmount?: string | undefined;
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* @generated from field: optional uint64 rewards_round = 7;
|
|
351
|
+
*/
|
|
352
|
+
rewardsRound?: bigint | undefined;
|
|
353
|
+
|
|
354
|
+
/**
|
|
355
|
+
* Message-level signature from dApp provider service (Ed25519 over canonical response payload)
|
|
356
|
+
*
|
|
357
|
+
* @generated from field: silvana.ledger.v1.MessageSignature response_signature = 30;
|
|
358
|
+
*/
|
|
359
|
+
responseSignature?: MessageSignature | undefined;
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* Transaction lifecycle status (EXECUTED on success, FAILED on error)
|
|
363
|
+
*
|
|
364
|
+
* @generated from field: silvana.ledger.v1.TransactionStatus transaction_status = 40;
|
|
365
|
+
*/
|
|
366
|
+
transactionStatus: TransactionStatus;
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Structured error (ProviderRpcError) — populated when success=false
|
|
370
|
+
*
|
|
371
|
+
* @generated from field: optional silvana.ledger.v1.ProviderError provider_error = 41;
|
|
372
|
+
*/
|
|
373
|
+
providerError?: ProviderError | undefined;
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* All contracts created by this transaction (for tracking new amulets from change/split)
|
|
377
|
+
*
|
|
378
|
+
* @generated from field: repeated silvana.ledger.v1.CreatedContractInfo created_contracts = 42;
|
|
379
|
+
*/
|
|
380
|
+
createdContracts: CreatedContractInfo[];
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* Describes the message silvana.ledger.v1.ExecuteTransactionResponse.
|
|
385
|
+
* Use `create(ExecuteTransactionResponseSchema)` to create a new message.
|
|
386
|
+
*/
|
|
387
|
+
export const ExecuteTransactionResponseSchema: GenMessage<ExecuteTransactionResponse> = /*@__PURE__*/
|
|
388
|
+
messageDesc(file_silvana_ledger_v1_transactions, 3);
|
|
389
|
+
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts,js_import_style=module,import_extension=.js"
|
|
2
|
+
// @generated from file silvana/ledger/v1/transfer.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/transfer.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_silvana_ledger_v1_transfer: GenFile = /*@__PURE__*/
|
|
13
|
+
fileDesc("CiBzaWx2YW5hL2xlZGdlci92MS90cmFuc2Zlci5wcm90bxIRc2lsdmFuYS5sZWRnZXIudjEizQEKEFRyYW5zZmVyQ2NQYXJhbXMSFgoOcmVjZWl2ZXJfcGFydHkYASABKAkSDgoGYW1vdW50GAIgASgJEhgKC2Rlc2NyaXB0aW9uGAMgASgJSACIAQESEgoKY29tbWFuZF9pZBgEIAEoCRIjChZzZXR0bGVtZW50X3Byb3Bvc2FsX2lkGAUgASgJSAGIAQESEwoLYW11bGV0X2NpZHMYBiADKAlCDgoMX2Rlc2NyaXB0aW9uQhkKF19zZXR0bGVtZW50X3Byb3Bvc2FsX2lkIjwKDVNwbGl0Q2NQYXJhbXMSFgoOb3V0cHV0X2Ftb3VudHMYASADKAkSEwoLYW11bGV0X2NpZHMYAiADKAkieAoTUHJlcGF5VHJhZmZpY1BhcmFtcxIOCgZhbW91bnQYASABKAkSGAoLZGVzY3JpcHRpb24YAiABKAlIAIgBARISCgpjb21tYW5kX2lkGAMgASgJEhMKC2FtdWxldF9jaWRzGAQgAygJQg4KDF9kZXNjcmlwdGlvbkIxWi9naXRodWIuY29tL1NpbHZhbmFPbmUvY2FudG9uLWFnZW50L3Byb3RvO2xlZGdlcmIGcHJvdG8z");
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Transfer Canton Coin to a receiver. If the receiver has a TransferPreapproval,
|
|
17
|
+
* the transfer settles atomically. Otherwise it creates a TransferOffer.
|
|
18
|
+
*
|
|
19
|
+
* @generated from message silvana.ledger.v1.TransferCcParams
|
|
20
|
+
*/
|
|
21
|
+
export type TransferCcParams = Message<"silvana.ledger.v1.TransferCcParams"> & {
|
|
22
|
+
/**
|
|
23
|
+
* @generated from field: string receiver_party = 1;
|
|
24
|
+
*/
|
|
25
|
+
receiverParty: string;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @generated from field: string amount = 2;
|
|
29
|
+
*/
|
|
30
|
+
amount: string;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: optional string description = 3;
|
|
34
|
+
*/
|
|
35
|
+
description?: string | undefined;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: string command_id = 4;
|
|
39
|
+
*/
|
|
40
|
+
commandId: string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @generated from field: optional string settlement_proposal_id = 5;
|
|
44
|
+
*/
|
|
45
|
+
settlementProposalId?: string | undefined;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Pre-selected amulet contract IDs (empty = server selects)
|
|
49
|
+
*
|
|
50
|
+
* @generated from field: repeated string amulet_cids = 6;
|
|
51
|
+
*/
|
|
52
|
+
amuletCids: string[];
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Describes the message silvana.ledger.v1.TransferCcParams.
|
|
57
|
+
* Use `create(TransferCcParamsSchema)` to create a new message.
|
|
58
|
+
*/
|
|
59
|
+
export const TransferCcParamsSchema: GenMessage<TransferCcParams> = /*@__PURE__*/
|
|
60
|
+
messageDesc(file_silvana_ledger_v1_transfer, 0);
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Split CC into multiple amulets via AmuletRules_Transfer (MergeSplit)
|
|
64
|
+
*
|
|
65
|
+
* @generated from message silvana.ledger.v1.SplitCcParams
|
|
66
|
+
*/
|
|
67
|
+
export type SplitCcParams = Message<"silvana.ledger.v1.SplitCcParams"> & {
|
|
68
|
+
/**
|
|
69
|
+
* Amount for each output amulet (decimal strings)
|
|
70
|
+
*
|
|
71
|
+
* @generated from field: repeated string output_amounts = 1;
|
|
72
|
+
*/
|
|
73
|
+
outputAmounts: string[];
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Input amulet contract IDs
|
|
77
|
+
*
|
|
78
|
+
* @generated from field: repeated string amulet_cids = 2;
|
|
79
|
+
*/
|
|
80
|
+
amuletCids: string[];
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Describes the message silvana.ledger.v1.SplitCcParams.
|
|
85
|
+
* Use `create(SplitCcParamsSchema)` to create a new message.
|
|
86
|
+
*/
|
|
87
|
+
export const SplitCcParamsSchema: GenMessage<SplitCcParams> = /*@__PURE__*/
|
|
88
|
+
messageDesc(file_silvana_ledger_v1_transfer, 1);
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Prepay traffic: transfer CC to PARTY_PREPAID_TRAFFIC (server-resolved) so
|
|
92
|
+
* the agent can later debit the prepaid balance for tx sends, subscriptions,
|
|
93
|
+
* AI agent costs, agent / participant / traffic fees, etc.
|
|
94
|
+
*
|
|
95
|
+
* Recipient is fixed server-side from the PARTY_PREPAID_TRAFFIC env, so it
|
|
96
|
+
* is not a client-supplied field. Distinct from the Canton sequencer
|
|
97
|
+
* traffic-fee party (PARTY_TRAFFIC_FEE) used by the cloud-agent's on-chain
|
|
98
|
+
* payment queue.
|
|
99
|
+
*
|
|
100
|
+
* @generated from message silvana.ledger.v1.PrepayTrafficParams
|
|
101
|
+
*/
|
|
102
|
+
export type PrepayTrafficParams = Message<"silvana.ledger.v1.PrepayTrafficParams"> & {
|
|
103
|
+
/**
|
|
104
|
+
* CC amount to prepay (decimal string)
|
|
105
|
+
*
|
|
106
|
+
* @generated from field: string amount = 1;
|
|
107
|
+
*/
|
|
108
|
+
amount: string;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* @generated from field: optional string description = 2;
|
|
112
|
+
*/
|
|
113
|
+
description?: string | undefined;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @generated from field: string command_id = 3;
|
|
117
|
+
*/
|
|
118
|
+
commandId: string;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Pre-selected amulet contract IDs (empty = server selects)
|
|
122
|
+
*
|
|
123
|
+
* @generated from field: repeated string amulet_cids = 4;
|
|
124
|
+
*/
|
|
125
|
+
amuletCids: string[];
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Describes the message silvana.ledger.v1.PrepayTrafficParams.
|
|
130
|
+
* Use `create(PrepayTrafficParamsSchema)` to create a new message.
|
|
131
|
+
*/
|
|
132
|
+
export const PrepayTrafficParamsSchema: GenMessage<PrepayTrafficParams> = /*@__PURE__*/
|
|
133
|
+
messageDesc(file_silvana_ledger_v1_transfer, 2);
|
|
134
|
+
|