@fairmint/open-captable-protocol-daml-js 0.3.6 → 0.3.8
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 +6 -4
- package/lib/DA/Internal/Template/module.js +7 -7
- package/lib/DA/Set/Types/index.js +0 -1
- package/lib/DA/Set/Types/module.d.ts +7 -6
- package/lib/DA/Set/Types/module.js +11 -15
- package/lib/DA/Set/index.d.ts +1 -2
- package/lib/DA/Set/index.js +0 -2
- package/lib/DA/Time/Types/index.js +0 -1
- package/lib/DA/Time/Types/module.d.ts +7 -5
- package/lib/DA/Time/Types/module.js +8 -10
- package/lib/DA/Time/index.d.ts +1 -2
- package/lib/DA/Time/index.js +0 -2
- package/lib/DA/Types/index.js +0 -1
- package/lib/DA/Types/module.d.ts +344 -305
- package/lib/DA/Types/module.js +431 -689
- package/lib/Fairmint/OpenCapTable/CapTable/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/CapTable/module.d.ts +358 -336
- package/lib/Fairmint/OpenCapTable/CapTable/module.js +406 -1286
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.d.ts +25 -21
- package/lib/Fairmint/OpenCapTable/IssuerAuthorization/module.js +59 -71
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.d.ts +22 -17
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleAcceptance/module.js +40 -49
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleCancellation/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.d.ts +28 -23
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleConversion/module.js +46 -61
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.d.ts +50 -42
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleIssuance/module.js +68 -97
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleRetraction/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.d.ts +26 -21
- package/lib/Fairmint/OpenCapTable/OCF/ConvertibleTransfer/module.js +44 -57
- package/lib/Fairmint/OpenCapTable/OCF/Document/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/Document/module.d.ts +51 -39
- package/lib/Fairmint/OpenCapTable/OCF/Document/module.js +64 -134
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.d.ts +22 -17
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationAcceptance/module.js +40 -49
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationCancellation/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationExercise/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.d.ts +39 -34
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationIssuance/module.js +57 -83
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.d.ts +27 -22
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRelease/module.js +45 -59
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRepricing/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationRetraction/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.d.ts +26 -21
- package/lib/Fairmint/OpenCapTable/OCF/EquityCompensationTransfer/module.js +44 -57
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.d.ts +31 -26
- package/lib/Fairmint/OpenCapTable/OCF/Issuer/module.js +49 -67
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/IssuerAuthorizedSharesAdjustment/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.d.ts +76 -54
- package/lib/Fairmint/OpenCapTable/OCF/Stakeholder/module.js +95 -132
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.d.ts +24 -19
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderRelationshipChangeEvent/module.js +42 -53
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/StakeholderStatusChangeEvent/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.d.ts +22 -17
- package/lib/Fairmint/OpenCapTable/OCF/StockAcceptance/module.js +40 -49
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/StockCancellation/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.d.ts +33 -28
- package/lib/Fairmint/OpenCapTable/OCF/StockClass/module.js +51 -71
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/StockClassAuthorizedSharesAdjustment/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/StockClassConversionRatioAdjustment/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/StockClassSplit/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.d.ts +24 -19
- package/lib/Fairmint/OpenCapTable/OCF/StockConsolidation/module.js +42 -53
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/StockConversion/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.d.ts +44 -35
- package/lib/Fairmint/OpenCapTable/OCF/StockIssuance/module.js +60 -88
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.d.ts +22 -17
- package/lib/Fairmint/OpenCapTable/OCF/StockLegendTemplate/module.js +40 -49
- package/lib/Fairmint/OpenCapTable/OCF/StockPlan/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.d.ts +32 -23
- package/lib/Fairmint/OpenCapTable/OCF/StockPlan/module.js +48 -66
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanPoolAdjustment/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/StockPlanReturnToPool/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/StockReissuance/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.d.ts +26 -21
- package/lib/Fairmint/OpenCapTable/OCF/StockRepurchase/module.js +44 -57
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/StockRetraction/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.d.ts +26 -21
- package/lib/Fairmint/OpenCapTable/OCF/StockTransfer/module.js +44 -57
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.d.ts +33 -24
- package/lib/Fairmint/OpenCapTable/OCF/Valuation/module.js +49 -65
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.d.ts +24 -19
- package/lib/Fairmint/OpenCapTable/OCF/VestingAcceleration/module.js +42 -53
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/VestingEvent/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/VestingStart/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.d.ts +119 -86
- package/lib/Fairmint/OpenCapTable/OCF/VestingTerms/module.js +157 -252
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.d.ts +22 -17
- package/lib/Fairmint/OpenCapTable/OCF/WarrantAcceptance/module.js +40 -49
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.d.ts +25 -20
- package/lib/Fairmint/OpenCapTable/OCF/WarrantCancellation/module.js +43 -55
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.d.ts +26 -21
- package/lib/Fairmint/OpenCapTable/OCF/WarrantExercise/module.js +44 -57
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.d.ts +36 -31
- package/lib/Fairmint/OpenCapTable/OCF/WarrantIssuance/module.js +54 -77
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.d.ts +23 -18
- package/lib/Fairmint/OpenCapTable/OCF/WarrantRetraction/module.js +41 -51
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.d.ts +26 -21
- package/lib/Fairmint/OpenCapTable/OCF/WarrantTransfer/module.js +44 -57
- package/lib/Fairmint/OpenCapTable/OCF/index.d.ts +48 -49
- package/lib/Fairmint/OpenCapTable/OCF/index.js +47 -49
- package/lib/Fairmint/OpenCapTable/OcpFactory/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.d.ts +18 -15
- package/lib/Fairmint/OpenCapTable/OcpFactory/module.js +41 -50
- package/lib/Fairmint/OpenCapTable/Types/Contact/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Contact/module.d.ts +27 -14
- package/lib/Fairmint/OpenCapTable/Types/Contact/module.js +26 -40
- package/lib/Fairmint/OpenCapTable/Types/Conversion/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Conversion/module.d.ts +361 -252
- package/lib/Fairmint/OpenCapTable/Types/Conversion/module.js +396 -602
- package/lib/Fairmint/OpenCapTable/Types/Core/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Core/module.d.ts +18 -13
- package/lib/Fairmint/OpenCapTable/Types/Core/module.js +20 -25
- package/lib/Fairmint/OpenCapTable/Types/Monetary/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Monetary/module.d.ts +35 -23
- package/lib/Fairmint/OpenCapTable/Types/Monetary/module.js +37 -52
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/module.d.ts +7 -4
- package/lib/Fairmint/OpenCapTable/Types/Stakeholder/module.js +4 -19
- package/lib/Fairmint/OpenCapTable/Types/Stock/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Stock/module.d.ts +90 -56
- package/lib/Fairmint/OpenCapTable/Types/Stock/module.js +86 -132
- package/lib/Fairmint/OpenCapTable/Types/Vesting/index.js +0 -1
- package/lib/Fairmint/OpenCapTable/Types/Vesting/module.d.ts +57 -37
- package/lib/Fairmint/OpenCapTable/Types/Vesting/module.js +56 -90
- package/lib/Fairmint/OpenCapTable/Types/index.d.ts +7 -8
- package/lib/Fairmint/OpenCapTable/Types/index.js +6 -8
- package/lib/Fairmint/OpenCapTable/index.d.ts +5 -6
- package/lib/Fairmint/OpenCapTable/index.js +4 -6
- package/lib/Splice/Amulet/TokenApiUtils/index.js +0 -1
- package/lib/Splice/Amulet/TokenApiUtils/module.d.ts +7 -4
- package/lib/Splice/Amulet/TokenApiUtils/module.js +4 -12
- package/lib/Splice/Amulet/TwoStepTransfer/index.js +0 -1
- package/lib/Splice/Amulet/TwoStepTransfer/module.d.ts +15 -13
- package/lib/Splice/Amulet/TwoStepTransfer/module.js +16 -26
- package/lib/Splice/Amulet/index.d.ts +2 -4
- package/lib/Splice/Amulet/index.js +1 -4
- package/lib/Splice/Amulet/module.d.ts +487 -370
- package/lib/Splice/Amulet/module.js +817 -996
- package/lib/Splice/AmuletAllocation/index.js +0 -1
- package/lib/Splice/AmuletAllocation/module.d.ts +11 -9
- package/lib/Splice/AmuletAllocation/module.js +26 -31
- package/lib/Splice/AmuletConfig/index.js +0 -1
- package/lib/Splice/AmuletConfig/module.d.ts +56 -42
- package/lib/Splice/AmuletConfig/module.js +62 -93
- package/lib/Splice/AmuletRules/index.js +0 -1
- package/lib/Splice/AmuletRules/module.d.ts +875 -682
- package/lib/Splice/AmuletRules/module.js +1274 -1689
- package/lib/Splice/AmuletTransferInstruction/index.js +0 -1
- package/lib/Splice/AmuletTransferInstruction/module.d.ts +11 -9
- package/lib/Splice/AmuletTransferInstruction/module.js +26 -31
- package/lib/Splice/Api/FeaturedAppRightV1/module.d.ts +50 -40
- package/lib/Splice/Api/FeaturedAppRightV1/module.js +61 -84
- package/lib/Splice/Api/FeaturedAppRightV2/index.js +0 -1
- package/lib/Splice/Api/FeaturedAppRightV2/module.d.ts +51 -41
- package/lib/Splice/Api/FeaturedAppRightV2/module.js +62 -86
- package/lib/Splice/Api/Token/AllocationInstructionV1/index.js +0 -1
- package/lib/Splice/Api/Token/AllocationInstructionV1/module.d.ts +99 -82
- package/lib/Splice/Api/Token/AllocationInstructionV1/module.js +142 -202
- package/lib/Splice/Api/Token/AllocationV1/index.js +0 -1
- package/lib/Splice/Api/Token/AllocationV1/module.d.ts +109 -84
- package/lib/Splice/Api/Token/AllocationV1/module.js +139 -185
- package/lib/Splice/Api/Token/HoldingV1/index.js +0 -1
- package/lib/Splice/Api/Token/HoldingV1/module.d.ts +34 -27
- package/lib/Splice/Api/Token/HoldingV1/module.js +39 -55
- package/lib/Splice/Api/Token/MetadataV1/index.js +0 -1
- package/lib/Splice/Api/Token/MetadataV1/module.d.ts +60 -44
- package/lib/Splice/Api/Token/MetadataV1/module.js +70 -123
- package/lib/Splice/Api/Token/TransferInstructionV1/index.js +0 -1
- package/lib/Splice/Api/Token/TransferInstructionV1/module.d.ts +137 -112
- package/lib/Splice/Api/Token/TransferInstructionV1/module.js +195 -278
- package/lib/Splice/DecentralizedSynchronizer/index.js +0 -1
- package/lib/Splice/DecentralizedSynchronizer/module.d.ts +58 -44
- package/lib/Splice/DecentralizedSynchronizer/module.js +79 -103
- package/lib/Splice/Expiry/index.js +0 -1
- package/lib/Splice/Expiry/module.d.ts +18 -14
- package/lib/Splice/Expiry/module.js +23 -37
- package/lib/Splice/ExternalPartyAmuletRules/index.js +0 -1
- package/lib/Splice/ExternalPartyAmuletRules/module.d.ts +147 -116
- package/lib/Splice/ExternalPartyAmuletRules/module.js +242 -307
- package/lib/Splice/Fees/index.js +0 -1
- package/lib/Splice/Fees/module.d.ts +40 -26
- package/lib/Splice/Fees/module.js +48 -57
- package/lib/Splice/Issuance/index.js +0 -1
- package/lib/Splice/Issuance/module.d.ts +50 -39
- package/lib/Splice/Issuance/module.js +56 -82
- package/lib/Splice/RelRound/index.js +0 -1
- package/lib/Splice/RelRound/module.d.ts +7 -5
- package/lib/Splice/RelRound/module.js +8 -10
- package/lib/Splice/Round/index.js +0 -1
- package/lib/Splice/Round/module.d.ts +78 -66
- package/lib/Splice/Round/module.js +142 -186
- package/lib/Splice/Schedule/index.js +0 -1
- package/lib/Splice/Schedule/module.d.ts +8 -7
- package/lib/Splice/Schedule/module.js +12 -17
- package/lib/Splice/Types/index.js +0 -1
- package/lib/Splice/Types/module.d.ts +31 -20
- package/lib/Splice/Types/module.js +37 -44
- package/lib/Splice/ValidatorLicense/index.js +0 -1
- package/lib/Splice/ValidatorLicense/module.d.ts +195 -145
- package/lib/Splice/ValidatorLicense/module.js +310 -388
- package/package.json +8 -8
- package/published-dars/OpenCapTable.dar +0 -0
|
@@ -5,7 +5,6 @@ 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
|
-
|
|
9
8
|
/* eslint-disable-next-line no-unused-vars */
|
|
10
9
|
var jtv = require('@mojotech/json-type-validation');
|
|
11
10
|
/* eslint-disable-next-line no-unused-vars */
|
|
@@ -18,258 +17,199 @@ var pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 = requir
|
|
|
18
17
|
|
|
19
18
|
exports.AllocationFactory = damlTypes.assembleInterface(
|
|
20
19
|
'#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationFactory',
|
|
21
|
-
'
|
|
20
|
+
'275064aacfe99cea72ee0c80563936129563776f67415ef9f13e4297eecbc520:Splice.Api.Token.AllocationInstructionV1:AllocationFactory',
|
|
22
21
|
function () { return exports.AllocationFactoryView; },
|
|
23
22
|
{
|
|
23
|
+
Archive: {
|
|
24
|
+
template: function () { return exports.AllocationFactory; },
|
|
25
|
+
choiceName: 'Archive',
|
|
26
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
27
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
28
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
29
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
30
|
+
},
|
|
24
31
|
AllocationFactory_Allocate: {
|
|
25
32
|
template: function () { return exports.AllocationFactory; },
|
|
26
33
|
choiceName: 'AllocationFactory_Allocate',
|
|
27
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
28
|
-
return exports.AllocationFactory_Allocate.decoder;
|
|
29
|
-
}),
|
|
34
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.AllocationFactory_Allocate.decoder; }),
|
|
30
35
|
argumentEncode: function (__typed__) { return exports.AllocationFactory_Allocate.encode(__typed__); },
|
|
31
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
32
|
-
return exports.AllocationInstructionResult.decoder;
|
|
33
|
-
}),
|
|
36
|
+
resultDecoder: damlTypes.lazyMemo(function () { return exports.AllocationInstructionResult.decoder; }),
|
|
34
37
|
resultEncode: function (__typed__) { return exports.AllocationInstructionResult.encode(__typed__); },
|
|
35
38
|
},
|
|
36
39
|
AllocationFactory_PublicFetch: {
|
|
37
40
|
template: function () { return exports.AllocationFactory; },
|
|
38
41
|
choiceName: 'AllocationFactory_PublicFetch',
|
|
39
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
40
|
-
return exports.AllocationFactory_PublicFetch.decoder;
|
|
41
|
-
}),
|
|
42
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.AllocationFactory_PublicFetch.decoder; }),
|
|
42
43
|
argumentEncode: function (__typed__) { return exports.AllocationFactory_PublicFetch.encode(__typed__); },
|
|
43
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
44
|
-
return exports.AllocationFactoryView.decoder;
|
|
45
|
-
}),
|
|
44
|
+
resultDecoder: damlTypes.lazyMemo(function () { return exports.AllocationFactoryView.decoder; }),
|
|
46
45
|
resultEncode: function (__typed__) { return exports.AllocationFactoryView.encode(__typed__); },
|
|
47
46
|
},
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
choiceName: 'Archive',
|
|
51
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
52
|
-
return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder;
|
|
53
|
-
}),
|
|
54
|
-
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
55
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
56
|
-
return damlTypes.Unit.decoder;
|
|
57
|
-
}),
|
|
58
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
59
|
-
},
|
|
60
|
-
}
|
|
61
|
-
);
|
|
47
|
+
});
|
|
48
|
+
|
|
62
49
|
|
|
63
50
|
exports.AllocationInstruction = damlTypes.assembleInterface(
|
|
64
51
|
'#splice-api-token-allocation-instruction-v1:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction',
|
|
65
|
-
'
|
|
52
|
+
'275064aacfe99cea72ee0c80563936129563776f67415ef9f13e4297eecbc520:Splice.Api.Token.AllocationInstructionV1:AllocationInstruction',
|
|
66
53
|
function () { return exports.AllocationInstructionView; },
|
|
67
54
|
{
|
|
68
|
-
|
|
55
|
+
Archive: {
|
|
69
56
|
template: function () { return exports.AllocationInstruction; },
|
|
70
|
-
choiceName: '
|
|
71
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
72
|
-
|
|
73
|
-
}),
|
|
74
|
-
|
|
75
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
76
|
-
return exports.AllocationInstructionResult.decoder;
|
|
77
|
-
}),
|
|
78
|
-
resultEncode: function (__typed__) { return exports.AllocationInstructionResult.encode(__typed__); },
|
|
57
|
+
choiceName: 'Archive',
|
|
58
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.decoder; }),
|
|
59
|
+
argumentEncode: function (__typed__) { return pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive.encode(__typed__); },
|
|
60
|
+
resultDecoder: damlTypes.lazyMemo(function () { return damlTypes.Unit.decoder; }),
|
|
61
|
+
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
79
62
|
},
|
|
80
63
|
AllocationInstruction_Withdraw: {
|
|
81
64
|
template: function () { return exports.AllocationInstruction; },
|
|
82
65
|
choiceName: 'AllocationInstruction_Withdraw',
|
|
83
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
84
|
-
return exports.AllocationInstruction_Withdraw.decoder;
|
|
85
|
-
}),
|
|
66
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.AllocationInstruction_Withdraw.decoder; }),
|
|
86
67
|
argumentEncode: function (__typed__) { return exports.AllocationInstruction_Withdraw.encode(__typed__); },
|
|
87
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
88
|
-
return exports.AllocationInstructionResult.decoder;
|
|
89
|
-
}),
|
|
68
|
+
resultDecoder: damlTypes.lazyMemo(function () { return exports.AllocationInstructionResult.decoder; }),
|
|
90
69
|
resultEncode: function (__typed__) { return exports.AllocationInstructionResult.encode(__typed__); },
|
|
91
70
|
},
|
|
92
|
-
|
|
71
|
+
AllocationInstruction_Update: {
|
|
93
72
|
template: function () { return exports.AllocationInstruction; },
|
|
94
|
-
choiceName: '
|
|
95
|
-
argumentDecoder: damlTypes.lazyMemo(function () {
|
|
96
|
-
|
|
97
|
-
}),
|
|
98
|
-
|
|
99
|
-
resultDecoder: damlTypes.lazyMemo(function () {
|
|
100
|
-
return damlTypes.Unit.decoder;
|
|
101
|
-
}),
|
|
102
|
-
resultEncode: function (__typed__) { return damlTypes.Unit.encode(__typed__); },
|
|
73
|
+
choiceName: 'AllocationInstruction_Update',
|
|
74
|
+
argumentDecoder: damlTypes.lazyMemo(function () { return exports.AllocationInstruction_Update.decoder; }),
|
|
75
|
+
argumentEncode: function (__typed__) { return exports.AllocationInstruction_Update.encode(__typed__); },
|
|
76
|
+
resultDecoder: damlTypes.lazyMemo(function () { return exports.AllocationInstructionResult.decoder; }),
|
|
77
|
+
resultEncode: function (__typed__) { return exports.AllocationInstructionResult.encode(__typed__); },
|
|
103
78
|
},
|
|
104
|
-
}
|
|
105
|
-
);
|
|
79
|
+
});
|
|
106
80
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder,
|
|
112
|
-
});
|
|
113
|
-
}),
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
exports.AllocationInstructionResult_Output = {
|
|
84
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('AllocationInstructionResult_Pending'), value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Pending.decoder, }), jtv.object({tag: jtv.constant('AllocationInstructionResult_Completed'), value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Completed.decoder, }), jtv.object({tag: jtv.constant('AllocationInstructionResult_Failed'), value: damlTypes.Unit.decoder, })); }),
|
|
114
85
|
encode: function (__typed__) {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
};
|
|
119
|
-
|
|
86
|
+
switch(__typed__.tag) {
|
|
87
|
+
case 'AllocationInstructionResult_Pending': return {tag: __typed__.tag, value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Pending.encode(__typed__.value)};
|
|
88
|
+
case 'AllocationInstructionResult_Completed': return {tag: __typed__.tag, value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Completed.encode(__typed__.value)};
|
|
89
|
+
case 'AllocationInstructionResult_Failed': return {tag: __typed__.tag, value: damlTypes.Unit.encode(__typed__.value)};
|
|
90
|
+
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type AllocationInstructionResult_Output';
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
,
|
|
94
|
+
AllocationInstructionResult_Pending:({
|
|
95
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({allocationInstructionCid: damlTypes.ContractId(exports.AllocationInstruction).decoder, }); }),
|
|
96
|
+
encode: function (__typed__) {
|
|
97
|
+
return {
|
|
98
|
+
allocationInstructionCid: damlTypes.ContractId(exports.AllocationInstruction).encode(__typed__.allocationInstructionCid),
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
,
|
|
102
|
+
}),
|
|
103
|
+
AllocationInstructionResult_Completed:({
|
|
104
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({allocationCid: damlTypes.ContractId(pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Allocation).decoder, }); }),
|
|
105
|
+
encode: function (__typed__) {
|
|
106
|
+
return {
|
|
107
|
+
allocationCid: damlTypes.ContractId(pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Allocation).encode(__typed__.allocationCid),
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
,
|
|
111
|
+
}),
|
|
120
112
|
};
|
|
121
113
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
});
|
|
131
|
-
}),
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
exports.AllocationInstructionResult = {
|
|
121
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({output: exports.AllocationInstructionResult_Output.decoder, senderChangeCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder, meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder, }); }),
|
|
132
122
|
encode: function (__typed__) {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
},
|
|
123
|
+
return {
|
|
124
|
+
output: exports.AllocationInstructionResult_Output.encode(__typed__.output),
|
|
125
|
+
senderChangeCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.senderChangeCids),
|
|
126
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
,
|
|
141
130
|
};
|
|
142
131
|
|
|
132
|
+
|
|
133
|
+
|
|
143
134
|
exports.AllocationFactory_PublicFetch = {
|
|
144
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
145
|
-
return jtv.object({
|
|
146
|
-
expectedAdmin: damlTypes.Party.decoder,
|
|
147
|
-
actor: damlTypes.Party.decoder,
|
|
148
|
-
});
|
|
149
|
-
}),
|
|
135
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({expectedAdmin: damlTypes.Party.decoder, actor: damlTypes.Party.decoder, }); }),
|
|
150
136
|
encode: function (__typed__) {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
137
|
+
return {
|
|
138
|
+
expectedAdmin: damlTypes.Party.encode(__typed__.expectedAdmin),
|
|
139
|
+
actor: damlTypes.Party.encode(__typed__.actor),
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
,
|
|
156
143
|
};
|
|
157
144
|
|
|
158
|
-
exports.AllocationInstructionResult = {
|
|
159
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
160
|
-
return jtv.object({
|
|
161
|
-
output: exports.AllocationInstructionResult_Output.decoder,
|
|
162
|
-
senderChangeCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder,
|
|
163
|
-
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder,
|
|
164
|
-
});
|
|
165
|
-
}),
|
|
166
|
-
encode: function (__typed__) {
|
|
167
|
-
return {
|
|
168
|
-
output: exports.AllocationInstructionResult_Output.encode(__typed__.output),
|
|
169
|
-
senderChangeCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.senderChangeCids),
|
|
170
|
-
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
|
|
171
|
-
};
|
|
172
|
-
},
|
|
173
|
-
};
|
|
174
145
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
jtv.object({
|
|
179
|
-
tag: jtv.constant("AllocationInstructionResult_Pending"),
|
|
180
|
-
value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Pending.decoder,
|
|
181
|
-
}),
|
|
182
|
-
jtv.object({
|
|
183
|
-
tag: jtv.constant("AllocationInstructionResult_Completed"),
|
|
184
|
-
value: exports.AllocationInstructionResult_Output.AllocationInstructionResult_Completed.decoder,
|
|
185
|
-
}),
|
|
186
|
-
jtv.object({
|
|
187
|
-
tag: jtv.constant("AllocationInstructionResult_Failed"),
|
|
188
|
-
value: damlTypes.Unit.decoder,
|
|
189
|
-
}),
|
|
190
|
-
);
|
|
191
|
-
}),
|
|
146
|
+
|
|
147
|
+
exports.AllocationFactory_Allocate = {
|
|
148
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({expectedAdmin: damlTypes.Party.decoder, allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.AllocationSpecification.decoder, requestedAt: damlTypes.Time.decoder, inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder, extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder, }); }),
|
|
192
149
|
encode: function (__typed__) {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
return jtv.object({
|
|
203
|
-
allocationCid: damlTypes.ContractId(pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Allocation).decoder,
|
|
204
|
-
});
|
|
205
|
-
}),
|
|
206
|
-
encode: function (__typed__) {
|
|
207
|
-
return {
|
|
208
|
-
allocationCid: damlTypes.ContractId(pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.Allocation).encode(__typed__.allocationCid),
|
|
209
|
-
};
|
|
210
|
-
},
|
|
211
|
-
},
|
|
212
|
-
AllocationInstructionResult_Pending: {
|
|
213
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
214
|
-
return jtv.object({
|
|
215
|
-
allocationInstructionCid: damlTypes.ContractId(exports.AllocationInstruction).decoder,
|
|
216
|
-
});
|
|
217
|
-
}),
|
|
218
|
-
encode: function (__typed__) {
|
|
219
|
-
return {
|
|
220
|
-
allocationInstructionCid: damlTypes.ContractId(exports.AllocationInstruction).encode(__typed__.allocationInstructionCid),
|
|
221
|
-
};
|
|
222
|
-
},
|
|
223
|
-
},
|
|
150
|
+
return {
|
|
151
|
+
expectedAdmin: damlTypes.Party.encode(__typed__.expectedAdmin),
|
|
152
|
+
allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.AllocationSpecification.encode(__typed__.allocation),
|
|
153
|
+
requestedAt: damlTypes.Time.encode(__typed__.requestedAt),
|
|
154
|
+
inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.inputHoldingCids),
|
|
155
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
,
|
|
224
159
|
};
|
|
225
160
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.AllocationSpecification.decoder,
|
|
231
|
-
pendingActions: damlTypes.Map(damlTypes.Party, damlTypes.Text).decoder,
|
|
232
|
-
requestedAt: damlTypes.Time.decoder,
|
|
233
|
-
inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder,
|
|
234
|
-
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder,
|
|
235
|
-
});
|
|
236
|
-
}),
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
exports.AllocationFactoryView = {
|
|
164
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({admin: damlTypes.Party.decoder, meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder, }); }),
|
|
237
165
|
encode: function (__typed__) {
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
|
|
245
|
-
};
|
|
246
|
-
},
|
|
166
|
+
return {
|
|
167
|
+
admin: damlTypes.Party.encode(__typed__.admin),
|
|
168
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
|
|
169
|
+
};
|
|
170
|
+
}
|
|
171
|
+
,
|
|
247
172
|
};
|
|
248
173
|
|
|
174
|
+
|
|
175
|
+
|
|
249
176
|
exports.AllocationInstruction_Update = {
|
|
250
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
251
|
-
return jtv.object({
|
|
252
|
-
extraActors: damlTypes.List(damlTypes.Party).decoder,
|
|
253
|
-
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder,
|
|
254
|
-
});
|
|
255
|
-
}),
|
|
177
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({extraActors: damlTypes.List(damlTypes.Party).decoder, extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder, }); }),
|
|
256
178
|
encode: function (__typed__) {
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
179
|
+
return {
|
|
180
|
+
extraActors: damlTypes.List(damlTypes.Party).encode(__typed__.extraActors),
|
|
181
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
,
|
|
262
185
|
};
|
|
263
186
|
|
|
187
|
+
|
|
188
|
+
|
|
264
189
|
exports.AllocationInstruction_Withdraw = {
|
|
265
|
-
decoder: damlTypes.lazyMemo(function () {
|
|
266
|
-
return jtv.object({
|
|
267
|
-
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder,
|
|
268
|
-
});
|
|
269
|
-
}),
|
|
190
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.decoder, }); }),
|
|
270
191
|
encode: function (__typed__) {
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
192
|
+
return {
|
|
193
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.ExtraArgs.encode(__typed__.extraArgs),
|
|
194
|
+
};
|
|
195
|
+
}
|
|
196
|
+
,
|
|
275
197
|
};
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
exports.AllocationInstructionView = {
|
|
202
|
+
decoder: damlTypes.lazyMemo(function () { return jtv.object({originalInstructionCid: jtv.Decoder.withDefault(null, damlTypes.Optional(damlTypes.ContractId(exports.AllocationInstruction)).decoder), allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.AllocationSpecification.decoder, pendingActions: damlTypes.Map(damlTypes.Party, damlTypes.Text).decoder, requestedAt: damlTypes.Time.decoder, inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).decoder, meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.decoder, }); }),
|
|
203
|
+
encode: function (__typed__) {
|
|
204
|
+
return {
|
|
205
|
+
originalInstructionCid: damlTypes.Optional(damlTypes.ContractId(exports.AllocationInstruction)).encode(__typed__.originalInstructionCid),
|
|
206
|
+
allocation: pkg93c942ae2b4c2ba674fb152fe38473c507bda4e82b4e4c5da55a552a9d8cce1d.AllocationSpecification.encode(__typed__.allocation),
|
|
207
|
+
pendingActions: damlTypes.Map(damlTypes.Party, damlTypes.Text).encode(__typed__.pendingActions),
|
|
208
|
+
requestedAt: damlTypes.Time.encode(__typed__.requestedAt),
|
|
209
|
+
inputHoldingCids: damlTypes.List(damlTypes.ContractId(pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Holding)).encode(__typed__.inputHoldingCids),
|
|
210
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Metadata.encode(__typed__.meta),
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
,
|
|
214
|
+
};
|
|
215
|
+
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
// Generated from
|
|
2
|
-
|
|
1
|
+
// Generated from Splice/Api/Token/AllocationV1.daml
|
|
3
2
|
/* eslint-disable @typescript-eslint/camelcase */
|
|
4
3
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
5
4
|
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
@@ -10,117 +9,143 @@ import * as pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f
|
|
|
10
9
|
import * as pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b from '../HoldingV1';
|
|
11
10
|
import * as pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69 from '../../../../DA/Internal/Template';
|
|
12
11
|
|
|
13
|
-
export declare type Allocation = damlTypes.Interface<'#splice-api-token-allocation-v1:Splice.Api.Token.AllocationV1:Allocation'> & AllocationView
|
|
12
|
+
export declare type Allocation = damlTypes.Interface<'#splice-api-token-allocation-v1:Splice.Api.Token.AllocationV1:Allocation'> & AllocationView;
|
|
14
13
|
export declare interface AllocationInterface {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
Allocation_ExecuteTransfer:
|
|
19
|
-
damlTypes.Choice<Allocation, Allocation_ExecuteTransfer, Allocation_ExecuteTransferResult, undefined> &
|
|
20
|
-
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
|
|
21
|
-
Allocation_Withdraw:
|
|
22
|
-
damlTypes.Choice<Allocation, Allocation_Withdraw, Allocation_WithdrawResult, undefined> &
|
|
23
|
-
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
|
|
24
|
-
Archive:
|
|
25
|
-
damlTypes.Choice<Allocation, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> &
|
|
26
|
-
damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
|
|
14
|
+
Archive: damlTypes.Choice<Allocation, pkg9e70a8b3510d617f8a136213f33d6a903a10ca0eeec76bb06ba55d1ed9680f69.DA.Internal.Template.Archive, {}, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
|
|
15
|
+
Allocation_Withdraw: damlTypes.Choice<Allocation, Allocation_Withdraw, Allocation_WithdrawResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
|
|
16
|
+
Allocation_Cancel: damlTypes.Choice<Allocation, Allocation_Cancel, Allocation_CancelResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
|
|
17
|
+
Allocation_ExecuteTransfer: damlTypes.Choice<Allocation, Allocation_ExecuteTransfer, Allocation_ExecuteTransferResult, undefined> & damlTypes.ChoiceFrom<damlTypes.InterfaceCompanion<Allocation, undefined>>;
|
|
27
18
|
}
|
|
28
19
|
export declare const Allocation:
|
|
29
20
|
damlTypes.InterfaceCompanion<Allocation, undefined, '#splice-api-token-allocation-v1:Splice.Api.Token.AllocationV1:Allocation'> &
|
|
30
21
|
damlTypes.FromTemplate<Allocation, unknown> &
|
|
31
|
-
AllocationInterface
|
|
32
|
-
|
|
33
|
-
export declare type AllocationSpecification = {
|
|
34
|
-
settlement: SettlementInfo,
|
|
35
|
-
transferLegId: string,
|
|
36
|
-
transferLeg: TransferLeg,
|
|
37
|
-
}
|
|
22
|
+
AllocationInterface;
|
|
38
23
|
|
|
39
|
-
export declare const AllocationSpecification:
|
|
40
|
-
damlTypes.Serializable<AllocationSpecification>
|
|
41
|
-
|
|
42
|
-
export declare type AllocationView = {
|
|
43
|
-
allocation: AllocationSpecification,
|
|
44
|
-
holdingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[],
|
|
45
|
-
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata,
|
|
46
|
-
}
|
|
47
24
|
|
|
48
|
-
export declare
|
|
49
|
-
damlTypes.
|
|
25
|
+
export declare type Allocation_WithdrawResult = {
|
|
26
|
+
senderHoldingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[];
|
|
27
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata;
|
|
28
|
+
};
|
|
50
29
|
|
|
51
|
-
export declare
|
|
52
|
-
|
|
53
|
-
}
|
|
30
|
+
export declare const Allocation_WithdrawResult:
|
|
31
|
+
damlTypes.Serializable<Allocation_WithdrawResult> & {
|
|
32
|
+
}
|
|
33
|
+
;
|
|
54
34
|
|
|
55
|
-
export declare const Allocation_Cancel:
|
|
56
|
-
damlTypes.Serializable<Allocation_Cancel>
|
|
57
35
|
|
|
58
36
|
export declare type Allocation_CancelResult = {
|
|
59
|
-
senderHoldingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[]
|
|
60
|
-
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata
|
|
61
|
-
}
|
|
37
|
+
senderHoldingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[];
|
|
38
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata;
|
|
39
|
+
};
|
|
62
40
|
|
|
63
41
|
export declare const Allocation_CancelResult:
|
|
64
|
-
damlTypes.Serializable<Allocation_CancelResult>
|
|
42
|
+
damlTypes.Serializable<Allocation_CancelResult> & {
|
|
43
|
+
}
|
|
44
|
+
;
|
|
65
45
|
|
|
66
|
-
export declare type Allocation_ExecuteTransfer = {
|
|
67
|
-
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs,
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export declare const Allocation_ExecuteTransfer:
|
|
71
|
-
damlTypes.Serializable<Allocation_ExecuteTransfer>
|
|
72
46
|
|
|
73
47
|
export declare type Allocation_ExecuteTransferResult = {
|
|
74
|
-
senderHoldingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[]
|
|
75
|
-
receiverHoldingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[]
|
|
76
|
-
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata
|
|
77
|
-
}
|
|
48
|
+
senderHoldingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[];
|
|
49
|
+
receiverHoldingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[];
|
|
50
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata;
|
|
51
|
+
};
|
|
78
52
|
|
|
79
53
|
export declare const Allocation_ExecuteTransferResult:
|
|
80
|
-
damlTypes.Serializable<Allocation_ExecuteTransferResult>
|
|
54
|
+
damlTypes.Serializable<Allocation_ExecuteTransferResult> & {
|
|
55
|
+
}
|
|
56
|
+
;
|
|
57
|
+
|
|
81
58
|
|
|
82
59
|
export declare type Allocation_Withdraw = {
|
|
83
|
-
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs
|
|
84
|
-
}
|
|
60
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
|
|
61
|
+
};
|
|
85
62
|
|
|
86
63
|
export declare const Allocation_Withdraw:
|
|
87
|
-
damlTypes.Serializable<Allocation_Withdraw>
|
|
64
|
+
damlTypes.Serializable<Allocation_Withdraw> & {
|
|
65
|
+
}
|
|
66
|
+
;
|
|
88
67
|
|
|
89
|
-
export declare type Allocation_WithdrawResult = {
|
|
90
|
-
senderHoldingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[],
|
|
91
|
-
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata,
|
|
92
|
-
}
|
|
93
68
|
|
|
94
|
-
export declare
|
|
95
|
-
|
|
69
|
+
export declare type Allocation_Cancel = {
|
|
70
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
|
|
71
|
+
};
|
|
96
72
|
|
|
97
|
-
export declare
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
73
|
+
export declare const Allocation_Cancel:
|
|
74
|
+
damlTypes.Serializable<Allocation_Cancel> & {
|
|
75
|
+
}
|
|
76
|
+
;
|
|
101
77
|
|
|
102
|
-
export declare const Reference:
|
|
103
|
-
damlTypes.Serializable<Reference>
|
|
104
78
|
|
|
105
|
-
export declare type
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
79
|
+
export declare type Allocation_ExecuteTransfer = {
|
|
80
|
+
extraArgs: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.ExtraArgs;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
export declare const Allocation_ExecuteTransfer:
|
|
84
|
+
damlTypes.Serializable<Allocation_ExecuteTransfer> & {
|
|
85
|
+
}
|
|
86
|
+
;
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
export declare type AllocationView = {
|
|
90
|
+
allocation: AllocationSpecification;
|
|
91
|
+
holdingCids: damlTypes.ContractId<pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.Holding>[];
|
|
92
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
export declare const AllocationView:
|
|
96
|
+
damlTypes.Serializable<AllocationView> & {
|
|
97
|
+
}
|
|
98
|
+
;
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
export declare type AllocationSpecification = {
|
|
102
|
+
settlement: SettlementInfo;
|
|
103
|
+
transferLegId: string;
|
|
104
|
+
transferLeg: TransferLeg;
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
export declare const AllocationSpecification:
|
|
108
|
+
damlTypes.Serializable<AllocationSpecification> & {
|
|
109
|
+
}
|
|
110
|
+
;
|
|
113
111
|
|
|
114
|
-
export declare const SettlementInfo:
|
|
115
|
-
damlTypes.Serializable<SettlementInfo>
|
|
116
112
|
|
|
117
113
|
export declare type TransferLeg = {
|
|
118
|
-
sender: damlTypes.Party
|
|
119
|
-
receiver: damlTypes.Party
|
|
120
|
-
amount: damlTypes.Numeric
|
|
121
|
-
instrumentId: pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.InstrumentId
|
|
122
|
-
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata
|
|
123
|
-
}
|
|
114
|
+
sender: damlTypes.Party;
|
|
115
|
+
receiver: damlTypes.Party;
|
|
116
|
+
amount: damlTypes.Numeric;
|
|
117
|
+
instrumentId: pkg718a0f77e505a8de22f188bd4c87fe74101274e9d4cb1bfac7d09aec7158d35b.Splice.Api.Token.HoldingV1.InstrumentId;
|
|
118
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata;
|
|
119
|
+
};
|
|
124
120
|
|
|
125
121
|
export declare const TransferLeg:
|
|
126
|
-
damlTypes.Serializable<TransferLeg>
|
|
122
|
+
damlTypes.Serializable<TransferLeg> & {
|
|
123
|
+
}
|
|
124
|
+
;
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
export declare type SettlementInfo = {
|
|
128
|
+
executor: damlTypes.Party;
|
|
129
|
+
settlementRef: Reference;
|
|
130
|
+
requestedAt: damlTypes.Time;
|
|
131
|
+
allocateBefore: damlTypes.Time;
|
|
132
|
+
settleBefore: damlTypes.Time;
|
|
133
|
+
meta: pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.Metadata;
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
export declare const SettlementInfo:
|
|
137
|
+
damlTypes.Serializable<SettlementInfo> & {
|
|
138
|
+
}
|
|
139
|
+
;
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
export declare type Reference = {
|
|
143
|
+
id: string;
|
|
144
|
+
cid: damlTypes.Optional<damlTypes.ContractId<pkg4ded6b668cb3b64f7a88a30874cd41c75829f5e064b3fbbadf41ec7e8363354f.Splice.Api.Token.MetadataV1.AnyContract>>;
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
export declare const Reference:
|
|
148
|
+
damlTypes.Serializable<Reference> & {
|
|
149
|
+
}
|
|
150
|
+
;
|
|
151
|
+
|