@polymeshassociation/polymesh-sdk 28.0.0-beta.1 → 28.0.0-beta.3
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/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +3 -7
- package/api/client/AccountManagement.d.ts +3 -3
- package/api/client/AccountManagement.d.ts.map +1 -1
- package/api/client/AccountManagement.js.map +1 -1
- package/api/client/Assets.d.ts +2 -2
- package/api/client/Assets.d.ts.map +1 -1
- package/api/client/Assets.js.map +1 -1
- package/api/client/Claims.d.ts +2 -2
- package/api/client/Claims.d.ts.map +1 -1
- package/api/client/Claims.js +12 -12
- package/api/client/Claims.js.map +1 -1
- package/api/client/Identities.d.ts +2 -2
- package/api/client/Identities.d.ts.map +1 -1
- package/api/client/Identities.js +1 -1
- package/api/client/Identities.js.map +1 -1
- package/api/client/Network.d.ts +3 -3
- package/api/client/Network.d.ts.map +1 -1
- package/api/client/Network.js.map +1 -1
- package/api/client/Polymesh.d.ts +3 -3
- package/api/client/Polymesh.d.ts.map +1 -1
- package/api/client/Polymesh.js +1 -1
- package/api/client/Polymesh.js.map +1 -1
- package/api/client/Settlements.d.ts +2 -2
- package/api/client/Settlements.d.ts.map +1 -1
- package/api/client/Settlements.js +1 -1
- package/api/client/Settlements.js.map +1 -1
- package/api/client/Staking.d.ts +2 -2
- package/api/client/Staking.d.ts.map +1 -1
- package/api/client/Staking.js.map +1 -1
- package/api/client/types.d.ts +3 -3
- package/api/client/types.d.ts.map +1 -1
- package/api/client/types.js +1 -1
- package/api/client/types.js.map +1 -1
- package/api/entities/Account/MultiSig/index.d.ts +4 -4
- package/api/entities/Account/MultiSig/index.d.ts.map +1 -1
- package/api/entities/Account/MultiSig/index.js +2 -2
- package/api/entities/Account/MultiSig/index.js.map +1 -1
- package/api/entities/Account/MultiSig/types.d.ts +2 -2
- package/api/entities/Account/MultiSig/types.d.ts.map +1 -1
- package/api/entities/Account/Staking/index.d.ts +2 -2
- package/api/entities/Account/Staking/index.d.ts.map +1 -1
- package/api/entities/Account/Staking/index.js.map +1 -1
- package/api/entities/Account/helpers.d.ts +2 -2
- package/api/entities/Account/helpers.d.ts.map +1 -1
- package/api/entities/Account/helpers.js +3 -4
- package/api/entities/Account/helpers.js.map +1 -1
- package/api/entities/Account/index.d.ts +6 -6
- package/api/entities/Account/index.d.ts.map +1 -1
- package/api/entities/Account/index.js +14 -14
- package/api/entities/Account/index.js.map +1 -1
- package/api/entities/Account/types.d.ts +4 -4
- package/api/entities/Account/types.d.ts.map +1 -1
- package/api/entities/Account/types.js +2 -2
- package/api/entities/Account/types.js.map +1 -1
- package/api/entities/Asset/Base/BaseAsset.d.ts +6 -6
- package/api/entities/Asset/Base/BaseAsset.d.ts.map +1 -1
- package/api/entities/Asset/Base/BaseAsset.js +20 -20
- package/api/entities/Asset/Base/BaseAsset.js.map +1 -1
- package/api/entities/Asset/Base/Compliance/Requirements.d.ts +2 -2
- package/api/entities/Asset/Base/Compliance/Requirements.d.ts.map +1 -1
- package/api/entities/Asset/Base/Compliance/Requirements.js.map +1 -1
- package/api/entities/Asset/Base/Compliance/TrustedClaimIssuers.d.ts +2 -2
- package/api/entities/Asset/Base/Compliance/TrustedClaimIssuers.d.ts.map +1 -1
- package/api/entities/Asset/Base/Compliance/TrustedClaimIssuers.js.map +1 -1
- package/api/entities/Asset/Base/Compliance/index.d.ts +1 -1
- package/api/entities/Asset/Base/Compliance/index.d.ts.map +1 -1
- package/api/entities/Asset/Base/Compliance/index.js.map +1 -1
- package/api/entities/Asset/Base/Documents/index.d.ts +3 -3
- package/api/entities/Asset/Base/Documents/index.d.ts.map +1 -1
- package/api/entities/Asset/Base/Documents/index.js.map +1 -1
- package/api/entities/Asset/Base/Metadata/index.d.ts +2 -2
- package/api/entities/Asset/Base/Metadata/index.d.ts.map +1 -1
- package/api/entities/Asset/Base/Metadata/index.js.map +1 -1
- package/api/entities/Asset/Base/Permissions/index.d.ts +2 -2
- package/api/entities/Asset/Base/Permissions/index.d.ts.map +1 -1
- package/api/entities/Asset/Base/Permissions/index.js.map +1 -1
- package/api/entities/Asset/Base/Settlements/index.d.ts +2 -2
- package/api/entities/Asset/Base/Settlements/index.d.ts.map +1 -1
- package/api/entities/Asset/Base/Settlements/index.js +2 -2
- package/api/entities/Asset/Base/Settlements/index.js.map +1 -1
- package/api/entities/Asset/Fungible/AssetHolders/index.d.ts +2 -2
- package/api/entities/Asset/Fungible/AssetHolders/index.d.ts.map +1 -1
- package/api/entities/Asset/Fungible/AssetHolders/index.js.map +1 -1
- package/api/entities/Asset/Fungible/Checkpoints/Schedules.d.ts +2 -2
- package/api/entities/Asset/Fungible/Checkpoints/Schedules.d.ts.map +1 -1
- package/api/entities/Asset/Fungible/Checkpoints/Schedules.js +2 -2
- package/api/entities/Asset/Fungible/Checkpoints/Schedules.js.map +1 -1
- package/api/entities/Asset/Fungible/Checkpoints/index.d.ts +2 -2
- package/api/entities/Asset/Fungible/Checkpoints/index.d.ts.map +1 -1
- package/api/entities/Asset/Fungible/Checkpoints/index.js.map +1 -1
- package/api/entities/Asset/Fungible/Checkpoints/types.d.ts +2 -2
- package/api/entities/Asset/Fungible/Checkpoints/types.d.ts.map +1 -1
- package/api/entities/Asset/Fungible/Checkpoints/types.js +1 -1
- package/api/entities/Asset/Fungible/Checkpoints/types.js.map +1 -1
- package/api/entities/Asset/Fungible/CorporateActions/Ballots.d.ts +2 -2
- package/api/entities/Asset/Fungible/CorporateActions/Ballots.d.ts.map +1 -1
- package/api/entities/Asset/Fungible/CorporateActions/Ballots.js +1 -1
- package/api/entities/Asset/Fungible/CorporateActions/Ballots.js.map +1 -1
- package/api/entities/Asset/Fungible/CorporateActions/Distributions.d.ts +2 -2
- package/api/entities/Asset/Fungible/CorporateActions/Distributions.d.ts.map +1 -1
- package/api/entities/Asset/Fungible/CorporateActions/Distributions.js.map +1 -1
- package/api/entities/Asset/Fungible/CorporateActions/index.d.ts +2 -2
- package/api/entities/Asset/Fungible/CorporateActions/index.d.ts.map +1 -1
- package/api/entities/Asset/Fungible/CorporateActions/index.js +1 -1
- package/api/entities/Asset/Fungible/CorporateActions/index.js.map +1 -1
- package/api/entities/Asset/Fungible/CorporateActions/types.d.ts +1 -1
- package/api/entities/Asset/Fungible/CorporateActions/types.d.ts.map +1 -1
- package/api/entities/Asset/Fungible/Issuance/index.d.ts +2 -2
- package/api/entities/Asset/Fungible/Issuance/index.d.ts.map +1 -1
- package/api/entities/Asset/Fungible/Issuance/index.js.map +1 -1
- package/api/entities/Asset/Fungible/Offerings/index.d.ts +2 -2
- package/api/entities/Asset/Fungible/Offerings/index.d.ts.map +1 -1
- package/api/entities/Asset/Fungible/Offerings/index.js +2 -2
- package/api/entities/Asset/Fungible/Offerings/index.js.map +1 -1
- package/api/entities/Asset/Fungible/TransferRestrictions/index.d.ts +7 -2
- package/api/entities/Asset/Fungible/TransferRestrictions/index.d.ts.map +1 -1
- package/api/entities/Asset/Fungible/TransferRestrictions/index.js +161 -2
- package/api/entities/Asset/Fungible/TransferRestrictions/index.js.map +1 -1
- package/api/entities/Asset/Fungible/index.d.ts +3 -3
- package/api/entities/Asset/Fungible/index.d.ts.map +1 -1
- package/api/entities/Asset/Fungible/index.js +1 -1
- package/api/entities/Asset/Fungible/index.js.map +1 -1
- package/api/entities/Asset/NonFungible/AssetHolders/index.d.ts +2 -2
- package/api/entities/Asset/NonFungible/AssetHolders/index.d.ts.map +1 -1
- package/api/entities/Asset/NonFungible/AssetHolders/index.js.map +1 -1
- package/api/entities/Asset/NonFungible/Nft.d.ts +3 -3
- package/api/entities/Asset/NonFungible/Nft.d.ts.map +1 -1
- package/api/entities/Asset/NonFungible/Nft.js +8 -8
- package/api/entities/Asset/NonFungible/Nft.js.map +1 -1
- package/api/entities/Asset/NonFungible/NftCollection.d.ts +5 -5
- package/api/entities/Asset/NonFungible/NftCollection.d.ts.map +1 -1
- package/api/entities/Asset/NonFungible/NftCollection.js +4 -4
- package/api/entities/Asset/NonFungible/NftCollection.js.map +1 -1
- package/api/entities/Asset/types.d.ts +77 -31
- package/api/entities/Asset/types.d.ts.map +1 -1
- package/api/entities/Asset/types.js +5 -5
- package/api/entities/Asset/types.js.map +1 -1
- package/api/entities/AuthorizationRequest.d.ts +3 -3
- package/api/entities/AuthorizationRequest.d.ts.map +1 -1
- package/api/entities/AuthorizationRequest.js +8 -8
- package/api/entities/AuthorizationRequest.js.map +1 -1
- package/api/entities/Checkpoint.d.ts +2 -2
- package/api/entities/Checkpoint.d.ts.map +1 -1
- package/api/entities/Checkpoint.js +8 -8
- package/api/entities/Checkpoint.js.map +1 -1
- package/api/entities/CheckpointSchedule/index.d.ts +2 -2
- package/api/entities/CheckpointSchedule/index.d.ts.map +1 -1
- package/api/entities/CheckpointSchedule/index.js +8 -8
- package/api/entities/CheckpointSchedule/index.js.map +1 -1
- package/api/entities/CheckpointSchedule/types.d.ts +1 -1
- package/api/entities/CheckpointSchedule/types.d.ts.map +1 -1
- package/api/entities/CorporateAction.d.ts +3 -3
- package/api/entities/CorporateAction.d.ts.map +1 -1
- package/api/entities/CorporateAction.js.map +1 -1
- package/api/entities/CorporateActionBase/index.d.ts +3 -3
- package/api/entities/CorporateActionBase/index.d.ts.map +1 -1
- package/api/entities/CorporateActionBase/index.js +8 -8
- package/api/entities/CorporateActionBase/index.js.map +1 -1
- package/api/entities/CorporateActionBase/types.d.ts +4 -4
- package/api/entities/CorporateActionBase/types.d.ts.map +1 -1
- package/api/entities/CorporateActionBase/types.js +2 -2
- package/api/entities/CorporateActionBase/types.js.map +1 -1
- package/api/entities/CorporateBallot/index.d.ts +3 -3
- package/api/entities/CorporateBallot/index.d.ts.map +1 -1
- package/api/entities/CorporateBallot/index.js +2 -2
- package/api/entities/CorporateBallot/index.js.map +1 -1
- package/api/entities/CorporateBallot/types.d.ts +7 -7
- package/api/entities/CorporateBallot/types.d.ts.map +1 -1
- package/api/entities/CorporateBallot/types.js +1 -1
- package/api/entities/CorporateBallot/types.js.map +1 -1
- package/api/entities/CustomPermissionGroup.d.ts +2 -2
- package/api/entities/CustomPermissionGroup.d.ts.map +1 -1
- package/api/entities/CustomPermissionGroup.js +8 -8
- package/api/entities/CustomPermissionGroup.js.map +1 -1
- package/api/entities/DefaultPortfolio.d.ts +1 -1
- package/api/entities/DefaultPortfolio.d.ts.map +1 -1
- package/api/entities/DefaultPortfolio.js.map +1 -1
- package/api/entities/DefaultTrustedClaimIssuer.d.ts +3 -3
- package/api/entities/DefaultTrustedClaimIssuer.d.ts.map +1 -1
- package/api/entities/DefaultTrustedClaimIssuer.js +8 -8
- package/api/entities/DefaultTrustedClaimIssuer.js.map +1 -1
- package/api/entities/DividendDistribution/index.d.ts +5 -5
- package/api/entities/DividendDistribution/index.d.ts.map +1 -1
- package/api/entities/DividendDistribution/index.js +2 -2
- package/api/entities/DividendDistribution/index.js.map +1 -1
- package/api/entities/DividendDistribution/types.d.ts +1 -1
- package/api/entities/DividendDistribution/types.d.ts.map +1 -1
- package/api/entities/Entity.d.ts +1 -1
- package/api/entities/Entity.d.ts.map +1 -1
- package/api/entities/Entity.js +7 -7
- package/api/entities/Entity.js.map +1 -1
- package/api/entities/Identity/AssetPermissions.d.ts +3 -3
- package/api/entities/Identity/AssetPermissions.d.ts.map +1 -1
- package/api/entities/Identity/AssetPermissions.js +5 -5
- package/api/entities/Identity/AssetPermissions.js.map +1 -1
- package/api/entities/Identity/ChildIdentity.d.ts +3 -3
- package/api/entities/Identity/ChildIdentity.d.ts.map +1 -1
- package/api/entities/Identity/ChildIdentity.js +1 -1
- package/api/entities/Identity/ChildIdentity.js.map +1 -1
- package/api/entities/Identity/IdentityAuthorizations.d.ts +2 -2
- package/api/entities/Identity/IdentityAuthorizations.d.ts.map +1 -1
- package/api/entities/Identity/IdentityAuthorizations.js.map +1 -1
- package/api/entities/Identity/Portfolios.d.ts +2 -2
- package/api/entities/Identity/Portfolios.d.ts.map +1 -1
- package/api/entities/Identity/Portfolios.js +2 -2
- package/api/entities/Identity/Portfolios.js.map +1 -1
- package/api/entities/Identity/index.d.ts +3 -3
- package/api/entities/Identity/index.d.ts.map +1 -1
- package/api/entities/Identity/index.js +16 -16
- package/api/entities/Identity/index.js.map +1 -1
- package/api/entities/Instruction/index.d.ts +2 -2
- package/api/entities/Instruction/index.d.ts.map +1 -1
- package/api/entities/Instruction/index.js +10 -10
- package/api/entities/Instruction/index.js.map +1 -1
- package/api/entities/Instruction/types.d.ts +8 -8
- package/api/entities/Instruction/types.d.ts.map +1 -1
- package/api/entities/Instruction/types.js +3 -3
- package/api/entities/Instruction/types.js.map +1 -1
- package/api/entities/KnownPermissionGroup.d.ts +2 -2
- package/api/entities/KnownPermissionGroup.d.ts.map +1 -1
- package/api/entities/KnownPermissionGroup.js +8 -8
- package/api/entities/KnownPermissionGroup.js.map +1 -1
- package/api/entities/MetadataEntry/index.d.ts +2 -2
- package/api/entities/MetadataEntry/index.d.ts.map +1 -1
- package/api/entities/MetadataEntry/index.js +8 -8
- package/api/entities/MetadataEntry/index.js.map +1 -1
- package/api/entities/MetadataEntry/types.d.ts +5 -5
- package/api/entities/MetadataEntry/types.d.ts.map +1 -1
- package/api/entities/MetadataEntry/types.js +2 -2
- package/api/entities/MetadataEntry/types.js.map +1 -1
- package/api/entities/MultiSigProposal/index.d.ts +2 -2
- package/api/entities/MultiSigProposal/index.d.ts.map +1 -1
- package/api/entities/MultiSigProposal/index.js.map +1 -1
- package/api/entities/MultiSigProposal/types.d.ts +4 -4
- package/api/entities/MultiSigProposal/types.d.ts.map +1 -1
- package/api/entities/MultiSigProposal/types.js +2 -2
- package/api/entities/MultiSigProposal/types.js.map +1 -1
- package/api/entities/Namespace.d.ts +1 -1
- package/api/entities/Namespace.d.ts.map +1 -1
- package/api/entities/NumberedPortfolio.d.ts +2 -2
- package/api/entities/NumberedPortfolio.d.ts.map +1 -1
- package/api/entities/NumberedPortfolio.js +8 -8
- package/api/entities/NumberedPortfolio.js.map +1 -1
- package/api/entities/Offering/index.d.ts +2 -2
- package/api/entities/Offering/index.d.ts.map +1 -1
- package/api/entities/Offering/index.js +10 -10
- package/api/entities/Offering/index.js.map +1 -1
- package/api/entities/Offering/types.d.ts +1 -1
- package/api/entities/Offering/types.d.ts.map +1 -1
- package/api/entities/Offering/types.js +3 -3
- package/api/entities/Offering/types.js.map +1 -1
- package/api/entities/PermissionGroup.d.ts +2 -2
- package/api/entities/PermissionGroup.d.ts.map +1 -1
- package/api/entities/PermissionGroup.js.map +1 -1
- package/api/entities/Portfolio/index.d.ts +2 -2
- package/api/entities/Portfolio/index.d.ts.map +1 -1
- package/api/entities/Portfolio/index.js +11 -11
- package/api/entities/Portfolio/index.js.map +1 -1
- package/api/entities/Portfolio/types.d.ts +4 -4
- package/api/entities/Portfolio/types.d.ts.map +1 -1
- package/api/entities/Subsidies.d.ts +2 -2
- package/api/entities/Subsidies.d.ts.map +1 -1
- package/api/entities/Subsidies.js.map +1 -1
- package/api/entities/Subsidy/index.d.ts +3 -3
- package/api/entities/Subsidy/index.d.ts.map +1 -1
- package/api/entities/Subsidy/index.js +8 -8
- package/api/entities/Subsidy/index.js.map +1 -1
- package/api/entities/Subsidy/types.d.ts +1 -1
- package/api/entities/Subsidy/types.d.ts.map +1 -1
- package/api/entities/TickerReservation/index.d.ts +2 -2
- package/api/entities/TickerReservation/index.d.ts.map +1 -1
- package/api/entities/TickerReservation/index.js +8 -8
- package/api/entities/TickerReservation/index.js.map +1 -1
- package/api/entities/TickerReservation/types.d.ts +2 -2
- package/api/entities/TickerReservation/types.d.ts.map +1 -1
- package/api/entities/TickerReservation/types.js +1 -1
- package/api/entities/TickerReservation/types.js.map +1 -1
- package/api/entities/Venue/index.d.ts +2 -2
- package/api/entities/Venue/index.d.ts.map +1 -1
- package/api/entities/Venue/index.js +13 -13
- package/api/entities/Venue/index.js.map +1 -1
- package/api/entities/Venue/types.d.ts +4 -4
- package/api/entities/Venue/types.d.ts.map +1 -1
- package/api/entities/Venue/types.js +1 -1
- package/api/entities/Venue/types.js.map +1 -1
- package/api/entities/common/namespaces/Authorizations.d.ts +4 -4
- package/api/entities/common/namespaces/Authorizations.d.ts.map +1 -1
- package/api/entities/common/namespaces/Authorizations.js +3 -3
- package/api/entities/common/namespaces/Authorizations.js.map +1 -1
- package/api/entities/types.d.ts +66 -69
- package/api/entities/types.d.ts.map +1 -1
- package/api/entities/types.js +10 -10
- package/api/entities/types.js.map +1 -1
- package/api/procedures/acceptPrimaryKeyRotation.d.ts +3 -3
- package/api/procedures/acceptPrimaryKeyRotation.d.ts.map +1 -1
- package/api/procedures/acceptPrimaryKeyRotation.js +7 -7
- package/api/procedures/acceptPrimaryKeyRotation.js.map +1 -1
- package/api/procedures/addAssetMediators.d.ts +4 -4
- package/api/procedures/addAssetMediators.d.ts.map +1 -1
- package/api/procedures/addAssetMediators.js +3 -3
- package/api/procedures/addAssetMediators.js.map +1 -1
- package/api/procedures/addAssetRequirement.d.ts +4 -4
- package/api/procedures/addAssetRequirement.d.ts.map +1 -1
- package/api/procedures/addAssetRequirement.js +4 -4
- package/api/procedures/addAssetRequirement.js.map +1 -1
- package/api/procedures/addInstruction.d.ts +4 -4
- package/api/procedures/addInstruction.d.ts.map +1 -1
- package/api/procedures/addInstruction.js +14 -14
- package/api/procedures/addInstruction.js.map +1 -1
- package/api/procedures/addSecondaryAccountsWithAuth.d.ts +3 -3
- package/api/procedures/addSecondaryAccountsWithAuth.d.ts.map +1 -1
- package/api/procedures/addSecondaryAccountsWithAuth.js +4 -4
- package/api/procedures/addSecondaryAccountsWithAuth.js.map +1 -1
- package/api/procedures/allowIdentityToCreatePortfolios.d.ts +3 -3
- package/api/procedures/allowIdentityToCreatePortfolios.d.ts.map +1 -1
- package/api/procedures/allowIdentityToCreatePortfolios.js +2 -2
- package/api/procedures/allowIdentityToCreatePortfolios.js.map +1 -1
- package/api/procedures/attestPrimaryKeyRotation.d.ts +3 -3
- package/api/procedures/attestPrimaryKeyRotation.d.ts.map +1 -1
- package/api/procedures/attestPrimaryKeyRotation.js +3 -3
- package/api/procedures/attestPrimaryKeyRotation.js.map +1 -1
- package/api/procedures/bondPolyx.d.ts +4 -4
- package/api/procedures/bondPolyx.d.ts.map +1 -1
- package/api/procedures/bondPolyx.js +4 -4
- package/api/procedures/bondPolyx.js.map +1 -1
- package/api/procedures/castBallotVote.d.ts +5 -5
- package/api/procedures/castBallotVote.d.ts.map +1 -1
- package/api/procedures/castBallotVote.js +8 -8
- package/api/procedures/castBallotVote.js.map +1 -1
- package/api/procedures/claimDividends.d.ts +2 -2
- package/api/procedures/claimDividends.d.ts.map +1 -1
- package/api/procedures/claimDividends.js +3 -3
- package/api/procedures/claimDividends.js.map +1 -1
- package/api/procedures/clearMetadata.d.ts +3 -3
- package/api/procedures/clearMetadata.d.ts.map +1 -1
- package/api/procedures/clearMetadata.js +3 -3
- package/api/procedures/clearMetadata.js.map +1 -1
- package/api/procedures/closeOffering.d.ts +2 -2
- package/api/procedures/closeOffering.d.ts.map +1 -1
- package/api/procedures/closeOffering.js +3 -3
- package/api/procedures/closeOffering.js.map +1 -1
- package/api/procedures/configureDividendDistribution.d.ts +4 -4
- package/api/procedures/configureDividendDistribution.d.ts.map +1 -1
- package/api/procedures/configureDividendDistribution.js +7 -7
- package/api/procedures/configureDividendDistribution.js.map +1 -1
- package/api/procedures/consumeAddMultiSigSignerAuthorization.d.ts +2 -2
- package/api/procedures/consumeAddMultiSigSignerAuthorization.d.ts.map +1 -1
- package/api/procedures/consumeAddMultiSigSignerAuthorization.js +6 -6
- package/api/procedures/consumeAddMultiSigSignerAuthorization.js.map +1 -1
- package/api/procedures/consumeAddRelayerPayingKeyAuthorization.d.ts +2 -2
- package/api/procedures/consumeAddRelayerPayingKeyAuthorization.d.ts.map +1 -1
- package/api/procedures/consumeAddRelayerPayingKeyAuthorization.js +9 -9
- package/api/procedures/consumeAddRelayerPayingKeyAuthorization.js.map +1 -1
- package/api/procedures/consumeAuthorizationRequests.d.ts +3 -3
- package/api/procedures/consumeAuthorizationRequests.d.ts.map +1 -1
- package/api/procedures/consumeAuthorizationRequests.js +7 -7
- package/api/procedures/consumeAuthorizationRequests.js.map +1 -1
- package/api/procedures/consumeJoinOrRotateAuthorization.d.ts +2 -2
- package/api/procedures/consumeJoinOrRotateAuthorization.d.ts.map +1 -1
- package/api/procedures/consumeJoinOrRotateAuthorization.js +9 -9
- package/api/procedures/consumeJoinOrRotateAuthorization.js.map +1 -1
- package/api/procedures/controllerTransfer.d.ts +4 -4
- package/api/procedures/controllerTransfer.d.ts.map +1 -1
- package/api/procedures/controllerTransfer.js +6 -6
- package/api/procedures/controllerTransfer.js.map +1 -1
- package/api/procedures/createAsset.d.ts +4 -4
- package/api/procedures/createAsset.d.ts.map +1 -1
- package/api/procedures/createAsset.js +9 -9
- package/api/procedures/createAsset.js.map +1 -1
- package/api/procedures/createBallot.d.ts +4 -4
- package/api/procedures/createBallot.d.ts.map +1 -1
- package/api/procedures/createBallot.js +3 -3
- package/api/procedures/createBallot.js.map +1 -1
- package/api/procedures/createCheckpoint.d.ts +2 -2
- package/api/procedures/createCheckpoint.d.ts.map +1 -1
- package/api/procedures/createCheckpoint.js +3 -3
- package/api/procedures/createCheckpoint.js.map +1 -1
- package/api/procedures/createCheckpointSchedule.d.ts +4 -4
- package/api/procedures/createCheckpointSchedule.d.ts.map +1 -1
- package/api/procedures/createCheckpointSchedule.js +3 -3
- package/api/procedures/createCheckpointSchedule.js.map +1 -1
- package/api/procedures/createChildIdentities.d.ts +3 -3
- package/api/procedures/createChildIdentities.d.ts.map +1 -1
- package/api/procedures/createChildIdentities.js +4 -4
- package/api/procedures/createChildIdentities.js.map +1 -1
- package/api/procedures/createChildIdentity.d.ts +3 -3
- package/api/procedures/createChildIdentity.d.ts.map +1 -1
- package/api/procedures/createChildIdentity.js +4 -4
- package/api/procedures/createChildIdentity.js.map +1 -1
- package/api/procedures/createGroup.d.ts +4 -4
- package/api/procedures/createGroup.d.ts.map +1 -1
- package/api/procedures/createGroup.js +4 -4
- package/api/procedures/createGroup.js.map +1 -1
- package/api/procedures/createMultiSig.d.ts +3 -3
- package/api/procedures/createMultiSig.d.ts.map +1 -1
- package/api/procedures/createMultiSig.js +2 -2
- package/api/procedures/createMultiSig.js.map +1 -1
- package/api/procedures/createNftCollection.d.ts +5 -5
- package/api/procedures/createNftCollection.d.ts.map +1 -1
- package/api/procedures/createNftCollection.js +11 -11
- package/api/procedures/createNftCollection.js.map +1 -1
- package/api/procedures/createPortfolios.d.ts +3 -3
- package/api/procedures/createPortfolios.d.ts.map +1 -1
- package/api/procedures/createPortfolios.js +3 -3
- package/api/procedures/createPortfolios.js.map +1 -1
- package/api/procedures/createTransactionBatch.d.ts +3 -3
- package/api/procedures/createTransactionBatch.d.ts.map +1 -1
- package/api/procedures/createTransactionBatch.js +4 -4
- package/api/procedures/createTransactionBatch.js.map +1 -1
- package/api/procedures/createVenue.d.ts +3 -3
- package/api/procedures/createVenue.d.ts.map +1 -1
- package/api/procedures/createVenue.js +2 -2
- package/api/procedures/createVenue.js.map +1 -1
- package/api/procedures/deletePortfolio.d.ts +2 -2
- package/api/procedures/deletePortfolio.d.ts.map +1 -1
- package/api/procedures/deletePortfolio.js +3 -3
- package/api/procedures/deletePortfolio.js.map +1 -1
- package/api/procedures/evaluateMultiSigProposal.d.ts +3 -3
- package/api/procedures/evaluateMultiSigProposal.d.ts.map +1 -1
- package/api/procedures/evaluateMultiSigProposal.js +2 -2
- package/api/procedures/evaluateMultiSigProposal.js.map +1 -1
- package/api/procedures/executeManualInstruction.d.ts +4 -4
- package/api/procedures/executeManualInstruction.d.ts.map +1 -1
- package/api/procedures/executeManualInstruction.js +8 -8
- package/api/procedures/executeManualInstruction.js.map +1 -1
- package/api/procedures/initiateCorporateAction.d.ts +4 -4
- package/api/procedures/initiateCorporateAction.d.ts.map +1 -1
- package/api/procedures/initiateCorporateAction.js +4 -4
- package/api/procedures/initiateCorporateAction.js.map +1 -1
- package/api/procedures/investInOffering.d.ts +5 -5
- package/api/procedures/investInOffering.d.ts.map +1 -1
- package/api/procedures/investInOffering.js +4 -4
- package/api/procedures/investInOffering.js.map +1 -1
- package/api/procedures/inviteAccount.d.ts +3 -3
- package/api/procedures/inviteAccount.d.ts.map +1 -1
- package/api/procedures/inviteAccount.js +3 -3
- package/api/procedures/inviteAccount.js.map +1 -1
- package/api/procedures/inviteExternalAgent.d.ts +4 -4
- package/api/procedures/inviteExternalAgent.d.ts.map +1 -1
- package/api/procedures/inviteExternalAgent.js +4 -4
- package/api/procedures/inviteExternalAgent.js.map +1 -1
- package/api/procedures/issueNft.d.ts +5 -5
- package/api/procedures/issueNft.d.ts.map +1 -1
- package/api/procedures/issueNft.js +4 -4
- package/api/procedures/issueNft.js.map +1 -1
- package/api/procedures/issueTokens.d.ts +4 -4
- package/api/procedures/issueTokens.d.ts.map +1 -1
- package/api/procedures/issueTokens.js +3 -3
- package/api/procedures/issueTokens.js.map +1 -1
- package/api/procedures/launchOffering.d.ts +4 -4
- package/api/procedures/launchOffering.d.ts.map +1 -1
- package/api/procedures/launchOffering.js +7 -7
- package/api/procedures/launchOffering.js.map +1 -1
- package/api/procedures/leaveIdentity.d.ts +2 -2
- package/api/procedures/leaveIdentity.d.ts.map +1 -1
- package/api/procedures/leaveIdentity.js +2 -2
- package/api/procedures/leaveIdentity.js.map +1 -1
- package/api/procedures/linkCaDocs.d.ts +4 -4
- package/api/procedures/linkCaDocs.d.ts.map +1 -1
- package/api/procedures/linkCaDocs.js +3 -3
- package/api/procedures/linkCaDocs.js.map +1 -1
- package/api/procedures/linkTickerToAsset.d.ts +4 -4
- package/api/procedures/linkTickerToAsset.d.ts.map +1 -1
- package/api/procedures/linkTickerToAsset.js +6 -6
- package/api/procedures/linkTickerToAsset.js.map +1 -1
- package/api/procedures/modifyAllowance.d.ts +4 -4
- package/api/procedures/modifyAllowance.d.ts.map +1 -1
- package/api/procedures/modifyAllowance.js +3 -3
- package/api/procedures/modifyAllowance.js.map +1 -1
- package/api/procedures/modifyAsset.d.ts +4 -4
- package/api/procedures/modifyAsset.d.ts.map +1 -1
- package/api/procedures/modifyAsset.js +6 -6
- package/api/procedures/modifyAsset.js.map +1 -1
- package/api/procedures/modifyAssetTrustedClaimIssuers.d.ts +4 -4
- package/api/procedures/modifyAssetTrustedClaimIssuers.d.ts.map +1 -1
- package/api/procedures/modifyAssetTrustedClaimIssuers.js +3 -3
- package/api/procedures/modifyAssetTrustedClaimIssuers.js.map +1 -1
- package/api/procedures/modifyBallot.d.ts +5 -5
- package/api/procedures/modifyBallot.d.ts.map +1 -1
- package/api/procedures/modifyBallot.js +7 -7
- package/api/procedures/modifyBallot.js.map +1 -1
- package/api/procedures/modifyCaCheckpoint.d.ts +4 -4
- package/api/procedures/modifyCaCheckpoint.d.ts.map +1 -1
- package/api/procedures/modifyCaCheckpoint.js +4 -4
- package/api/procedures/modifyCaCheckpoint.js.map +1 -1
- package/api/procedures/modifyCaDefaultConfig.d.ts +4 -4
- package/api/procedures/modifyCaDefaultConfig.d.ts.map +1 -1
- package/api/procedures/modifyCaDefaultConfig.js +4 -4
- package/api/procedures/modifyCaDefaultConfig.js.map +1 -1
- package/api/procedures/modifyClaims.d.ts +3 -3
- package/api/procedures/modifyClaims.d.ts.map +1 -1
- package/api/procedures/modifyClaims.js +3 -3
- package/api/procedures/modifyClaims.js.map +1 -1
- package/api/procedures/modifyComplianceRequirement.d.ts +4 -4
- package/api/procedures/modifyComplianceRequirement.d.ts.map +1 -1
- package/api/procedures/modifyComplianceRequirement.js +4 -4
- package/api/procedures/modifyComplianceRequirement.js.map +1 -1
- package/api/procedures/modifyCorporateActionsAgent.d.ts +4 -4
- package/api/procedures/modifyCorporateActionsAgent.d.ts.map +1 -1
- package/api/procedures/modifyCorporateActionsAgent.js +3 -3
- package/api/procedures/modifyCorporateActionsAgent.js.map +1 -1
- package/api/procedures/modifyInstructionAffirmation.d.ts +3 -3
- package/api/procedures/modifyInstructionAffirmation.d.ts.map +1 -1
- package/api/procedures/modifyInstructionAffirmation.js +5 -5
- package/api/procedures/modifyInstructionAffirmation.js.map +1 -1
- package/api/procedures/modifyMultiSig.d.ts +3 -3
- package/api/procedures/modifyMultiSig.d.ts.map +1 -1
- package/api/procedures/modifyMultiSig.js +9 -9
- package/api/procedures/modifyMultiSig.js.map +1 -1
- package/api/procedures/modifyOfferingTimes.d.ts +4 -4
- package/api/procedures/modifyOfferingTimes.d.ts.map +1 -1
- package/api/procedures/modifyOfferingTimes.js +3 -3
- package/api/procedures/modifyOfferingTimes.js.map +1 -1
- package/api/procedures/modifySignerPermissions.d.ts +3 -3
- package/api/procedures/modifySignerPermissions.d.ts.map +1 -1
- package/api/procedures/modifySignerPermissions.js +5 -5
- package/api/procedures/modifySignerPermissions.js.map +1 -1
- package/api/procedures/modifyVenue.d.ts +4 -4
- package/api/procedures/modifyVenue.d.ts.map +1 -1
- package/api/procedures/modifyVenue.js +3 -3
- package/api/procedures/modifyVenue.js.map +1 -1
- package/api/procedures/moveFunds.d.ts +4 -4
- package/api/procedures/moveFunds.d.ts.map +1 -1
- package/api/procedures/moveFunds.js +4 -4
- package/api/procedures/moveFunds.js.map +1 -1
- package/api/procedures/nftControllerTransfer.d.ts +4 -4
- package/api/procedures/nftControllerTransfer.d.ts.map +1 -1
- package/api/procedures/nftControllerTransfer.js +9 -9
- package/api/procedures/nftControllerTransfer.js.map +1 -1
- package/api/procedures/nominateValidators.d.ts +4 -4
- package/api/procedures/nominateValidators.d.ts.map +1 -1
- package/api/procedures/nominateValidators.js +4 -4
- package/api/procedures/nominateValidators.js.map +1 -1
- package/api/procedures/payDividends.d.ts +4 -4
- package/api/procedures/payDividends.d.ts.map +1 -1
- package/api/procedures/payDividends.js +4 -4
- package/api/procedures/payDividends.js.map +1 -1
- package/api/procedures/quitCustody.d.ts +4 -4
- package/api/procedures/quitCustody.d.ts.map +1 -1
- package/api/procedures/quitCustody.js +7 -7
- package/api/procedures/quitCustody.js.map +1 -1
- package/api/procedures/quitSubsidy.d.ts +2 -2
- package/api/procedures/quitSubsidy.d.ts.map +1 -1
- package/api/procedures/quitSubsidy.js +3 -3
- package/api/procedures/quitSubsidy.js.map +1 -1
- package/api/procedures/reclaimDividendDistributionFunds.d.ts +2 -2
- package/api/procedures/reclaimDividendDistributionFunds.d.ts.map +1 -1
- package/api/procedures/reclaimDividendDistributionFunds.js +5 -5
- package/api/procedures/reclaimDividendDistributionFunds.js.map +1 -1
- package/api/procedures/redeemNft.d.ts +4 -4
- package/api/procedures/redeemNft.d.ts.map +1 -1
- package/api/procedures/redeemNft.js +8 -8
- package/api/procedures/redeemNft.js.map +1 -1
- package/api/procedures/redeemTokens.d.ts +4 -4
- package/api/procedures/redeemTokens.d.ts.map +1 -1
- package/api/procedures/redeemTokens.js +8 -8
- package/api/procedures/redeemTokens.js.map +1 -1
- package/api/procedures/registerCustomAssetType.d.ts +3 -3
- package/api/procedures/registerCustomAssetType.d.ts.map +1 -1
- package/api/procedures/registerCustomAssetType.js +2 -2
- package/api/procedures/registerCustomAssetType.js.map +1 -1
- package/api/procedures/registerCustomClaimType.d.ts +4 -4
- package/api/procedures/registerCustomClaimType.d.ts.map +1 -1
- package/api/procedures/registerCustomClaimType.js +2 -2
- package/api/procedures/registerCustomClaimType.js.map +1 -1
- package/api/procedures/registerIdentity.d.ts +3 -3
- package/api/procedures/registerIdentity.d.ts.map +1 -1
- package/api/procedures/registerIdentity.js +2 -2
- package/api/procedures/registerIdentity.js.map +1 -1
- package/api/procedures/registerMetadata.d.ts +4 -4
- package/api/procedures/registerMetadata.d.ts.map +1 -1
- package/api/procedures/registerMetadata.js +3 -3
- package/api/procedures/registerMetadata.js.map +1 -1
- package/api/procedures/removeAssetMediators.d.ts +4 -4
- package/api/procedures/removeAssetMediators.d.ts.map +1 -1
- package/api/procedures/removeAssetMediators.js +3 -3
- package/api/procedures/removeAssetMediators.js.map +1 -1
- package/api/procedures/removeAssetRequirement.d.ts +4 -4
- package/api/procedures/removeAssetRequirement.d.ts.map +1 -1
- package/api/procedures/removeAssetRequirement.js +3 -3
- package/api/procedures/removeAssetRequirement.js.map +1 -1
- package/api/procedures/removeBallot.d.ts +3 -3
- package/api/procedures/removeBallot.d.ts.map +1 -1
- package/api/procedures/removeBallot.js +3 -3
- package/api/procedures/removeBallot.js.map +1 -1
- package/api/procedures/removeCheckpointSchedule.d.ts +4 -4
- package/api/procedures/removeCheckpointSchedule.d.ts.map +1 -1
- package/api/procedures/removeCheckpointSchedule.js +3 -3
- package/api/procedures/removeCheckpointSchedule.js.map +1 -1
- package/api/procedures/removeCorporateAction.d.ts +4 -4
- package/api/procedures/removeCorporateAction.d.ts.map +1 -1
- package/api/procedures/removeCorporateAction.js +3 -3
- package/api/procedures/removeCorporateAction.js.map +1 -1
- package/api/procedures/removeExternalAgent.d.ts +4 -4
- package/api/procedures/removeExternalAgent.d.ts.map +1 -1
- package/api/procedures/removeExternalAgent.js +4 -4
- package/api/procedures/removeExternalAgent.js.map +1 -1
- package/api/procedures/removeLocalMetadata.d.ts +3 -3
- package/api/procedures/removeLocalMetadata.d.ts.map +1 -1
- package/api/procedures/removeLocalMetadata.js +3 -3
- package/api/procedures/removeLocalMetadata.js.map +1 -1
- package/api/procedures/removeMultiSigPayer.d.ts +4 -4
- package/api/procedures/removeMultiSigPayer.d.ts.map +1 -1
- package/api/procedures/removeMultiSigPayer.js +4 -4
- package/api/procedures/removeMultiSigPayer.js.map +1 -1
- package/api/procedures/removeSecondaryAccounts.d.ts +3 -3
- package/api/procedures/removeSecondaryAccounts.d.ts.map +1 -1
- package/api/procedures/removeSecondaryAccounts.js +3 -3
- package/api/procedures/removeSecondaryAccounts.js.map +1 -1
- package/api/procedures/renamePortfolio.d.ts +4 -4
- package/api/procedures/renamePortfolio.d.ts.map +1 -1
- package/api/procedures/renamePortfolio.js +5 -5
- package/api/procedures/renamePortfolio.js.map +1 -1
- package/api/procedures/reserveTicker.d.ts +3 -3
- package/api/procedures/reserveTicker.d.ts.map +1 -1
- package/api/procedures/reserveTicker.js +3 -3
- package/api/procedures/reserveTicker.js.map +1 -1
- package/api/procedures/revokeIdentityToCreatePortfolios.d.ts +3 -3
- package/api/procedures/revokeIdentityToCreatePortfolios.d.ts.map +1 -1
- package/api/procedures/revokeIdentityToCreatePortfolios.js +2 -2
- package/api/procedures/revokeIdentityToCreatePortfolios.js.map +1 -1
- package/api/procedures/rotatePrimaryKey.d.ts +3 -3
- package/api/procedures/rotatePrimaryKey.d.ts.map +1 -1
- package/api/procedures/rotatePrimaryKey.js +3 -3
- package/api/procedures/rotatePrimaryKey.js.map +1 -1
- package/api/procedures/rotatePrimaryKeyToSecondary.d.ts +3 -3
- package/api/procedures/rotatePrimaryKeyToSecondary.d.ts.map +1 -1
- package/api/procedures/rotatePrimaryKeyToSecondary.js +3 -3
- package/api/procedures/rotatePrimaryKeyToSecondary.js.map +1 -1
- package/api/procedures/setAssetDocuments.d.ts +4 -4
- package/api/procedures/setAssetDocuments.d.ts.map +1 -1
- package/api/procedures/setAssetDocuments.js +6 -6
- package/api/procedures/setAssetDocuments.js.map +1 -1
- package/api/procedures/setAssetRequirements.d.ts +4 -4
- package/api/procedures/setAssetRequirements.d.ts.map +1 -1
- package/api/procedures/setAssetRequirements.js +4 -4
- package/api/procedures/setAssetRequirements.js.map +1 -1
- package/api/procedures/setAssetStats.d.ts +4 -4
- package/api/procedures/setAssetStats.d.ts.map +1 -1
- package/api/procedures/setAssetStats.js +3 -3
- package/api/procedures/setAssetStats.js.map +1 -1
- package/api/procedures/setCustodian.d.ts +4 -4
- package/api/procedures/setCustodian.d.ts.map +1 -1
- package/api/procedures/setCustodian.js +4 -4
- package/api/procedures/setCustodian.js.map +1 -1
- package/api/procedures/setGroupPermissions.d.ts +4 -4
- package/api/procedures/setGroupPermissions.d.ts.map +1 -1
- package/api/procedures/setGroupPermissions.js +3 -3
- package/api/procedures/setGroupPermissions.js.map +1 -1
- package/api/procedures/setMetadata.d.ts +4 -4
- package/api/procedures/setMetadata.d.ts.map +1 -1
- package/api/procedures/setMetadata.js +3 -3
- package/api/procedures/setMetadata.js.map +1 -1
- package/api/procedures/setMultiSigAdmin.d.ts +4 -4
- package/api/procedures/setMultiSigAdmin.d.ts.map +1 -1
- package/api/procedures/setMultiSigAdmin.js +3 -3
- package/api/procedures/setMultiSigAdmin.js.map +1 -1
- package/api/procedures/setPermissionGroup.d.ts +4 -4
- package/api/procedures/setPermissionGroup.d.ts.map +1 -1
- package/api/procedures/setPermissionGroup.js +7 -7
- package/api/procedures/setPermissionGroup.js.map +1 -1
- package/api/procedures/setStakingController.d.ts +4 -4
- package/api/procedures/setStakingController.d.ts.map +1 -1
- package/api/procedures/setStakingController.js +4 -4
- package/api/procedures/setStakingController.js.map +1 -1
- package/api/procedures/setStakingPayee.d.ts +4 -4
- package/api/procedures/setStakingPayee.d.ts.map +1 -1
- package/api/procedures/setStakingPayee.js +4 -4
- package/api/procedures/setStakingPayee.js.map +1 -1
- package/api/procedures/setTransferRestrictionExemptions.d.ts +4 -4
- package/api/procedures/setTransferRestrictionExemptions.d.ts.map +1 -1
- package/api/procedures/setTransferRestrictionExemptions.js +3 -3
- package/api/procedures/setTransferRestrictionExemptions.js.map +1 -1
- package/api/procedures/setTransferRestrictions.d.ts +4 -4
- package/api/procedures/setTransferRestrictions.d.ts.map +1 -1
- package/api/procedures/setTransferRestrictions.js +3 -3
- package/api/procedures/setTransferRestrictions.js.map +1 -1
- package/api/procedures/setVenueFiltering.d.ts +4 -4
- package/api/procedures/setVenueFiltering.d.ts.map +1 -1
- package/api/procedures/setVenueFiltering.js +3 -3
- package/api/procedures/setVenueFiltering.js.map +1 -1
- package/api/procedures/subsidizeAccount.d.ts +3 -3
- package/api/procedures/subsidizeAccount.d.ts.map +1 -1
- package/api/procedures/subsidizeAccount.js +3 -3
- package/api/procedures/subsidizeAccount.js.map +1 -1
- package/api/procedures/toggleAssetPreApproval.d.ts +2 -2
- package/api/procedures/toggleAssetPreApproval.d.ts.map +1 -1
- package/api/procedures/toggleAssetPreApproval.js +3 -3
- package/api/procedures/toggleAssetPreApproval.js.map +1 -1
- package/api/procedures/toggleFreezeOffering.d.ts +2 -2
- package/api/procedures/toggleFreezeOffering.d.ts.map +1 -1
- package/api/procedures/toggleFreezeOffering.js +3 -3
- package/api/procedures/toggleFreezeOffering.js.map +1 -1
- package/api/procedures/toggleFreezeSecondaryAccounts.d.ts +2 -2
- package/api/procedures/toggleFreezeSecondaryAccounts.d.ts.map +1 -1
- package/api/procedures/toggleFreezeSecondaryAccounts.js +3 -3
- package/api/procedures/toggleFreezeSecondaryAccounts.js.map +1 -1
- package/api/procedures/toggleFreezeTransfers.d.ts +3 -3
- package/api/procedures/toggleFreezeTransfers.d.ts.map +1 -1
- package/api/procedures/toggleFreezeTransfers.js +3 -3
- package/api/procedures/toggleFreezeTransfers.js.map +1 -1
- package/api/procedures/togglePauseRequirements.d.ts +3 -3
- package/api/procedures/togglePauseRequirements.d.ts.map +1 -1
- package/api/procedures/togglePauseRequirements.js +3 -3
- package/api/procedures/togglePauseRequirements.js.map +1 -1
- package/api/procedures/transferAssetOwnership.d.ts +4 -4
- package/api/procedures/transferAssetOwnership.d.ts.map +1 -1
- package/api/procedures/transferAssetOwnership.js +4 -4
- package/api/procedures/transferAssetOwnership.js.map +1 -1
- package/api/procedures/transferPolyx.d.ts +3 -3
- package/api/procedures/transferPolyx.d.ts.map +1 -1
- package/api/procedures/transferPolyx.js +3 -3
- package/api/procedures/transferPolyx.js.map +1 -1
- package/api/procedures/transferTickerOwnership.d.ts +4 -4
- package/api/procedures/transferTickerOwnership.d.ts.map +1 -1
- package/api/procedures/transferTickerOwnership.js +4 -4
- package/api/procedures/transferTickerOwnership.js.map +1 -1
- package/api/procedures/types.d.ts +48 -48
- package/api/procedures/types.d.ts.map +1 -1
- package/api/procedures/types.js +7 -7
- package/api/procedures/types.js.map +1 -1
- package/api/procedures/unlinkChildIdentity.d.ts +3 -3
- package/api/procedures/unlinkChildIdentity.d.ts.map +1 -1
- package/api/procedures/unlinkChildIdentity.js +4 -4
- package/api/procedures/unlinkChildIdentity.js.map +1 -1
- package/api/procedures/unlinkTickerFromAsset.d.ts +3 -3
- package/api/procedures/unlinkTickerFromAsset.d.ts.map +1 -1
- package/api/procedures/unlinkTickerFromAsset.js +6 -6
- package/api/procedures/unlinkTickerFromAsset.js.map +1 -1
- package/api/procedures/updateBondedPolyx.d.ts +4 -4
- package/api/procedures/updateBondedPolyx.d.ts.map +1 -1
- package/api/procedures/updateBondedPolyx.js +4 -4
- package/api/procedures/updateBondedPolyx.js.map +1 -1
- package/api/procedures/updateVenueSigners.d.ts +4 -4
- package/api/procedures/updateVenueSigners.d.ts.map +1 -1
- package/api/procedures/updateVenueSigners.js +3 -3
- package/api/procedures/updateVenueSigners.js.map +1 -1
- package/api/procedures/utils.d.ts +2 -2
- package/api/procedures/utils.d.ts.map +1 -1
- package/api/procedures/utils.js +23 -23
- package/api/procedures/utils.js.map +1 -1
- package/api/procedures/waivePermissions.d.ts +4 -4
- package/api/procedures/waivePermissions.d.ts.map +1 -1
- package/api/procedures/waivePermissions.js +6 -6
- package/api/procedures/waivePermissions.js.map +1 -1
- package/api/procedures/withdrawUnbondedPolyx.d.ts +4 -4
- package/api/procedures/withdrawUnbondedPolyx.d.ts.map +1 -1
- package/api/procedures/withdrawUnbondedPolyx.js +4 -4
- package/api/procedures/withdrawUnbondedPolyx.js.map +1 -1
- package/base/Context.d.ts +4 -4
- package/base/Context.d.ts.map +1 -1
- package/base/Context.js +6 -6
- package/base/Context.js.map +1 -1
- package/base/PolymeshError.d.ts +1 -1
- package/base/PolymeshError.d.ts.map +1 -1
- package/base/PolymeshError.js.map +1 -1
- package/base/PolymeshTransaction.d.ts +3 -3
- package/base/PolymeshTransaction.d.ts.map +1 -1
- package/base/PolymeshTransaction.js +12 -12
- package/base/PolymeshTransaction.js.map +1 -1
- package/base/PolymeshTransactionBase.d.ts +3 -4
- package/base/PolymeshTransactionBase.d.ts.map +1 -1
- package/base/PolymeshTransactionBase.js +17 -17
- package/base/PolymeshTransactionBase.js.map +1 -1
- package/base/PolymeshTransactionBatch.d.ts +3 -3
- package/base/PolymeshTransactionBatch.d.ts.map +1 -1
- package/base/PolymeshTransactionBatch.js +15 -15
- package/base/PolymeshTransactionBatch.js.map +1 -1
- package/base/Procedure.d.ts +3 -3
- package/base/Procedure.d.ts.map +1 -1
- package/base/Procedure.js +3 -3
- package/base/Procedure.js.map +1 -1
- package/base/types.d.ts +9 -9
- package/base/types.d.ts.map +1 -1
- package/base/types.js +3 -3
- package/base/types.js.map +1 -1
- package/base/utils.d.ts +4 -4
- package/base/utils.d.ts.map +1 -1
- package/base/utils.js +1 -1
- package/base/utils.js.map +1 -1
- package/generated/utils.d.ts +2 -2
- package/generated/utils.d.ts.map +1 -1
- package/generated/utils.js +2 -3
- package/generated/utils.js.map +1 -1
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -1
- package/internal.d.ts +141 -141
- package/internal.d.ts.map +1 -1
- package/middleware/queries/assets.d.ts +2 -2
- package/middleware/queries/assets.d.ts.map +1 -1
- package/middleware/queries/assets.js +7 -8
- package/middleware/queries/assets.js.map +1 -1
- package/middleware/queries/authorizations.d.ts +3 -3
- package/middleware/queries/authorizations.d.ts.map +1 -1
- package/middleware/queries/authorizations.js +3 -4
- package/middleware/queries/authorizations.js.map +1 -1
- package/middleware/queries/claims.d.ts +2 -2
- package/middleware/queries/claims.d.ts.map +1 -1
- package/middleware/queries/claims.js +8 -9
- package/middleware/queries/claims.js.map +1 -1
- package/middleware/queries/common.js +8 -9
- package/middleware/queries/common.js.map +1 -1
- package/middleware/queries/distributions.d.ts +2 -2
- package/middleware/queries/distributions.d.ts.map +1 -1
- package/middleware/queries/distributions.js +3 -4
- package/middleware/queries/distributions.js.map +1 -1
- package/middleware/queries/events.d.ts +3 -3
- package/middleware/queries/events.d.ts.map +1 -1
- package/middleware/queries/events.js +3 -4
- package/middleware/queries/events.js.map +1 -1
- package/middleware/queries/externalAgents.d.ts +3 -3
- package/middleware/queries/externalAgents.d.ts.map +1 -1
- package/middleware/queries/externalAgents.js +5 -6
- package/middleware/queries/externalAgents.js.map +1 -1
- package/middleware/queries/extrinsics.d.ts +3 -3
- package/middleware/queries/extrinsics.d.ts.map +1 -1
- package/middleware/queries/extrinsics.js +4 -5
- package/middleware/queries/extrinsics.js.map +1 -1
- package/middleware/queries/multisigs.d.ts +3 -3
- package/middleware/queries/multisigs.d.ts.map +1 -1
- package/middleware/queries/multisigs.js +5 -6
- package/middleware/queries/multisigs.js.map +1 -1
- package/middleware/queries/polyxTransactions.d.ts +1 -1
- package/middleware/queries/polyxTransactions.d.ts.map +1 -1
- package/middleware/queries/polyxTransactions.js +3 -4
- package/middleware/queries/polyxTransactions.js.map +1 -1
- package/middleware/queries/portfolios.d.ts +3 -3
- package/middleware/queries/portfolios.d.ts.map +1 -1
- package/middleware/queries/portfolios.js +4 -5
- package/middleware/queries/portfolios.js.map +1 -1
- package/middleware/queries/settlements.d.ts +8 -8
- package/middleware/queries/settlements.d.ts.map +1 -1
- package/middleware/queries/settlements.js +11 -11
- package/middleware/queries/settlements.js.map +1 -1
- package/middleware/queries/stos.d.ts +2 -2
- package/middleware/queries/stos.d.ts.map +1 -1
- package/middleware/queries/stos.js +3 -4
- package/middleware/queries/stos.js.map +1 -1
- package/middleware/types.d.ts +196 -196
- package/middleware/types.d.ts.map +1 -1
- package/middleware/types.js +93 -93
- package/middleware/types.js.map +1 -1
- package/middleware/typesV1.d.ts +2 -2
- package/middleware/typesV1.d.ts.map +1 -1
- package/middleware/typesV1.js +3 -3
- package/middleware/typesV1.js.map +1 -1
- package/npm-package/polymeshassociation-polymesh-sdk-28.0.0-beta.3.tgz +0 -0
- package/package.json +15 -13
- package/types/index.d.ts +8 -8
- package/types/index.d.ts.map +1 -1
- package/types/index.js.map +1 -1
- package/types/internal.d.ts +37 -41
- package/types/internal.d.ts.map +1 -1
- package/types/internal.js +4 -4
- package/types/internal.js.map +1 -1
- package/types/utils/index.d.ts +12 -12
- package/types/utils/index.d.ts.map +1 -1
- package/utils/constants.d.ts +1 -1
- package/utils/constants.d.ts.map +1 -1
- package/utils/constants.js.map +1 -1
- package/utils/conversion.d.ts +22 -14
- package/utils/conversion.d.ts.map +1 -1
- package/utils/conversion.js +286 -276
- package/utils/conversion.js.map +1 -1
- package/utils/internal.d.ts +13 -13
- package/utils/internal.d.ts.map +1 -1
- package/utils/internal.js +82 -84
- package/utils/internal.js.map +1 -1
- package/utils/strings.d.ts.map +1 -1
- package/utils/strings.js.map +1 -1
- package/utils/typeguards.d.ts +5 -5
- package/utils/typeguards.d.ts.map +1 -1
- package/utils/typeguards.js +45 -45
- package/utils/typeguards.js.map +1 -1
- package/npm-package/polymeshassociation-polymesh-sdk-28.0.0-beta.1.tgz +0 -0
|
@@ -9,7 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.createMultiSigAccount = exports.
|
|
12
|
+
exports.createMultiSigAccount = exports.createMultiSigResolver = void 0;
|
|
13
|
+
exports.prepareCreateMultiSigAccount = prepareCreateMultiSigAccount;
|
|
13
14
|
const internal_1 = require("../../internal");
|
|
14
15
|
const types_1 = require("../../types");
|
|
15
16
|
const conversion_1 = require("../../utils/conversion");
|
|
@@ -54,7 +55,6 @@ function prepareCreateMultiSigAccount(args) {
|
|
|
54
55
|
};
|
|
55
56
|
});
|
|
56
57
|
}
|
|
57
|
-
exports.prepareCreateMultiSigAccount = prepareCreateMultiSigAccount;
|
|
58
58
|
/**
|
|
59
59
|
* @hidden
|
|
60
60
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createMultiSig.js","sourceRoot":"","sources":["../../../src/api/procedures/createMultiSig.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"createMultiSig.js","sourceRoot":"","sources":["../../../src/api/procedures/createMultiSig.ts"],"names":[],"mappings":";;;;;;;;;;;;AAyBA,oEA4CC;AAnED,yCAAmF;AACnF,mCAA2E;AAE3E,m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OAAO,CAAC,CAAC;QAC1E,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAC1C,IAAA,8BAAiB,EAAE,MAAkB,CAAC,OAAO,EAAE,OAAO,CAAC,CACxD,CAAC;QAEF,MAAM,iBAAiB,GAAG,WAAW;YACnC,CAAC,CAAC,IAAA,yCAA4B,EAAC,WAAW,EAAE,OAAO,CAAC;YACpD,CAAC,CAAC,SAAS,CAAC;QACd,MAAM,cAAc,GAAG,IAAA,oBAAS,EAAC,yCAA4B,CAAC,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAE3F,OAAO;YACL,WAAW,EAAE,EAAE,CAAC,QAAQ,CAAC,cAAc;YACvC,QAAQ,EAAE,IAAA,8BAAsB,EAAC,OAAO,CAAC;YACzC,IAAI,EAAE,CAAC,cAAc,EAAE,qBAAqB,EAAE,cAAc,CAAC;SAC9D,CAAC;IACJ,CAAC;CAAA;AAED;;GAEG;AACI,MAAM,qBAAqB,GAAG,GAA8C,EAAE,CACnF,IAAI,oBAAS,CAAC,4BAA4B,EAAE;IAC1C,WAAW,EAAE;QACX,YAAY,EAAE,CAAC,cAAM,CAAC,QAAQ,CAAC,cAAc,CAAC;KAC/C;CACF,CAAC,CAAC;AALQ,QAAA,qBAAqB,yBAK7B"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Context, NftCollection, PolymeshError, Procedure } from
|
|
2
|
-
import { CreateNftCollectionParams, TickerReservationStatus } from
|
|
3
|
-
import { BatchTransactionSpec, CustomTypeData, ProcedureAuthorization } from
|
|
1
|
+
import { Context, NftCollection, PolymeshError, Procedure } from '../../internal';
|
|
2
|
+
import { CreateNftCollectionParams, TickerReservationStatus } from '../../types';
|
|
3
|
+
import { BatchTransactionSpec, CustomTypeData, ProcedureAuthorization } from '../../types/internal';
|
|
4
4
|
/**
|
|
5
5
|
* @hidden
|
|
6
6
|
*/
|
|
7
|
-
export
|
|
7
|
+
export type Params = CreateNftCollectionParams;
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
@@ -31,7 +31,7 @@ export declare function getAuthorization(this: Procedure<Params, NftCollection,
|
|
|
31
31
|
* @hidden
|
|
32
32
|
*/
|
|
33
33
|
export declare function assertNftCollectionDoesNotExists(id: string, context: Context, errorParams: ConstructorParameters<typeof PolymeshError>[0]): Promise<void>;
|
|
34
|
-
|
|
34
|
+
type StorageAssetAttributes = 'status' | 'assetId' | 'isAssetCreated';
|
|
35
35
|
/**
|
|
36
36
|
* @hidden
|
|
37
37
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createNftCollection.d.ts","sourceRoot":"","sources":["../../../src/api/procedures/createNftCollection.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,OAAO,EAEP,aAAa,EACb,aAAa,EACb,SAAS,EAEV,
|
|
1
|
+
{"version":3,"file":"createNftCollection.d.ts","sourceRoot":"","sources":["../../../src/api/procedures/createNftCollection.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,OAAO,EAEP,aAAa,EACb,aAAa,EACb,SAAS,EAEV,MAAM,YAAY,CAAC;AACpB,OAAO,EAEL,yBAAyB,EAOzB,uBAAuB,EAGxB,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,sBAAsB,EAEvB,MAAM,kBAAkB,CAAC;AAkC1B;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,yBAAyB,CAAC;AAE/C;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB;;;OAGG;IACH,cAAc,EAAE,cAAc,GAAG,IAAI,CAAC;IAEtC,kBAAkB,EAAE,OAAO,CAAC;IAC5B,MAAM,CAAC,EAAE,uBAAuB,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,OAAO,CAAC;CACzB;AAuFD;;GAEG;AACH,wBAAsB,0BAA0B,CAC9C,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,OAAO,CAAC,EAC/C,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,oBAAoB,CAAC,aAAa,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,CA+G3D;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,OAAO,CAAC,EAC/C,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,MAAM,GAC5B,OAAO,CAAC,sBAAsB,CAAC,CAsDjC;AAED;;GAEG;AACH,wBAAsB,gCAAgC,CACpD,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,qBAAqB,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,GAC1D,OAAO,CAAC,IAAI,CAAC,CAOf;AAED,KAAK,sBAAsB,GAAG,QAAQ,GAAG,SAAS,GAAG,gBAAgB,CAAC;AACtE;;GAEG;AACH,wBAAsB,8BAA8B,CAClD,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,MAAM,GACf,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,sBAAsB,CAAC,CAAC,CAqChD;AAED;;GAEG;AACH,wBAAsB,cAAc,CAClC,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,OAAO,CAAC,EAC/C,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,EAAE,MAAM,GACnD,OAAO,CAAC,OAAO,CAAC,CAsClB;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB,QAAO,SAAS,CAAC,MAAM,EAAE,aAAa,EAAE,OAAO,CACF,CAAC"}
|
|
@@ -12,7 +12,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
12
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.createNftCollection =
|
|
15
|
+
exports.createNftCollection = void 0;
|
|
16
|
+
exports.prepareCreateNftCollection = prepareCreateNftCollection;
|
|
17
|
+
exports.getAuthorization = getAuthorization;
|
|
18
|
+
exports.assertNftCollectionDoesNotExists = assertNftCollectionDoesNotExists;
|
|
19
|
+
exports.prepareStorageForTickerDetails = prepareStorageForTickerDetails;
|
|
20
|
+
exports.prepareStorage = prepareStorage;
|
|
16
21
|
const bignumber_js_1 = __importDefault(require("bignumber.js"));
|
|
17
22
|
const lodash_1 = require("lodash");
|
|
18
23
|
const internal_1 = require("../../internal");
|
|
@@ -46,8 +51,8 @@ function isGlobalMetadata(value) {
|
|
|
46
51
|
* @hidden
|
|
47
52
|
*/
|
|
48
53
|
function getCreateAssetTxAndFees(context, storage, args) {
|
|
49
|
-
var _a;
|
|
50
54
|
return __awaiter(this, void 0, void 0, function* () {
|
|
55
|
+
var _a;
|
|
51
56
|
const { polymeshApi: { tx }, } = context;
|
|
52
57
|
const { customTypeData, assetId } = storage;
|
|
53
58
|
const { ticker, nftType, name, securityIdentifiers = [], fundingRound } = args;
|
|
@@ -172,12 +177,11 @@ function prepareCreateNftCollection(args) {
|
|
|
172
177
|
};
|
|
173
178
|
});
|
|
174
179
|
}
|
|
175
|
-
exports.prepareCreateNftCollection = prepareCreateNftCollection;
|
|
176
180
|
/**
|
|
177
181
|
* @hidden
|
|
178
182
|
*/
|
|
179
|
-
function getAuthorization(
|
|
180
|
-
return __awaiter(this,
|
|
183
|
+
function getAuthorization(_a) {
|
|
184
|
+
return __awaiter(this, arguments, void 0, function* ({ ticker, documents }) {
|
|
181
185
|
const { storage: { status, needsLocalMetadata, isAssetCreated, assetId, customTypeData }, context, } = this;
|
|
182
186
|
const transactions = [types_1.TxTags.nft.CreateNftCollection];
|
|
183
187
|
if (customTypeData && !customTypeData.isAlreadyCreated) {
|
|
@@ -217,7 +221,6 @@ function getAuthorization({ ticker, documents }) {
|
|
|
217
221
|
return { permissions };
|
|
218
222
|
});
|
|
219
223
|
}
|
|
220
|
-
exports.getAuthorization = getAuthorization;
|
|
221
224
|
/**
|
|
222
225
|
* @hidden
|
|
223
226
|
*/
|
|
@@ -230,7 +233,6 @@ function assertNftCollectionDoesNotExists(id, context, errorParams) {
|
|
|
230
233
|
}
|
|
231
234
|
});
|
|
232
235
|
}
|
|
233
|
-
exports.assertNftCollectionDoesNotExists = assertNftCollectionDoesNotExists;
|
|
234
236
|
/**
|
|
235
237
|
* @hidden
|
|
236
238
|
*/
|
|
@@ -271,12 +273,11 @@ function prepareStorageForTickerDetails(context, ticker, assetId) {
|
|
|
271
273
|
return storageStatus;
|
|
272
274
|
});
|
|
273
275
|
}
|
|
274
|
-
exports.prepareStorageForTickerDetails = prepareStorageForTickerDetails;
|
|
275
276
|
/**
|
|
276
277
|
* @hidden
|
|
277
278
|
*/
|
|
278
|
-
function prepareStorage(
|
|
279
|
-
return __awaiter(this,
|
|
279
|
+
function prepareStorage(_a) {
|
|
280
|
+
return __awaiter(this, arguments, void 0, function* ({ ticker, assetId, nftType, collectionKeys }) {
|
|
280
281
|
const { context } = this;
|
|
281
282
|
let storageStatus = {
|
|
282
283
|
isAssetCreated: false,
|
|
@@ -303,7 +304,6 @@ function prepareStorage({ ticker, assetId, nftType, collectionKeys }) {
|
|
|
303
304
|
needsLocalMetadata }, storageStatus);
|
|
304
305
|
});
|
|
305
306
|
}
|
|
306
|
-
exports.prepareStorage = prepareStorage;
|
|
307
307
|
/**
|
|
308
308
|
* @hidden
|
|
309
309
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createNftCollection.js","sourceRoot":"","sources":["../../../src/api/procedures/createNftCollection.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"createNftCollection.js","sourceRoot":"","sources":["../../../src/api/procedures/createNftCollection.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AA8KA,gEAkHC;AAKD,4CAyDC;AAKD,4EAWC;AAMD,wEAyCC;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AE;gBACvD,IAAI,EAAE,iBAAS,CAAC,iBAAiB;gBACjC,OAAO,EAAE,0DAA0D;gBACnE,IAAI,EAAE,EAAE,OAAO,EAAE;aAClB,CAAC,CAAC;QACL,CAAC;aAAM,CAAC;YACN,aAAa,CAAC,OAAO,GAAG,MAAM,OAAO,CAAC,iBAAiB,EAAE,CAAC,cAAc,EAAE,CAAC;QAC7E,CAAC;QAED,MAAM,kBAAkB,GAAG,cAAc,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAEhE,MAAM,cAAc,GAAG,MAAM,IAAA,sCAA2B,EACtD,OAAO,EACP,IAAA,eAAM,EAAC,oBAAY,CAAC,EACpB,OAAO,EACP,qBAAqB,CACtB,CAAC;QAEF,uBACE,cAAc;YACd,kBAAkB,IACf,aAAa,EAChB;IACJ,CAAC;CAAA;AAED;;GAEG;AACI,MAAM,mBAAmB,GAAG,GAA8C,EAAE,CACjF,IAAI,oBAAS,CAAC,0BAA0B,EAAE,gBAAgB,EAAE,cAAc,CAAC,CAAC;AADjE,QAAA,mBAAmB,uBAC8C"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ISubmittableResult } from '@polkadot/types/types';
|
|
2
|
-
import { Context, NumberedPortfolio, Procedure } from
|
|
3
|
-
import { BatchTransactionSpec, ProcedureAuthorization } from
|
|
4
|
-
|
|
2
|
+
import { Context, NumberedPortfolio, Procedure } from '../../internal';
|
|
3
|
+
import { BatchTransactionSpec, ProcedureAuthorization } from '../../types/internal';
|
|
4
|
+
type PortfolioParams = {
|
|
5
5
|
name: string;
|
|
6
6
|
ownerDid?: string;
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPortfolios.d.ts","sourceRoot":"","sources":["../../../src/api/procedures/createPortfolios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAiB,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"createPortfolios.d.ts","sourceRoot":"","sources":["../../../src/api/procedures/createPortfolios.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAiB,SAAS,EAAE,MAAM,YAAY,CAAC;AAElF,OAAO,EAAE,oBAAoB,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAShF,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,MAAM;IACrB,UAAU,EAAE,eAAe,EAAE,CAAC;CAC/B;AACD;;GAEG;AACH,eAAO,MAAM,wBAAwB,GAClC,SAAS,OAAO,MAChB,SAAS,kBAAkB,KAAG,iBAAiB,EAO/C,CAAC;AACJ;;GAEG;AACH,wBAAsB,uBAAuB,CAC3C,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,EAC5C,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,oBAAoB,CAAC,iBAAiB,EAAE,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,CAuEjE;AACD;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,EAC5C,EAAE,UAAU,EAAE,EAAE,MAAM,GACrB,sBAAsB,CAexB;AACD;;GAEG;AACH,eAAO,MAAM,gBAAgB,QAAO,SAAS,CAAC,MAAM,EAAE,iBAAiB,EAAE,CACf,CAAC"}
|
|
@@ -9,7 +9,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.createPortfolios = exports.
|
|
12
|
+
exports.createPortfolios = exports.createPortfoliosResolver = void 0;
|
|
13
|
+
exports.prepareCreatePortfolios = prepareCreatePortfolios;
|
|
14
|
+
exports.getAuthorization = getAuthorization;
|
|
13
15
|
const internal_1 = require("../../internal");
|
|
14
16
|
const types_1 = require("../../types");
|
|
15
17
|
const conversion_1 = require("../../utils/conversion");
|
|
@@ -87,7 +89,6 @@ function prepareCreatePortfolios(args) {
|
|
|
87
89
|
};
|
|
88
90
|
});
|
|
89
91
|
}
|
|
90
|
-
exports.prepareCreatePortfolios = prepareCreatePortfolios;
|
|
91
92
|
/**
|
|
92
93
|
* @hidden
|
|
93
94
|
*/
|
|
@@ -107,7 +108,6 @@ function getAuthorization({ portfolios }) {
|
|
|
107
108
|
},
|
|
108
109
|
};
|
|
109
110
|
}
|
|
110
|
-
exports.getAuthorization = getAuthorization;
|
|
111
111
|
/**
|
|
112
112
|
* @hidden
|
|
113
113
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createPortfolios.js","sourceRoot":"","sources":["../../../src/api/procedures/createPortfolios.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"createPortfolios.js","sourceRoot":"","sources":["../../../src/api/procedures/createPortfolios.ts"],"names":[],"mappings":";;;;;;;;;;;;AAwCA,0DA0EC;AAID,4CAkBC;AAtID,yCAAkF;AAClF,mCAA4C;AAE5C,mDAK4B;AAC5B,+CAA0F;AAa1F;;GAEG;AACI,MAAM,wBAAwB,GACnC,CAAC,OAAgB,EAAE,EAAE,CACrB,CAAC,OAA2B,EAAuB,EAAE;IACnD,MAAM,OAAO,GAAG,IAAA,6BAAkB,EAAC,OAAO,EAAE,WAAW,EAAE,kBAAkB,CAAC,CAAC;IAC7E,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;QAC9B,MAAM,GAAG,GAAG,IAAA,+BAAkB,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC;QACxC,M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ction, TxWithArgs } from
|
|
1
|
+
import { Procedure } from '../../internal';
|
|
2
|
+
import { CreateTransactionBatchParams, TxTag } from '../../types';
|
|
3
|
+
import { BatchTransactionSpec, ProcedureAuthorization, ResolverFunction, TxWithArgs } from '../../types/internal';
|
|
4
4
|
export interface Storage {
|
|
5
5
|
processedTransactions: TxWithArgs[];
|
|
6
6
|
tags: TxTag[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createTransactionBatch.d.ts","sourceRoot":"","sources":["../../../src/api/procedures/createTransactionBatch.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiD,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"createTransactionBatch.d.ts","sourceRoot":"","sources":["../../../src/api/procedures/createTransactionBatch.ts"],"names":[],"mappings":"AAGA,OAAO,EAAiD,SAAS,EAAE,MAAM,YAAY,CAAC;AACtF,OAAO,EAAE,4BAA4B,EAAE,KAAK,EAAU,MAAM,SAAS,CAAC;AACtE,OAAO,EACL,oBAAoB,EAEpB,sBAAsB,EACtB,gBAAgB,EAEhB,UAAU,EACX,MAAM,kBAAkB,CAAC;AAK1B,MAAM,WAAW,OAAO;IACtB,qBAAqB,EAAE,UAAU,EAAE,CAAC;IACpC,IAAI,EAAE,KAAK,EAAE,CAAC;IACd,SAAS,EAAE,gBAAgB,CAAC,OAAO,CAAC,EAAE,CAAC;CACxC;AAED;;GAEG;AACH,wBAAsB,6BAA6B,CAAC,YAAY,SAAS,OAAO,EAAE,EAChF,IAAI,EAAE,SAAS,CAAC,4BAA4B,CAAC,YAAY,CAAC,EAAE,YAAY,EAAE,OAAO,CAAC,GACjF,OAAO,CAAC,oBAAoB,CAAC,YAAY,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,CAQ1D;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,YAAY,SAAS,OAAO,EAAE,EAC7D,IAAI,EAAE,SAAS,CAAC,4BAA4B,CAAC,YAAY,CAAC,EAAE,YAAY,EAAE,OAAO,CAAC,GACjF,sBAAsB,CAUxB;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,YAAY,SAAS,OAAO,EAAE,EAC3D,IAAI,EAAE,SAAS,CAAC,4BAA4B,CAAC,YAAY,CAAC,EAAE,YAAY,EAAE,OAAO,CAAC,EAClF,IAAI,EAAE,4BAA4B,CAAC,YAAY,CAAC,GAC/C,OAAO,CAgHT;AAED;;GAEG;AACH,eAAO,MAAM,sBAAsB,GAAI,YAAY,SAAS,OAAO,EAAE,OAAK,SAAS,CACjF,4BAA4B,CAAC,YAAY,CAAC,EAC1C,YAAY,EACZ,OAAO,CAMN,CAAC"}
|
|
@@ -9,7 +9,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.createTransactionBatch =
|
|
12
|
+
exports.createTransactionBatch = void 0;
|
|
13
|
+
exports.prepareCreateTransactionBatch = prepareCreateTransactionBatch;
|
|
14
|
+
exports.getAuthorization = getAuthorization;
|
|
15
|
+
exports.prepareStorage = prepareStorage;
|
|
13
16
|
const lodash_1 = require("lodash");
|
|
14
17
|
const internal_1 = require("../../internal");
|
|
15
18
|
const types_1 = require("../../types");
|
|
@@ -29,7 +32,6 @@ function prepareCreateTransactionBatch() {
|
|
|
29
32
|
};
|
|
30
33
|
});
|
|
31
34
|
}
|
|
32
|
-
exports.prepareCreateTransactionBatch = prepareCreateTransactionBatch;
|
|
33
35
|
/**
|
|
34
36
|
* @hidden
|
|
35
37
|
*/
|
|
@@ -41,7 +43,6 @@ function getAuthorization() {
|
|
|
41
43
|
},
|
|
42
44
|
};
|
|
43
45
|
}
|
|
44
|
-
exports.getAuthorization = getAuthorization;
|
|
45
46
|
/**
|
|
46
47
|
* @hidden
|
|
47
48
|
*/
|
|
@@ -137,7 +138,6 @@ function prepareStorage(args) {
|
|
|
137
138
|
tags,
|
|
138
139
|
};
|
|
139
140
|
}
|
|
140
|
-
exports.prepareStorage = prepareStorage;
|
|
141
141
|
/**
|
|
142
142
|
* @hidden
|
|
143
143
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createTransactionBatch.js","sourceRoot":"","sources":["../../../src/api/procedures/createTransactionBatch.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"createTransactionBatch.js","sourceRoot":"","sources":["../../../src/api/procedures/createTransactionBatch.ts"],"names":[],"mappings":";;;;;;;;;;;;AA0BA,sEAUC;AAKD,4CAYC;AAKD,wCAmHC;AA5KD,mCAAkC;AAElC,yCAAsF;AACtF,mCAAsE;AACtE,+CAO0B;AAC1B,mCAAgD;AAChD,mDAAwD;AACxD,+CAAqD;AAQrD;;GAEG;AACH,SAAsB,6BAA6B;;QAGjD,MAAM,EAAE,qBAAqB,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC;QAExE,OAAO;YACL,YAAY;YACZ,QAAQ,EAAE,OAAO,CAAC,EAAE,CAClB,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAA0B;SACrF,CAAC;IACJ,CAAC;CAAA;AAED;;GAEG;AACH,SAAgB,gBAAgB;IAG9B,MAAM,EACJ,OAAO,EAAE,EAAE,IAAI,EAAE,GAClB,GAAG,IAAI,CAAC;IAET,OAAO;QACL,WAAW,EAAE;YACX,YAAY,EAAE,CAAC,GAAG,IAAI,EAAE,cAAM,CAAC,OAAO,CAAC,QAAQ,CAAC;SACjD;KACF,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAgB,cAAc,CAE5B,IAAgD;IAEhD,MAAM,EAAE,YAAY,EAAE,iBAAiB,EAAE,GAAG,IAAI,CAAC;IAEjD,MAAM,SAAS,GAAgC,EAAE,CAAC;IAClD,MAAM,YAAY,GAAiB,EA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B,EAAC,OAAO,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;YACrE,CAAC;iBAAM,CAAC;gBACN,KAAK,GAAG,QAAQ,CAAC;YACnB,CAAC;YAED,OAAO,WAAW,CAAC,KAAK,CAAC,CAAC;QAC5B,CAAC,CAAA,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,OAAO;QACL,qBAAqB,EAAE,YAAY;QACnC,SAAS;QACT,IAAI;KACL,CAAC;AACJ,CAAC;AAED;;GAEG;AACI,MAAM,sBAAsB,GAAG,GAIpC,EAAE,CACF,IAAI,oBAAS,CACX,6BAA6B,EAC7B,gBAAgB,EAChB,cAAc,CACf,CAAC;AATS,QAAA,sBAAsB,0BAS/B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ISubmittableResult } from '@polkadot/types/types';
|
|
2
|
-
import { Context, Procedure, Venue } from
|
|
3
|
-
import { CreateVenueParams } from
|
|
4
|
-
import { ExtrinsicParams, TransactionSpec } from
|
|
2
|
+
import { Context, Procedure, Venue } from '../../internal';
|
|
3
|
+
import { CreateVenueParams } from '../../types';
|
|
4
|
+
import { ExtrinsicParams, TransactionSpec } from '../../types/internal';
|
|
5
5
|
/**
|
|
6
6
|
* @hidden
|
|
7
7
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createVenue.d.ts","sourceRoot":"","sources":["../../../src/api/procedures/createVenue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,OAAO,EAAiB,SAAS,EAAE,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"createVenue.d.ts","sourceRoot":"","sources":["../../../src/api/procedures/createVenue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,OAAO,EAAE,OAAO,EAAiB,SAAS,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAqB,MAAM,SAAS,CAAC;AAC/D,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAUpE;;GAEG;AACH,eAAO,MAAM,yBAAyB,GACnC,SAAS,OAAO,MAChB,SAAS,kBAAkB,KAAG,KAK9B,CAAC;AAEJ;;GAEG;AACH,wBAAsB,kBAAkB,CACtC,IAAI,EAAE,SAAS,CAAC,iBAAiB,EAAE,KAAK,CAAC,EACzC,IAAI,EAAE,iBAAiB,GACtB,OAAO,CAAC,eAAe,CAAC,KAAK,EAAE,eAAe,CAAC,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,CAoC/E;AAED;;GAEG;AACH,eAAO,MAAM,WAAW,QAAO,SAAS,CAAC,iBAAiB,EAAE,KAAK,CAO7D,CAAC"}
|
|
@@ -9,7 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.createVenue = exports.
|
|
12
|
+
exports.createVenue = exports.createCreateVenueResolver = void 0;
|
|
13
|
+
exports.prepareCreateVenue = prepareCreateVenue;
|
|
13
14
|
const internal_1 = require("../../internal");
|
|
14
15
|
const types_1 = require("../../types");
|
|
15
16
|
const conversion_1 = require("../../utils/conversion");
|
|
@@ -48,7 +49,6 @@ function prepareCreateVenue(args) {
|
|
|
48
49
|
};
|
|
49
50
|
});
|
|
50
51
|
}
|
|
51
|
-
exports.prepareCreateVenue = prepareCreateVenue;
|
|
52
52
|
/**
|
|
53
53
|
* @hidden
|
|
54
54
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createVenue.js","sourceRoot":"","sources":["../../../src/api/procedures/createVenue.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"createVenue.js","sourceRoot":"","sources":["../../../src/api/procedures/createVenue.ts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I,EAAE,EAAE,eAAe,EAAE;aAC1B,CAAC,CAAC;QACL,CAAC;QAED,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CACtC,IAAA,8BAAiB,EAAC,IAAA,oBAAS,EAAC,MAAM,EAAE,OAAO,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAC/D,CAAC;QAEF,OAAO;YACL,WAAW,EAAE,UAAU,CAAC,WAAW;YACnC,IAAI,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,OAAO,CAAC;YACvC,QAAQ,EAAE,IAAA,iCAAyB,EAAC,OAAO,CAAC;SAC7C,CAAC;IACJ,CAAC;CAAA;AAED;;GAEG;AACI,MAAM,WAAW,GAAG,GAAwC,EAAE,CACnE,IAAI,oBAAS,CAAC,kBAAkB,EAAE;IAChC,WAAW,EAAE;QACX,YAAY,EAAE,CAAC,cAAM,CAAC,UAAU,CAAC,WAAW,CAAC;QAC7C,MAAM,EAAE,EAAE;QACV,UAAU,EAAE,EAAE;KACf;CACF,CAAC,CAAC;AAPQ,QAAA,WAAW,eAOnB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BigNumber from 'bignumber.js';
|
|
2
|
-
import { Procedure } from
|
|
3
|
-
import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from
|
|
2
|
+
import { Procedure } from '../../internal';
|
|
3
|
+
import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '../../types/internal';
|
|
4
4
|
export interface DeletePortfolioParams {
|
|
5
5
|
did: string;
|
|
6
6
|
id: BigNumber;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deletePortfolio.d.ts","sourceRoot":"","sources":["../../../src/api/procedures/deletePortfolio.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,cAAc,CAAC;AAErC,OAAO,EAAoC,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"deletePortfolio.d.ts","sourceRoot":"","sources":["../../../src/api/procedures/deletePortfolio.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,cAAc,CAAC;AAErC,OAAO,EAAoC,SAAS,EAAE,MAAM,YAAY,CAAC;AAEzE,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAG5F,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,MAAM,CAAC;IACZ,EAAE,EAAE,SAAS,CAAC;CACf;AAED;;GAEG;AACH,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,SAAS,CAAC,qBAAqB,CAAC,EACtC,IAAI,EAAE,qBAAqB,GAC1B,OAAO,CAAC,eAAe,CAAC,IAAI,EAAE,eAAe,CAAC,WAAW,EAAE,iBAAiB,CAAC,CAAC,CAAC,CAuCjF;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,SAAS,CAAC,qBAAqB,CAAC,EACtC,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE,qBAAqB,GACjC,sBAAsB,CAWxB;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,QAAO,SAAS,CAAC,qBAAqB,CACT,CAAC"}
|
|
@@ -9,7 +9,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.deletePortfolio =
|
|
12
|
+
exports.deletePortfolio = void 0;
|
|
13
|
+
exports.prepareDeletePortfolio = prepareDeletePortfolio;
|
|
14
|
+
exports.getAuthorization = getAuthorization;
|
|
13
15
|
const internal_1 = require("../../internal");
|
|
14
16
|
const types_1 = require("../../types");
|
|
15
17
|
const conversion_1 = require("../../utils/conversion");
|
|
@@ -45,7 +47,6 @@ function prepareDeletePortfolio(args) {
|
|
|
45
47
|
};
|
|
46
48
|
});
|
|
47
49
|
}
|
|
48
|
-
exports.prepareDeletePortfolio = prepareDeletePortfolio;
|
|
49
50
|
/**
|
|
50
51
|
* @hidden
|
|
51
52
|
*/
|
|
@@ -61,7 +62,6 @@ function getAuthorization({ did, id }) {
|
|
|
61
62
|
},
|
|
62
63
|
};
|
|
63
64
|
}
|
|
64
|
-
exports.getAuthorization = getAuthorization;
|
|
65
65
|
/**
|
|
66
66
|
* @hidden
|
|
67
67
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deletePortfolio.js","sourceRoot":"","sources":["../../../src/api/procedures/deletePortfolio.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"deletePortfolio.js","sourceRoot":"","sources":["../../../src/api/procedures/deletePortfolio.ts"],"names":[],"mappings":";;;;;;;;;;;;AAeA,wDA0CC;AAKD,4CAcC;AA1ED,yCAAyE;AACzE,mCAAsD;AAEtD,mDAA8E;AAO9E;;GAEG;AACH,SAAsB,sBAAsB,CAE1C,IAA2B;;QAE3B,MAAM,EACJ,OAAO,EAAE,EACP,WAAW,EAAE,EACX,EAAE,EAAE,EAAE,SAAS,EAAE,GAClB,GACF,EACD,OAAO,GACR,GAAG,IAAI,CAAC;QAET,MAAM,EAAE,GAAG,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC;QAEzB,MAAM,iBAAiB,GAAG,IAAI,4BAAiB,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;QACtE,MAAM,kBAAkB,GAAG,IAAA,2BAAc,EAAC,EAAE,EAAE,OAAO,CAAC,CAAC;QAEvD,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC;YACpD,iBAAiB,CAAC,MAAM,EAAE;YAC1B,iBAAiB,CAAC,gBAAgB,EAAE;SACrC,CAAC,CAAC;QAEH,IAAI,CAAC,MAAM,EAAE,CAAC;YACZ,MAAM,IAAI,wBAAa,CAAC;gBACtB,IAAI,EAAE,iBAAS,CAAC,eAAe;gBAC/B,OA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icParams, TransactionSpec } from
|
|
1
|
+
import { MultiSigProposal, Procedure } from '../../internal';
|
|
2
|
+
import { MultiSigProposalAction } from '../../types';
|
|
3
|
+
import { ExtrinsicParams, TransactionSpec } from '../../types/internal';
|
|
4
4
|
/**
|
|
5
5
|
* @hidden
|
|
6
6
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evaluateMultiSigProposal.d.ts","sourceRoot":"","sources":["../../../src/api/procedures/evaluateMultiSigProposal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAiB,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"evaluateMultiSigProposal.d.ts","sourceRoot":"","sources":["../../../src/api/procedures/evaluateMultiSigProposal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAiB,SAAS,EAAE,MAAM,YAAY,CAAC;AACxE,OAAO,EAAa,sBAAsB,EAAkB,MAAM,SAAS,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAQpE;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,sBAAsB,CAAC;IAC/B,QAAQ,EAAE,gBAAgB,CAAC;CAC5B;AAED;;GAEG;AACH,wBAAsB,iCAAiC,CACrD,IAAI,EAAE,SAAS,CAAC,0BAA0B,EAAE,IAAI,CAAC,EACjD,IAAI,EAAE,0BAA0B,GAC/B,OAAO,CACN,eAAe,CAAC,IAAI,EAAE,eAAe,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC,GAC7D,eAAe,CAAC,IAAI,EAAE,eAAe,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAC/D,CAsHA;AAED;;GAEG;AACH,eAAO,MAAM,wBAAwB,QAAO,SAAS,CAAC,0BAA0B,EAAE,IAAI,CAGlF,CAAC"}
|
|
@@ -9,7 +9,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.evaluateMultiSigProposal =
|
|
12
|
+
exports.evaluateMultiSigProposal = void 0;
|
|
13
|
+
exports.prepareMultiSigProposalEvaluation = prepareMultiSigProposalEvaluation;
|
|
13
14
|
const internal_1 = require("../../internal");
|
|
14
15
|
const types_1 = require("../../types");
|
|
15
16
|
const conversion_1 = require("../../utils/conversion");
|
|
@@ -95,7 +96,6 @@ function prepareMultiSigProposalEvaluation(args) {
|
|
|
95
96
|
}
|
|
96
97
|
});
|
|
97
98
|
}
|
|
98
|
-
exports.prepareMultiSigProposalEvaluation = prepareMultiSigProposalEvaluation;
|
|
99
99
|
/**
|
|
100
100
|
* @hidden
|
|
101
101
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evaluateMultiSigProposal.js","sourceRoot":"","sources":["../../../src/api/procedures/evaluateMultiSigProposal.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"evaluateMultiSigProposal.js","sourceRoot":"","sources":["../../../src/api/procedures/evaluateMultiSigProposal.ts"],"names":[],"mappings":";;;;;;;;;;;;AAqBA,8EA4HC;AAjJD,yCAAwE;AACxE,mCAA4E;AAE5E,mDAK4B;AAU5B;;GAEG;AACH,SAAsB,iCAAiC,CAErD,IAAgC;;QAKhC,MAAM,EACJ,OAAO,EAAE,EACP,WAAW,EAAE,EACX,IAAI,EACJ,EAAE,EAAE,EAAE,QAAQ,EAAE,EAChB,KAAK,EAAE,EACL,QAAQ,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,GAC/B,GACF,GACF,EACD,OAAO,GACR,GAAG,IAAI,CAAC;QACT,MAAM,EACJ,QAAQ,EAAE,EACR,EAAE,EACF,QAAQ,EAAE,EAAE,OAAO,EAAE,eAAe,EAAE,GACvC,EACD,QAAQ,EACR,MAAM,GACP,GAAG,IAAI,CAAC;QAET,MAAM,kBAAkB,GAA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W,CAAC,aAAa,CAC1B,CAAC;YAEF,OAAO;gBACL,WAAW,EAAE,QAAQ,CAAC,OAAO;gBAC7B,SAAS;gBACT,IAAI,EAAE,CAAC,kBAAkB,EAAE,aAAa,EAAE,WAAW,CAAC,MAAM,CAAC;gBAC7D,QAAQ,EAAE,SAAS;aACpB,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,OAAO;gBACL,WAAW,EAAE,QAAQ,CAAC,MAAM;gBAC5B,SAAS;gBACT,IAAI,EAAE,CAAC,kBAAkB,EAAE,aAAa,CAAC;gBACzC,QAAQ,EAAE,SAAS;aACpB,CAAC;QACJ,CAAC;IACH,CAAC;CAAA;AAED;;GAEG;AACI,MAAM,wBAAwB,GAAG,GAAgD,EAAE,CACxF,IAAI,oBAAS,CAAC,iCAAiC,EAAE;IAC/C,iBAAiB,EAAE,IAAI;CACxB,CAAC,CAAC;AAHQ,QAAA,wBAAwB,4BAGhC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import BigNumber from 'bignumber.js';
|
|
2
|
-
import { DefaultPortfolio, Instruction, NumberedPortfolio, Procedure } from
|
|
3
|
-
import { ExecuteManualInstructionParams, InstructionDetails } from
|
|
4
|
-
import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from
|
|
2
|
+
import { DefaultPortfolio, Instruction, NumberedPortfolio, Procedure } from '../../internal';
|
|
3
|
+
import { ExecuteManualInstructionParams, InstructionDetails } from '../../types';
|
|
4
|
+
import { ExtrinsicParams, ProcedureAuthorization, TransactionSpec } from '../../types/internal';
|
|
5
5
|
export interface Storage {
|
|
6
6
|
portfolios: (DefaultPortfolio | NumberedPortfolio)[];
|
|
7
7
|
offChainParties: Set<string>;
|
|
@@ -11,7 +11,7 @@ export interface Storage {
|
|
|
11
11
|
/**
|
|
12
12
|
* @hidden
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
14
|
+
export type Params = ExecuteManualInstructionParams & {
|
|
15
15
|
id: BigNumber;
|
|
16
16
|
};
|
|
17
17
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executeManualInstruction.d.ts","sourceRoot":"","sources":["../../../src/api/procedures/executeManualInstruction.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,cAAc,CAAC;AAIrC,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,iBAAiB,EAEjB,SAAS,EACV,
|
|
1
|
+
{"version":3,"file":"executeManualInstruction.d.ts","sourceRoot":"","sources":["../../../src/api/procedures/executeManualInstruction.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,cAAc,CAAC;AAIrC,OAAO,EACL,gBAAgB,EAChB,WAAW,EACX,iBAAiB,EAEjB,SAAS,EACV,MAAM,YAAY,CAAC;AACpB,OAAO,EAEL,8BAA8B,EAC9B,kBAAkB,EAGnB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,eAAe,EAAE,sBAAsB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAU5F,MAAM,WAAW,OAAO;IACtB,UAAU,EAAE,CAAC,gBAAgB,GAAG,iBAAiB,CAAC,EAAE,CAAC;IACrD,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,8BAA8B,GAAG;IACpD,EAAE,EAAE,SAAS,CAAC;CACf,CAAC;AAEF;;GAEG;AACH,wBAAsB,+BAA+B,CACnD,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,CAAC,EAC7C,IAAI,EAAE,MAAM,GACX,OAAO,CACR,eAAe,CAAC,WAAW,EAAE,eAAe,CAAC,cAAc,EAAE,0BAA0B,CAAC,CAAC,CAC1F,CAiEA;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,CAAC,GAC5C,OAAO,CAAC,sBAAsB,CAAC,CAYjC;AAED;;GAEG;AACH,wBAAsB,cAAc,CAClC,IAAI,EAAE,SAAS,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,CAAC,EAC7C,EAAE,EAAE,EAAE,EAAE,MAAM,GACb,OAAO,CAAC,OAAO,CAAC,CAkDlB;AAED;;GAEG;AACH,eAAO,MAAM,wBAAwB,QAAO,SAAS,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,CACA,CAAC"}
|
|
@@ -12,9 +12,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
12
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
13
|
};
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.executeManualInstruction =
|
|
15
|
+
exports.executeManualInstruction = void 0;
|
|
16
|
+
exports.prepareExecuteManualInstruction = prepareExecuteManualInstruction;
|
|
17
|
+
exports.getAuthorization = getAuthorization;
|
|
18
|
+
exports.prepareStorage = prepareStorage;
|
|
16
19
|
const bluebird_1 = __importDefault(require("bluebird"));
|
|
17
|
-
const utils_1 = require("
|
|
20
|
+
const utils_1 = require("../../api/procedures/utils");
|
|
18
21
|
const internal_1 = require("../../internal");
|
|
19
22
|
const types_1 = require("../../types");
|
|
20
23
|
const utils_2 = require("../../types/utils");
|
|
@@ -24,8 +27,8 @@ const conversion_1 = require("../../utils/conversion");
|
|
|
24
27
|
* @hidden
|
|
25
28
|
*/
|
|
26
29
|
function prepareExecuteManualInstruction(args) {
|
|
27
|
-
var _a;
|
|
28
30
|
return __awaiter(this, void 0, void 0, function* () {
|
|
31
|
+
var _a;
|
|
29
32
|
const { context: { polymeshApi: { tx: { settlement: settlementTx }, query: { settlement }, call: { settlementApi }, }, }, context, storage: { portfolios, instructionDetails, signerDid, offChainParties }, } = this;
|
|
30
33
|
const { id, skipAffirmationCheck } = args;
|
|
31
34
|
const instruction = new internal_1.Instruction({ id }, context);
|
|
@@ -69,7 +72,6 @@ function prepareExecuteManualInstruction(args) {
|
|
|
69
72
|
};
|
|
70
73
|
});
|
|
71
74
|
}
|
|
72
|
-
exports.prepareExecuteManualInstruction = prepareExecuteManualInstruction;
|
|
73
75
|
/**
|
|
74
76
|
* @hidden
|
|
75
77
|
*/
|
|
@@ -85,12 +87,11 @@ function getAuthorization() {
|
|
|
85
87
|
};
|
|
86
88
|
});
|
|
87
89
|
}
|
|
88
|
-
exports.getAuthorization = getAuthorization;
|
|
89
90
|
/**
|
|
90
91
|
* @hidden
|
|
91
92
|
*/
|
|
92
|
-
function prepareStorage(
|
|
93
|
-
return __awaiter(this,
|
|
93
|
+
function prepareStorage(_a) {
|
|
94
|
+
return __awaiter(this, arguments, void 0, function* ({ id }) {
|
|
94
95
|
const { context } = this;
|
|
95
96
|
const instruction = new internal_1.Instruction({ id }, context);
|
|
96
97
|
const [{ data: legs }, { did }, details] = yield Promise.all([
|
|
@@ -128,7 +129,6 @@ function prepareStorage({ id }) {
|
|
|
128
129
|
};
|
|
129
130
|
});
|
|
130
131
|
}
|
|
131
|
-
exports.prepareStorage = prepareStorage;
|
|
132
132
|
/**
|
|
133
133
|
* @hidden
|
|
134
134
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"executeManualInstruction.js","sourceRoot":"","sources":["../../../src/api/procedures/executeManualInstruction.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"executeManualInstruction.js","sourceRoot":"","sources":["../../../src/api/procedures/executeManualInstruction.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AA8CA,0EAsEC;AAKD,4CAcC;AAKD,wCAqDC;AA/LD,wDAAyB;AAEzB,kDAAkF;AAClF,yCAMoB;AACpB,mCAMiB;AAEjB,yCAAsC;AACtC,mCAAwC;AACxC,mDAK4B;AAgB5B;;GAEG;AACH,SAAsB,+BAA+B,CAEnD,IAAY;;;QAIZ,MAAM,EACJ,OAAO,EAAE,EACP,W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