@fairmint/open-captable-protocol-daml-js 0.3.4 → 0.3.5
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/lib/DA/Internal/Template/module.d.ts +4 -6
- package/lib/DA/Internal/Template/module.js +7 -7
- package/lib/DA/Set/Types/index.js +1 -0
- package/lib/DA/Set/Types/module.d.ts +6 -7
- package/lib/DA/Set/Types/module.js +15 -11
- package/lib/DA/Set/index.d.ts +2 -1
- package/lib/DA/Set/index.js +2 -0
- package/lib/DA/Time/Types/index.js +1 -0
- package/lib/DA/Time/Types/module.d.ts +5 -7
- package/lib/DA/Time/Types/module.js +10 -8
- package/lib/DA/Time/index.d.ts +2 -1
- package/lib/DA/Time/index.js +2 -0
- package/lib/DA/Types/index.js +1 -0
- package/lib/DA/Types/module.d.ts +305 -344
- package/lib/DA/Types/module.js +689 -431
- package/lib/Fairmint/OpenCapTable/CapTable/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/CapTable/module.d.ts +336 -358
- package/lib/Fairmint/OpenCapTable/CapTable/module.js +1286 -406
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.d.ts +21 -25
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +71 -59
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.d.ts +17 -22
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.js +49 -40
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.d.ts +23 -28
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.js +61 -46
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.d.ts +42 -50
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.js +97 -68
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.d.ts +18 -23
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.js +51 -41
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.d.ts +21 -26
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.js +57 -44
- package/lib/Fairmint/OpenCapTable/OCF/Document/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/Document/module.d.ts +39 -51
- package/lib/Fairmint/OpenCapTable/OCF/Document/module.js +134 -64
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.d.ts +17 -22
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.js +49 -40
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.d.ts +34 -39
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.js +83 -57
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.d.ts +22 -27
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.js +59 -45
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.d.ts +18 -23
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.js +51 -41
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.d.ts +18 -23
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.js +51 -41
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.d.ts +21 -26
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.js +57 -44
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.d.ts +26 -31
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.js +67 -49
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.d.ts +54 -76
- package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.js +132 -95
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.d.ts +19 -24
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.js +53 -42
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.d.ts +18 -23
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.js +51 -41
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.d.ts +17 -22
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.js +49 -40
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.d.ts +28 -33
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.js +71 -51
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.d.ts +18 -23
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.js +51 -41
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.d.ts +18 -23
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.js +51 -41
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.d.ts +19 -24
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.js +53 -42
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.d.ts +35 -44
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.js +88 -60
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.d.ts +17 -22
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.js +49 -40
- package/lib/Fairmint/OpenCapTable/OCF/StockPlan/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.d.ts +23 -32
- package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.js +66 -48
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.d.ts +21 -26
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.js +57 -44
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.d.ts +18 -23
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.js +51 -41
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.d.ts +21 -26
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.js +57 -44
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.d.ts +24 -33
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.js +65 -49
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.d.ts +19 -24
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.js +53 -42
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.d.ts +18 -23
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.js +51 -41
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.d.ts +18 -23
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.js +51 -41
- package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.d.ts +86 -119
- package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.js +252 -157
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.d.ts +17 -22
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.js +49 -40
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.d.ts +20 -25
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.js +55 -43
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.d.ts +21 -26
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.js +57 -44
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.d.ts +31 -36
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.js +77 -54
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.d.ts +18 -23
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.js +51 -41
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.d.ts +21 -26
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.js +57 -44
- package/lib/Fairmint/OpenCapTable/OCF/index.d.ts +49 -48
- package/lib/Fairmint/OpenCapTable/OCF/index.js +49 -47
- package/lib/Fairmint/OpenCapTable/OcpFactory/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.d.ts +15 -18
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +50 -41
- package/lib/Fairmint/OpenCapTable/Types/Contact/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/Types/Contact/module.d.ts +14 -27
- package/lib/Fairmint/OpenCapTable/Types/Contact/module.js +40 -26
- package/lib/Fairmint/OpenCapTable/Types/Conversion/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/Types/Conversion/module.d.ts +252 -361
- package/lib/Fairmint/OpenCapTable/Types/Conversion/module.js +602 -396
- package/lib/Fairmint/OpenCapTable/Types/Core/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/Types/Core/module.d.ts +13 -18
- package/lib/Fairmint/OpenCapTable/Types/Core/module.js +25 -20
- package/lib/Fairmint/OpenCapTable/Types/Monetary/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/Types/Monetary/module.d.ts +23 -35
- package/lib/Fairmint/OpenCapTable/Types/Monetary/module.js +52 -37
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/module.d.ts +4 -7
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/module.js +19 -4
- package/lib/Fairmint/OpenCapTable/Types/Stock/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/Types/Stock/module.d.ts +56 -90
- package/lib/Fairmint/OpenCapTable/Types/Stock/module.js +132 -86
- package/lib/Fairmint/OpenCapTable/Types/Vesting/index.js +1 -0
- package/lib/Fairmint/OpenCapTable/Types/Vesting/module.d.ts +37 -57
- package/lib/Fairmint/OpenCapTable/Types/Vesting/module.js +90 -56
- package/lib/Fairmint/OpenCapTable/Types/index.d.ts +8 -7
- package/lib/Fairmint/OpenCapTable/Types/index.js +8 -6
- package/lib/Fairmint/OpenCapTable/index.d.ts +6 -5
- package/lib/Fairmint/OpenCapTable/index.js +6 -4
- package/lib/Splice/Amulet/TokenApiUtils/index.js +1 -0
- package/lib/Splice/Amulet/TokenApiUtils/module.d.ts +4 -7
- package/lib/Splice/Amulet/TokenApiUtils/module.js +12 -4
- package/lib/Splice/Amulet/TwoStepTransfer/index.js +1 -0
- package/lib/Splice/Amulet/TwoStepTransfer/module.d.ts +13 -15
- package/lib/Splice/Amulet/TwoStepTransfer/module.js +26 -16
- package/lib/Splice/Amulet/index.d.ts +4 -2
- package/lib/Splice/Amulet/index.js +4 -1
- package/lib/Splice/Amulet/module.d.ts +370 -487
- package/lib/Splice/Amulet/module.js +996 -817
- package/lib/Splice/AmuletAllocation/index.js +1 -0
- package/lib/Splice/AmuletAllocation/module.d.ts +9 -11
- package/lib/Splice/AmuletAllocation/module.js +31 -26
- package/lib/Splice/AmuletConfig/index.js +1 -0
- package/lib/Splice/AmuletConfig/module.d.ts +42 -56
- package/lib/Splice/AmuletConfig/module.js +93 -62
- package/lib/Splice/AmuletRules/index.js +1 -0
- package/lib/Splice/AmuletRules/module.d.ts +681 -874
- package/lib/Splice/AmuletRules/module.js +1688 -1273
- package/lib/Splice/AmuletTransferInstruction/index.js +1 -0
- package/lib/Splice/AmuletTransferInstruction/module.d.ts +9 -11
- package/lib/Splice/AmuletTransferInstruction/module.js +31 -26
- package/lib/Splice/Api/FeaturedAppRightV1/module.d.ts +40 -50
- package/lib/Splice/Api/FeaturedAppRightV1/module.js +84 -61
- package/lib/Splice/Api/FeaturedAppRightV2/index.js +1 -0
- package/lib/Splice/Api/FeaturedAppRightV2/module.d.ts +41 -51
- package/lib/Splice/Api/FeaturedAppRightV2/module.js +86 -62
- package/lib/Splice/Api/Token/AllocationInstructionV1/index.js +1 -0
- package/lib/Splice/Api/Token/AllocationInstructionV1/module.d.ts +82 -99
- package/lib/Splice/Api/Token/AllocationInstructionV1/module.js +202 -142
- package/lib/Splice/Api/Token/AllocationV1/index.js +1 -0
- package/lib/Splice/Api/Token/AllocationV1/module.d.ts +84 -109
- package/lib/Splice/Api/Token/AllocationV1/module.js +185 -139
- package/lib/Splice/Api/Token/HoldingV1/index.js +1 -0
- package/lib/Splice/Api/Token/HoldingV1/module.d.ts +27 -34
- package/lib/Splice/Api/Token/HoldingV1/module.js +55 -39
- package/lib/Splice/Api/Token/MetadataV1/index.js +1 -0
- package/lib/Splice/Api/Token/MetadataV1/module.d.ts +44 -60
- package/lib/Splice/Api/Token/MetadataV1/module.js +123 -70
- package/lib/Splice/Api/Token/TransferInstructionV1/index.js +1 -0
- package/lib/Splice/Api/Token/TransferInstructionV1/module.d.ts +112 -137
- package/lib/Splice/Api/Token/TransferInstructionV1/module.js +278 -195
- package/lib/Splice/DecentralizedSynchronizer/index.js +1 -0
- package/lib/Splice/DecentralizedSynchronizer/module.d.ts +44 -58
- package/lib/Splice/DecentralizedSynchronizer/module.js +103 -79
- package/lib/Splice/Expiry/index.js +1 -0
- package/lib/Splice/Expiry/module.d.ts +14 -18
- package/lib/Splice/Expiry/module.js +37 -23
- package/lib/Splice/ExternalPartyAmuletRules/index.js +1 -0
- package/lib/Splice/ExternalPartyAmuletRules/module.d.ts +116 -147
- package/lib/Splice/ExternalPartyAmuletRules/module.js +307 -242
- package/lib/Splice/Fees/index.js +1 -0
- package/lib/Splice/Fees/module.d.ts +26 -40
- package/lib/Splice/Fees/module.js +57 -48
- package/lib/Splice/Issuance/index.js +1 -0
- package/lib/Splice/Issuance/module.d.ts +39 -50
- package/lib/Splice/Issuance/module.js +82 -56
- package/lib/Splice/RelRound/index.js +1 -0
- package/lib/Splice/RelRound/module.d.ts +5 -7
- package/lib/Splice/RelRound/module.js +10 -8
- package/lib/Splice/Round/index.js +1 -0
- package/lib/Splice/Round/module.d.ts +66 -78
- package/lib/Splice/Round/module.js +186 -142
- package/lib/Splice/Schedule/index.js +1 -0
- package/lib/Splice/Schedule/module.d.ts +7 -8
- package/lib/Splice/Schedule/module.js +17 -12
- package/lib/Splice/Types/index.js +1 -0
- package/lib/Splice/Types/module.d.ts +20 -31
- package/lib/Splice/Types/module.js +44 -37
- package/lib/Splice/ValidatorLicense/index.js +1 -0
- package/lib/Splice/ValidatorLicense/module.d.ts +145 -195
- package/lib/Splice/ValidatorLicense/module.js +388 -310
- package/package.json +7 -7
- package/published-dars/OpenCapTable.dar +0 -0
|
@@ -5,6 +5,7 @@ function __export(m) {
|
|
|
5
5
|
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
6
|
}
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
|
|
8
9
|
/* eslint-disable-next-line no-unused-vars */
|
|
9
10
|
var jtv = require('@mojotech/json-type-validation');
|
|
10
11
|
/* eslint-disable-next-line no-unused-vars */
|
|
@@ -16,279 +17,361 @@ var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requir
|
|
|
16
17
|
|
|
17
18
|
exports.TransferFactory = damlTypes.assembleInterface(
|
|
18
19
|
'#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferFactory',
|
|
19
|
-
'55ba4deb0ad4662c4168b39859738a0e91388d252286480c7331b3f71a517281:Splice.Api.Token.TransferInstructionV1:TransferFactory',
|
|
20
|
+
'#55ba4deb0ad4662c4168b39859738a0e91388d252286480c7331b3f71a517281:Splice.Api.Token.TransferInstructionV1:TransferFactory',
|
|
20
21
|
function () { return exports.TransferFactoryView; },
|
|
21
22
|
{
|
|
22
23
|
Archive: {
|
|
23
24
|
template: function () { return exports.TransferFactory; },
|
|
24
25
|
choiceName: 'Archive',
|
|
25
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
26
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
27
|
+
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
28
|
+
}),
|
|
26
29
|
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
27
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
30
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
31
|
+
return damlTypes.Unit.decoder;
|
|
32
|
+
}),
|
|
28
33
|
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
29
34
|
},
|
|
30
|
-
TransferFactory_Transfer: {
|
|
31
|
-
template: function () { return exports.TransferFactory; },
|
|
32
|
-
choiceName: 'TransferFactory_Transfer',
|
|
33
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.TransferFactory_Transfer.decoder; }),
|
|
34
|
-
argumentEncode: function (__typed__) { return exports.TransferFactory_Transfer.encode(__typed__); },
|
|
35
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstructionResult.decoder; }),
|
|
36
|
-
resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
|
|
37
|
-
},
|
|
38
35
|
TransferFactory_PublicFetch: {
|
|
39
36
|
template: function () { return exports.TransferFactory; },
|
|
40
37
|
choiceName: 'TransferFactory_PublicFetch',
|
|
41
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
38
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
39
|
+
return exports.TransferFactory_PublicFetch.decoder;
|
|
40
|
+
}),
|
|
42
41
|
argumentEncode: function (__typed__) { return exports.TransferFactory_PublicFetch.encode(__typed__); },
|
|
43
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
42
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
43
|
+
return exports.TransferFactoryView.decoder;
|
|
44
|
+
}),
|
|
44
45
|
resultEncode: function (__typed__) { return exports.TransferFactoryView.encode(__typed__); },
|
|
45
46
|
},
|
|
46
|
-
|
|
47
|
-
|
|
47
|
+
TransferFactory_Transfer: {
|
|
48
|
+
template: function () { return exports.TransferFactory; },
|
|
49
|
+
choiceName: 'TransferFactory_Transfer',
|
|
50
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
51
|
+
return exports.TransferFactory_Transfer.decoder;
|
|
52
|
+
}),
|
|
53
|
+
argumentEncode: function (__typed__) { return exports.TransferFactory_Transfer.encode(__typed__); },
|
|
54
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
55
|
+
return exports.TransferInstructionResult.decoder;
|
|
56
|
+
}),
|
|
57
|
+
resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
|
|
58
|
+
},
|
|
59
|
+
}
|
|
60
|
+
);
|
|
48
61
|
|
|
49
62
|
exports.TransferInstruction = damlTypes.assembleInterface(
|
|
50
63
|
'#splice-api-token-transfer-instruction-v1:Splice.Api.Token.TransferInstructionV1:TransferInstruction',
|
|
51
|
-
'55ba4deb0ad4662c4168b39859738a0e91388d252286480c7331b3f71a517281:Splice.Api.Token.TransferInstructionV1:TransferInstruction',
|
|
64
|
+
'#55ba4deb0ad4662c4168b39859738a0e91388d252286480c7331b3f71a517281:Splice.Api.Token.TransferInstructionV1:TransferInstruction',
|
|
52
65
|
function () { return exports.TransferInstructionView; },
|
|
53
66
|
{
|
|
54
67
|
Archive: {
|
|
55
68
|
template: function () { return exports.TransferInstruction; },
|
|
56
69
|
choiceName: 'Archive',
|
|
57
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
70
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
71
|
+
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
72
|
+
}),
|
|
58
73
|
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
59
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
74
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
75
|
+
return damlTypes.Unit.decoder;
|
|
76
|
+
}),
|
|
60
77
|
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
61
78
|
},
|
|
62
79
|
TransferInstruction_Accept: {
|
|
63
80
|
template: function () { return exports.TransferInstruction; },
|
|
64
81
|
choiceName: 'TransferInstruction_Accept',
|
|
65
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
82
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
83
|
+
return exports.TransferInstruction_Accept.decoder;
|
|
84
|
+
}),
|
|
66
85
|
argumentEncode: function (__typed__) { return exports.TransferInstruction_Accept.encode(__typed__); },
|
|
67
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
86
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
87
|
+
return exports.TransferInstructionResult.decoder;
|
|
88
|
+
}),
|
|
68
89
|
resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
|
|
69
90
|
},
|
|
70
91
|
TransferInstruction_Reject: {
|
|
71
92
|
template: function () { return exports.TransferInstruction; },
|
|
72
93
|
choiceName: 'TransferInstruction_Reject',
|
|
73
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
94
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
95
|
+
return exports.TransferInstruction_Reject.decoder;
|
|
96
|
+
}),
|
|
74
97
|
argumentEncode: function (__typed__) { return exports.TransferInstruction_Reject.encode(__typed__); },
|
|
75
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
TransferInstruction_Withdraw: {
|
|
79
|
-
template: function () { return exports.TransferInstruction; },
|
|
80
|
-
choiceName: 'TransferInstruction_Withdraw',
|
|
81
|
-
argumentDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstruction_Withdraw.decoder; }),
|
|
82
|
-
argumentEncode: function (__typed__) { return exports.TransferInstruction_Withdraw.encode(__typed__); },
|
|
83
|
-
resultDecoder: damlTypes.lazyMemo(function () { return exports.TransferInstructionResult.decoder; }),
|
|
98
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
99
|
+
return exports.TransferInstructionResult.decoder;
|
|
100
|
+
}),
|
|
84
101
|
resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
|
|
85
102
|
},
|
|
86
103
|
TransferInstruction_Update: {
|
|
87
104
|
template: function () { return exports.TransferInstruction; },
|
|
88
105
|
choiceName: 'TransferInstruction_Update',
|
|
89
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
106
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
107
|
+
return exports.TransferInstruction_Update.decoder;
|
|
108
|
+
}),
|
|
90
109
|
argumentEncode: function (__typed__) { return exports.TransferInstruction_Update.encode(__typed__); },
|
|
91
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
110
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
111
|
+
return exports.TransferInstructionResult.decoder;
|
|
112
|
+
}),
|
|
92
113
|
resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
|
|
93
114
|
},
|
|
94
|
-
|
|
95
|
-
|
|
115
|
+
TransferInstruction_Withdraw: {
|
|
116
|
+
template: function () { return exports.TransferInstruction; },
|
|
117
|
+
choiceName: 'TransferInstruction_Withdraw',
|
|
118
|
+
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
119
|
+
return exports.TransferInstruction_Withdraw.decoder;
|
|
120
|
+
}),
|
|
121
|
+
argumentEncode: function (__typed__) { return exports.TransferInstruction_Withdraw.encode(__typed__); },
|
|
122
|
+
resultDecoder: damlTypes.lazyMemo(function () {
|
|
123
|
+
return exports.TransferInstructionResult.decoder;
|
|
124
|
+
}),
|
|
125
|
+
resultEncode: function (__typed__) { return exports.TransferInstructionResult.encode(__typed__); },
|
|
126
|
+
},
|
|
127
|
+
}
|
|
128
|
+
);
|
|
96
129
|
|
|
130
|
+
exports.Transfer = {
|
|
131
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
132
|
+
return jtv.object({
|
|
133
|
+
sender: damlTypes.Party.decoder,
|
|
134
|
+
receiver: damlTypes.Party.decoder,
|
|
135
|
+
amount: damlTypes.Numeric(10).decoder,
|
|
136
|
+
instrumentId: pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.InstrumentId.decoder,
|
|
137
|
+
requestedAt: damlTypes.Time.decoder,
|
|
138
|
+
executeBefore: damlTypes.Time.decoder,
|
|
139
|
+
inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder,
|
|
140
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder,
|
|
141
|
+
});
|
|
142
|
+
}),
|
|
143
|
+
encode: function (__typed__) {
|
|
144
|
+
return {
|
|
145
|
+
sender: damlTypes.Party.encode(__typed__.sender),
|
|
146
|
+
receiver: damlTypes.Party.encode(__typed__.receiver),
|
|
147
|
+
amount: damlTypes.Numeric(10).encode(__typed__.amount),
|
|
148
|
+
instrumentId: pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.InstrumentId.encode(__typed__.instrumentId),
|
|
149
|
+
requestedAt: damlTypes.Time.encode(__typed__.requestedAt),
|
|
150
|
+
executeBefore: damlTypes.Time.encode(__typed__.executeBefore),
|
|
151
|
+
inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.inputHoldingCids),
|
|
152
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
|
|
153
|
+
};
|
|
154
|
+
},
|
|
155
|
+
};
|
|
97
156
|
|
|
98
157
|
exports.TransferFactoryView = {
|
|
99
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
158
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
159
|
+
return jtv.object({
|
|
160
|
+
admin: damlTypes.Party.decoder,
|
|
161
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder,
|
|
162
|
+
});
|
|
163
|
+
}),
|
|
100
164
|
encode: function (__typed__) {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
}
|
|
106
|
-
,
|
|
165
|
+
return {
|
|
166
|
+
admin: damlTypes.Party.encode(__typed__.admin),
|
|
167
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
|
|
168
|
+
};
|
|
169
|
+
},
|
|
107
170
|
};
|
|
108
171
|
|
|
109
|
-
|
|
110
|
-
|
|
111
172
|
exports.TransferFactory_PublicFetch = {
|
|
112
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
173
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
174
|
+
return jtv.object({
|
|
175
|
+
expectedAdmin: damlTypes.Party.decoder,
|
|
176
|
+
actor: damlTypes.Party.decoder,
|
|
177
|
+
});
|
|
178
|
+
}),
|
|
113
179
|
encode: function (__typed__) {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
}
|
|
119
|
-
,
|
|
180
|
+
return {
|
|
181
|
+
expectedAdmin: damlTypes.Party.encode(__typed__.expectedAdmin),
|
|
182
|
+
actor: damlTypes.Party.encode(__typed__.actor),
|
|
183
|
+
};
|
|
184
|
+
},
|
|
120
185
|
};
|
|
121
186
|
|
|
122
|
-
|
|
123
|
-
|
|
124
187
|
exports.TransferFactory_Transfer = {
|
|
125
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
,
|
|
134
|
-
};
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
exports.TransferInstruction_Update = {
|
|
139
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({extraActors: damlTypes.List(damlTypes.Party).decoder, extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder, }); }),
|
|
188
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
189
|
+
return jtv.object({
|
|
190
|
+
expectedAdmin: damlTypes.Party.decoder,
|
|
191
|
+
transfer: exports.Transfer.decoder,
|
|
192
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder,
|
|
193
|
+
});
|
|
194
|
+
}),
|
|
140
195
|
encode: function (__typed__) {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}
|
|
146
|
-
,
|
|
196
|
+
return {
|
|
197
|
+
expectedAdmin: damlTypes.Party.encode(__typed__.expectedAdmin),
|
|
198
|
+
transfer: exports.Transfer.encode(__typed__.transfer),
|
|
199
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
|
|
200
|
+
};
|
|
201
|
+
},
|
|
147
202
|
};
|
|
148
203
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
204
|
+
exports.TransferInstructionResult = {
|
|
205
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
206
|
+
return jtv.object({
|
|
207
|
+
output: exports.TransferInstructionResult_Output.decoder,
|
|
208
|
+
senderChangeCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder,
|
|
209
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder,
|
|
210
|
+
});
|
|
211
|
+
}),
|
|
153
212
|
encode: function (__typed__) {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
213
|
+
return {
|
|
214
|
+
output: exports.TransferInstructionResult_Output.encode(__typed__.output),
|
|
215
|
+
senderChangeCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.senderChangeCids),
|
|
216
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
|
|
217
|
+
};
|
|
218
|
+
},
|
|
159
219
|
};
|
|
160
220
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
221
|
+
exports.TransferInstructionResult_Output = {
|
|
222
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
223
|
+
return jtv.oneOf(
|
|
224
|
+
jtv.object({
|
|
225
|
+
tag: jtv.constant("TransferInstructionResult_Pending"),
|
|
226
|
+
value: exports.TransferInstructionResult_Output.TransferInstructionResult_Pending.decoder,
|
|
227
|
+
}),
|
|
228
|
+
jtv.object({
|
|
229
|
+
tag: jtv.constant("TransferInstructionResult_Completed"),
|
|
230
|
+
value: exports.TransferInstructionResult_Output.TransferInstructionResult_Completed.decoder,
|
|
231
|
+
}),
|
|
232
|
+
jtv.object({
|
|
233
|
+
tag: jtv.constant("TransferInstructionResult_Failed"),
|
|
234
|
+
value: damlTypes.Unit.decoder,
|
|
235
|
+
}),
|
|
236
|
+
);
|
|
237
|
+
}),
|
|
165
238
|
encode: function (__typed__) {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
}
|
|
170
|
-
|
|
239
|
+
switch(__typed__.tag) {
|
|
240
|
+
case 'TransferInstructionResult_Pending': return {tag: __typed__.tag, value: exports.TransferInstructionResult_Output.TransferInstructionResult_Pending.encode(__typed__.value)};
|
|
241
|
+
case 'TransferInstructionResult_Completed': return {tag: __typed__.tag, value: exports.TransferInstructionResult_Output.TransferInstructionResult_Completed.encode(__typed__.value)};
|
|
242
|
+
case 'TransferInstructionResult_Failed': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
|
|
243
|
+
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type TransferInstructionResult_Output';
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
TransferInstructionResult_Completed: {
|
|
247
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
248
|
+
return jtv.object({
|
|
249
|
+
receiverHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder,
|
|
250
|
+
});
|
|
251
|
+
}),
|
|
252
|
+
encode: function (__typed__) {
|
|
253
|
+
return {
|
|
254
|
+
receiverHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.receiverHoldingCids),
|
|
255
|
+
};
|
|
256
|
+
},
|
|
257
|
+
},
|
|
258
|
+
TransferInstructionResult_Pending: {
|
|
259
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
260
|
+
return jtv.object({
|
|
261
|
+
transferInstructionCid: damlTypes.ContractId(exports.TransferInstruction).decoder,
|
|
262
|
+
});
|
|
263
|
+
}),
|
|
264
|
+
encode: function (__typed__) {
|
|
265
|
+
return {
|
|
266
|
+
transferInstructionCid: damlTypes.ContractId(exports.TransferInstruction).encode(__typed__.transferInstructionCid),
|
|
267
|
+
};
|
|
268
|
+
},
|
|
269
|
+
},
|
|
171
270
|
};
|
|
172
271
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
272
|
+
exports.TransferInstructionStatus = {
|
|
273
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
274
|
+
return jtv.oneOf(
|
|
275
|
+
jtv.object({
|
|
276
|
+
tag: jtv.constant("TransferPendingReceiverAcceptance"),
|
|
277
|
+
value: damlTypes.Unit.decoder,
|
|
278
|
+
}),
|
|
279
|
+
jtv.object({
|
|
280
|
+
tag: jtv.constant("TransferPendingInternalWorkflow"),
|
|
281
|
+
value: exports.TransferInstructionStatus.TransferPendingInternalWorkflow.decoder,
|
|
282
|
+
}),
|
|
283
|
+
);
|
|
284
|
+
}),
|
|
177
285
|
encode: function (__typed__) {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
286
|
+
switch(__typed__.tag) {
|
|
287
|
+
case 'TransferPendingReceiverAcceptance': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
|
|
288
|
+
case 'TransferPendingInternalWorkflow': return {tag: __typed__.tag, value: exports.TransferInstructionStatus.TransferPendingInternalWorkflow.encode(__typed__.value)};
|
|
289
|
+
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type TransferInstructionStatus';
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
TransferPendingInternalWorkflow: {
|
|
293
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
294
|
+
return jtv.object({
|
|
295
|
+
pendingActions: damlTypes.Map(damlTypes.Party, damlTypes.Text).decoder,
|
|
296
|
+
});
|
|
297
|
+
}),
|
|
298
|
+
encode: function (__typed__) {
|
|
299
|
+
return {
|
|
300
|
+
pendingActions: damlTypes.Map(damlTypes.Party, damlTypes.Text).encode(__typed__.pendingActions),
|
|
301
|
+
};
|
|
302
|
+
},
|
|
303
|
+
},
|
|
183
304
|
};
|
|
184
305
|
|
|
185
|
-
|
|
186
|
-
|
|
187
306
|
exports.TransferInstructionView = {
|
|
188
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
307
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
308
|
+
return jtv.object({
|
|
309
|
+
originalInstructionCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(exports.TransferInstruction)).decoder),
|
|
310
|
+
transfer: exports.Transfer.decoder,
|
|
311
|
+
status: exports.TransferInstructionStatus.decoder,
|
|
312
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder,
|
|
313
|
+
});
|
|
314
|
+
}),
|
|
189
315
|
encode: function (__typed__) {
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
}
|
|
197
|
-
,
|
|
316
|
+
return {
|
|
317
|
+
originalInstructionCid: damlTypes.Optional(damlTypes.ContractId(exports.TransferInstruction)).encode(__typed__.originalInstructionCid),
|
|
318
|
+
transfer: exports.Transfer.encode(__typed__.transfer),
|
|
319
|
+
status: exports.TransferInstructionStatus.encode(__typed__.status),
|
|
320
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
|
|
321
|
+
};
|
|
322
|
+
},
|
|
198
323
|
};
|
|
199
324
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
switch(__typed__.tag) {
|
|
206
|
-
case 'TransferPendingReceiverAcceptance': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
|
|
207
|
-
case 'TransferPendingInternalWorkflow': return {tag: __typed__.tag, value: exports.TransferInstructionStatus.TransferPendingInternalWorkflow.encode(__typed__.value)};
|
|
208
|
-
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type TransferInstructionStatus';
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
,
|
|
212
|
-
TransferPendingInternalWorkflow:({
|
|
213
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({pendingActions: damlTypes.Map(damlTypes.Party, damlTypes.Text).decoder, }); }),
|
|
214
|
-
encode: function (__typed__) {
|
|
215
|
-
return {
|
|
216
|
-
pendingActions: damlTypes.Map(damlTypes.Party, damlTypes.Text).encode(__typed__.pendingActions),
|
|
217
|
-
};
|
|
218
|
-
}
|
|
219
|
-
,
|
|
325
|
+
exports.TransferInstruction_Accept = {
|
|
326
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
327
|
+
return jtv.object({
|
|
328
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder,
|
|
329
|
+
});
|
|
220
330
|
}),
|
|
331
|
+
encode: function (__typed__) {
|
|
332
|
+
return {
|
|
333
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
|
|
334
|
+
};
|
|
335
|
+
},
|
|
221
336
|
};
|
|
222
337
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('TransferInstructionResult_Pending'), value: exports.TransferInstructionResult_Output.TransferInstructionResult_Pending.decoder, }), jtv.object({tag: jtv.constant('TransferInstructionResult_Completed'), value: exports.TransferInstructionResult_Output.TransferInstructionResult_Completed.decoder, }), jtv.object({tag: jtv.constant('TransferInstructionResult_Failed'), value: damlTypes.Unit.decoder, })); }),
|
|
229
|
-
encode: function (__typed__) {
|
|
230
|
-
switch(__typed__.tag) {
|
|
231
|
-
case 'TransferInstructionResult_Pending': return {tag: __typed__.tag, value: exports.TransferInstructionResult_Output.TransferInstructionResult_Pending.encode(__typed__.value)};
|
|
232
|
-
case 'TransferInstructionResult_Completed': return {tag: __typed__.tag, value: exports.TransferInstructionResult_Output.TransferInstructionResult_Completed.encode(__typed__.value)};
|
|
233
|
-
case 'TransferInstructionResult_Failed': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
|
|
234
|
-
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type TransferInstructionResult_Output';
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
,
|
|
238
|
-
TransferInstructionResult_Pending:({
|
|
239
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({transferInstructionCid: damlTypes.ContractId(exports.TransferInstruction).decoder, }); }),
|
|
240
|
-
encode: function (__typed__) {
|
|
241
|
-
return {
|
|
242
|
-
transferInstructionCid: damlTypes.ContractId(exports.TransferInstruction).encode(__typed__.transferInstructionCid),
|
|
243
|
-
};
|
|
244
|
-
}
|
|
245
|
-
,
|
|
246
|
-
}),
|
|
247
|
-
TransferInstructionResult_Completed:({
|
|
248
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({receiverHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder, }); }),
|
|
249
|
-
encode: function (__typed__) {
|
|
250
|
-
return {
|
|
251
|
-
receiverHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.receiverHoldingCids),
|
|
252
|
-
};
|
|
253
|
-
}
|
|
254
|
-
,
|
|
338
|
+
exports.TransferInstruction_Reject = {
|
|
339
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
340
|
+
return jtv.object({
|
|
341
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder,
|
|
342
|
+
});
|
|
255
343
|
}),
|
|
344
|
+
encode: function (__typed__) {
|
|
345
|
+
return {
|
|
346
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
|
|
347
|
+
};
|
|
348
|
+
},
|
|
256
349
|
};
|
|
257
350
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({output: exports.TransferInstructionResult_Output.decoder, senderChangeCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder, meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder, }); }),
|
|
351
|
+
exports.TransferInstruction_Update = {
|
|
352
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
353
|
+
return jtv.object({
|
|
354
|
+
extraActors: damlTypes.List(damlTypes.Party).decoder,
|
|
355
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder,
|
|
356
|
+
});
|
|
357
|
+
}),
|
|
266
358
|
encode: function (__typed__) {
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
,
|
|
359
|
+
return {
|
|
360
|
+
extraActors: damlTypes.List(damlTypes.Party).encode(__typed__.extraActors),
|
|
361
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
|
|
362
|
+
};
|
|
363
|
+
},
|
|
274
364
|
};
|
|
275
365
|
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
366
|
+
exports.TransferInstruction_Withdraw = {
|
|
367
|
+
decoder: damlTypes.lazyMemo(function () {
|
|
368
|
+
return jtv.object({
|
|
369
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder,
|
|
370
|
+
});
|
|
371
|
+
}),
|
|
280
372
|
encode: function (__typed__) {
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
instrumentId: pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.InstrumentId.encode(__typed__.instrumentId),
|
|
286
|
-
requestedAt: damlTypes.Time.encode(__typed__.requestedAt),
|
|
287
|
-
executeBefore: damlTypes.Time.encode(__typed__.executeBefore),
|
|
288
|
-
inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.inputHoldingCids),
|
|
289
|
-
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
|
|
290
|
-
};
|
|
291
|
-
}
|
|
292
|
-
,
|
|
373
|
+
return {
|
|
374
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
|
|
375
|
+
};
|
|
376
|
+
},
|
|
293
377
|
};
|
|
294
|
-
|