@fairmint/open-captable-protocol-daml-js 0.2.161 → 0.3.2
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/{types/ocp-factory-contract-id-json.d.ts → generated/ocp-factory-contract-id.json.d.ts} +1 -1
- package/lib/Fairmint/OpenCapTable/CapTable/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/Document/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.js +2 -2
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +2 -2
- package/lib/Fairmint/index.d.ts +0 -1
- package/lib/Fairmint/index.js +0 -2
- package/lib/index.d.ts +1 -3
- package/lib/index.js +0 -4
- package/package.json +10 -34
- package/published-dars/OpenCapTable.dar +0 -0
- package/generated/paymentStreams-factory-contract-id.json +0 -22
- package/generated/reports-factory-contract-id.json +0 -10
- package/lib/CantonPayments/Airdrop/Airdrop/index.d.ts +0 -1
- package/lib/CantonPayments/Airdrop/Airdrop/index.js +0 -8
- package/lib/CantonPayments/Airdrop/Airdrop/module.d.ts +0 -113
- package/lib/CantonPayments/Airdrop/Airdrop/module.js +0 -180
- package/lib/CantonPayments/Airdrop/AirdropFactory/index.d.ts +0 -1
- package/lib/CantonPayments/Airdrop/AirdropFactory/index.js +0 -8
- package/lib/CantonPayments/Airdrop/AirdropFactory/module.d.ts +0 -64
- package/lib/CantonPayments/Airdrop/AirdropFactory/module.js +0 -100
- package/lib/CantonPayments/Airdrop/PersonalAirdrop/index.d.ts +0 -1
- package/lib/CantonPayments/Airdrop/PersonalAirdrop/index.js +0 -8
- package/lib/CantonPayments/Airdrop/PersonalAirdrop/module.d.ts +0 -60
- package/lib/CantonPayments/Airdrop/PersonalAirdrop/module.js +0 -96
- package/lib/CantonPayments/Airdrop/SimpleAirdrop/index.d.ts +0 -1
- package/lib/CantonPayments/Airdrop/SimpleAirdrop/index.js +0 -8
- package/lib/CantonPayments/Airdrop/SimpleAirdrop/module.d.ts +0 -64
- package/lib/CantonPayments/Airdrop/SimpleAirdrop/module.js +0 -95
- package/lib/CantonPayments/Airdrop/index.d.ts +0 -8
- package/lib/CantonPayments/Airdrop/index.js +0 -15
- package/lib/CantonPayments/PaymentStream/ActivePaymentStream/index.d.ts +0 -1
- package/lib/CantonPayments/PaymentStream/ActivePaymentStream/index.js +0 -8
- package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.d.ts +0 -215
- package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.js +0 -354
- package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/index.d.ts +0 -1
- package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/index.js +0 -8
- package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/module.d.ts +0 -82
- package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/module.js +0 -136
- package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/index.d.ts +0 -1
- package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/index.js +0 -8
- package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.d.ts +0 -46
- package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.js +0 -73
- package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/index.d.ts +0 -1
- package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/index.js +0 -8
- package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.d.ts +0 -97
- package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.js +0 -160
- package/lib/CantonPayments/PaymentStream/Types/ActivePaymentStreamData/index.d.ts +0 -1
- package/lib/CantonPayments/PaymentStream/Types/ActivePaymentStreamData/index.js +0 -8
- package/lib/CantonPayments/PaymentStream/Types/ActivePaymentStreamData/module.d.ts +0 -23
- package/lib/CantonPayments/PaymentStream/Types/ActivePaymentStreamData/module.js +0 -30
- package/lib/CantonPayments/PaymentStream/Types/Approvals/index.d.ts +0 -1
- package/lib/CantonPayments/PaymentStream/Types/Approvals/index.js +0 -8
- package/lib/CantonPayments/PaymentStream/Types/Approvals/module.d.ts +0 -18
- package/lib/CantonPayments/PaymentStream/Types/Approvals/module.js +0 -25
- package/lib/CantonPayments/PaymentStream/Types/LockFundsInput/index.d.ts +0 -1
- package/lib/CantonPayments/PaymentStream/Types/LockFundsInput/index.js +0 -8
- package/lib/CantonPayments/PaymentStream/Types/LockFundsInput/module.d.ts +0 -22
- package/lib/CantonPayments/PaymentStream/Types/LockFundsInput/module.js +0 -29
- package/lib/CantonPayments/PaymentStream/Types/PartyRole/index.d.ts +0 -1
- package/lib/CantonPayments/PaymentStream/Types/PartyRole/index.js +0 -8
- package/lib/CantonPayments/PaymentStream/Types/PartyRole/module.d.ts +0 -19
- package/lib/CantonPayments/PaymentStream/Types/PartyRole/module.js +0 -22
- package/lib/CantonPayments/PaymentStream/Types/PaymentContext/index.d.ts +0 -1
- package/lib/CantonPayments/PaymentStream/Types/PaymentContext/index.js +0 -8
- package/lib/CantonPayments/PaymentStream/Types/PaymentContext/module.d.ts +0 -20
- package/lib/CantonPayments/PaymentStream/Types/PaymentContext/module.js +0 -27
- package/lib/CantonPayments/PaymentStream/Types/PaymentResult/index.d.ts +0 -1
- package/lib/CantonPayments/PaymentStream/Types/PaymentResult/index.js +0 -8
- package/lib/CantonPayments/PaymentStream/Types/PaymentResult/module.d.ts +0 -20
- package/lib/CantonPayments/PaymentStream/Types/PaymentResult/module.js +0 -28
- package/lib/CantonPayments/PaymentStream/Types/PaymentStream/index.d.ts +0 -1
- package/lib/CantonPayments/PaymentStream/Types/PaymentStream/index.js +0 -8
- package/lib/CantonPayments/PaymentStream/Types/PaymentStream/module.d.ts +0 -32
- package/lib/CantonPayments/PaymentStream/Types/PaymentStream/module.js +0 -39
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamAmount/index.d.ts +0 -1
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamAmount/index.js +0 -8
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamAmount/module.d.ts +0 -17
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamAmount/module.js +0 -25
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamChanges/index.d.ts +0 -1
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamChanges/index.js +0 -8
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamChanges/module.d.ts +0 -32
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamChanges/module.js +0 -39
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposal/index.d.ts +0 -1
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposal/index.js +0 -8
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposal/module.d.ts +0 -33
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposal/module.js +0 -40
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges/index.d.ts +0 -1
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges/index.js +0 -8
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges/module.d.ts +0 -33
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamProposalChanges/module.js +0 -40
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamStats/index.d.ts +0 -1
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamStats/index.js +0 -8
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamStats/module.d.ts +0 -22
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamStats/module.js +0 -29
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamTime/index.d.ts +0 -1
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamTime/index.js +0 -8
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamTime/module.d.ts +0 -19
- package/lib/CantonPayments/PaymentStream/Types/PaymentStreamTime/module.js +0 -27
- package/lib/CantonPayments/PaymentStream/Types/ProcessFreeTrialResult/index.d.ts +0 -1
- package/lib/CantonPayments/PaymentStream/Types/ProcessFreeTrialResult/index.js +0 -8
- package/lib/CantonPayments/PaymentStream/Types/ProcessFreeTrialResult/module.d.ts +0 -18
- package/lib/CantonPayments/PaymentStream/Types/ProcessFreeTrialResult/module.js +0 -26
- package/lib/CantonPayments/PaymentStream/Types/ProcessorContext/index.d.ts +0 -1
- package/lib/CantonPayments/PaymentStream/Types/ProcessorContext/index.js +0 -8
- package/lib/CantonPayments/PaymentStream/Types/ProcessorContext/module.d.ts +0 -17
- package/lib/CantonPayments/PaymentStream/Types/ProcessorContext/module.js +0 -24
- package/lib/CantonPayments/PaymentStream/Types/index.d.ts +0 -30
- package/lib/CantonPayments/PaymentStream/Types/index.js +0 -37
- package/lib/CantonPayments/PaymentStream/index.d.ts +0 -10
- package/lib/CantonPayments/PaymentStream/index.js +0 -17
- package/lib/CantonPayments/index.d.ts +0 -4
- package/lib/CantonPayments/index.js +0 -11
- package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/index.d.ts +0 -1
- package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/index.js +0 -8
- package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/module.d.ts +0 -53
- package/lib/Fairmint/OpenCapTableReports/CompanyValuationReport/module.js +0 -89
- package/lib/Fairmint/OpenCapTableReports/ReportsFactory/index.d.ts +0 -1
- package/lib/Fairmint/OpenCapTableReports/ReportsFactory/index.js +0 -8
- package/lib/Fairmint/OpenCapTableReports/ReportsFactory/module.d.ts +0 -42
- package/lib/Fairmint/OpenCapTableReports/ReportsFactory/module.js +0 -69
- package/lib/Fairmint/OpenCapTableReports/index.d.ts +0 -4
- package/lib/Fairmint/OpenCapTableReports/index.js +0 -11
- package/lib/Nft/Api/V1/Nft/index.d.ts +0 -1
- package/lib/Nft/Api/V1/Nft/index.js +0 -8
- package/lib/Nft/Api/V1/Nft/module.d.ts +0 -20
- package/lib/Nft/Api/V1/Nft/module.js +0 -31
- package/lib/Nft/Api/V1/Types/index.d.ts +0 -1
- package/lib/Nft/Api/V1/Types/index.js +0 -8
- package/lib/Nft/Api/V1/Types/module.d.ts +0 -179
- package/lib/Nft/Api/V1/Types/module.js +0 -218
- package/lib/Nft/Api/V1/index.d.ts +0 -4
- package/lib/Nft/Api/V1/index.js +0 -11
- package/lib/Nft/Api/index.d.ts +0 -2
- package/lib/Nft/Api/index.js +0 -9
- package/lib/Nft/Reference/V1/NftAsset/index.d.ts +0 -1
- package/lib/Nft/Reference/V1/NftAsset/index.js +0 -8
- package/lib/Nft/Reference/V1/NftAsset/module.d.ts +0 -105
- package/lib/Nft/Reference/V1/NftAsset/module.js +0 -183
- package/lib/Nft/Reference/V1/NftRegistry/index.d.ts +0 -1
- package/lib/Nft/Reference/V1/NftRegistry/index.js +0 -8
- package/lib/Nft/Reference/V1/NftRegistry/module.d.ts +0 -97
- package/lib/Nft/Reference/V1/NftRegistry/module.js +0 -150
- package/lib/Nft/Reference/V1/ReceiveAuthorization/index.d.ts +0 -1
- package/lib/Nft/Reference/V1/ReceiveAuthorization/index.js +0 -8
- package/lib/Nft/Reference/V1/ReceiveAuthorization/module.d.ts +0 -41
- package/lib/Nft/Reference/V1/ReceiveAuthorization/module.js +0 -68
- package/lib/Nft/Reference/V1/index.d.ts +0 -6
- package/lib/Nft/Reference/V1/index.js +0 -13
- package/lib/Nft/Reference/index.d.ts +0 -2
- package/lib/Nft/Reference/index.js +0 -9
- package/lib/Nft/index.d.ts +0 -2
- package/lib/Nft/index.js +0 -6
- package/lib/nft-api-v01-package-namespace.d.ts +0 -4
- package/lib/nft-api-v01-package-namespace.js +0 -4
- package/types/paymentStreams-factory-contract-id-json.d.ts +0 -24
- package/types/reports-factory-contract-id-json.d.ts +0 -12
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
|
|
13
|
-
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../__bundled__/splice-api-featured-app-v1');
|
|
14
|
-
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../__bundled__/ghc-stdlib-DA-Internal-Template');
|
|
15
|
-
var pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23 = require('../../..');
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
exports.Airdrop_Execute = {
|
|
19
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({transferSpecs: damlTypes.List(exports.RecipientTransferSpec).decoder, initialAmuletInputs: damlTypes.List(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)).decoder, openMiningRoundCid: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.OpenMiningRound).decoder, amountPerTransfer: damlTypes.Numeric(10).decoder, amuletRules: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.AmuletRules)).decoder), }); }),
|
|
20
|
-
encode: function (__typed__) {
|
|
21
|
-
return {
|
|
22
|
-
transferSpecs: damlTypes.List(exports.RecipientTransferSpec).encode(__typed__.transferSpecs),
|
|
23
|
-
initialAmuletInputs: damlTypes.List(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)).encode(__typed__.initialAmuletInputs),
|
|
24
|
-
openMiningRoundCid: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.OpenMiningRound).encode(__typed__.openMiningRoundCid),
|
|
25
|
-
amountPerTransfer: damlTypes.Numeric(10).encode(__typed__.amountPerTransfer),
|
|
26
|
-
amuletRules: damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.AmuletRules)).encode(__typed__.amuletRules),
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
,
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
exports.Airdrop_Join = {
|
|
35
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, }); }),
|
|
36
|
-
encode: function (__typed__) {
|
|
37
|
-
return {
|
|
38
|
-
actor: damlTypes.Party.encode(__typed__.actor),
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
,
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
exports.Airdrop_AddObservers = {
|
|
47
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, newObservers: damlTypes.List(damlTypes.Party).decoder, }); }),
|
|
48
|
-
encode: function (__typed__) {
|
|
49
|
-
return {
|
|
50
|
-
actor: damlTypes.Party.encode(__typed__.actor),
|
|
51
|
-
newObservers: damlTypes.List(damlTypes.Party).encode(__typed__.newObservers),
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
,
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
exports.Airdrop_Archive = {
|
|
60
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({}); }),
|
|
61
|
-
encode: function (__typed__) {
|
|
62
|
-
return {
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
,
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
exports.Airdrop_UpdateConfig = {
|
|
71
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({newConfig: exports.AirdropConfig.decoder, }); }),
|
|
72
|
-
encode: function (__typed__) {
|
|
73
|
-
return {
|
|
74
|
-
newConfig: exports.AirdropConfig.encode(__typed__.newConfig),
|
|
75
|
-
};
|
|
76
|
-
}
|
|
77
|
-
,
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
exports.Airdrop = damlTypes.assembleTemplate(
|
|
83
|
-
{
|
|
84
|
-
templateId: '#CantonPayments:CantonPayments.Airdrop.Airdrop:Airdrop',
|
|
85
|
-
templateIdWithPackageId: '6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173:CantonPayments.Airdrop.Airdrop:Airdrop',
|
|
86
|
-
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
87
|
-
keyEncode: function () { throw 'EncodeError'; },
|
|
88
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({config: exports.AirdropConfig.decoder, joinedParties: damlTypes.List(damlTypes.Party).decoder, observers: damlTypes.List(damlTypes.Party).decoder, }); }),
|
|
89
|
-
encode: function (__typed__) {
|
|
90
|
-
return {
|
|
91
|
-
config: exports.AirdropConfig.encode(__typed__.config),
|
|
92
|
-
joinedParties: damlTypes.List(damlTypes.Party).encode(__typed__.joinedParties),
|
|
93
|
-
observers: damlTypes.List(damlTypes.Party).encode(__typed__.observers),
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
,
|
|
97
|
-
Airdrop_UpdateConfig: {
|
|
98
|
-
template: function () { return exports.Airdrop; },
|
|
99
|
-
choiceName: 'Airdrop_UpdateConfig',
|
|
100
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.Airdrop_UpdateConfig.decoder; }),
|
|
101
|
-
argumentEncode: function (__typed__) { return exports.Airdrop_UpdateConfig.encode(__typed__); },
|
|
102
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
103
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
104
|
-
},
|
|
105
|
-
Airdrop_Archive: {
|
|
106
|
-
template: function () { return exports.Airdrop; },
|
|
107
|
-
choiceName: 'Airdrop_Archive',
|
|
108
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.Airdrop_Archive.decoder; }),
|
|
109
|
-
argumentEncode: function (__typed__) { return exports.Airdrop_Archive.encode(__typed__); },
|
|
110
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
111
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
112
|
-
},
|
|
113
|
-
Airdrop_AddObservers: {
|
|
114
|
-
template: function () { return exports.Airdrop; },
|
|
115
|
-
choiceName: 'Airdrop_AddObservers',
|
|
116
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.Airdrop_AddObservers.decoder; }),
|
|
117
|
-
argumentEncode: function (__typed__) { return exports.Airdrop_AddObservers.encode(__typed__); },
|
|
118
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
119
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
120
|
-
},
|
|
121
|
-
Airdrop_Join: {
|
|
122
|
-
template: function () { return exports.Airdrop; },
|
|
123
|
-
choiceName: 'Airdrop_Join',
|
|
124
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.Airdrop_Join.decoder; }),
|
|
125
|
-
argumentEncode: function (__typed__) { return exports.Airdrop_Join.encode(__typed__); },
|
|
126
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
127
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
128
|
-
},
|
|
129
|
-
Airdrop_Execute: {
|
|
130
|
-
template: function () { return exports.Airdrop; },
|
|
131
|
-
choiceName: 'Airdrop_Execute',
|
|
132
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.Airdrop_Execute.decoder; }),
|
|
133
|
-
argumentEncode: function (__typed__) { return exports.Airdrop_Execute.encode(__typed__); },
|
|
134
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
135
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
136
|
-
},
|
|
137
|
-
Archive: {
|
|
138
|
-
template: function () { return exports.Airdrop; },
|
|
139
|
-
choiceName: 'Archive',
|
|
140
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
141
|
-
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
142
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
143
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
144
|
-
},
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
);
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
damlTypes.registerTemplate(exports.Airdrop, ['6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173', '#CantonPayments']);
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
exports.AirdropConfig = {
|
|
155
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({sender: damlTypes.Party.decoder, featuredAppRight: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.FeaturedAppRight)).decoder), amuletRulesCid: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.AmuletRules).decoder, dso: damlTypes.Party.decoder, }); }),
|
|
156
|
-
encode: function (__typed__) {
|
|
157
|
-
return {
|
|
158
|
-
sender: damlTypes.Party.encode(__typed__.sender),
|
|
159
|
-
featuredAppRight: damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.FeaturedAppRight)).encode(__typed__.featuredAppRight),
|
|
160
|
-
amuletRulesCid: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.AmuletRules).encode(__typed__.amuletRulesCid),
|
|
161
|
-
dso: damlTypes.Party.encode(__typed__.dso),
|
|
162
|
-
};
|
|
163
|
-
}
|
|
164
|
-
,
|
|
165
|
-
};
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
exports.RecipientTransferSpec = {
|
|
170
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({recipient: damlTypes.Party.decoder, numberOfTransfers: damlTypes.Int.decoder, appRewardBeneficiaries: damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary).decoder, }); }),
|
|
171
|
-
encode: function (__typed__) {
|
|
172
|
-
return {
|
|
173
|
-
recipient: damlTypes.Party.encode(__typed__.recipient),
|
|
174
|
-
numberOfTransfers: damlTypes.Int.encode(__typed__.numberOfTransfers),
|
|
175
|
-
appRewardBeneficiaries: damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary).encode(__typed__.appRewardBeneficiaries),
|
|
176
|
-
};
|
|
177
|
-
}
|
|
178
|
-
,
|
|
179
|
-
};
|
|
180
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
// Generated from CantonPayments/Airdrop/AirdropFactory.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
|
|
8
|
-
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../__bundled__/splice-api-featured-app-v1';
|
|
9
|
-
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../__bundled__/ghc-stdlib-DA-Internal-Template';
|
|
10
|
-
import * as pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23 from '../../..';
|
|
11
|
-
|
|
12
|
-
import * as CantonPayments_Airdrop_PersonalAirdrop from '../../../CantonPayments/Airdrop/PersonalAirdrop/module';
|
|
13
|
-
|
|
14
|
-
export declare type Factory_ExecuteBatchTransfers = {
|
|
15
|
-
personalAirdropCids: damlTypes.ContractId<CantonPayments_Airdrop_PersonalAirdrop.PersonalAirdrop>[];
|
|
16
|
-
amuletInputs: damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.Amulet.Amulet>[];
|
|
17
|
-
openMiningRoundCid: damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.Round.OpenMiningRound>;
|
|
18
|
-
amount: damlTypes.Numeric;
|
|
19
|
-
numberOfTransfers: damlTypes.Int;
|
|
20
|
-
lockedAmuletCid: damlTypes.Optional<damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.Amulet.LockedAmulet>>;
|
|
21
|
-
optMergeAmuletInputs: damlTypes.Optional<damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.Amulet.Amulet>[][]>;
|
|
22
|
-
optCreateFeaturedMarker: damlTypes.Optional<boolean>;
|
|
23
|
-
optAmuletRulesCidOverride: damlTypes.Optional<damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.AmuletRules.AmuletRules>>;
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
export declare const Factory_ExecuteBatchTransfers:
|
|
27
|
-
damlTypes.Serializable<Factory_ExecuteBatchTransfers> & {
|
|
28
|
-
}
|
|
29
|
-
;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
export declare type Factory_JoinAirdrop = {
|
|
33
|
-
recipient: damlTypes.Party;
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
export declare const Factory_JoinAirdrop:
|
|
37
|
-
damlTypes.Serializable<Factory_JoinAirdrop> & {
|
|
38
|
-
}
|
|
39
|
-
;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
export declare type AirdropFactory = {
|
|
43
|
-
dso: damlTypes.Party;
|
|
44
|
-
sender: damlTypes.Party;
|
|
45
|
-
provider: damlTypes.Party;
|
|
46
|
-
featuredAppRight: damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.Amulet.FeaturedAppRight>;
|
|
47
|
-
amuletRulesCid: damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.AmuletRules.AmuletRules>;
|
|
48
|
-
appRewardBeneficiaries: pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.AppRewardBeneficiary[];
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
export declare interface AirdropFactoryInterface {
|
|
52
|
-
Factory_JoinAirdrop: damlTypes.Choice<AirdropFactory, Factory_JoinAirdrop, damlTypes.ContractId<CantonPayments_Airdrop_PersonalAirdrop.PersonalAirdrop>, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<AirdropFactory, undefined>>;
|
|
53
|
-
Archive: damlTypes.Choice<AirdropFactory, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<AirdropFactory, undefined>>;
|
|
54
|
-
Factory_ExecuteBatchTransfers: damlTypes.Choice<AirdropFactory, Factory_ExecuteBatchTransfers, pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.AmuletRules.TransferResult, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<AirdropFactory, undefined>>;
|
|
55
|
-
}
|
|
56
|
-
export declare const AirdropFactory:
|
|
57
|
-
damlTypes.Template<AirdropFactory, undefined, '#CantonPayments:CantonPayments.Airdrop.AirdropFactory:AirdropFactory'> &
|
|
58
|
-
damlTypes.ToInterface<AirdropFactory, never> &
|
|
59
|
-
AirdropFactoryInterface;
|
|
60
|
-
|
|
61
|
-
export declare namespace AirdropFactory {
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
|
|
13
|
-
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../__bundled__/splice-api-featured-app-v1');
|
|
14
|
-
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../__bundled__/ghc-stdlib-DA-Internal-Template');
|
|
15
|
-
var pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23 = require('../../..');
|
|
16
|
-
|
|
17
|
-
var CantonPayments_Airdrop_PersonalAirdrop = require('../../../CantonPayments/Airdrop/PersonalAirdrop/module');
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
exports.Factory_ExecuteBatchTransfers = {
|
|
21
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({personalAirdropCids: damlTypes.List(damlTypes.ContractId(CantonPayments_Airdrop_PersonalAirdrop.PersonalAirdrop)).decoder, amuletInputs: damlTypes.List(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)).decoder, openMiningRoundCid: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.OpenMiningRound).decoder, amount: damlTypes.Numeric(10).decoder, numberOfTransfers: damlTypes.Int.decoder, lockedAmuletCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.LockedAmulet)).decoder), optMergeAmuletInputs: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(damlTypes.List(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)))).decoder), optCreateFeaturedMarker: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.Bool).decoder), optAmuletRulesCidOverride: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.AmuletRules)).decoder), }); }),
|
|
22
|
-
encode: function (__typed__) {
|
|
23
|
-
return {
|
|
24
|
-
personalAirdropCids: damlTypes.List(damlTypes.ContractId(CantonPayments_Airdrop_PersonalAirdrop.PersonalAirdrop)).encode(__typed__.personalAirdropCids),
|
|
25
|
-
amuletInputs: damlTypes.List(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)).encode(__typed__.amuletInputs),
|
|
26
|
-
openMiningRoundCid: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.OpenMiningRound).encode(__typed__.openMiningRoundCid),
|
|
27
|
-
amount: damlTypes.Numeric(10).encode(__typed__.amount),
|
|
28
|
-
numberOfTransfers: damlTypes.Int.encode(__typed__.numberOfTransfers),
|
|
29
|
-
lockedAmuletCid: damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.LockedAmulet)).encode(__typed__.lockedAmuletCid),
|
|
30
|
-
optMergeAmuletInputs: damlTypes.Optional(damlTypes.List(damlTypes.List(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)))).encode(__typed__.optMergeAmuletInputs),
|
|
31
|
-
optCreateFeaturedMarker: damlTypes.Optional(damlTypes.Bool).encode(__typed__.optCreateFeaturedMarker),
|
|
32
|
-
optAmuletRulesCidOverride: damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.AmuletRules)).encode(__typed__.optAmuletRulesCidOverride),
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
,
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
exports.Factory_JoinAirdrop = {
|
|
41
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({recipient: damlTypes.Party.decoder, }); }),
|
|
42
|
-
encode: function (__typed__) {
|
|
43
|
-
return {
|
|
44
|
-
recipient: damlTypes.Party.encode(__typed__.recipient),
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
,
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
exports.AirdropFactory = damlTypes.assembleTemplate(
|
|
53
|
-
{
|
|
54
|
-
templateId: '#CantonPayments:CantonPayments.Airdrop.AirdropFactory:AirdropFactory',
|
|
55
|
-
templateIdWithPackageId: '6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173:CantonPayments.Airdrop.AirdropFactory:AirdropFactory',
|
|
56
|
-
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
57
|
-
keyEncode: function () { throw 'EncodeError'; },
|
|
58
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({dso: damlTypes.Party.decoder, sender: damlTypes.Party.decoder, provider: damlTypes.Party.decoder, featuredAppRight: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.FeaturedAppRight).decoder, amuletRulesCid: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.AmuletRules).decoder, appRewardBeneficiaries: damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary).decoder, }); }),
|
|
59
|
-
encode: function (__typed__) {
|
|
60
|
-
return {
|
|
61
|
-
dso: damlTypes.Party.encode(__typed__.dso),
|
|
62
|
-
sender: damlTypes.Party.encode(__typed__.sender),
|
|
63
|
-
provider: damlTypes.Party.encode(__typed__.provider),
|
|
64
|
-
featuredAppRight: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.FeaturedAppRight).encode(__typed__.featuredAppRight),
|
|
65
|
-
amuletRulesCid: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.AmuletRules).encode(__typed__.amuletRulesCid),
|
|
66
|
-
appRewardBeneficiaries: damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary).encode(__typed__.appRewardBeneficiaries),
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
,
|
|
70
|
-
Factory_JoinAirdrop: {
|
|
71
|
-
template: function () { return exports.AirdropFactory; },
|
|
72
|
-
choiceName: 'Factory_JoinAirdrop',
|
|
73
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.Factory_JoinAirdrop.decoder; }),
|
|
74
|
-
argumentEncode: function (__typed__) { return exports.Factory_JoinAirdrop.encode(__typed__); },
|
|
75
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.ContractId(CantonPayments_Airdrop_PersonalAirdrop.PersonalAirdrop).decoder; }),
|
|
76
|
-
resultEncode: function (__typed__) { return damlTypes.ContractId(CantonPayments_Airdrop_PersonalAirdrop.PersonalAirdrop).encode(__typed__); },
|
|
77
|
-
},
|
|
78
|
-
Archive: {
|
|
79
|
-
template: function () { return exports.AirdropFactory; },
|
|
80
|
-
choiceName: 'Archive',
|
|
81
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
82
|
-
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
83
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
84
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
85
|
-
},
|
|
86
|
-
Factory_ExecuteBatchTransfers: {
|
|
87
|
-
template: function () { return exports.AirdropFactory; },
|
|
88
|
-
choiceName: 'Factory_ExecuteBatchTransfers',
|
|
89
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.Factory_ExecuteBatchTransfers.decoder; }),
|
|
90
|
-
argumentEncode: function (__typed__) { return exports.Factory_ExecuteBatchTransfers.encode(__typed__); },
|
|
91
|
-
resultDecoder: damlTypes.lazyMemo(function () { return pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.TransferResult.decoder; }),
|
|
92
|
-
resultEncode: function (__typed__) { return pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.TransferResult.encode(__typed__); },
|
|
93
|
-
},
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
);
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
damlTypes.registerTemplate(exports.AirdropFactory, ['6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173', '#CantonPayments']);
|
|
100
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
// Generated from CantonPayments/Airdrop/PersonalAirdrop.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
|
|
8
|
-
import * as pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda from '../../../__bundled__/splice-api-featured-app-v1';
|
|
9
|
-
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../__bundled__/ghc-stdlib-DA-Internal-Template';
|
|
10
|
-
import * as pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23 from '../../..';
|
|
11
|
-
|
|
12
|
-
export declare type PersonalAirdrop_Archive = {
|
|
13
|
-
actor: damlTypes.Party;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export declare const PersonalAirdrop_Archive:
|
|
17
|
-
damlTypes.Serializable<PersonalAirdrop_Archive> & {
|
|
18
|
-
}
|
|
19
|
-
;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export declare type PersonalAirdrop_ExecuteTransfer = {
|
|
23
|
-
amuletInputs: damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.Amulet.Amulet>[];
|
|
24
|
-
openMiningRoundCid: damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.Round.OpenMiningRound>;
|
|
25
|
-
amount: damlTypes.Numeric;
|
|
26
|
-
numberOfTransfers: damlTypes.Int;
|
|
27
|
-
optMergeAmuletInputs: damlTypes.Optional<damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.Amulet.Amulet>[]>;
|
|
28
|
-
amuletRulesCidOverride: damlTypes.Optional<damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.AmuletRules.AmuletRules>>;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export declare const PersonalAirdrop_ExecuteTransfer:
|
|
32
|
-
damlTypes.Serializable<PersonalAirdrop_ExecuteTransfer> & {
|
|
33
|
-
}
|
|
34
|
-
;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
export declare type PersonalAirdrop = {
|
|
38
|
-
dso: damlTypes.Party;
|
|
39
|
-
sender: damlTypes.Party;
|
|
40
|
-
provider: damlTypes.Party;
|
|
41
|
-
featuredAppRight: damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.Amulet.FeaturedAppRight>;
|
|
42
|
-
amuletRulesCid: damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.AmuletRules.AmuletRules>;
|
|
43
|
-
appRewardBeneficiaries: pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.Splice.Api.FeaturedAppRightV1.AppRewardBeneficiary[];
|
|
44
|
-
recipient: damlTypes.Party;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
export declare interface PersonalAirdropInterface {
|
|
48
|
-
PersonalAirdrop_Archive: damlTypes.Choice<PersonalAirdrop, PersonalAirdrop_Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<PersonalAirdrop, undefined>>;
|
|
49
|
-
PersonalAirdrop_ExecuteTransfer: damlTypes.Choice<PersonalAirdrop, PersonalAirdrop_ExecuteTransfer, pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.AmuletRules.TransferResult, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<PersonalAirdrop, undefined>>;
|
|
50
|
-
Archive: damlTypes.Choice<PersonalAirdrop, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<PersonalAirdrop, undefined>>;
|
|
51
|
-
}
|
|
52
|
-
export declare const PersonalAirdrop:
|
|
53
|
-
damlTypes.Template<PersonalAirdrop, undefined, '#CantonPayments:CantonPayments.Airdrop.PersonalAirdrop:PersonalAirdrop'> &
|
|
54
|
-
damlTypes.ToInterface<PersonalAirdrop, never> &
|
|
55
|
-
PersonalAirdropInterface;
|
|
56
|
-
|
|
57
|
-
export declare namespace PersonalAirdrop {
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
|
|
13
|
-
var pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda = require('../../../__bundled__/splice-api-featured-app-v1');
|
|
14
|
-
var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = require('../../../__bundled__/ghc-stdlib-DA-Internal-Template');
|
|
15
|
-
var pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23 = require('../../..');
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
exports.PersonalAirdrop_Archive = {
|
|
19
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({actor: damlTypes.Party.decoder, }); }),
|
|
20
|
-
encode: function (__typed__) {
|
|
21
|
-
return {
|
|
22
|
-
actor: damlTypes.Party.encode(__typed__.actor),
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
,
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
exports.PersonalAirdrop_ExecuteTransfer = {
|
|
31
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({amuletInputs: damlTypes.List(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)).decoder, openMiningRoundCid: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.OpenMiningRound).decoder, amount: damlTypes.Numeric(10).decoder, numberOfTransfers: damlTypes.Int.decoder, optMergeAmuletInputs: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.List(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet))).decoder), amuletRulesCidOverride: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.AmuletRules)).decoder), }); }),
|
|
32
|
-
encode: function (__typed__) {
|
|
33
|
-
return {
|
|
34
|
-
amuletInputs: damlTypes.List(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet)).encode(__typed__.amuletInputs),
|
|
35
|
-
openMiningRoundCid: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.OpenMiningRound).encode(__typed__.openMiningRoundCid),
|
|
36
|
-
amount: damlTypes.Numeric(10).encode(__typed__.amount),
|
|
37
|
-
numberOfTransfers: damlTypes.Int.encode(__typed__.numberOfTransfers),
|
|
38
|
-
optMergeAmuletInputs: damlTypes.Optional(damlTypes.List(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Amulet))).encode(__typed__.optMergeAmuletInputs),
|
|
39
|
-
amuletRulesCidOverride: damlTypes.Optional(damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.AmuletRules)).encode(__typed__.amuletRulesCidOverride),
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
,
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
exports.PersonalAirdrop = damlTypes.assembleTemplate(
|
|
48
|
-
{
|
|
49
|
-
templateId: '#CantonPayments:CantonPayments.Airdrop.PersonalAirdrop:PersonalAirdrop',
|
|
50
|
-
templateIdWithPackageId: '6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173:CantonPayments.Airdrop.PersonalAirdrop:PersonalAirdrop',
|
|
51
|
-
keyDecoder: damlTypes.lazyMemo(function () { return jtv.constant(undefined); }),
|
|
52
|
-
keyEncode: function () { throw 'EncodeError'; },
|
|
53
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({dso: damlTypes.Party.decoder, sender: damlTypes.Party.decoder, provider: damlTypes.Party.decoder, featuredAppRight: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.FeaturedAppRight).decoder, amuletRulesCid: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.AmuletRules).decoder, appRewardBeneficiaries: damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary).decoder, recipient: damlTypes.Party.decoder, }); }),
|
|
54
|
-
encode: function (__typed__) {
|
|
55
|
-
return {
|
|
56
|
-
dso: damlTypes.Party.encode(__typed__.dso),
|
|
57
|
-
sender: damlTypes.Party.encode(__typed__.sender),
|
|
58
|
-
provider: damlTypes.Party.encode(__typed__.provider),
|
|
59
|
-
featuredAppRight: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.FeaturedAppRight).encode(__typed__.featuredAppRight),
|
|
60
|
-
amuletRulesCid: damlTypes.ContractId(pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.AmuletRules).encode(__typed__.amuletRulesCid),
|
|
61
|
-
appRewardBeneficiaries: damlTypes.List(pkg7804375fe5e4c6d5afe067bd314c42fe0b7d005a1300019c73154dd939da4dda.AppRewardBeneficiary).encode(__typed__.appRewardBeneficiaries),
|
|
62
|
-
recipient: damlTypes.Party.encode(__typed__.recipient),
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
,
|
|
66
|
-
PersonalAirdrop_Archive: {
|
|
67
|
-
template: function () { return exports.PersonalAirdrop; },
|
|
68
|
-
choiceName: 'PersonalAirdrop_Archive',
|
|
69
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.PersonalAirdrop_Archive.decoder; }),
|
|
70
|
-
argumentEncode: function (__typed__) { return exports.PersonalAirdrop_Archive.encode(__typed__); },
|
|
71
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
72
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
73
|
-
},
|
|
74
|
-
PersonalAirdrop_ExecuteTransfer: {
|
|
75
|
-
template: function () { return exports.PersonalAirdrop; },
|
|
76
|
-
choiceName: 'PersonalAirdrop_ExecuteTransfer',
|
|
77
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.PersonalAirdrop_ExecuteTransfer.decoder; }),
|
|
78
|
-
argumentEncode: function (__typed__) { return exports.PersonalAirdrop_ExecuteTransfer.encode(__typed__); },
|
|
79
|
-
resultDecoder: damlTypes.lazyMemo(function () { return pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.TransferResult.decoder; }),
|
|
80
|
-
resultEncode: function (__typed__) { return pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.TransferResult.encode(__typed__); },
|
|
81
|
-
},
|
|
82
|
-
Archive: {
|
|
83
|
-
template: function () { return exports.PersonalAirdrop; },
|
|
84
|
-
choiceName: 'Archive',
|
|
85
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
86
|
-
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
87
|
-
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
88
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
89
|
-
},
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
);
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
damlTypes.registerTemplate(exports.PersonalAirdrop, ['6b6a969fa6a621479a29fcf7fb2d9596317545eabc088ed4c62c43c0c0ac2173', '#CantonPayments']);
|
|
96
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
// Generated from CantonPayments/Airdrop/SimpleAirdrop.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
|
|
8
|
-
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../__bundled__/ghc-stdlib-DA-Internal-Template';
|
|
9
|
-
import * as pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23 from '../../..';
|
|
10
|
-
|
|
11
|
-
export declare type SimpleAirdrop_Execute = {
|
|
12
|
-
recipientSpecs: RecipientSpec[];
|
|
13
|
-
initialAmuletInputs: damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.Amulet.Amulet>[];
|
|
14
|
-
openMiningRoundCid: damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.Round.OpenMiningRound>;
|
|
15
|
-
amountPerTransfer: damlTypes.Numeric;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
export declare const SimpleAirdrop_Execute:
|
|
19
|
-
damlTypes.Serializable<SimpleAirdrop_Execute> & {
|
|
20
|
-
}
|
|
21
|
-
;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
export declare type SimpleAirdrop = {
|
|
25
|
-
config: SimpleAirdropConfig;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export declare interface SimpleAirdropInterface {
|
|
29
|
-
Archive: damlTypes.Choice<SimpleAirdrop, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SimpleAirdrop, undefined>>;
|
|
30
|
-
SimpleAirdrop_Execute: damlTypes.Choice<SimpleAirdrop, SimpleAirdrop_Execute, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.Template<SimpleAirdrop, undefined>>;
|
|
31
|
-
}
|
|
32
|
-
export declare const SimpleAirdrop:
|
|
33
|
-
damlTypes.Template<SimpleAirdrop, undefined, '#CantonPayments:CantonPayments.Airdrop.SimpleAirdrop:SimpleAirdrop'> &
|
|
34
|
-
damlTypes.ToInterface<SimpleAirdrop, never> &
|
|
35
|
-
SimpleAirdropInterface;
|
|
36
|
-
|
|
37
|
-
export declare namespace SimpleAirdrop {
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
export declare type SimpleAirdropConfig = {
|
|
43
|
-
sender: damlTypes.Party;
|
|
44
|
-
featuredAppRight: damlTypes.Optional<damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.Amulet.FeaturedAppRight>>;
|
|
45
|
-
amuletRulesCid: damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.AmuletRules.AmuletRules>;
|
|
46
|
-
dso: damlTypes.Party;
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
export declare const SimpleAirdropConfig:
|
|
50
|
-
damlTypes.Serializable<SimpleAirdropConfig> & {
|
|
51
|
-
}
|
|
52
|
-
;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
export declare type RecipientSpec = {
|
|
56
|
-
transferPreapprovalCid: damlTypes.ContractId<pkgc208d7ead1e4e9b610fc2054d0bf00716144ad444011bce0b02dcd6cd0cb8a23.Splice.AmuletRules.TransferPreapproval>;
|
|
57
|
-
numberOfTransfers: damlTypes.Int;
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
export declare const RecipientSpec:
|
|
61
|
-
damlTypes.Serializable<RecipientSpec> & {
|
|
62
|
-
}
|
|
63
|
-
;
|
|
64
|
-
|