@fairmint/canton-node-sdk
Version:
Canton Node SDK
74 lines • 3.79 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetTransferInstructionWithdrawContextParamsSchema = exports.GetTransferInstructionRejectContextParamsSchema = exports.GetTransferInstructionAcceptContextParamsSchema = exports.GetTransferFactoryParamsSchema = exports.GetAllocationCancelContextParamsSchema = exports.GetAllocationWithdrawContextParamsSchema = exports.GetAllocationTransferContextParamsSchema = exports.GetAllocationFactoryParamsSchema = exports.GetInstrumentParamsSchema = exports.ListInstrumentsParamsSchema = exports.GetRegistryInfoParamsSchema = exports.GetTransferPreapprovalsByPartyParamsSchema = exports.GetFeaturedAppRightParamsSchema = exports.LookupTransferCommandStatusParamsSchema = exports.LookupTransferCommandCounterByPartyParamsSchema = exports.GetMemberTrafficStatusParamsSchema = exports.GetMiningRoundByContractIdParamsSchema = exports.GetMiningRoundDetailsParamsSchema = void 0;
const zod_1 = require("zod");
// Mining Round Parameters
exports.GetMiningRoundDetailsParamsSchema = zod_1.z.object({
roundNumber: zod_1.z.number(),
});
exports.GetMiningRoundByContractIdParamsSchema = zod_1.z.object({
contractId: zod_1.z.string(),
});
// Member Traffic Status Parameters
exports.GetMemberTrafficStatusParamsSchema = zod_1.z.object({
domainId: zod_1.z.string().optional(),
memberId: zod_1.z.string().optional(),
});
// Transfer Command Parameters
exports.LookupTransferCommandCounterByPartyParamsSchema = zod_1.z.object({
party: zod_1.z.string(),
});
exports.LookupTransferCommandStatusParamsSchema = zod_1.z.object({
sender: zod_1.z.string(),
nonce: zod_1.z.number(),
});
// Featured App Right Parameters
exports.GetFeaturedAppRightParamsSchema = zod_1.z.object({
partyId: zod_1.z.string(),
});
// Transfer Preapproval Parameters
exports.GetTransferPreapprovalsByPartyParamsSchema = zod_1.z.object({
partyId: zod_1.z.string(),
});
// Token Standard Registry Parameters
exports.GetRegistryInfoParamsSchema = zod_1.z.void();
exports.ListInstrumentsParamsSchema = zod_1.z.object({
pageSize: zod_1.z.number().optional(),
pageToken: zod_1.z.string().optional(),
});
exports.GetInstrumentParamsSchema = zod_1.z.object({
instrumentId: zod_1.z.string(),
});
exports.GetAllocationFactoryParamsSchema = zod_1.z.object({
choiceArguments: zod_1.z.record(zod_1.z.string(), zod_1.z.never()),
excludeDebugFields: zod_1.z.boolean(),
});
exports.GetAllocationTransferContextParamsSchema = zod_1.z.object({
allocationId: zod_1.z.string(),
meta: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).optional(),
});
exports.GetAllocationWithdrawContextParamsSchema = zod_1.z.object({
allocationId: zod_1.z.string(),
meta: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).optional(),
});
exports.GetAllocationCancelContextParamsSchema = zod_1.z.object({
allocationId: zod_1.z.string(),
meta: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).optional(),
});
exports.GetTransferFactoryParamsSchema = zod_1.z.object({
choiceArguments: zod_1.z.record(zod_1.z.string(), zod_1.z.never()),
excludeDebugFields: zod_1.z.boolean(),
});
exports.GetTransferInstructionAcceptContextParamsSchema = zod_1.z.object({
transferInstructionId: zod_1.z.string(),
meta: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).optional(),
});
exports.GetTransferInstructionRejectContextParamsSchema = zod_1.z.object({
transferInstructionId: zod_1.z.string(),
meta: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).optional(),
});
exports.GetTransferInstructionWithdrawContextParamsSchema = zod_1.z.object({
transferInstructionId: zod_1.z.string(),
meta: zod_1.z.record(zod_1.z.string(), zod_1.z.string()).optional(),
});
//# sourceMappingURL=scan-proxy.js.map