diff --git a/package.json b/package.json index 6541f28b9d..c012726621 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "devDependencies": { "@crustio/crust-pin": "^1.0.0", "@pinata/sdk": "^2.1.0", - "@polkadot/dev": "^0.71.9", + "@polkadot/dev": "^0.71.10", "@types/chart.js": "^2.9.37", "@types/file-saver": "^2.0.5", "@types/react-beautiful-dnd": "^13.1.3", @@ -81,7 +81,7 @@ "concurrently": "^7.6.0", "devtron": "^1.4.0", "dnslink-cloudflare": "^3.0.0", - "electron": "^21.4.2", + "electron": "^23.1.3", "electron-builder": "23.6.0", "electron-builder-notarize": "^1.5.1", "i18next-scanner": "^4.1.1", diff --git a/packages/apps-config/package.json b/packages/apps-config/package.json index 2fe022e024..1cca394d9d 100644 --- a/packages/apps-config/package.json +++ b/packages/apps-config/package.json @@ -31,7 +31,7 @@ "@laminar/type-definitions": "0.3.1", "@logion/node-api": "0.9.0-3", "@mangata-finance/types": "0.18.0", - "@metaverse-network-sdk/type-definitions": "0.0.1-13", + "@metaverse-network-sdk/type-definitions": "0.0.1-16", "@parallel-finance/type-definitions": "1.7.16", "@phala/typedefs": "0.2.33", "@polkadot/api": "^10.1.2", @@ -42,10 +42,10 @@ "@polkadot/wasm-util": "^7.0.3", "@polkadot/x-fetch": "^11.0.2", "@polkadot/x-ws": "^11.0.2", - "@polymathnetwork/polymesh-types": "0.0.2", + "@polymeshassociation/polymesh-types": "5.3.0", "@snowfork/snowbridge-types": "0.2.7", - "@sora-substrate/type-definitions": "1.15.6", - "@subsocial/definitions": "0.8.5", + "@sora-substrate/type-definitions": "1.15.8", + "@subsocial/definitions": "0.8.6", "@unique-nft/opal-testnet-types": "937.53.1", "@unique-nft/quartz-mainnet-types": "937.52.0", "@unique-nft/sapphire-mainnet-types": "937.52.0", diff --git a/packages/apps-config/src/api/spec/polymesh.ts b/packages/apps-config/src/api/spec/polymesh.ts index 6fb4eca429..5c711c13ae 100644 --- a/packages/apps-config/src/api/spec/polymesh.ts +++ b/packages/apps-config/src/api/spec/polymesh.ts @@ -3,17 +3,8 @@ import type { OverrideBundleDefinition } from '@polkadot/types/types'; -import schema from '@polymathnetwork/polymesh-types'; +import { typesBundle } from '@polymeshassociation/polymesh-types'; -const definitions: OverrideBundleDefinition = { - rpc: schema.rpc, - types: [ - { - // on all versions - minmax: [0, undefined], - types: schema.types - } - ] -}; +const definitions: OverrideBundleDefinition = typesBundle.spec.polymesh; export default definitions; diff --git a/packages/apps-config/src/api/typesBundle.ts b/packages/apps-config/src/api/typesBundle.ts index a79aed43d0..6c4ce6185c 100644 --- a/packages/apps-config/src/api/typesBundle.ts +++ b/packages/apps-config/src/api/typesBundle.ts @@ -71334,14 +71334,10018 @@ export const typesBundle = { "DistributorNftId": "(ClassId, TokenId)" }, "polymesh": { + "rpc": { + "compliance": { + "canTransfer": { + "description": "Checks whether a transaction with given parameters is compliant to the compliance manager conditions", + "params": [ + { + "name": "ticker", + "type": "Ticker", + "isOptional": false + }, + { + "name": "from_did", + "type": "Option", + "isOptional": false + }, + { + "name": "to_did", + "type": "Option", + "isOptional": false + }, + { + "name": "blockHash", + "type": "Hash", + "isOptional": true + } + ], + "type": "AssetComplianceResult" + } + }, + "identity": { + "isIdentityHasValidCdd": { + "description": "use to tell whether the given did has valid cdd claim or not", + "params": [ + { + "name": "did", + "type": "IdentityId", + "isOptional": false + }, + { + "name": "buffer_time", + "type": "u64", + "isOptional": true + }, + { + "name": "blockHash", + "type": "Hash", + "isOptional": true + } + ], + "type": "CddStatus" + }, + "getAssetDid": { + "description": "function is used to query the given ticker DID", + "params": [ + { + "name": "ticker", + "type": "Ticker", + "isOptional": false + }, + { + "name": "blockHash", + "type": "Hash", + "isOptional": true + } + ], + "type": "AssetDidResult" + }, + "getDidRecords": { + "description": "Used to get the did record values for a given DID", + "params": [ + { + "name": "did", + "type": "IdentityId", + "isOptional": false + }, + { + "name": "blockHash", + "type": "Hash", + "isOptional": true + } + ], + "type": "RpcDidRecords" + }, + "getDidStatus": { + "description": "Retrieve status of the DID", + "params": [ + { + "name": "did", + "type": "Vec", + "isOptional": false + }, + { + "name": "blockHash", + "type": "Hash", + "isOptional": true + } + ], + "type": "Vec" + }, + "getFilteredAuthorizations": { + "description": "Retrieve authorizations data for a given signatory and filtered using the given authorization type", + "params": [ + { + "name": "signatory", + "type": "Signatory", + "isOptional": false + }, + { + "name": "allow_expired", + "type": "bool", + "isOptional": false + }, + { + "name": "auth_type", + "type": "AuthorizationType", + "isOptional": true + }, + { + "name": "blockHash", + "type": "Hash", + "isOptional": true + } + ], + "type": "Vec" + }, + "getKeyIdentityData": { + "description": "Query relation between a signing key and a DID", + "params": [ + { + "name": "acc", + "type": "AccountId", + "isOptional": false + }, + { + "name": "blockHash", + "type": "Hash", + "isOptional": true + } + ], + "type": "Option" + } + }, + "pips": { + "getVotes": { + "description": "Summary of votes of a proposal given by index", + "params": [ + { + "name": "index", + "type": "PipId", + "isOptional": false + }, + { + "name": "blockHash", + "type": "Hash", + "isOptional": true + } + ], + "type": "VoteCount" + }, + "proposedBy": { + "description": "Retrieves proposal indices started by address", + "params": [ + { + "name": "address", + "type": "AccountId", + "isOptional": false + }, + { + "name": "blockHash", + "type": "Hash", + "isOptional": true + } + ], + "type": "Vec" + }, + "votedOn": { + "description": "Retrieves proposal address indices voted on", + "params": [ + { + "name": "address", + "type": "AccountId", + "isOptional": false + }, + { + "name": "blockHash", + "type": "Hash", + "isOptional": true + } + ], + "type": "Vec" + } + }, + "protocolFee": { + "computeFee": { + "description": "Gets the fee of a chargeable extrinsic operation", + "params": [ + { + "name": "op", + "type": "ProtocolOp", + "isOptional": false + }, + { + "name": "blockHash", + "type": "Hash", + "isOptional": true + } + ], + "type": "CappedFee" + } + }, + "staking": { + "getCurve": { + "description": "Retrieves curves parameters", + "params": [ + { + "name": "blockHash", + "type": "Hash", + "isOptional": true + } + ], + "type": "Vec<(Perbill, Perbill)>" + } + }, + "asset": { + "canTransfer": { + "description": "Checks whether a transaction with given parameters can take place or not", + "params": [ + { + "name": "sender", + "type": "AccountId", + "isOptional": false + }, + { + "name": "from_custodian", + "type": "Option", + "isOptional": false + }, + { + "name": "from_portfolio", + "type": "PortfolioId", + "isOptional": false + }, + { + "name": "to_custodian", + "type": "Option", + "isOptional": false + }, + { + "name": "to_portfolio", + "type": "PortfolioId", + "isOptional": false + }, + { + "name": "ticker", + "type": "Ticker", + "isOptional": false + }, + { + "name": "value", + "type": "Balance", + "isOptional": false + }, + { + "name": "blockHash", + "type": "Hash", + "isOptional": true + } + ], + "type": "CanTransferResult" + }, + "canTransferGranular": { + "description": "Checks whether a transaction with given parameters can take place or not. The result is granular meaning each check is run and returned regardless of outcome.", + "params": [ + { + "name": "from_custodian", + "type": "Option", + "isOptional": false + }, + { + "name": "from_portfolio", + "type": "PortfolioId", + "isOptional": false + }, + { + "name": "to_custodian", + "type": "Option", + "isOptional": false + }, + { + "name": "to_portfolio", + "type": "PortfolioId", + "isOptional": false + }, + { + "name": "ticker", + "type": "Ticker", + "isOptional": false + }, + { + "name": "value", + "type": "Balance", + "isOptional": false + }, + { + "name": "blockHash", + "type": "Hash", + "isOptional": true + } + ], + "type": "GranularCanTransferResult" + } + }, + "group": { + "getCDDValidMembers": { + "description": "Get the CDD members", + "params": [ + { + "name": "blockHash", + "type": "Hash", + "isOptional": true + } + ], + "type": "Vec" + }, + "getGCValidMembers": { + "description": "Get the GC members", + "params": [ + { + "name": "blockHash", + "type": "Hash", + "isOptional": true + } + ], + "type": "Vec" + } + } + }, "types": [ { "minmax": [ - 0, - null - ] + 5003000, + 5003009 + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "AccountInfo": "AccountInfoWithDualRefCount", + "IdentityId": "[u8; 32]", + "EventDid": "IdentityId", + "EventCounts": "Vec", + "ErrorAt": "(u32, DispatchError)", + "InvestorUid": "[u8; 16]", + "Ticker": "[u8; 12]", + "CddId": "[u8; 32]", + "ScopeId": "[u8; 32]", + "PosRatio": "(u32, u32)", + "DocumentId": "u32", + "DocumentName": "Text", + "DocumentUri": "Text", + "DocumentHash": { + "_enum": { + "None": "", + "H512": "[u8; 64]", + "H384": "[u8; 48]", + "H320": "[u8; 40]", + "H256": "[u8; 32]", + "H224": "[u8; 28]", + "H192": "[u8; 24]", + "H160": "[u8; 20]", + "H128": "[u8; 16]" + } + }, + "DocumentType": "Text", + "Document": { + "uri": "DocumentUri", + "content_hash": "DocumentHash", + "name": "DocumentName", + "doc_type": "Option", + "filing_date": "Option" + }, + "Version": "u8", + "CustomAssetTypeId": "u32", + "AssetType": { + "_enum": { + "EquityCommon": "", + "EquityPreferred": "", + "Commodity": "", + "FixedIncome": "", + "REIT": "", + "Fund": "", + "RevenueShareAgreement": "", + "StructuredProduct": "", + "Derivative": "", + "Custom": "CustomAssetTypeId", + "StableCoin": "", + "NonFungible": "NonFungibleType" + } + }, + "AssetIdentifier": { + "_enum": { + "CUSIP": "[u8; 9]", + "CINS": "[u8; 9]", + "ISIN": "[u8; 12]", + "LEI": "[u8; 20]", + "FIGI": "[u8; 12]" + } + }, + "AssetOwnershipRelation": { + "_enum": { + "NotOwned": "", + "TickerOwned": "", + "AssetOwned": "" + } + }, + "AssetName": "Text", + "FundingRoundName": "Text", + "VenueDetails": "Text", + "SecurityToken": { + "total_supply": "Balance", + "owner_did": "IdentityId", + "divisible": "bool", + "asset_type": "AssetType" + }, + "AssetMetadataName": "Text", + "AssetMetadataValue": "Vec", + "AssetMetadataLocalKey": "u64", + "AssetMetadataGlobalKey": "u64", + "AssetMetadataKey": { + "_enum": { + "Global": "u64", + "Local": "u64" + } + }, + "AssetMetadataLockStatus": { + "_enum": { + "Unlocked": "", + "Locked": "", + "LockedUntil": "Moment" + } + }, + "AssetMetadataValueDetail": { + "expire": "Option", + "lock_status": "AssetMetadataLockStatus" + }, + "AssetMetadataDescription": "Text", + "AssetMetadataSpec": { + "url": "Option", + "description": "Option", + "type_def": "Option>" + }, + "PalletName": "Text", + "DispatchableName": "Text", + "AssetPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "PortfolioPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "DispatchableNames": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "PalletPermissions": { + "pallet_name": "PalletName", + "dispatchable_names": "DispatchableNames" + }, + "ExtrinsicPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "Permissions": { + "asset": "AssetPermissions", + "extrinsic": "ExtrinsicPermissions", + "portfolio": "PortfolioPermissions" + }, + "Signatory": { + "_enum": { + "Identity": "IdentityId", + "Account": "AccountId" + } + }, + "SecondaryKey": { + "key": "AccountId", + "permissions": "Permissions" + }, + "SecondaryKeyWithAuth": { + "secondary_key": "SecondaryKey", + "auth_signature": "H512" + }, + "Subsidy": { + "paying_key": "AccountId", + "remaining": "Balance" + }, + "IdentityRole": { + "_enum": [ + "Issuer", + "SimpleTokenIssuer", + "Validator", + "ClaimIssuer", + "Investor", + "NodeRunner", + "PM", + "CDDAMLClaimIssuer", + "AccreditedInvestorClaimIssuer", + "VerifiedIdentityClaimIssuer" + ] + }, + "PreAuthorizedKeyInfo": { + "target_id": "IdentityId", + "secondary_key": "SecondaryKey" + }, + "DidRecord": { + "primary_key": "Option" + }, + "KeyRecord": { + "_enum": { + "PrimaryKey": "IdentityId", + "SecondaryKey": "(IdentityId, Permissions)", + "MultiSigSignerKey": "AccountId" + } + }, + "KeyIdentityData": { + "identity": "IdentityId", + "permissions": "Option" + }, + "CountryCode": { + "_enum": [ + "AF", + "AX", + "AL", + "DZ", + "AS", + "AD", + "AO", + "AI", + "AQ", + "AG", + "AR", + "AM", + "AW", + "AU", + "AT", + "AZ", + "BS", + "BH", + "BD", + "BB", + "BY", + "BE", + "BZ", + "BJ", + "BM", + "BT", + "BO", + "BA", + "BW", + "BV", + "BR", + "VG", + "IO", + "BN", + "BG", + "BF", + "BI", + "KH", + "CM", + "CA", + "CV", + "KY", + "CF", + "TD", + "CL", + "CN", + "HK", + "MO", + "CX", + "CC", + "CO", + "KM", + "CG", + "CD", + "CK", + "CR", + "CI", + "HR", + "CU", + "CY", + "CZ", + "DK", + "DJ", + "DM", + "DO", + "EC", + "EG", + "SV", + "GQ", + "ER", + "EE", + "ET", + "FK", + "FO", + "FJ", + "FI", + "FR", + "GF", + "PF", + "TF", + "GA", + "GM", + "GE", + "DE", + "GH", + "GI", + "GR", + "GL", + "GD", + "GP", + "GU", + "GT", + "GG", + "GN", + "GW", + "GY", + "HT", + "HM", + "VA", + "HN", + "HU", + "IS", + "IN", + "ID", + "IR", + "IQ", + "IE", + "IM", + "IL", + "IT", + "JM", + "JP", + "JE", + "JO", + "KZ", + "KE", + "KI", + "KP", + "KR", + "KW", + "KG", + "LA", + "LV", + "LB", + "LS", + "LR", + "LY", + "LI", + "LT", + "LU", + "MK", + "MG", + "MW", + "MY", + "MV", + "ML", + "MT", + "MH", + "MQ", + "MR", + "MU", + "YT", + "MX", + "FM", + "MD", + "MC", + "MN", + "ME", + "MS", + "MA", + "MZ", + "MM", + "NA", + "NR", + "NP", + "NL", + "AN", + "NC", + "NZ", + "NI", + "NE", + "NG", + "NU", + "NF", + "MP", + "NO", + "OM", + "PK", + "PW", + "PS", + "PA", + "PG", + "PY", + "PE", + "PH", + "PN", + "PL", + "PT", + "PR", + "QA", + "RE", + "RO", + "RU", + "RW", + "BL", + "SH", + "KN", + "LC", + "MF", + "PM", + "VC", + "WS", + "SM", + "ST", + "SA", + "SN", + "RS", + "SC", + "SL", + "SG", + "SK", + "SI", + "SB", + "SO", + "ZA", + "GS", + "SS", + "ES", + "LK", + "SD", + "SR", + "SJ", + "SZ", + "SE", + "CH", + "SY", + "TW", + "TJ", + "TZ", + "TH", + "TL", + "TG", + "TK", + "TO", + "TT", + "TN", + "TR", + "TM", + "TC", + "TV", + "UG", + "UA", + "AE", + "GB", + "US", + "UM", + "UY", + "UZ", + "VU", + "VE", + "VN", + "VI", + "WF", + "EH", + "YE", + "ZM", + "ZW", + "BQ", + "CW", + "SX" + ] + }, + "Scope": { + "_enum": { + "Identity": "IdentityId", + "Ticker": "Ticker", + "Custom": "Vec" + } + }, + "InvestorZKProofData": "[u8; 64]", + "Scalar": "[u8; 32]", + "RistrettoPoint": "[u8; 32]", + "ZkProofData": { + "challenge_responses": "[Scalar; 2]", + "subtract_expressions_res": "RistrettoPoint", + "blinded_scope_did_hash": "RistrettoPoint" + }, + "ScopeClaimProof": { + "proof_scope_id_wellformed": "Signature", + "proof_scope_id_cdd_id_match": "ZkProofData", + "scope_id": "RistrettoPoint" + }, + "CustomClaimTypeId": "u32", + "Claim": { + "_enum": { + "Accredited": "Scope", + "Affiliate": "Scope", + "BuyLockup": "Scope", + "SellLockup": "Scope", + "CustomerDueDiligence": "CddId", + "KnowYourCustomer": "Scope", + "Jurisdiction": "(CountryCode, Scope)", + "Exempted": "Scope", + "Blocked": "Scope", + "InvestorUniqueness": "(Scope, ScopeId, CddId)", + "NoData": "", + "InvestorUniquenessV2": "CddId", + "Custom": "(CustomClaimTypeId, Option)" + } + }, + "ClaimType": { + "_enum": { + "Accredited": "", + "Affiliate": "", + "BuyLockup": "", + "SellLockup": "", + "CustomerDueDiligence": "", + "KnowYourCustomer": "", + "Jurisdiction": "", + "Exempted": "", + "Blocked": "", + "InvestorUniqueness": "", + "NoData": "", + "InvestorUniquenessV2": "", + "Custom": "CustomClaimTypeId" + } + }, + "IdentityClaim": { + "claim_issuer": "IdentityId", + "issuance_date": "Moment", + "last_update_date": "Moment", + "expiry": "Option", + "claim": "Claim" + }, + "ComplianceRequirement": { + "sender_conditions": "Vec", + "receiver_conditions": "Vec", + "id": "u32" + }, + "ComplianceRequirementResult": { + "sender_conditions": "Vec", + "receiver_conditions": "Vec", + "id": "u32", + "result": "bool" + }, + "ConditionType": { + "_enum": { + "IsPresent": "Claim", + "IsAbsent": "Claim", + "IsAnyOf": "Vec", + "IsNoneOf": "Vec", + "IsIdentity": "TargetIdentity" + } + }, + "TrustedFor": { + "_enum": { + "Any": "", + "Specific": "Vec" + } + }, + "TrustedIssuer": { + "issuer": "IdentityId", + "trusted_for": "TrustedFor" + }, + "Condition": { + "condition_type": "ConditionType", + "issuers": "Vec" + }, + "ConditionResult": { + "condition": "Condition", + "result": "bool" + }, + "TargetIdAuthorization": { + "target_id": "IdentityId", + "nonce": "u64", + "expires_at": "Moment" + }, + "TickerRegistration": { + "owner": "IdentityId", + "expiry": "Option" + }, + "TickerRegistrationConfig": { + "max_ticker_length": "u8", + "registration_length": "Option" + }, + "ClassicTickerRegistration": { + "eth_owner": "EthereumAddress", + "is_created": "bool" + }, + "ClassicTickerImport": { + "eth_owner": "EthereumAddress", + "ticker": "Ticker", + "is_contract": "bool", + "is_created": "bool" + }, + "EthereumAddress": "[u8; 20]", + "EcdsaSignature": "[u8; 65]", + "MotionTitle": "Text", + "MotionInfoLink": "Text", + "ChoiceTitle": "Text", + "Motion": { + "title": "MotionTitle", + "info_link": "MotionInfoLink", + "choices": "Vec" + }, + "BallotTitle": "Text", + "BallotMeta": { + "title": "BallotTitle", + "motions": "Vec" + }, + "BallotTimeRange": { + "start": "Moment", + "end": "Moment" + }, + "BallotVote": { + "power": "Balance", + "fallback": "Option" + }, + "MaybeBlock": { + "_enum": { + "Some": "BlockNumber", + "None": "" + } + }, + "Url": "Text", + "PipDescription": "Text", + "PipsMetadata": { + "id": "PipId", + "url": "Option", + "description": "Option", + "created_at": "BlockNumber", + "transaction_version": "u32", + "expiry": "MaybeBlock" + }, + "Proposer": { + "_enum": { + "Community": "AccountId", + "Committee": "Committee" + } + }, + "Committee": { + "_enum": { + "Technical": "", + "Upgrade": "" + } + }, + "SkippedCount": "u8", + "SnapshottedPip": { + "id": "PipId", + "weight": "(bool, Balance)" + }, + "SnapshotId": "u32", + "SnapshotMetadata": { + "created_at": "BlockNumber", + "made_by": "AccountId", + "id": "SnapshotId" + }, + "SnapshotResult": { + "_enum": { + "Approve": "", + "Reject": "", + "Skip": "" + } + }, + "Beneficiary": { + "id": "IdentityId", + "amount": "Balance" + }, + "DepositInfo": { + "owner": "AccountId", + "amount": "Balance" + }, + "PolymeshVotes": { + "index": "u32", + "ayes": "Vec", + "nays": "Vec", + "expiry": "MaybeBlock" + }, + "PipId": "u32", + "ProposalState": { + "_enum": [ + "Pending", + "Rejected", + "Scheduled", + "Failed", + "Executed", + "Expired" + ] + }, + "Pip": { + "id": "PipId", + "proposal": "Call", + "proposer": "Proposer" + }, + "ProposalData": { + "_enum": { + "Hash": "Hash", + "Proposal": "Vec" + } + }, + "OffChainSignature": "MultiSignature", + "Authorization": { + "authorization_data": "AuthorizationData", + "authorized_by": "IdentityId", + "expiry": "Option", + "auth_id": "u64" + }, + "AuthorizationData": { + "_enum": { + "AttestPrimaryKeyRotation": "IdentityId", + "RotatePrimaryKey": "", + "TransferTicker": "Ticker", + "AddMultiSigSigner": "AccountId", + "TransferAssetOwnership": "Ticker", + "JoinIdentity": "Permissions", + "PortfolioCustody": "PortfolioId", + "BecomeAgent": "(Ticker, AgentGroup)", + "AddRelayerPayingKey": "(AccountId, AccountId, Balance)", + "RotatePrimaryKeyToSecondary": "Permissions" + } + }, + "AuthorizationNonce": "u64", + "Percentage": "Permill", + "RestrictionResult": { + "_enum": [ + "Valid", + "Invalid", + "ForceValid" + ] + }, + "Memo": "[u8; 32]", + "BridgeTx": { + "nonce": "u32", + "recipient": "AccountId", + "amount": "Balance", + "tx_hash": "H256" + }, + "AssetScope": { + "_enum": { + "Ticker": "Ticker" + } + }, + "StatOpType": { + "_enum": [ + "Count", + "Balance" + ] + }, + "StatType": { + "op": "StatOpType", + "claim_issuer": "Option<(ClaimType, IdentityId)>" + }, + "StatClaim": { + "_enum": { + "Accredited": "bool", + "Affiliate": "bool", + "Jurisdiction": "Option" + } + }, + "Stat1stKey": { + "asset": "AssetScope", + "stat_type": "StatType" + }, + "Stat2ndKey": { + "_enum": { + "NoClaimStat": "", + "Claim": "StatClaim" + } + }, + "StatUpdate": { + "key2": "Stat2ndKey", + "value": "Option" + }, + "TransferCondition": { + "_enum": { + "MaxInvestorCount": "u64", + "MaxInvestorOwnership": "Percentage", + "ClaimCount": "(StatClaim, IdentityId, u64, Option)", + "ClaimOwnership": "(StatClaim, IdentityId, Percentage, Percentage)" + } + }, + "AssetTransferCompliance": { + "paused": "bool", + "requirements": "Vec" + }, + "TransferConditionExemptKey": { + "asset": "AssetScope", + "op": "StatOpType", + "claim_type": "Option" + }, + "AssetCompliance": { + "paused": "bool", + "requirements": "Vec" + }, + "AssetComplianceResult": { + "paused": "bool", + "requirements": "Vec", + "result": "bool" + }, + "Claim1stKey": { + "target": "IdentityId", + "claim_type": "ClaimType" + }, + "Claim2ndKey": { + "issuer": "IdentityId", + "scope": "Option" + }, + "InactiveMember": { + "id": "IdentityId", + "deactivated_at": "Moment", + "expiry": "Option" + }, + "VotingResult": { + "ayes_count": "u32", + "ayes_stake": "Balance", + "nays_count": "u32", + "nays_stake": "Balance" + }, + "ProtocolOp": { + "_enum": [ + "AssetRegisterTicker", + "AssetIssue", + "AssetAddDocuments", + "AssetCreateAsset", + "CheckpointCreateSchedule", + "ComplianceManagerAddComplianceRequirement", + "IdentityCddRegisterDid", + "IdentityAddClaim", + "IdentityAddSecondaryKeysWithAuthorization", + "PipsPropose", + "ContractsPutCode", + "CorporateBallotAttachBallot", + "CapitalDistributionDistribute" + ] + }, + "CddStatus": { + "_enum": { + "Ok": "IdentityId", + "Err": "Vec" + } + }, + "AssetDidResult": { + "_enum": { + "Ok": "IdentityId", + "Err": "Vec" + } + }, + "RpcDidRecordsSuccess": { + "primary_key": "AccountId", + "secondary_keys": "Vec" + }, + "RpcDidRecords": { + "_enum": { + "Success": "RpcDidRecordsSuccess", + "IdNotFound": "Vec" + } + }, + "VoteCountProposalFound": { + "ayes": "u64", + "nays": "u64" + }, + "VoteCount": { + "_enum": { + "ProposalFound": "VoteCountProposalFound", + "ProposalNotFound": "" + } + }, + "Vote": "(bool, Balance)", + "VoteByPip": { + "pip": "PipId", + "vote": "Vote" + }, + "BridgeTxDetail": { + "amount": "Balance", + "status": "BridgeTxStatus", + "execution_block": "BlockNumber", + "tx_hash": "H256" + }, + "BridgeTxStatus": { + "_enum": { + "Absent": "", + "Pending": "u8", + "Frozen": "", + "Timelocked": "", + "Handled": "" + } + }, + "HandledTxStatus": { + "_enum": { + "Success": "", + "Error": "Text" + } + }, + "CappedFee": "u64", + "CanTransferResult": { + "_enum": { + "Ok": "u8", + "Err": "Vec" + } + }, + "AuthorizationType": { + "_enum": { + "AttestPrimaryKeyRotation": "", + "RotatePrimaryKey": "", + "TransferTicker": "", + "AddMultiSigSigner": "", + "TransferAssetOwnership": "", + "JoinIdentity": "", + "PortfolioCustody": "", + "BecomeAgent": "", + "AddRelayerPayingKey": "", + "RotatePrimaryKeyToSecondary": "" + } + }, + "ProposalDetails": { + "approvals": "u64", + "rejections": "u64", + "status": "ProposalStatus", + "expiry": "Option", + "auto_close": "bool" + }, + "ProposalStatus": { + "_enum": { + "Invalid": "", + "ActiveOrExpired": "", + "ExecutionSuccessful": "", + "ExecutionFailed": "", + "Rejected": "" + } + }, + "DidStatus": { + "_enum": { + "Unknown": "", + "Exists": "", + "CddVerified": "" + } + }, + "PortfolioName": "Text", + "PortfolioNumber": "u64", + "PortfolioKind": { + "_enum": { + "Default": "", + "User": "PortfolioNumber" + } + }, + "PortfolioId": { + "did": "IdentityId", + "kind": "PortfolioKind" + }, + "Moment": "u64", + "CalendarUnit": { + "_enum": [ + "Second", + "Minute", + "Hour", + "Day", + "Week", + "Month", + "Year" + ] + }, + "CalendarPeriod": { + "unit": "CalendarUnit", + "amount": "u64" + }, + "CheckpointSchedule": { + "start": "Moment", + "period": "CalendarPeriod" + }, + "CheckpointId": "u64", + "ScheduleId": "u64", + "StoredSchedule": { + "schedule": "CheckpointSchedule", + "id": "ScheduleId", + "at": "Moment", + "remaining": "u32" + }, + "ScheduleSpec": { + "start": "Option", + "period": "CalendarPeriod", + "remaining": "u32" + }, + "InstructionStatus": { + "_enum": { + "Unknown": "", + "Pending": "", + "Failed": "" + } + }, + "LegStatus": { + "_enum": { + "PendingTokenLock": "", + "ExecutionPending": "", + "ExecutionToBeSkipped": "(AccountId, u64)" + } + }, + "AffirmationStatus": { + "_enum": { + "Unknown": "", + "Pending": "", + "Affirmed": "" + } + }, + "SettlementType": { + "_enum": { + "SettleOnAffirmation": "", + "SettleOnBlock": "BlockNumber", + "SettleManual": "BlockNumber" + } + }, + "LegId": "u64", + "InstructionId": "u64", + "Instruction": { + "instruction_id": "InstructionId", + "venue_id": "VenueId", + "status": "InstructionStatus", + "settlement_type": "SettlementType", + "created_at": "Option", + "trade_date": "Option", + "value_date": "Option" + }, + "Leg": { + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "Ticker", + "amount": "Balance" + }, + "Venue": { + "creator": "IdentityId", + "venue_type": "VenueType" + }, + "Receipt": { + "receipt_uid": "u64", + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "Ticker", + "amount": "Balance" + }, + "ReceiptMetadata": "Text", + "ReceiptDetails": { + "receipt_uid": "u64", + "leg_id": "LegId", + "signer": "AccountId", + "signature": "OffChainSignature", + "metadata": "ReceiptMetadata" + }, + "UniqueCall": { + "nonce": "u64", + "call": "Call" + }, + "MovePortfolioItem": { + "ticker": "Ticker", + "amount": "Balance", + "memo": "Option" + }, + "WeightToFeeCoefficient": { + "coeffInteger": "Balance", + "coeffFrac": "Perbill", + "negative": "bool", + "degree": "u8" + }, + "WeightPerClass": { + "baseExtrinsic": "Weight", + "maxExtrinsic": "Option", + "maxTotal": "Option", + "reserved": "Option" + }, + "TargetIdentity": { + "_enum": { + "ExternalAgent": "", + "Specific": "IdentityId" + } + }, + "FundraiserId": "u64", + "FundraiserName": "Text", + "FundraiserStatus": { + "_enum": [ + "Live", + "Frozen", + "Closed", + "ClosedEarly" + ] + }, + "FundraiserTier": { + "total": "Balance", + "price": "Balance", + "remaining": "Balance" + }, + "Fundraiser": { + "creator": "IdentityId", + "offering_portfolio": "PortfolioId", + "offering_asset": "Ticker", + "raising_portfolio": "PortfolioId", + "raising_asset": "Ticker", + "tiers": "Vec", + "venue_id": "VenueId", + "start": "Moment", + "end": "Option", + "status": "FundraiserStatus", + "minimum_investment": "Balance" + }, + "VenueId": "u64", + "VenueType": { + "_enum": [ + "Other", + "Distribution", + "Sto", + "Exchange" + ] + }, + "Tax": "Permill", + "TargetIdentities": { + "identities": "Vec", + "treatment": "TargetTreatment" + }, + "TargetTreatment": { + "_enum": [ + "Include", + "Exclude" + ] + }, + "CAKind": { + "_enum": [ + "PredictableBenefit", + "UnpredictableBenefit", + "IssuerNotice", + "Reorganization", + "Other" + ] + }, + "CADetails": "Text", + "CACheckpoint": { + "_enum": { + "Scheduled": "(ScheduleId, u64)", + "Existing": "CheckpointId" + } + }, + "RecordDate": { + "date": "Moment", + "checkpoint": "CACheckpoint" + }, + "RecordDateSpec": { + "_enum": { + "Scheduled": "Moment", + "ExistingSchedule": "ScheduleId", + "Existing": "CheckpointId" + } + }, + "CorporateAction": { + "kind": "CAKind", + "decl_date": "Moment", + "record_date": "Option", + "targets": "TargetIdentities", + "default_withholding_tax": "Tax", + "withholding_tax": "Vec<(IdentityId, Tax)>" + }, + "InitiateCorporateActionArgs": { + "ticker": "Ticker", + "kind": "CAKind", + "decl_date": "Moment", + "record_date": "Option", + "details": "CADetails", + "targets": "Option", + "default_withholding_tax": "Option", + "withholding_tax": "Option>" + }, + "LocalCAId": "u32", + "CAId": { + "ticker": "Ticker", + "local_id": "LocalCAId" + }, + "Distribution": { + "from": "PortfolioId", + "currency": "Ticker", + "per_share": "Balance", + "amount": "Balance", + "remaining": "Balance", + "reclaimed": "bool", + "payment_at": "Moment", + "expires_at": "Option" + }, + "SlashingSwitch": { + "_enum": [ + "Validator", + "ValidatorAndNominator", + "None" + ] + }, + "PriceTier": { + "total": "Balance", + "price": "Balance" + }, + "PermissionedIdentityPrefs": { + "intended_count": "u32", + "running_count": "u32" + }, + "GranularCanTransferResult": { + "invalid_granularity": "bool", + "self_transfer": "bool", + "invalid_receiver_cdd": "bool", + "invalid_sender_cdd": "bool", + "missing_scope_claim": "bool", + "receiver_custodian_error": "bool", + "sender_custodian_error": "bool", + "sender_insufficient_balance": "bool", + "portfolio_validity_result": "PortfolioValidityResult", + "asset_frozen": "bool", + "transfer_condition_result": "Vec", + "compliance_result": "AssetComplianceResult", + "result": "bool" + }, + "PortfolioValidityResult": { + "receiver_is_same_portfolio": "bool", + "sender_portfolio_does_not_exist": "bool", + "receiver_portfolio_does_not_exist": "bool", + "sender_insufficient_balance": "bool", + "result": "bool" + }, + "TransferConditionResult": { + "condition": "TransferCondition", + "result": "bool" + }, + "AGId": "u32", + "AgentGroup": { + "_enum": { + "Full": "", + "Custom": "AGId", + "ExceptMeta": "", + "PolymeshV1CAA": "", + "PolymeshV1PIA": "" + } + }, + "Member": { + "id": "IdentityId", + "expiry_at": "Option", + "inactive_from": "Option" + }, + "ItnRewardStatus": { + "_enum": { + "Unclaimed": "Balance", + "Claimed": "" + } + }, + "NFTId": "u64", + "NFTs": { + "ticker": "Ticker", + "ids": "Vec" + }, + "FungibleToken": { + "ticker": "Ticker", + "amount": "Balance" + }, + "LegAsset": { + "_enum": { + "Fungible": "FungibleToken", + "NonFungible": "NFTs" + } + }, + "LegV2": { + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "LegAsset" + }, + "FundDescription": { + "_enum": { + "Fungible": "FungibleToken", + "NonFungible": "NFTs" + } + }, + "Fund": { + "description": "FundDescription", + "memo": "Option" + }, + "NonFungibleType": { + "_enum": { + "Derivative": "", + "FixedIncome": "", + "Invoice": "", + "Custom": "CustomAssetTypeId" + } + } + } + }, + { + "minmax": [ + 5002000, + 5002009 + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "AccountInfo": "AccountInfoWithDualRefCount", + "IdentityId": "[u8; 32]", + "EventDid": "IdentityId", + "EventCounts": "Vec", + "ErrorAt": "(u32, DispatchError)", + "InvestorUid": "[u8; 16]", + "Ticker": "[u8; 12]", + "CddId": "[u8; 32]", + "ScopeId": "[u8; 32]", + "PosRatio": "(u32, u32)", + "DocumentId": "u32", + "DocumentName": "Text", + "DocumentUri": "Text", + "DocumentHash": { + "_enum": { + "None": "", + "H512": "[u8; 64]", + "H384": "[u8; 48]", + "H320": "[u8; 40]", + "H256": "[u8; 32]", + "H224": "[u8; 28]", + "H192": "[u8; 24]", + "H160": "[u8; 20]", + "H128": "[u8; 16]" + } + }, + "DocumentType": "Text", + "Document": { + "uri": "DocumentUri", + "content_hash": "DocumentHash", + "name": "DocumentName", + "doc_type": "Option", + "filing_date": "Option" + }, + "Version": "u8", + "CustomAssetTypeId": "u32", + "AssetType": { + "_enum": { + "EquityCommon": "", + "EquityPreferred": "", + "Commodity": "", + "FixedIncome": "", + "REIT": "", + "Fund": "", + "RevenueShareAgreement": "", + "StructuredProduct": "", + "Derivative": "", + "Custom": "CustomAssetTypeId", + "StableCoin": "" + } + }, + "AssetIdentifier": { + "_enum": { + "CUSIP": "[u8; 9]", + "CINS": "[u8; 9]", + "ISIN": "[u8; 12]", + "LEI": "[u8; 20]", + "FIGI": "[u8; 12]" + } + }, + "AssetOwnershipRelation": { + "_enum": { + "NotOwned": "", + "TickerOwned": "", + "AssetOwned": "" + } + }, + "AssetName": "Text", + "FundingRoundName": "Text", + "VenueDetails": "Text", + "SecurityToken": { + "total_supply": "Balance", + "owner_did": "IdentityId", + "divisible": "bool", + "asset_type": "AssetType" + }, + "AssetMetadataName": "Text", + "AssetMetadataValue": "Vec", + "AssetMetadataLocalKey": "u64", + "AssetMetadataGlobalKey": "u64", + "AssetMetadataKey": { + "_enum": { + "Global": "u64", + "Local": "u64" + } + }, + "AssetMetadataLockStatus": { + "_enum": { + "Unlocked": "", + "Locked": "", + "LockedUntil": "Moment" + } + }, + "AssetMetadataValueDetail": { + "expire": "Option", + "lock_status": "AssetMetadataLockStatus" + }, + "AssetMetadataDescription": "Text", + "AssetMetadataSpec": { + "url": "Option", + "description": "Option", + "type_def": "Option>" + }, + "PalletName": "Text", + "DispatchableName": "Text", + "AssetPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "PortfolioPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "DispatchableNames": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "PalletPermissions": { + "pallet_name": "PalletName", + "dispatchable_names": "DispatchableNames" + }, + "ExtrinsicPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "Permissions": { + "asset": "AssetPermissions", + "extrinsic": "ExtrinsicPermissions", + "portfolio": "PortfolioPermissions" + }, + "Signatory": { + "_enum": { + "Identity": "IdentityId", + "Account": "AccountId" + } + }, + "SecondaryKey": { + "key": "AccountId", + "permissions": "Permissions" + }, + "SecondaryKeyWithAuth": { + "secondary_key": "SecondaryKey", + "auth_signature": "H512" + }, + "Subsidy": { + "paying_key": "AccountId", + "remaining": "Balance" + }, + "IdentityRole": { + "_enum": [ + "Issuer", + "SimpleTokenIssuer", + "Validator", + "ClaimIssuer", + "Investor", + "NodeRunner", + "PM", + "CDDAMLClaimIssuer", + "AccreditedInvestorClaimIssuer", + "VerifiedIdentityClaimIssuer" + ] + }, + "PreAuthorizedKeyInfo": { + "target_id": "IdentityId", + "secondary_key": "SecondaryKey" + }, + "DidRecord": { + "primary_key": "Option" + }, + "KeyRecord": { + "_enum": { + "PrimaryKey": "IdentityId", + "SecondaryKey": "(IdentityId, Permissions)", + "MultiSigSignerKey": "AccountId" + } + }, + "KeyIdentityData": { + "identity": "IdentityId", + "permissions": "Option" + }, + "CountryCode": { + "_enum": [ + "AF", + "AX", + "AL", + "DZ", + "AS", + "AD", + "AO", + "AI", + "AQ", + "AG", + "AR", + "AM", + "AW", + "AU", + "AT", + "AZ", + "BS", + "BH", + "BD", + "BB", + "BY", + "BE", + "BZ", + "BJ", + "BM", + "BT", + "BO", + "BA", + "BW", + "BV", + "BR", + "VG", + "IO", + "BN", + "BG", + "BF", + "BI", + "KH", + "CM", + "CA", + "CV", + "KY", + "CF", + "TD", + "CL", + "CN", + "HK", + "MO", + "CX", + "CC", + "CO", + "KM", + "CG", + "CD", + "CK", + "CR", + "CI", + "HR", + "CU", + "CY", + "CZ", + "DK", + "DJ", + "DM", + "DO", + "EC", + "EG", + "SV", + "GQ", + "ER", + "EE", + "ET", + "FK", + "FO", + "FJ", + "FI", + "FR", + "GF", + "PF", + "TF", + "GA", + "GM", + "GE", + "DE", + "GH", + "GI", + "GR", + "GL", + "GD", + "GP", + "GU", + "GT", + "GG", + "GN", + "GW", + "GY", + "HT", + "HM", + "VA", + "HN", + "HU", + "IS", + "IN", + "ID", + "IR", + "IQ", + "IE", + "IM", + "IL", + "IT", + "JM", + "JP", + "JE", + "JO", + "KZ", + "KE", + "KI", + "KP", + "KR", + "KW", + "KG", + "LA", + "LV", + "LB", + "LS", + "LR", + "LY", + "LI", + "LT", + "LU", + "MK", + "MG", + "MW", + "MY", + "MV", + "ML", + "MT", + "MH", + "MQ", + "MR", + "MU", + "YT", + "MX", + "FM", + "MD", + "MC", + "MN", + "ME", + "MS", + "MA", + "MZ", + "MM", + "NA", + "NR", + "NP", + "NL", + "AN", + "NC", + "NZ", + "NI", + "NE", + "NG", + "NU", + "NF", + "MP", + "NO", + "OM", + "PK", + "PW", + "PS", + "PA", + "PG", + "PY", + "PE", + "PH", + "PN", + "PL", + "PT", + "PR", + "QA", + "RE", + "RO", + "RU", + "RW", + "BL", + "SH", + "KN", + "LC", + "MF", + "PM", + "VC", + "WS", + "SM", + "ST", + "SA", + "SN", + "RS", + "SC", + "SL", + "SG", + "SK", + "SI", + "SB", + "SO", + "ZA", + "GS", + "SS", + "ES", + "LK", + "SD", + "SR", + "SJ", + "SZ", + "SE", + "CH", + "SY", + "TW", + "TJ", + "TZ", + "TH", + "TL", + "TG", + "TK", + "TO", + "TT", + "TN", + "TR", + "TM", + "TC", + "TV", + "UG", + "UA", + "AE", + "GB", + "US", + "UM", + "UY", + "UZ", + "VU", + "VE", + "VN", + "VI", + "WF", + "EH", + "YE", + "ZM", + "ZW", + "BQ", + "CW", + "SX" + ] + }, + "Scope": { + "_enum": { + "Identity": "IdentityId", + "Ticker": "Ticker", + "Custom": "Vec" + } + }, + "InvestorZKProofData": "[u8; 64]", + "Scalar": "[u8; 32]", + "RistrettoPoint": "[u8; 32]", + "ZkProofData": { + "challenge_responses": "[Scalar; 2]", + "subtract_expressions_res": "RistrettoPoint", + "blinded_scope_did_hash": "RistrettoPoint" + }, + "ScopeClaimProof": { + "proof_scope_id_wellformed": "Signature", + "proof_scope_id_cdd_id_match": "ZkProofData", + "scope_id": "RistrettoPoint" + }, + "CustomClaimTypeId": "u32", + "Claim": { + "_enum": { + "Accredited": "Scope", + "Affiliate": "Scope", + "BuyLockup": "Scope", + "SellLockup": "Scope", + "CustomerDueDiligence": "CddId", + "KnowYourCustomer": "Scope", + "Jurisdiction": "(CountryCode, Scope)", + "Exempted": "Scope", + "Blocked": "Scope", + "InvestorUniqueness": "(Scope, ScopeId, CddId)", + "NoData": "", + "InvestorUniquenessV2": "CddId", + "Custom": "(CustomClaimTypeId, Option)" + } + }, + "ClaimType": { + "_enum": { + "Accredited": "", + "Affiliate": "", + "BuyLockup": "", + "SellLockup": "", + "CustomerDueDiligence": "", + "KnowYourCustomer": "", + "Jurisdiction": "", + "Exempted": "", + "Blocked": "", + "InvestorUniqueness": "", + "NoData": "", + "InvestorUniquenessV2": "", + "Custom": "CustomClaimTypeId" + } + }, + "IdentityClaim": { + "claim_issuer": "IdentityId", + "issuance_date": "Moment", + "last_update_date": "Moment", + "expiry": "Option", + "claim": "Claim" + }, + "ComplianceRequirement": { + "sender_conditions": "Vec", + "receiver_conditions": "Vec", + "id": "u32" + }, + "ComplianceRequirementResult": { + "sender_conditions": "Vec", + "receiver_conditions": "Vec", + "id": "u32", + "result": "bool" + }, + "ConditionType": { + "_enum": { + "IsPresent": "Claim", + "IsAbsent": "Claim", + "IsAnyOf": "Vec", + "IsNoneOf": "Vec", + "IsIdentity": "TargetIdentity" + } + }, + "TrustedFor": { + "_enum": { + "Any": "", + "Specific": "Vec" + } + }, + "TrustedIssuer": { + "issuer": "IdentityId", + "trusted_for": "TrustedFor" + }, + "Condition": { + "condition_type": "ConditionType", + "issuers": "Vec" + }, + "ConditionResult": { + "condition": "Condition", + "result": "bool" + }, + "TargetIdAuthorization": { + "target_id": "IdentityId", + "nonce": "u64", + "expires_at": "Moment" + }, + "TickerRegistration": { + "owner": "IdentityId", + "expiry": "Option" + }, + "TickerRegistrationConfig": { + "max_ticker_length": "u8", + "registration_length": "Option" + }, + "ClassicTickerRegistration": { + "eth_owner": "EthereumAddress", + "is_created": "bool" + }, + "ClassicTickerImport": { + "eth_owner": "EthereumAddress", + "ticker": "Ticker", + "is_contract": "bool", + "is_created": "bool" + }, + "EthereumAddress": "[u8; 20]", + "EcdsaSignature": "[u8; 65]", + "MotionTitle": "Text", + "MotionInfoLink": "Text", + "ChoiceTitle": "Text", + "Motion": { + "title": "MotionTitle", + "info_link": "MotionInfoLink", + "choices": "Vec" + }, + "BallotTitle": "Text", + "BallotMeta": { + "title": "BallotTitle", + "motions": "Vec" + }, + "BallotTimeRange": { + "start": "Moment", + "end": "Moment" + }, + "BallotVote": { + "power": "Balance", + "fallback": "Option" + }, + "MaybeBlock": { + "_enum": { + "Some": "BlockNumber", + "None": "" + } + }, + "Url": "Text", + "PipDescription": "Text", + "PipsMetadata": { + "id": "PipId", + "url": "Option", + "description": "Option", + "created_at": "BlockNumber", + "transaction_version": "u32", + "expiry": "MaybeBlock" + }, + "Proposer": { + "_enum": { + "Community": "AccountId", + "Committee": "Committee" + } + }, + "Committee": { + "_enum": { + "Technical": "", + "Upgrade": "" + } + }, + "SkippedCount": "u8", + "SnapshottedPip": { + "id": "PipId", + "weight": "(bool, Balance)" + }, + "SnapshotId": "u32", + "SnapshotMetadata": { + "created_at": "BlockNumber", + "made_by": "AccountId", + "id": "SnapshotId" + }, + "SnapshotResult": { + "_enum": { + "Approve": "", + "Reject": "", + "Skip": "" + } + }, + "Beneficiary": { + "id": "IdentityId", + "amount": "Balance" + }, + "DepositInfo": { + "owner": "AccountId", + "amount": "Balance" + }, + "PolymeshVotes": { + "index": "u32", + "ayes": "Vec", + "nays": "Vec", + "expiry": "MaybeBlock" + }, + "PipId": "u32", + "ProposalState": { + "_enum": [ + "Pending", + "Rejected", + "Scheduled", + "Failed", + "Executed", + "Expired" + ] + }, + "Pip": { + "id": "PipId", + "proposal": "Call", + "proposer": "Proposer" + }, + "ProposalData": { + "_enum": { + "Hash": "Hash", + "Proposal": "Vec" + } + }, + "OffChainSignature": "MultiSignature", + "Authorization": { + "authorization_data": "AuthorizationData", + "authorized_by": "IdentityId", + "expiry": "Option", + "auth_id": "u64" + }, + "AuthorizationData": { + "_enum": { + "AttestPrimaryKeyRotation": "IdentityId", + "RotatePrimaryKey": "", + "TransferTicker": "Ticker", + "AddMultiSigSigner": "AccountId", + "TransferAssetOwnership": "Ticker", + "JoinIdentity": "Permissions", + "PortfolioCustody": "PortfolioId", + "BecomeAgent": "(Ticker, AgentGroup)", + "AddRelayerPayingKey": "(AccountId, AccountId, Balance)", + "RotatePrimaryKeyToSecondary": "Permissions" + } + }, + "AuthorizationNonce": "u64", + "Percentage": "Permill", + "RestrictionResult": { + "_enum": [ + "Valid", + "Invalid", + "ForceValid" + ] + }, + "Memo": "[u8; 32]", + "BridgeTx": { + "nonce": "u32", + "recipient": "AccountId", + "amount": "Balance", + "tx_hash": "H256" + }, + "AssetScope": { + "_enum": { + "Ticker": "Ticker" + } + }, + "StatOpType": { + "_enum": [ + "Count", + "Balance" + ] + }, + "StatType": { + "op": "StatOpType", + "claim_issuer": "Option<(ClaimType, IdentityId)>" + }, + "StatClaim": { + "_enum": { + "Accredited": "bool", + "Affiliate": "bool", + "Jurisdiction": "Option" + } + }, + "Stat1stKey": { + "asset": "AssetScope", + "stat_type": "StatType" + }, + "Stat2ndKey": { + "_enum": { + "NoClaimStat": "", + "Claim": "StatClaim" + } + }, + "StatUpdate": { + "key2": "Stat2ndKey", + "value": "Option" + }, + "TransferCondition": { + "_enum": { + "MaxInvestorCount": "u64", + "MaxInvestorOwnership": "Percentage", + "ClaimCount": "(StatClaim, IdentityId, u64, Option)", + "ClaimOwnership": "(StatClaim, IdentityId, Percentage, Percentage)" + } + }, + "AssetTransferCompliance": { + "paused": "bool", + "requirements": "Vec" + }, + "TransferConditionExemptKey": { + "asset": "AssetScope", + "op": "StatOpType", + "claim_type": "Option" + }, + "AssetCompliance": { + "paused": "bool", + "requirements": "Vec" + }, + "AssetComplianceResult": { + "paused": "bool", + "requirements": "Vec", + "result": "bool" + }, + "Claim1stKey": { + "target": "IdentityId", + "claim_type": "ClaimType" + }, + "Claim2ndKey": { + "issuer": "IdentityId", + "scope": "Option" + }, + "InactiveMember": { + "id": "IdentityId", + "deactivated_at": "Moment", + "expiry": "Option" + }, + "VotingResult": { + "ayes_count": "u32", + "ayes_stake": "Balance", + "nays_count": "u32", + "nays_stake": "Balance" + }, + "ProtocolOp": { + "_enum": [ + "AssetRegisterTicker", + "AssetIssue", + "AssetAddDocuments", + "AssetCreateAsset", + "CheckpointCreateSchedule", + "ComplianceManagerAddComplianceRequirement", + "IdentityCddRegisterDid", + "IdentityAddClaim", + "IdentityAddSecondaryKeysWithAuthorization", + "PipsPropose", + "ContractsPutCode", + "CorporateBallotAttachBallot", + "CapitalDistributionDistribute" + ] + }, + "CddStatus": { + "_enum": { + "Ok": "IdentityId", + "Err": "Vec" + } + }, + "AssetDidResult": { + "_enum": { + "Ok": "IdentityId", + "Err": "Vec" + } + }, + "RpcDidRecordsSuccess": { + "primary_key": "AccountId", + "secondary_keys": "Vec" + }, + "RpcDidRecords": { + "_enum": { + "Success": "RpcDidRecordsSuccess", + "IdNotFound": "Vec" + } + }, + "VoteCountProposalFound": { + "ayes": "u64", + "nays": "u64" + }, + "VoteCount": { + "_enum": { + "ProposalFound": "VoteCountProposalFound", + "ProposalNotFound": "" + } + }, + "Vote": "(bool, Balance)", + "VoteByPip": { + "pip": "PipId", + "vote": "Vote" + }, + "BridgeTxDetail": { + "amount": "Balance", + "status": "BridgeTxStatus", + "execution_block": "BlockNumber", + "tx_hash": "H256" + }, + "BridgeTxStatus": { + "_enum": { + "Absent": "", + "Pending": "u8", + "Frozen": "", + "Timelocked": "", + "Handled": "" + } + }, + "HandledTxStatus": { + "_enum": { + "Success": "", + "Error": "Text" + } + }, + "CappedFee": "u64", + "CanTransferResult": { + "_enum": { + "Ok": "u8", + "Err": "Vec" + } + }, + "AuthorizationType": { + "_enum": { + "AttestPrimaryKeyRotation": "", + "RotatePrimaryKey": "", + "TransferTicker": "", + "AddMultiSigSigner": "", + "TransferAssetOwnership": "", + "JoinIdentity": "", + "PortfolioCustody": "", + "BecomeAgent": "", + "AddRelayerPayingKey": "", + "RotatePrimaryKeyToSecondary": "" + } + }, + "ProposalDetails": { + "approvals": "u64", + "rejections": "u64", + "status": "ProposalStatus", + "expiry": "Option", + "auto_close": "bool" + }, + "ProposalStatus": { + "_enum": { + "Invalid": "", + "ActiveOrExpired": "", + "ExecutionSuccessful": "", + "ExecutionFailed": "", + "Rejected": "" + } + }, + "DidStatus": { + "_enum": { + "Unknown": "", + "Exists": "", + "CddVerified": "" + } + }, + "PortfolioName": "Text", + "PortfolioNumber": "u64", + "PortfolioKind": { + "_enum": { + "Default": "", + "User": "PortfolioNumber" + } + }, + "PortfolioId": { + "did": "IdentityId", + "kind": "PortfolioKind" + }, + "Moment": "u64", + "CalendarUnit": { + "_enum": [ + "Second", + "Minute", + "Hour", + "Day", + "Week", + "Month", + "Year" + ] + }, + "CalendarPeriod": { + "unit": "CalendarUnit", + "amount": "u64" + }, + "CheckpointSchedule": { + "start": "Moment", + "period": "CalendarPeriod" + }, + "CheckpointId": "u64", + "ScheduleId": "u64", + "StoredSchedule": { + "schedule": "CheckpointSchedule", + "id": "ScheduleId", + "at": "Moment", + "remaining": "u32" + }, + "ScheduleSpec": { + "start": "Option", + "period": "CalendarPeriod", + "remaining": "u32" + }, + "InstructionStatus": { + "_enum": { + "Unknown": "", + "Pending": "", + "Failed": "" + } + }, + "LegStatus": { + "_enum": { + "PendingTokenLock": "", + "ExecutionPending": "", + "ExecutionToBeSkipped": "(AccountId, u64)" + } + }, + "AffirmationStatus": { + "_enum": { + "Unknown": "", + "Pending": "", + "Affirmed": "" + } + }, + "SettlementType": { + "_enum": { + "SettleOnAffirmation": "", + "SettleOnBlock": "BlockNumber", + "SettleManual": "BlockNumber" + } + }, + "LegId": "u64", + "InstructionId": "u64", + "Instruction": { + "instruction_id": "InstructionId", + "venue_id": "VenueId", + "status": "InstructionStatus", + "settlement_type": "SettlementType", + "created_at": "Option", + "trade_date": "Option", + "value_date": "Option" + }, + "Leg": { + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "Ticker", + "amount": "Balance" + }, + "Venue": { + "creator": "IdentityId", + "venue_type": "VenueType" + }, + "Receipt": { + "receipt_uid": "u64", + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "Ticker", + "amount": "Balance" + }, + "ReceiptMetadata": "Text", + "ReceiptDetails": { + "receipt_uid": "u64", + "leg_id": "LegId", + "signer": "AccountId", + "signature": "OffChainSignature", + "metadata": "ReceiptMetadata" + }, + "UniqueCall": { + "nonce": "u64", + "call": "Call" + }, + "MovePortfolioItem": { + "ticker": "Ticker", + "amount": "Balance", + "memo": "Option" + }, + "WeightToFeeCoefficient": { + "coeffInteger": "Balance", + "coeffFrac": "Perbill", + "negative": "bool", + "degree": "u8" + }, + "WeightPerClass": { + "baseExtrinsic": "Weight", + "maxExtrinsic": "Option", + "maxTotal": "Option", + "reserved": "Option" + }, + "TargetIdentity": { + "_enum": { + "ExternalAgent": "", + "Specific": "IdentityId" + } + }, + "FundraiserId": "u64", + "FundraiserName": "Text", + "FundraiserStatus": { + "_enum": [ + "Live", + "Frozen", + "Closed", + "ClosedEarly" + ] + }, + "FundraiserTier": { + "total": "Balance", + "price": "Balance", + "remaining": "Balance" + }, + "Fundraiser": { + "creator": "IdentityId", + "offering_portfolio": "PortfolioId", + "offering_asset": "Ticker", + "raising_portfolio": "PortfolioId", + "raising_asset": "Ticker", + "tiers": "Vec", + "venue_id": "VenueId", + "start": "Moment", + "end": "Option", + "status": "FundraiserStatus", + "minimum_investment": "Balance" + }, + "VenueId": "u64", + "VenueType": { + "_enum": [ + "Other", + "Distribution", + "Sto", + "Exchange" + ] + }, + "Tax": "Permill", + "TargetIdentities": { + "identities": "Vec", + "treatment": "TargetTreatment" + }, + "TargetTreatment": { + "_enum": [ + "Include", + "Exclude" + ] + }, + "CAKind": { + "_enum": [ + "PredictableBenefit", + "UnpredictableBenefit", + "IssuerNotice", + "Reorganization", + "Other" + ] + }, + "CADetails": "Text", + "CACheckpoint": { + "_enum": { + "Scheduled": "(ScheduleId, u64)", + "Existing": "CheckpointId" + } + }, + "RecordDate": { + "date": "Moment", + "checkpoint": "CACheckpoint" + }, + "RecordDateSpec": { + "_enum": { + "Scheduled": "Moment", + "ExistingSchedule": "ScheduleId", + "Existing": "CheckpointId" + } + }, + "CorporateAction": { + "kind": "CAKind", + "decl_date": "Moment", + "record_date": "Option", + "targets": "TargetIdentities", + "default_withholding_tax": "Tax", + "withholding_tax": "Vec<(IdentityId, Tax)>" + }, + "InitiateCorporateActionArgs": { + "ticker": "Ticker", + "kind": "CAKind", + "decl_date": "Moment", + "record_date": "Option", + "details": "CADetails", + "targets": "Option", + "default_withholding_tax": "Option", + "withholding_tax": "Option>" + }, + "LocalCAId": "u32", + "CAId": { + "ticker": "Ticker", + "local_id": "LocalCAId" + }, + "Distribution": { + "from": "PortfolioId", + "currency": "Ticker", + "per_share": "Balance", + "amount": "Balance", + "remaining": "Balance", + "reclaimed": "bool", + "payment_at": "Moment", + "expires_at": "Option" + }, + "SlashingSwitch": { + "_enum": [ + "Validator", + "ValidatorAndNominator", + "None" + ] + }, + "PriceTier": { + "total": "Balance", + "price": "Balance" + }, + "PermissionedIdentityPrefs": { + "intended_count": "u32", + "running_count": "u32" + }, + "GranularCanTransferResult": { + "invalid_granularity": "bool", + "self_transfer": "bool", + "invalid_receiver_cdd": "bool", + "invalid_sender_cdd": "bool", + "missing_scope_claim": "bool", + "receiver_custodian_error": "bool", + "sender_custodian_error": "bool", + "sender_insufficient_balance": "bool", + "portfolio_validity_result": "PortfolioValidityResult", + "asset_frozen": "bool", + "transfer_condition_result": "Vec", + "compliance_result": "AssetComplianceResult", + "result": "bool" + }, + "PortfolioValidityResult": { + "receiver_is_same_portfolio": "bool", + "sender_portfolio_does_not_exist": "bool", + "receiver_portfolio_does_not_exist": "bool", + "sender_insufficient_balance": "bool", + "result": "bool" + }, + "TransferConditionResult": { + "condition": "TransferCondition", + "result": "bool" + }, + "AGId": "u32", + "AgentGroup": { + "_enum": { + "Full": "", + "Custom": "AGId", + "ExceptMeta": "", + "PolymeshV1CAA": "", + "PolymeshV1PIA": "" + } + }, + "Member": { + "id": "IdentityId", + "expiry_at": "Option", + "inactive_from": "Option" + }, + "ItnRewardStatus": { + "_enum": { + "Unclaimed": "Balance", + "Claimed": "" + } + } + } + }, + { + "minmax": [ + 5001000, + 5001009 + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "AccountInfo": "AccountInfoWithDualRefCount", + "IdentityId": "[u8; 32]", + "EventDid": "IdentityId", + "EventCounts": "Vec", + "ErrorAt": "(u32, DispatchError)", + "InvestorUid": "[u8; 16]", + "Ticker": "[u8; 12]", + "CddId": "[u8; 32]", + "ScopeId": "[u8; 32]", + "PosRatio": "(u32, u32)", + "DocumentId": "u32", + "DocumentName": "Text", + "DocumentUri": "Text", + "DocumentHash": { + "_enum": { + "None": "", + "H512": "[u8; 64]", + "H384": "[u8; 48]", + "H320": "[u8; 40]", + "H256": "[u8; 32]", + "H224": "[u8; 28]", + "H192": "[u8; 24]", + "H160": "[u8; 20]", + "H128": "[u8; 16]" + } + }, + "DocumentType": "Text", + "Document": { + "uri": "DocumentUri", + "content_hash": "DocumentHash", + "name": "DocumentName", + "doc_type": "Option", + "filing_date": "Option" + }, + "Version": "u8", + "CustomAssetTypeId": "u32", + "AssetType": { + "_enum": { + "EquityCommon": "", + "EquityPreferred": "", + "Commodity": "", + "FixedIncome": "", + "REIT": "", + "Fund": "", + "RevenueShareAgreement": "", + "StructuredProduct": "", + "Derivative": "", + "Custom": "CustomAssetTypeId", + "StableCoin": "" + } + }, + "AssetIdentifier": { + "_enum": { + "CUSIP": "[u8; 9]", + "CINS": "[u8; 9]", + "ISIN": "[u8; 12]", + "LEI": "[u8; 20]", + "FIGI": "[u8; 12]" + } + }, + "AssetOwnershipRelation": { + "_enum": { + "NotOwned": "", + "TickerOwned": "", + "AssetOwned": "" + } + }, + "AssetName": "Text", + "FundingRoundName": "Text", + "VenueDetails": "Text", + "SecurityToken": { + "total_supply": "Balance", + "owner_did": "IdentityId", + "divisible": "bool", + "asset_type": "AssetType" + }, + "AssetMetadataName": "Text", + "AssetMetadataValue": "Vec", + "AssetMetadataLocalKey": "u64", + "AssetMetadataGlobalKey": "u64", + "AssetMetadataKey": { + "_enum": { + "Global": "u64", + "Local": "u64" + } + }, + "AssetMetadataLockStatus": { + "_enum": { + "Unlocked": "", + "Locked": "", + "LockedUntil": "Moment" + } + }, + "AssetMetadataValueDetail": { + "expire": "Option", + "lock_status": "AssetMetadataLockStatus" + }, + "AssetMetadataDescription": "Text", + "AssetMetadataSpec": { + "url": "Option", + "description": "Option", + "type_def": "Option>" + }, + "PalletName": "Text", + "DispatchableName": "Text", + "AssetPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "PortfolioPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "DispatchableNames": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "PalletPermissions": { + "pallet_name": "PalletName", + "dispatchable_names": "DispatchableNames" + }, + "ExtrinsicPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "Permissions": { + "asset": "AssetPermissions", + "extrinsic": "ExtrinsicPermissions", + "portfolio": "PortfolioPermissions" + }, + "Signatory": { + "_enum": { + "Identity": "IdentityId", + "Account": "AccountId" + } + }, + "SecondaryKey": { + "key": "AccountId", + "permissions": "Permissions" + }, + "SecondaryKeyWithAuth": { + "secondary_key": "SecondaryKey", + "auth_signature": "H512" + }, + "Subsidy": { + "paying_key": "AccountId", + "remaining": "Balance" + }, + "IdentityRole": { + "_enum": [ + "Issuer", + "SimpleTokenIssuer", + "Validator", + "ClaimIssuer", + "Investor", + "NodeRunner", + "PM", + "CDDAMLClaimIssuer", + "AccreditedInvestorClaimIssuer", + "VerifiedIdentityClaimIssuer" + ] + }, + "PreAuthorizedKeyInfo": { + "target_id": "IdentityId", + "secondary_key": "SecondaryKey" + }, + "DidRecord": { + "primary_key": "Option" + }, + "KeyRecord": { + "_enum": { + "PrimaryKey": "IdentityId", + "SecondaryKey": "(IdentityId, Permissions)", + "MultiSigSignerKey": "AccountId" + } + }, + "KeyIdentityData": { + "identity": "IdentityId", + "permissions": "Option" + }, + "CountryCode": { + "_enum": [ + "AF", + "AX", + "AL", + "DZ", + "AS", + "AD", + "AO", + "AI", + "AQ", + "AG", + "AR", + "AM", + "AW", + "AU", + "AT", + "AZ", + "BS", + "BH", + "BD", + "BB", + "BY", + "BE", + "BZ", + "BJ", + "BM", + "BT", + "BO", + "BA", + "BW", + "BV", + "BR", + "VG", + "IO", + "BN", + "BG", + "BF", + "BI", + "KH", + "CM", + "CA", + "CV", + "KY", + "CF", + "TD", + "CL", + "CN", + "HK", + "MO", + "CX", + "CC", + "CO", + "KM", + "CG", + "CD", + "CK", + "CR", + "CI", + "HR", + "CU", + "CY", + "CZ", + "DK", + "DJ", + "DM", + "DO", + "EC", + "EG", + "SV", + "GQ", + "ER", + "EE", + "ET", + "FK", + "FO", + "FJ", + "FI", + "FR", + "GF", + "PF", + "TF", + "GA", + "GM", + "GE", + "DE", + "GH", + "GI", + "GR", + "GL", + "GD", + "GP", + "GU", + "GT", + "GG", + "GN", + "GW", + "GY", + "HT", + "HM", + "VA", + "HN", + "HU", + "IS", + "IN", + "ID", + "IR", + "IQ", + "IE", + "IM", + "IL", + "IT", + "JM", + "JP", + "JE", + "JO", + "KZ", + "KE", + "KI", + "KP", + "KR", + "KW", + "KG", + "LA", + "LV", + "LB", + "LS", + "LR", + "LY", + "LI", + "LT", + "LU", + "MK", + "MG", + "MW", + "MY", + "MV", + "ML", + "MT", + "MH", + "MQ", + "MR", + "MU", + "YT", + "MX", + "FM", + "MD", + "MC", + "MN", + "ME", + "MS", + "MA", + "MZ", + "MM", + "NA", + "NR", + "NP", + "NL", + "AN", + "NC", + "NZ", + "NI", + "NE", + "NG", + "NU", + "NF", + "MP", + "NO", + "OM", + "PK", + "PW", + "PS", + "PA", + "PG", + "PY", + "PE", + "PH", + "PN", + "PL", + "PT", + "PR", + "QA", + "RE", + "RO", + "RU", + "RW", + "BL", + "SH", + "KN", + "LC", + "MF", + "PM", + "VC", + "WS", + "SM", + "ST", + "SA", + "SN", + "RS", + "SC", + "SL", + "SG", + "SK", + "SI", + "SB", + "SO", + "ZA", + "GS", + "SS", + "ES", + "LK", + "SD", + "SR", + "SJ", + "SZ", + "SE", + "CH", + "SY", + "TW", + "TJ", + "TZ", + "TH", + "TL", + "TG", + "TK", + "TO", + "TT", + "TN", + "TR", + "TM", + "TC", + "TV", + "UG", + "UA", + "AE", + "GB", + "US", + "UM", + "UY", + "UZ", + "VU", + "VE", + "VN", + "VI", + "WF", + "EH", + "YE", + "ZM", + "ZW", + "BQ", + "CW", + "SX" + ] + }, + "Scope": { + "_enum": { + "Identity": "IdentityId", + "Ticker": "Ticker", + "Custom": "Vec" + } + }, + "InvestorZKProofData": "[u8; 64]", + "Scalar": "[u8; 32]", + "RistrettoPoint": "[u8; 32]", + "ZkProofData": { + "challenge_responses": "[Scalar; 2]", + "subtract_expressions_res": "RistrettoPoint", + "blinded_scope_did_hash": "RistrettoPoint" + }, + "ScopeClaimProof": { + "proof_scope_id_wellformed": "Signature", + "proof_scope_id_cdd_id_match": "ZkProofData", + "scope_id": "RistrettoPoint" + }, + "Claim": { + "_enum": { + "Accredited": "Scope", + "Affiliate": "Scope", + "BuyLockup": "Scope", + "SellLockup": "Scope", + "CustomerDueDiligence": "CddId", + "KnowYourCustomer": "Scope", + "Jurisdiction": "(CountryCode, Scope)", + "Exempted": "Scope", + "Blocked": "Scope", + "InvestorUniqueness": "(Scope, ScopeId, CddId)", + "NoData": "", + "InvestorUniquenessV2": "(CddId)" + } + }, + "ClaimType": { + "_enum": { + "Accredited": "", + "Affiliate": "", + "BuyLockup": "", + "SellLockup": "", + "CustomerDueDiligence": "", + "KnowYourCustomer": "", + "Jurisdiction": "", + "Exempted": "", + "Blocked": "", + "InvestorUniqueness": "", + "NoData": "", + "InvestorUniquenessV2": "" + } + }, + "IdentityClaim": { + "claim_issuer": "IdentityId", + "issuance_date": "Moment", + "last_update_date": "Moment", + "expiry": "Option", + "claim": "Claim" + }, + "ComplianceRequirement": { + "sender_conditions": "Vec", + "receiver_conditions": "Vec", + "id": "u32" + }, + "ComplianceRequirementResult": { + "sender_conditions": "Vec", + "receiver_conditions": "Vec", + "id": "u32", + "result": "bool" + }, + "ConditionType": { + "_enum": { + "IsPresent": "Claim", + "IsAbsent": "Claim", + "IsAnyOf": "Vec", + "IsNoneOf": "Vec", + "IsIdentity": "TargetIdentity" + } + }, + "TrustedFor": { + "_enum": { + "Any": "", + "Specific": "Vec" + } + }, + "TrustedIssuer": { + "issuer": "IdentityId", + "trusted_for": "TrustedFor" + }, + "Condition": { + "condition_type": "ConditionType", + "issuers": "Vec" + }, + "ConditionResult": { + "condition": "Condition", + "result": "bool" + }, + "TargetIdAuthorization": { + "target_id": "IdentityId", + "nonce": "u64", + "expires_at": "Moment" + }, + "TickerRegistration": { + "owner": "IdentityId", + "expiry": "Option" + }, + "TickerRegistrationConfig": { + "max_ticker_length": "u8", + "registration_length": "Option" + }, + "ClassicTickerRegistration": { + "eth_owner": "EthereumAddress", + "is_created": "bool" + }, + "ClassicTickerImport": { + "eth_owner": "EthereumAddress", + "ticker": "Ticker", + "is_contract": "bool", + "is_created": "bool" + }, + "EthereumAddress": "[u8; 20]", + "EcdsaSignature": "[u8; 65]", + "MotionTitle": "Text", + "MotionInfoLink": "Text", + "ChoiceTitle": "Text", + "Motion": { + "title": "MotionTitle", + "info_link": "MotionInfoLink", + "choices": "Vec" + }, + "BallotTitle": "Text", + "BallotMeta": { + "title": "BallotTitle", + "motions": "Vec" + }, + "BallotTimeRange": { + "start": "Moment", + "end": "Moment" + }, + "BallotVote": { + "power": "Balance", + "fallback": "Option" + }, + "MaybeBlock": { + "_enum": { + "Some": "BlockNumber", + "None": "" + } + }, + "Url": "Text", + "PipDescription": "Text", + "PipsMetadata": { + "id": "PipId", + "url": "Option", + "description": "Option", + "created_at": "BlockNumber", + "transaction_version": "u32", + "expiry": "MaybeBlock" + }, + "Proposer": { + "_enum": { + "Community": "AccountId", + "Committee": "Committee" + } + }, + "Committee": { + "_enum": { + "Technical": "", + "Upgrade": "" + } + }, + "SkippedCount": "u8", + "SnapshottedPip": { + "id": "PipId", + "weight": "(bool, Balance)" + }, + "SnapshotId": "u32", + "SnapshotMetadata": { + "created_at": "BlockNumber", + "made_by": "AccountId", + "id": "SnapshotId" + }, + "SnapshotResult": { + "_enum": { + "Approve": "", + "Reject": "", + "Skip": "" + } + }, + "Beneficiary": { + "id": "IdentityId", + "amount": "Balance" + }, + "DepositInfo": { + "owner": "AccountId", + "amount": "Balance" + }, + "PolymeshVotes": { + "index": "u32", + "ayes": "Vec", + "nays": "Vec", + "expiry": "MaybeBlock" + }, + "PipId": "u32", + "ProposalState": { + "_enum": [ + "Pending", + "Rejected", + "Scheduled", + "Failed", + "Executed", + "Expired" + ] + }, + "Pip": { + "id": "PipId", + "proposal": "Call", + "proposer": "Proposer" + }, + "ProposalData": { + "_enum": { + "Hash": "Hash", + "Proposal": "Vec" + } + }, + "OffChainSignature": "MultiSignature", + "Authorization": { + "authorization_data": "AuthorizationData", + "authorized_by": "IdentityId", + "expiry": "Option", + "auth_id": "u64" + }, + "AuthorizationData": { + "_enum": { + "AttestPrimaryKeyRotation": "IdentityId", + "RotatePrimaryKey": "", + "TransferTicker": "Ticker", + "AddMultiSigSigner": "AccountId", + "TransferAssetOwnership": "Ticker", + "JoinIdentity": "Permissions", + "PortfolioCustody": "PortfolioId", + "BecomeAgent": "(Ticker, AgentGroup)", + "AddRelayerPayingKey": "(AccountId, AccountId, Balance)", + "RotatePrimaryKeyToSecondary": "Permissions" + } + }, + "AuthorizationNonce": "u64", + "Percentage": "Permill", + "RestrictionResult": { + "_enum": [ + "Valid", + "Invalid", + "ForceValid" + ] + }, + "Memo": "[u8; 32]", + "BridgeTx": { + "nonce": "u32", + "recipient": "AccountId", + "amount": "Balance", + "tx_hash": "H256" + }, + "AssetScope": { + "_enum": { + "Ticker": "Ticker" + } + }, + "StatOpType": { + "_enum": [ + "Count", + "Balance" + ] + }, + "StatType": { + "op": "StatOpType", + "claim_issuer": "Option<(ClaimType, IdentityId)>" + }, + "StatClaim": { + "_enum": { + "Accredited": "bool", + "Affiliate": "bool", + "Jurisdiction": "Option" + } + }, + "Stat1stKey": { + "asset": "AssetScope", + "stat_type": "StatType" + }, + "Stat2ndKey": { + "_enum": { + "NoClaimStat": "", + "Claim": "StatClaim" + } + }, + "StatUpdate": { + "key2": "Stat2ndKey", + "value": "Option" + }, + "TransferCondition": { + "_enum": { + "MaxInvestorCount": "u64", + "MaxInvestorOwnership": "Percentage", + "ClaimCount": "(StatClaim, IdentityId, u64, Option)", + "ClaimOwnership": "(StatClaim, IdentityId, Percentage, Percentage)" + } + }, + "AssetTransferCompliance": { + "paused": "bool", + "requirements": "Vec" + }, + "TransferConditionExemptKey": { + "asset": "AssetScope", + "op": "StatOpType", + "claim_type": "Option" + }, + "AssetCompliance": { + "paused": "bool", + "requirements": "Vec" + }, + "AssetComplianceResult": { + "paused": "bool", + "requirements": "Vec", + "result": "bool" + }, + "Claim1stKey": { + "target": "IdentityId", + "claim_type": "ClaimType" + }, + "Claim2ndKey": { + "issuer": "IdentityId", + "scope": "Option" + }, + "InactiveMember": { + "id": "IdentityId", + "deactivated_at": "Moment", + "expiry": "Option" + }, + "VotingResult": { + "ayes_count": "u32", + "ayes_stake": "Balance", + "nays_count": "u32", + "nays_stake": "Balance" + }, + "ProtocolOp": { + "_enum": [ + "AssetRegisterTicker", + "AssetIssue", + "AssetAddDocuments", + "AssetCreateAsset", + "CheckpointCreateSchedule", + "ComplianceManagerAddComplianceRequirement", + "IdentityCddRegisterDid", + "IdentityAddClaim", + "IdentityAddSecondaryKeysWithAuthorization", + "PipsPropose", + "ContractsPutCode", + "CorporateBallotAttachBallot", + "CapitalDistributionDistribute" + ] + }, + "CddStatus": { + "_enum": { + "Ok": "IdentityId", + "Err": "Vec" + } + }, + "AssetDidResult": { + "_enum": { + "Ok": "IdentityId", + "Err": "Vec" + } + }, + "RpcDidRecordsSuccess": { + "primary_key": "AccountId", + "secondary_keys": "Vec" + }, + "RpcDidRecords": { + "_enum": { + "Success": "RpcDidRecordsSuccess", + "IdNotFound": "Vec" + } + }, + "VoteCountProposalFound": { + "ayes": "u64", + "nays": "u64" + }, + "VoteCount": { + "_enum": { + "ProposalFound": "VoteCountProposalFound", + "ProposalNotFound": "" + } + }, + "Vote": "(bool, Balance)", + "VoteByPip": { + "pip": "PipId", + "vote": "Vote" + }, + "BridgeTxDetail": { + "amount": "Balance", + "status": "BridgeTxStatus", + "execution_block": "BlockNumber", + "tx_hash": "H256" + }, + "BridgeTxStatus": { + "_enum": { + "Absent": "", + "Pending": "u8", + "Frozen": "", + "Timelocked": "", + "Handled": "" + } + }, + "HandledTxStatus": { + "_enum": { + "Success": "", + "Error": "Text" + } + }, + "CappedFee": "u64", + "CanTransferResult": { + "_enum": { + "Ok": "u8", + "Err": "Vec" + } + }, + "AuthorizationType": { + "_enum": { + "AttestPrimaryKeyRotation": "", + "RotatePrimaryKey": "", + "TransferTicker": "", + "AddMultiSigSigner": "", + "TransferAssetOwnership": "", + "JoinIdentity": "", + "PortfolioCustody": "", + "BecomeAgent": "", + "AddRelayerPayingKey": "", + "RotatePrimaryKeyToSecondary": "" + } + }, + "ProposalDetails": { + "approvals": "u64", + "rejections": "u64", + "status": "ProposalStatus", + "expiry": "Option", + "auto_close": "bool" + }, + "ProposalStatus": { + "_enum": { + "Invalid": "", + "ActiveOrExpired": "", + "ExecutionSuccessful": "", + "ExecutionFailed": "", + "Rejected": "" + } + }, + "DidStatus": { + "_enum": { + "Unknown": "", + "Exists": "", + "CddVerified": "" + } + }, + "PortfolioName": "Text", + "PortfolioNumber": "u64", + "PortfolioKind": { + "_enum": { + "Default": "", + "User": "PortfolioNumber" + } + }, + "PortfolioId": { + "did": "IdentityId", + "kind": "PortfolioKind" + }, + "Moment": "u64", + "CalendarUnit": { + "_enum": [ + "Second", + "Minute", + "Hour", + "Day", + "Week", + "Month", + "Year" + ] + }, + "CalendarPeriod": { + "unit": "CalendarUnit", + "amount": "u64" + }, + "CheckpointSchedule": { + "start": "Moment", + "period": "CalendarPeriod" + }, + "CheckpointId": "u64", + "ScheduleId": "u64", + "StoredSchedule": { + "schedule": "CheckpointSchedule", + "id": "ScheduleId", + "at": "Moment", + "remaining": "u32" + }, + "ScheduleSpec": { + "start": "Option", + "period": "CalendarPeriod", + "remaining": "u32" + }, + "InstructionStatus": { + "_enum": { + "Unknown": "", + "Pending": "", + "Failed": "" + } + }, + "LegStatus": { + "_enum": { + "PendingTokenLock": "", + "ExecutionPending": "", + "ExecutionToBeSkipped": "(AccountId, u64)" + } + }, + "AffirmationStatus": { + "_enum": { + "Unknown": "", + "Pending": "", + "Affirmed": "" + } + }, + "SettlementType": { + "_enum": { + "SettleOnAffirmation": "", + "SettleOnBlock": "BlockNumber" + } + }, + "LegId": "u64", + "InstructionId": "u64", + "Instruction": { + "instruction_id": "InstructionId", + "venue_id": "VenueId", + "status": "InstructionStatus", + "settlement_type": "SettlementType", + "created_at": "Option", + "trade_date": "Option", + "value_date": "Option" + }, + "Leg": { + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "Ticker", + "amount": "Balance" + }, + "Venue": { + "creator": "IdentityId", + "venue_type": "VenueType" + }, + "Receipt": { + "receipt_uid": "u64", + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "Ticker", + "amount": "Balance" + }, + "ReceiptMetadata": "Text", + "ReceiptDetails": { + "receipt_uid": "u64", + "leg_id": "LegId", + "signer": "AccountId", + "signature": "OffChainSignature", + "metadata": "ReceiptMetadata" + }, + "UniqueCall": { + "nonce": "u64", + "call": "Call" + }, + "MovePortfolioItem": { + "ticker": "Ticker", + "amount": "Balance", + "memo": "Option" + }, + "WeightToFeeCoefficient": { + "coeffInteger": "Balance", + "coeffFrac": "Perbill", + "negative": "bool", + "degree": "u8" + }, + "WeightPerClass": { + "baseExtrinsic": "Weight", + "maxExtrinsic": "Option", + "maxTotal": "Option", + "reserved": "Option" + }, + "TargetIdentity": { + "_enum": { + "ExternalAgent": "", + "Specific": "IdentityId" + } + }, + "FundraiserId": "u64", + "FundraiserName": "Text", + "FundraiserStatus": { + "_enum": [ + "Live", + "Frozen", + "Closed", + "ClosedEarly" + ] + }, + "FundraiserTier": { + "total": "Balance", + "price": "Balance", + "remaining": "Balance" + }, + "Fundraiser": { + "creator": "IdentityId", + "offering_portfolio": "PortfolioId", + "offering_asset": "Ticker", + "raising_portfolio": "PortfolioId", + "raising_asset": "Ticker", + "tiers": "Vec", + "venue_id": "VenueId", + "start": "Moment", + "end": "Option", + "status": "FundraiserStatus", + "minimum_investment": "Balance" + }, + "VenueId": "u64", + "VenueType": { + "_enum": [ + "Other", + "Distribution", + "Sto", + "Exchange" + ] + }, + "ExtensionAttributes": { + "usage_fee": "Balance", + "version": "MetaVersion" + }, + "Tax": "Permill", + "TargetIdentities": { + "identities": "Vec", + "treatment": "TargetTreatment" + }, + "TargetTreatment": { + "_enum": [ + "Include", + "Exclude" + ] + }, + "CAKind": { + "_enum": [ + "PredictableBenefit", + "UnpredictableBenefit", + "IssuerNotice", + "Reorganization", + "Other" + ] + }, + "CADetails": "Text", + "CACheckpoint": { + "_enum": { + "Scheduled": "(ScheduleId, u64)", + "Existing": "CheckpointId" + } + }, + "RecordDate": { + "date": "Moment", + "checkpoint": "CACheckpoint" + }, + "RecordDateSpec": { + "_enum": { + "Scheduled": "Moment", + "ExistingSchedule": "ScheduleId", + "Existing": "CheckpointId" + } + }, + "CorporateAction": { + "kind": "CAKind", + "decl_date": "Moment", + "record_date": "Option", + "targets": "TargetIdentities", + "default_withholding_tax": "Tax", + "withholding_tax": "Vec<(IdentityId, Tax)>" + }, + "InitiateCorporateActionArgs": { + "ticker": "Ticker", + "kind": "CAKind", + "decl_date": "Moment", + "record_date": "Option", + "details": "CADetails", + "targets": "Option", + "default_withholding_tax": "Option", + "withholding_tax": "Option>" + }, + "LocalCAId": "u32", + "CAId": { + "ticker": "Ticker", + "local_id": "LocalCAId" + }, + "Distribution": { + "from": "PortfolioId", + "currency": "Ticker", + "per_share": "Balance", + "amount": "Balance", + "remaining": "Balance", + "reclaimed": "bool", + "payment_at": "Moment", + "expires_at": "Option" + }, + "SlashingSwitch": { + "_enum": [ + "Validator", + "ValidatorAndNominator", + "None" + ] + }, + "PriceTier": { + "total": "Balance", + "price": "Balance" + }, + "PermissionedIdentityPrefs": { + "intended_count": "u32", + "running_count": "u32" + }, + "GranularCanTransferResult": { + "invalid_granularity": "bool", + "self_transfer": "bool", + "invalid_receiver_cdd": "bool", + "invalid_sender_cdd": "bool", + "missing_scope_claim": "bool", + "receiver_custodian_error": "bool", + "sender_custodian_error": "bool", + "sender_insufficient_balance": "bool", + "portfolio_validity_result": "PortfolioValidityResult", + "asset_frozen": "bool", + "transfer_condition_result": "Vec", + "compliance_result": "AssetComplianceResult", + "result": "bool" + }, + "PortfolioValidityResult": { + "receiver_is_same_portfolio": "bool", + "sender_portfolio_does_not_exist": "bool", + "receiver_portfolio_does_not_exist": "bool", + "sender_insufficient_balance": "bool", + "result": "bool" + }, + "TransferConditionResult": { + "condition": "TransferCondition", + "result": "bool" + }, + "AGId": "u32", + "AgentGroup": { + "_enum": { + "Full": "", + "Custom": "AGId", + "ExceptMeta": "", + "PolymeshV1CAA": "", + "PolymeshV1PIA": "" + } + }, + "ItnRewardStatus": { + "_enum": { + "Unclaimed": "Balance", + "Claimed": "" + } + } + } + }, + { + "minmax": [ + 5000000, + 5000009 + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "AccountInfo": "AccountInfoWithDualRefCount", + "IdentityId": "[u8; 32]", + "EventDid": "IdentityId", + "EventCounts": "Vec", + "ErrorAt": "(u32, DispatchError)", + "InvestorUid": "[u8; 16]", + "Ticker": "[u8; 12]", + "CddId": "[u8; 32]", + "ScopeId": "[u8; 32]", + "PosRatio": "(u32, u32)", + "DocumentId": "u32", + "DocumentName": "Text", + "DocumentUri": "Text", + "DocumentHash": { + "_enum": { + "None": "", + "H512": "[u8; 64]", + "H384": "[u8; 48]", + "H320": "[u8; 40]", + "H256": "[u8; 32]", + "H224": "[u8; 28]", + "H192": "[u8; 24]", + "H160": "[u8; 20]", + "H128": "[u8; 16]" + } + }, + "DocumentType": "Text", + "Document": { + "uri": "DocumentUri", + "content_hash": "DocumentHash", + "name": "DocumentName", + "doc_type": "Option", + "filing_date": "Option" + }, + "Version": "u8", + "CustomAssetTypeId": "u32", + "AssetType": { + "_enum": { + "EquityCommon": "", + "EquityPreferred": "", + "Commodity": "", + "FixedIncome": "", + "REIT": "", + "Fund": "", + "RevenueShareAgreement": "", + "StructuredProduct": "", + "Derivative": "", + "Custom": "CustomAssetTypeId", + "StableCoin": "" + } + }, + "AssetIdentifier": { + "_enum": { + "CUSIP": "[u8; 9]", + "CINS": "[u8; 9]", + "ISIN": "[u8; 12]", + "LEI": "[u8; 20]" + } + }, + "AssetOwnershipRelation": { + "_enum": { + "NotOwned": "", + "TickerOwned": "", + "AssetOwned": "" + } + }, + "AssetName": "Text", + "FundingRoundName": "Text", + "VenueDetails": "Text", + "SecurityToken": { + "total_supply": "Balance", + "owner_did": "IdentityId", + "divisible": "bool", + "asset_type": "AssetType" + }, + "AssetMetadataName": "Text", + "AssetMetadataValue": "Vec", + "AssetMetadataLocalKey": "u64", + "AssetMetadataGlobalKey": "u64", + "AssetMetadataKey": { + "_enum": { + "Global": "u64", + "Local": "u64" + } + }, + "AssetMetadataLockStatus": { + "_enum": { + "Unlocked": "", + "Locked": "", + "LockedUntil": "Moment" + } + }, + "AssetMetadataValueDetail": { + "expire": "Option", + "lock_status": "AssetMetadataLockStatus" + }, + "AssetMetadataDescription": "Text", + "AssetMetadataSpec": { + "url": "Option", + "description": "Option", + "type_def": "Option>" + }, + "PalletName": "Text", + "DispatchableName": "Text", + "AssetPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "PortfolioPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "DispatchableNames": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "PalletPermissions": { + "pallet_name": "PalletName", + "dispatchable_names": "DispatchableNames" + }, + "ExtrinsicPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "Permissions": { + "asset": "AssetPermissions", + "extrinsic": "ExtrinsicPermissions", + "portfolio": "PortfolioPermissions" + }, + "LegacyPalletPermissions": { + "pallet_name": "PalletName", + "total": "bool", + "dispatchable_names": "Vec" + }, + "LegacyPermissions": { + "asset": "Option>", + "extrinsic": "Option>", + "portfolio": "Option>" + }, + "Signatory": { + "_enum": { + "Identity": "IdentityId", + "Account": "AccountId" + } + }, + "SecondaryKey": { + "key": "AccountId", + "permissions": "Permissions" + }, + "SecondaryKeyWithAuth": { + "secondary_key": "SecondaryKey", + "auth_signature": "H512" + }, + "Subsidy": { + "paying_key": "AccountId", + "remaining": "Balance" + }, + "IdentityRole": { + "_enum": [ + "Issuer", + "SimpleTokenIssuer", + "Validator", + "ClaimIssuer", + "Investor", + "NodeRunner", + "PM", + "CDDAMLClaimIssuer", + "AccreditedInvestorClaimIssuer", + "VerifiedIdentityClaimIssuer" + ] + }, + "PreAuthorizedKeyInfo": { + "target_id": "IdentityId", + "secondary_key": "SecondaryKey" + }, + "DidRecord": { + "primary_key": "Option" + }, + "KeyRecord": { + "_enum": { + "PrimaryKey": "IdentityId", + "SecondaryKey": "(IdentityId, Permissions)", + "MultiSigSignerKey": "AccountId" + } + }, + "KeyIdentityData": { + "identity": "IdentityId", + "permissions": "Option" + }, + "CountryCode": { + "_enum": [ + "AF", + "AX", + "AL", + "DZ", + "AS", + "AD", + "AO", + "AI", + "AQ", + "AG", + "AR", + "AM", + "AW", + "AU", + "AT", + "AZ", + "BS", + "BH", + "BD", + "BB", + "BY", + "BE", + "BZ", + "BJ", + "BM", + "BT", + "BO", + "BA", + "BW", + "BV", + "BR", + "VG", + "IO", + "BN", + "BG", + "BF", + "BI", + "KH", + "CM", + "CA", + "CV", + "KY", + "CF", + "TD", + "CL", + "CN", + "HK", + "MO", + "CX", + "CC", + "CO", + "KM", + "CG", + "CD", + "CK", + "CR", + "CI", + "HR", + "CU", + "CY", + "CZ", + "DK", + "DJ", + "DM", + "DO", + "EC", + "EG", + "SV", + "GQ", + "ER", + "EE", + "ET", + "FK", + "FO", + "FJ", + "FI", + "FR", + "GF", + "PF", + "TF", + "GA", + "GM", + "GE", + "DE", + "GH", + "GI", + "GR", + "GL", + "GD", + "GP", + "GU", + "GT", + "GG", + "GN", + "GW", + "GY", + "HT", + "HM", + "VA", + "HN", + "HU", + "IS", + "IN", + "ID", + "IR", + "IQ", + "IE", + "IM", + "IL", + "IT", + "JM", + "JP", + "JE", + "JO", + "KZ", + "KE", + "KI", + "KP", + "KR", + "KW", + "KG", + "LA", + "LV", + "LB", + "LS", + "LR", + "LY", + "LI", + "LT", + "LU", + "MK", + "MG", + "MW", + "MY", + "MV", + "ML", + "MT", + "MH", + "MQ", + "MR", + "MU", + "YT", + "MX", + "FM", + "MD", + "MC", + "MN", + "ME", + "MS", + "MA", + "MZ", + "MM", + "NA", + "NR", + "NP", + "NL", + "AN", + "NC", + "NZ", + "NI", + "NE", + "NG", + "NU", + "NF", + "MP", + "NO", + "OM", + "PK", + "PW", + "PS", + "PA", + "PG", + "PY", + "PE", + "PH", + "PN", + "PL", + "PT", + "PR", + "QA", + "RE", + "RO", + "RU", + "RW", + "BL", + "SH", + "KN", + "LC", + "MF", + "PM", + "VC", + "WS", + "SM", + "ST", + "SA", + "SN", + "RS", + "SC", + "SL", + "SG", + "SK", + "SI", + "SB", + "SO", + "ZA", + "GS", + "SS", + "ES", + "LK", + "SD", + "SR", + "SJ", + "SZ", + "SE", + "CH", + "SY", + "TW", + "TJ", + "TZ", + "TH", + "TL", + "TG", + "TK", + "TO", + "TT", + "TN", + "TR", + "TM", + "TC", + "TV", + "UG", + "UA", + "AE", + "GB", + "US", + "UM", + "UY", + "UZ", + "VU", + "VE", + "VN", + "VI", + "WF", + "EH", + "YE", + "ZM", + "ZW", + "BQ", + "CW", + "SX" + ] + }, + "Scope": { + "_enum": { + "Identity": "IdentityId", + "Ticker": "Ticker", + "Custom": "Vec" + } + }, + "InvestorZKProofData": { + "r": "CompressedRistretto", + "s": "Scalar" + }, + "CompressedRistretto": "[u8; 32]", + "Scalar": "[u8; 32]", + "RistrettoPoint": "[u8; 32]", + "ZkProofData": { + "challenge_responses": "[Scalar; 2]", + "subtract_expressions_res": "RistrettoPoint", + "blinded_scope_did_hash": "RistrettoPoint" + }, + "ScopeClaimProof": { + "proof_scope_id_wellformed": "Signature", + "proof_scope_id_cdd_id_match": "ZkProofData", + "scope_id": "RistrettoPoint" + }, + "Claim": { + "_enum": { + "Accredited": "Scope", + "Affiliate": "Scope", + "BuyLockup": "Scope", + "SellLockup": "Scope", + "CustomerDueDiligence": "CddId", + "KnowYourCustomer": "Scope", + "Jurisdiction": "(CountryCode, Scope)", + "Exempted": "Scope", + "Blocked": "Scope", + "InvestorUniqueness": "(Scope, ScopeId, CddId)", + "NoData": "", + "InvestorUniquenessV2": "(CddId)" + } + }, + "ClaimType": { + "_enum": { + "Accredited": "", + "Affiliate": "", + "BuyLockup": "", + "SellLockup": "", + "CustomerDueDiligence": "", + "KnowYourCustomer": "", + "Jurisdiction": "", + "Exempted": "", + "Blocked": "", + "InvestorUniqueness": "", + "NoData": "", + "InvestorUniquenessV2": "" + } + }, + "IdentityClaim": { + "claim_issuer": "IdentityId", + "issuance_date": "Moment", + "last_update_date": "Moment", + "expiry": "Option", + "claim": "Claim" + }, + "ComplianceRequirement": { + "sender_conditions": "Vec", + "receiver_conditions": "Vec", + "id": "u32" + }, + "ComplianceRequirementResult": { + "sender_conditions": "Vec", + "receiver_conditions": "Vec", + "id": "u32", + "result": "bool" + }, + "ConditionType": { + "_enum": { + "IsPresent": "Claim", + "IsAbsent": "Claim", + "IsAnyOf": "Vec", + "IsNoneOf": "Vec", + "IsIdentity": "TargetIdentity" + } + }, + "TrustedFor": { + "_enum": { + "Any": "", + "Specific": "Vec" + } + }, + "TrustedIssuer": { + "issuer": "IdentityId", + "trusted_for": "TrustedFor" + }, + "Condition": { + "condition_type": "ConditionType", + "issuers": "Vec" + }, + "ConditionResult": { + "condition": "Condition", + "result": "bool" + }, + "TargetIdAuthorization": { + "target_id": "IdentityId", + "nonce": "u64", + "expires_at": "Moment" + }, + "TickerRegistration": { + "owner": "IdentityId", + "expiry": "Option" + }, + "TickerRegistrationConfig": { + "max_ticker_length": "u8", + "registration_length": "Option" + }, + "ClassicTickerRegistration": { + "eth_owner": "EthereumAddress", + "is_created": "bool" + }, + "ClassicTickerImport": { + "eth_owner": "EthereumAddress", + "ticker": "Ticker", + "is_contract": "bool", + "is_created": "bool" + }, + "EthereumAddress": "[u8; 20]", + "EcdsaSignature": "[u8; 65]", + "MotionTitle": "Text", + "MotionInfoLink": "Text", + "ChoiceTitle": "Text", + "Motion": { + "title": "MotionTitle", + "info_link": "MotionInfoLink", + "choices": "Vec" + }, + "BallotTitle": "Text", + "BallotMeta": { + "title": "BallotTitle", + "motions": "Vec" + }, + "BallotTimeRange": { + "start": "Moment", + "end": "Moment" + }, + "BallotVote": { + "power": "Balance", + "fallback": "Option" + }, + "MaybeBlock": { + "_enum": { + "Some": "BlockNumber", + "None": "" + } + }, + "Url": "Text", + "PipDescription": "Text", + "PipsMetadata": { + "id": "PipId", + "url": "Option", + "description": "Option", + "created_at": "BlockNumber", + "transaction_version": "u32", + "expiry": "MaybeBlock" + }, + "Proposer": { + "_enum": { + "Community": "AccountId", + "Committee": "Committee" + } + }, + "Committee": { + "_enum": { + "Technical": "", + "Upgrade": "" + } + }, + "SkippedCount": "u8", + "SnapshottedPip": { + "id": "PipId", + "weight": "(bool, Balance)" + }, + "SnapshotId": "u32", + "SnapshotMetadata": { + "created_at": "BlockNumber", + "made_by": "AccountId", + "id": "SnapshotId" + }, + "SnapshotResult": { + "_enum": { + "Approve": "", + "Reject": "", + "Skip": "" + } + }, + "Beneficiary": { + "id": "IdentityId", + "amount": "Balance" + }, + "DepositInfo": { + "owner": "AccountId", + "amount": "Balance" + }, + "PolymeshVotes": { + "index": "u32", + "ayes": "Vec", + "nays": "Vec", + "expiry": "MaybeBlock" + }, + "PipId": "u32", + "ProposalState": { + "_enum": [ + "Pending", + "Rejected", + "Scheduled", + "Failed", + "Executed", + "Expired" + ] + }, + "Pip": { + "id": "PipId", + "proposal": "Call", + "state": "ProposalState", + "proposer": "Proposer" + }, + "ProposalData": { + "_enum": { + "Hash": "Hash", + "Proposal": "Vec" + } + }, + "OffChainSignature": "MultiSignature", + "Authorization": { + "authorization_data": "AuthorizationData", + "authorized_by": "IdentityId", + "expiry": "Option", + "auth_id": "u64" + }, + "AuthorizationData": { + "_enum": { + "AttestPrimaryKeyRotation": "IdentityId", + "RotatePrimaryKey": "", + "TransferTicker": "Ticker", + "AddMultiSigSigner": "AccountId", + "TransferAssetOwnership": "Ticker", + "JoinIdentity": "Permissions", + "PortfolioCustody": "PortfolioId", + "BecomeAgent": "(Ticker, AgentGroup)", + "AddRelayerPayingKey": "(AccountId, AccountId, Balance)", + "RotatePrimaryKeyToSecondary": "Permissions" + } + }, + "SmartExtensionType": { + "_enum": { + "TransferManager": "", + "Offerings": "", + "SmartWallet": "", + "Custom": "Vec" + } + }, + "SmartExtensionName": "Text", + "SmartExtension": { + "extension_type": "SmartExtensionType", + "extension_name": "SmartExtensionName", + "extension_id": "AccountId", + "is_archive": "bool" + }, + "MetaUrl": "Text", + "MetaDescription": "Text", + "MetaVersion": "u32", + "ExtVersion": "u32", + "TemplateMetadata": { + "url": "Option", + "se_type": "SmartExtensionType", + "usage_fee": "Balance", + "description": "MetaDescription", + "version": "MetaVersion" + }, + "TemplateDetails": { + "instantiation_fee": "Balance", + "owner": "IdentityId", + "frozen": "bool" + }, + "AuthorizationNonce": "u64", + "Percentage": "Permill", + "RestrictionResult": { + "_enum": [ + "Valid", + "Invalid", + "ForceValid" + ] + }, + "Memo": "[u8; 32]", + "BridgeTx": { + "nonce": "u32", + "recipient": "AccountId", + "amount": "Balance", + "tx_hash": "H256" + }, + "AssetScope": { + "_enum": { + "Ticker": "Ticker" + } + }, + "StatOpType": { + "_enum": [ + "Count", + "Balance" + ] + }, + "StatType": { + "op": "StatOpType", + "claim_issuer": "Option<(ClaimType, IdentityId)>" + }, + "StatClaim": { + "_enum": { + "Accredited": "bool", + "Affiliate": "bool", + "Jurisdiction": "Option" + } + }, + "Stat1stKey": { + "asset": "AssetScope", + "stat_type": "StatType" + }, + "Stat2ndKey": { + "_enum": { + "NoClaimStat": "", + "Claim": "StatClaim" + } + }, + "StatUpdate": { + "key2": "Stat2ndKey", + "value": "Option" + }, + "TransferCondition": { + "_enum": { + "MaxInvestorCount": "u64", + "MaxInvestorOwnership": "Percentage", + "ClaimCount": "(StatClaim, IdentityId, u64, Option)", + "ClaimOwnership": "(StatClaim, IdentityId, Percentage, Percentage)" + } + }, + "AssetTransferCompliance": { + "paused": "bool", + "requirements": "Vec" + }, + "TransferConditionExemptKey": { + "asset": "AssetScope", + "op": "StatOpType", + "claim_type": "Option" + }, + "AssetCompliance": { + "paused": "bool", + "requirements": "Vec" + }, + "AssetComplianceResult": { + "paused": "bool", + "requirements": "Vec", + "result": "bool" + }, + "Claim1stKey": { + "target": "IdentityId", + "claim_type": "ClaimType" + }, + "Claim2ndKey": { + "issuer": "IdentityId", + "scope": "Option" + }, + "InactiveMember": { + "id": "IdentityId", + "deactivated_at": "Moment", + "expiry": "Option" + }, + "VotingResult": { + "ayes_count": "u32", + "ayes_stake": "Balance", + "nays_count": "u32", + "nays_stake": "Balance" + }, + "ProtocolOp": { + "_enum": [ + "AssetRegisterTicker", + "AssetIssue", + "AssetAddDocuments", + "AssetCreateAsset", + "CheckpointCreateSchedule", + "ComplianceManagerAddComplianceRequirement", + "IdentityCddRegisterDid", + "IdentityAddClaim", + "IdentityAddSecondaryKeysWithAuthorization", + "PipsPropose", + "ContractsPutCode", + "CorporateBallotAttachBallot", + "CapitalDistributionDistribute" + ] + }, + "CddStatus": { + "_enum": { + "Ok": "IdentityId", + "Err": "Vec" + } + }, + "AssetDidResult": { + "_enum": { + "Ok": "IdentityId", + "Err": "Vec" + } + }, + "RpcDidRecordsSuccess": { + "primary_key": "AccountId", + "secondary_keys": "Vec" + }, + "RpcDidRecords": { + "_enum": { + "Success": "RpcDidRecordsSuccess", + "IdNotFound": "Vec" + } + }, + "VoteCountProposalFound": { + "ayes": "u64", + "nays": "u64" + }, + "VoteCount": { + "_enum": { + "ProposalFound": "VoteCountProposalFound", + "ProposalNotFound": "" + } + }, + "Vote": "(bool, Balance)", + "VoteByPip": { + "pip": "PipId", + "vote": "Vote" + }, + "BridgeTxDetail": { + "amount": "Balance", + "status": "BridgeTxStatus", + "execution_block": "BlockNumber", + "tx_hash": "H256" + }, + "BridgeTxStatus": { + "_enum": { + "Absent": "", + "Pending": "u8", + "Frozen": "", + "Timelocked": "", + "Handled": "" + } + }, + "HandledTxStatus": { + "_enum": { + "Success": "", + "Error": "Text" + } + }, + "CappedFee": "u64", + "CanTransferResult": { + "_enum": { + "Ok": "u8", + "Err": "Vec" + } + }, + "AuthorizationType": { + "_enum": { + "AttestPrimaryKeyRotation": "", + "RotatePrimaryKey": "", + "TransferTicker": "", + "AddMultiSigSigner": "", + "TransferAssetOwnership": "", + "JoinIdentity": "", + "PortfolioCustody": "", + "BecomeAgent": "", + "AddRelayerPayingKey": "", + "RotatePrimaryKeyToSecondary": "" + } + }, + "ProposalDetails": { + "approvals": "u64", + "rejections": "u64", + "status": "ProposalStatus", + "expiry": "Option", + "auto_close": "bool" + }, + "ProposalStatus": { + "_enum": { + "Invalid": "", + "ActiveOrExpired": "", + "ExecutionSuccessful": "", + "ExecutionFailed": "", + "Rejected": "" + } + }, + "DidStatus": { + "_enum": { + "Unknown": "", + "Exists": "", + "CddVerified": "" + } + }, + "PortfolioName": "Text", + "PortfolioNumber": "u64", + "PortfolioKind": { + "_enum": { + "Default": "", + "User": "PortfolioNumber" + } + }, + "PortfolioId": { + "did": "IdentityId", + "kind": "PortfolioKind" + }, + "Moment": "u64", + "CalendarUnit": { + "_enum": [ + "Second", + "Minute", + "Hour", + "Day", + "Week", + "Month", + "Year" + ] + }, + "CalendarPeriod": { + "unit": "CalendarUnit", + "amount": "u64" + }, + "CheckpointSchedule": { + "start": "Moment", + "period": "CalendarPeriod" + }, + "CheckpointId": "u64", + "ScheduleId": "u64", + "StoredSchedule": { + "schedule": "CheckpointSchedule", + "id": "ScheduleId", + "at": "Moment", + "remaining": "u32" + }, + "ScheduleSpec": { + "start": "Option", + "period": "CalendarPeriod", + "remaining": "u32" + }, + "InstructionStatus": { + "_enum": { + "Unknown": "", + "Pending": "", + "Failed": "" + } + }, + "LegStatus": { + "_enum": { + "PendingTokenLock": "", + "ExecutionPending": "", + "ExecutionToBeSkipped": "(AccountId, u64)" + } + }, + "AffirmationStatus": { + "_enum": { + "Unknown": "", + "Pending": "", + "Affirmed": "" + } + }, + "SettlementType": { + "_enum": { + "SettleOnAffirmation": "", + "SettleOnBlock": "BlockNumber" + } + }, + "LegId": "u64", + "InstructionId": "u64", + "Instruction": { + "instruction_id": "InstructionId", + "venue_id": "VenueId", + "status": "InstructionStatus", + "settlement_type": "SettlementType", + "created_at": "Option", + "trade_date": "Option", + "value_date": "Option" + }, + "Leg": { + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "Ticker", + "amount": "Balance" + }, + "Venue": { + "creator": "IdentityId", + "venue_type": "VenueType" + }, + "Receipt": { + "receipt_uid": "u64", + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "Ticker", + "amount": "Balance" + }, + "ReceiptMetadata": "Text", + "ReceiptDetails": { + "receipt_uid": "u64", + "leg_id": "LegId", + "signer": "AccountId", + "signature": "OffChainSignature", + "metadata": "ReceiptMetadata" + }, + "UniqueCall": { + "nonce": "u64", + "call": "Call" + }, + "MovePortfolioItem": { + "ticker": "Ticker", + "amount": "Balance", + "memo": "Option" + }, + "WeightToFeeCoefficient": { + "coeffInteger": "Balance", + "coeffFrac": "Perbill", + "negative": "bool", + "degree": "u8" + }, + "WeightPerClass": { + "baseExtrinsic": "Weight", + "maxExtrinsic": "Option", + "maxTotal": "Option", + "reserved": "Option" + }, + "TargetIdentity": { + "_enum": { + "ExternalAgent": "", + "Specific": "IdentityId" + } + }, + "FundraiserId": "u64", + "FundraiserName": "Text", + "FundraiserStatus": { + "_enum": [ + "Live", + "Frozen", + "Closed", + "ClosedEarly" + ] + }, + "FundraiserTier": { + "total": "Balance", + "price": "Balance", + "remaining": "Balance" + }, + "Fundraiser": { + "creator": "IdentityId", + "offering_portfolio": "PortfolioId", + "offering_asset": "Ticker", + "raising_portfolio": "PortfolioId", + "raising_asset": "Ticker", + "tiers": "Vec", + "venue_id": "VenueId", + "start": "Moment", + "end": "Option", + "status": "FundraiserStatus", + "minimum_investment": "Balance" + }, + "VenueId": "u64", + "VenueType": { + "_enum": [ + "Other", + "Distribution", + "Sto", + "Exchange" + ] + }, + "ExtensionAttributes": { + "usage_fee": "Balance", + "version": "MetaVersion" + }, + "Tax": "Permill", + "TargetIdentities": { + "identities": "Vec", + "treatment": "TargetTreatment" + }, + "TargetTreatment": { + "_enum": [ + "Include", + "Exclude" + ] + }, + "CAKind": { + "_enum": [ + "PredictableBenefit", + "UnpredictableBenefit", + "IssuerNotice", + "Reorganization", + "Other" + ] + }, + "CADetails": "Text", + "CACheckpoint": { + "_enum": { + "Scheduled": "(ScheduleId, u64)", + "Existing": "CheckpointId" + } + }, + "RecordDate": { + "date": "Moment", + "checkpoint": "CACheckpoint" + }, + "RecordDateSpec": { + "_enum": { + "Scheduled": "Moment", + "ExistingSchedule": "ScheduleId", + "Existing": "CheckpointId" + } + }, + "CorporateAction": { + "kind": "CAKind", + "decl_date": "Moment", + "record_date": "Option", + "targets": "TargetIdentities", + "default_withholding_tax": "Tax", + "withholding_tax": "Vec<(IdentityId, Tax)>" + }, + "LocalCAId": "u32", + "CAId": { + "ticker": "Ticker", + "local_id": "LocalCAId" + }, + "Distribution": { + "from": "PortfolioId", + "currency": "Ticker", + "per_share": "Balance", + "amount": "Balance", + "remaining": "Balance", + "reclaimed": "bool", + "payment_at": "Moment", + "expires_at": "Option" + }, + "SlashingSwitch": { + "_enum": [ + "Validator", + "ValidatorAndNominator", + "None" + ] + }, + "PriceTier": { + "total": "Balance", + "price": "Balance" + }, + "PermissionedIdentityPrefs": { + "intended_count": "u32", + "running_count": "u32" + }, + "GranularCanTransferResult": { + "invalid_granularity": "bool", + "self_transfer": "bool", + "invalid_receiver_cdd": "bool", + "invalid_sender_cdd": "bool", + "missing_scope_claim": "bool", + "receiver_custodian_error": "bool", + "sender_custodian_error": "bool", + "sender_insufficient_balance": "bool", + "portfolio_validity_result": "PortfolioValidityResult", + "asset_frozen": "bool", + "transfer_condition_result": "Vec", + "compliance_result": "AssetComplianceResult", + "result": "bool" + }, + "PortfolioValidityResult": { + "receiver_is_same_portfolio": "bool", + "sender_portfolio_does_not_exist": "bool", + "receiver_portfolio_does_not_exist": "bool", + "sender_insufficient_balance": "bool", + "result": "bool" + }, + "TransferConditionResult": { + "condition": "TransferCondition", + "result": "bool" + }, + "AGId": "u32", + "AgentGroup": { + "_enum": { + "Full": "", + "Custom": "AGId", + "ExceptMeta": "", + "PolymeshV1CAA": "", + "PolymeshV1PIA": "" + } + }, + "ItnRewardStatus": { + "_enum": { + "Unclaimed": "Balance", + "Claimed": "" + } + } + } + }, + { + "minmax": [ + 3010, + 3019 + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "AccountInfo": "AccountInfoWithDualRefCount", + "IdentityId": "[u8; 32]", + "EventDid": "IdentityId", + "EventCounts": "Vec", + "ErrorAt": "(u32, DispatchError)", + "InvestorUid": "[u8; 16]", + "Ticker": "[u8; 12]", + "CddId": "[u8; 32]", + "ScopeId": "[u8; 32]", + "PosRatio": "(u32, u32)", + "DocumentId": "u32", + "DocumentName": "Text", + "DocumentUri": "Text", + "DocumentHash": { + "_enum": { + "None": "", + "H512": "[u8; 64]", + "H384": "[u8; 48]", + "H320": "[u8; 40]", + "H256": "[u8; 32]", + "H224": "[u8; 28]", + "H192": "[u8; 24]", + "H160": "[u8; 20]", + "H128": "[u8; 16]" + } + }, + "DocumentType": "Text", + "Document": { + "uri": "DocumentUri", + "content_hash": "DocumentHash", + "name": "DocumentName", + "doc_type": "Option", + "filing_date": "Option" + }, + "Version": "u8", + "CustomAssetTypeId": "u32", + "AssetType": { + "_enum": { + "EquityCommon": "", + "EquityPreferred": "", + "Commodity": "", + "FixedIncome": "", + "REIT": "", + "Fund": "", + "RevenueShareAgreement": "", + "StructuredProduct": "", + "Derivative": "", + "Custom": "CustomAssetTypeId", + "StableCoin": "" + } + }, + "AssetIdentifier": { + "_enum": { + "CUSIP": "[u8; 9]", + "CINS": "[u8; 9]", + "ISIN": "[u8; 12]", + "LEI": "[u8; 20]" + } + }, + "AssetOwnershipRelation": { + "_enum": { + "NotOwned": "", + "TickerOwned": "", + "AssetOwned": "" + } + }, + "AssetName": "Text", + "FundingRoundName": "Text", + "VenueDetails": "Text", + "SecurityToken": { + "total_supply": "Balance", + "owner_did": "IdentityId", + "divisible": "bool", + "asset_type": "AssetType" + }, + "PalletName": "Text", + "DispatchableName": "Text", + "AssetPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "PortfolioPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "DispatchableNames": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "PalletPermissions": { + "pallet_name": "PalletName", + "dispatchable_names": "DispatchableNames" + }, + "ExtrinsicPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "Permissions": { + "asset": "AssetPermissions", + "extrinsic": "ExtrinsicPermissions", + "portfolio": "PortfolioPermissions" + }, + "LegacyPalletPermissions": { + "pallet_name": "PalletName", + "total": "bool", + "dispatchable_names": "Vec" + }, + "LegacyPermissions": { + "asset": "Option>", + "extrinsic": "Option>", + "portfolio": "Option>" + }, + "Signatory": { + "_enum": { + "Identity": "IdentityId", + "Account": "AccountId" + } + }, + "SecondaryKey": { + "signer": "Signatory", + "permissions": "Permissions" + }, + "SecondaryKeyWithAuth": { + "secondary_key": "SecondaryKey", + "auth_signature": "Signature" + }, + "Subsidy": { + "paying_key": "AccountId", + "remaining": "Balance" + }, + "IdentityRole": { + "_enum": [ + "Issuer", + "SimpleTokenIssuer", + "Validator", + "ClaimIssuer", + "Investor", + "NodeRunner", + "PM", + "CDDAMLClaimIssuer", + "AccreditedInvestorClaimIssuer", + "VerifiedIdentityClaimIssuer" + ] + }, + "PreAuthorizedKeyInfo": { + "target_id": "IdentityId", + "secondary_key": "SecondaryKey" + }, + "DidRecord": { + "primary_key": "AccountId", + "secondary_keys": "Vec" + }, + "KeyIdentityData": { + "identity": "IdentityId", + "permissions": "Option" + }, + "CountryCode": { + "_enum": [ + "AF", + "AX", + "AL", + "DZ", + "AS", + "AD", + "AO", + "AI", + "AQ", + "AG", + "AR", + "AM", + "AW", + "AU", + "AT", + "AZ", + "BS", + "BH", + "BD", + "BB", + "BY", + "BE", + "BZ", + "BJ", + "BM", + "BT", + "BO", + "BA", + "BW", + "BV", + "BR", + "VG", + "IO", + "BN", + "BG", + "BF", + "BI", + "KH", + "CM", + "CA", + "CV", + "KY", + "CF", + "TD", + "CL", + "CN", + "HK", + "MO", + "CX", + "CC", + "CO", + "KM", + "CG", + "CD", + "CK", + "CR", + "CI", + "HR", + "CU", + "CY", + "CZ", + "DK", + "DJ", + "DM", + "DO", + "EC", + "EG", + "SV", + "GQ", + "ER", + "EE", + "ET", + "FK", + "FO", + "FJ", + "FI", + "FR", + "GF", + "PF", + "TF", + "GA", + "GM", + "GE", + "DE", + "GH", + "GI", + "GR", + "GL", + "GD", + "GP", + "GU", + "GT", + "GG", + "GN", + "GW", + "GY", + "HT", + "HM", + "VA", + "HN", + "HU", + "IS", + "IN", + "ID", + "IR", + "IQ", + "IE", + "IM", + "IL", + "IT", + "JM", + "JP", + "JE", + "JO", + "KZ", + "KE", + "KI", + "KP", + "KR", + "KW", + "KG", + "LA", + "LV", + "LB", + "LS", + "LR", + "LY", + "LI", + "LT", + "LU", + "MK", + "MG", + "MW", + "MY", + "MV", + "ML", + "MT", + "MH", + "MQ", + "MR", + "MU", + "YT", + "MX", + "FM", + "MD", + "MC", + "MN", + "ME", + "MS", + "MA", + "MZ", + "MM", + "NA", + "NR", + "NP", + "NL", + "AN", + "NC", + "NZ", + "NI", + "NE", + "NG", + "NU", + "NF", + "MP", + "NO", + "OM", + "PK", + "PW", + "PS", + "PA", + "PG", + "PY", + "PE", + "PH", + "PN", + "PL", + "PT", + "PR", + "QA", + "RE", + "RO", + "RU", + "RW", + "BL", + "SH", + "KN", + "LC", + "MF", + "PM", + "VC", + "WS", + "SM", + "ST", + "SA", + "SN", + "RS", + "SC", + "SL", + "SG", + "SK", + "SI", + "SB", + "SO", + "ZA", + "GS", + "SS", + "ES", + "LK", + "SD", + "SR", + "SJ", + "SZ", + "SE", + "CH", + "SY", + "TW", + "TJ", + "TZ", + "TH", + "TL", + "TG", + "TK", + "TO", + "TT", + "TN", + "TR", + "TM", + "TC", + "TV", + "UG", + "UA", + "AE", + "GB", + "US", + "UM", + "UY", + "UZ", + "VU", + "VE", + "VN", + "VI", + "WF", + "EH", + "YE", + "ZM", + "ZW", + "BQ", + "CW", + "SX" + ] + }, + "Scope": { + "_enum": { + "Identity": "IdentityId", + "Ticker": "Ticker", + "Custom": "Vec" + } + }, + "InvestorZKProofData": "Signature", + "Scalar": "[u8; 32]", + "RistrettoPoint": "[u8; 32]", + "ZkProofData": { + "challenge_responses": "[Scalar; 2]", + "subtract_expressions_res": "RistrettoPoint", + "blinded_scope_did_hash": "RistrettoPoint" + }, + "ScopeClaimProof": { + "proof_scope_id_wellformed": "Signature", + "proof_scope_id_cdd_id_match": "ZkProofData", + "scope_id": "RistrettoPoint" + }, + "Claim": { + "_enum": { + "Accredited": "Scope", + "Affiliate": "Scope", + "BuyLockup": "Scope", + "SellLockup": "Scope", + "CustomerDueDiligence": "CddId", + "KnowYourCustomer": "Scope", + "Jurisdiction": "(CountryCode, Scope)", + "Exempted": "Scope", + "Blocked": "Scope", + "InvestorUniqueness": "(Scope, ScopeId, CddId)", + "NoData": "", + "InvestorUniquenessV2": "(CddId)" + } + }, + "ClaimType": { + "_enum": { + "Accredited": "", + "Affiliate": "", + "BuyLockup": "", + "SellLockup": "", + "CustomerDueDiligence": "", + "KnowYourCustomer": "", + "Jurisdiction": "", + "Exempted": "", + "Blocked": "", + "InvestorUniqueness": "", + "NoData": "", + "InvestorUniquenessV2": "" + } + }, + "IdentityClaim": { + "claim_issuer": "IdentityId", + "issuance_date": "Moment", + "last_update_date": "Moment", + "expiry": "Option", + "claim": "Claim" + }, + "ComplianceRequirement": { + "sender_conditions": "Vec", + "receiver_conditions": "Vec", + "id": "u32" + }, + "ComplianceRequirementResult": { + "sender_conditions": "Vec", + "receiver_conditions": "Vec", + "id": "u32", + "result": "bool" + }, + "ConditionType": { + "_enum": { + "IsPresent": "Claim", + "IsAbsent": "Claim", + "IsAnyOf": "Vec", + "IsNoneOf": "Vec", + "IsIdentity": "TargetIdentity" + } + }, + "TrustedFor": { + "_enum": { + "Any": "", + "Specific": "Vec" + } + }, + "TrustedIssuer": { + "issuer": "IdentityId", + "trusted_for": "TrustedFor" + }, + "Condition": { + "condition_type": "ConditionType", + "issuers": "Vec" + }, + "ConditionResult": { + "condition": "Condition", + "result": "bool" + }, + "TargetIdAuthorization": { + "target_id": "IdentityId", + "nonce": "u64", + "expires_at": "Moment" + }, + "TickerRegistration": { + "owner": "IdentityId", + "expiry": "Option" + }, + "TickerRegistrationConfig": { + "max_ticker_length": "u8", + "registration_length": "Option" + }, + "ClassicTickerRegistration": { + "eth_owner": "EthereumAddress", + "is_created": "bool" + }, + "ClassicTickerImport": { + "eth_owner": "EthereumAddress", + "ticker": "Ticker", + "is_contract": "bool", + "is_created": "bool" + }, + "EthereumAddress": "[u8; 20]", + "EcdsaSignature": "[u8; 65]", + "MotionTitle": "Text", + "MotionInfoLink": "Text", + "ChoiceTitle": "Text", + "Motion": { + "title": "MotionTitle", + "info_link": "MotionInfoLink", + "choices": "Vec" + }, + "BallotTitle": "Text", + "BallotMeta": { + "title": "BallotTitle", + "motions": "Vec" + }, + "BallotTimeRange": { + "start": "Moment", + "end": "Moment" + }, + "BallotVote": { + "power": "Balance", + "fallback": "Option" + }, + "MaybeBlock": { + "_enum": { + "Some": "BlockNumber", + "None": "" + } + }, + "Url": "Text", + "PipDescription": "Text", + "PipsMetadata": { + "id": "PipId", + "url": "Option", + "description": "Option", + "created_at": "BlockNumber", + "transaction_version": "u32", + "expiry": "MaybeBlock" + }, + "Proposer": { + "_enum": { + "Community": "AccountId", + "Committee": "Committee" + } + }, + "Committee": { + "_enum": { + "Technical": "", + "Upgrade": "" + } + }, + "SkippedCount": "u8", + "SnapshottedPip": { + "id": "PipId", + "weight": "(bool, Balance)" + }, + "SnapshotId": "u32", + "SnapshotMetadata": { + "created_at": "BlockNumber", + "made_by": "AccountId", + "id": "SnapshotId" + }, + "SnapshotResult": { + "_enum": { + "Approve": "", + "Reject": "", + "Skip": "" + } + }, + "Beneficiary": { + "id": "IdentityId", + "amount": "Balance" + }, + "DepositInfo": { + "owner": "AccountId", + "amount": "Balance" + }, + "PolymeshVotes": { + "index": "u32", + "ayes": "Vec", + "nays": "Vec", + "expiry": "MaybeBlock" + }, + "PipId": "u32", + "ProposalState": { + "_enum": [ + "Pending", + "Rejected", + "Scheduled", + "Failed", + "Executed", + "Expired" + ] + }, + "Pip": { + "id": "PipId", + "proposal": "Call", + "state": "ProposalState", + "proposer": "Proposer" + }, + "ProposalData": { + "_enum": { + "Hash": "Hash", + "Proposal": "Vec" + } + }, + "OffChainSignature": { + "_enum": { + "Ed25519": "H512", + "Sr25519": "H512", + "Ecdsa": "H512" + } + }, + "Authorization": { + "authorization_data": "AuthorizationData", + "authorized_by": "IdentityId", + "expiry": "Option", + "auth_id": "u64" + }, + "AuthorizationData": { + "_enum": { + "AttestPrimaryKeyRotation": "IdentityId", + "RotatePrimaryKey": "", + "TransferTicker": "Ticker", + "AddMultiSigSigner": "AccountId", + "TransferAssetOwnership": "Ticker", + "JoinIdentity": "Permissions", + "PortfolioCustody": "PortfolioId", + "BecomeAgent": "(Ticker, AgentGroup)", + "AddRelayerPayingKey": "(AccountId, AccountId, Balance)", + "RotatePrimaryKeyToSecondary": "Permissions" + } + }, + "SmartExtensionType": { + "_enum": { + "TransferManager": "", + "Offerings": "", + "SmartWallet": "", + "Custom": "Vec" + } + }, + "SmartExtensionName": "Text", + "SmartExtension": { + "extension_type": "SmartExtensionType", + "extension_name": "SmartExtensionName", + "extension_id": "AccountId", + "is_archive": "bool" + }, + "MetaUrl": "Text", + "MetaDescription": "Text", + "MetaVersion": "u32", + "ExtVersion": "u32", + "TemplateMetadata": { + "url": "Option", + "se_type": "SmartExtensionType", + "usage_fee": "Balance", + "description": "MetaDescription", + "version": "MetaVersion" + }, + "TemplateDetails": { + "instantiation_fee": "Balance", + "owner": "IdentityId", + "frozen": "bool" + }, + "AuthorizationNonce": "u64", + "Counter": "u64", + "Percentage": "Permill", + "TransferManager": { + "_enum": { + "CountTransferManager": "Counter", + "PercentageTransferManager": "Percentage" + } + }, + "RestrictionResult": { + "_enum": [ + "Valid", + "Invalid", + "ForceValid" + ] + }, + "Memo": "[u8;32]", + "BridgeTx": { + "nonce": "u32", + "recipient": "AccountId", + "amount": "Balance", + "tx_hash": "H256" + }, + "AssetCompliance": { + "paused": "bool", + "requirements": "Vec" + }, + "AssetComplianceResult": { + "paused": "bool", + "requirements": "Vec", + "result": "bool" + }, + "Claim1stKey": { + "target": "IdentityId", + "claim_type": "ClaimType" + }, + "Claim2ndKey": { + "issuer": "IdentityId", + "scope": "Option" + }, + "InactiveMember": { + "id": "IdentityId", + "deactivated_at": "Moment", + "expiry": "Option" + }, + "VotingResult": { + "ayes_count": "u32", + "ayes_stake": "Balance", + "nays_count": "u32", + "nays_stake": "Balance" + }, + "ProtocolOp": { + "_enum": [ + "AssetRegisterTicker", + "AssetIssue", + "AssetAddDocuments", + "AssetCreateAsset", + "CheckpointCreateSchedule", + "ComplianceManagerAddComplianceRequirement", + "IdentityCddRegisterDid", + "IdentityAddClaim", + "IdentityAddSecondaryKeysWithAuthorization", + "PipsPropose", + "ContractsPutCode", + "CorporateBallotAttachBallot", + "CapitalDistributionDistribute" + ] + }, + "CddStatus": { + "_enum": { + "Ok": "IdentityId", + "Err": "Vec" + } + }, + "AssetDidResult": { + "_enum": { + "Ok": "IdentityId", + "Err": "Vec" + } + }, + "DidRecordsSuccess": { + "primary_key": "AccountId", + "secondary_keys": "Vec" + }, + "DidRecords": { + "_enum": { + "Success": "DidRecordsSuccess", + "IdNotFound": "Vec" + } + }, + "VoteCountProposalFound": { + "ayes": "u64", + "nays": "u64" + }, + "VoteCount": { + "_enum": { + "ProposalFound": "VoteCountProposalFound", + "ProposalNotFound": "" + } + }, + "Vote": "(bool, Balance)", + "VoteByPip": { + "pip": "PipId", + "vote": "Vote" + }, + "BridgeTxDetail": { + "amount": "Balance", + "status": "BridgeTxStatus", + "execution_block": "BlockNumber", + "tx_hash": "H256" + }, + "BridgeTxStatus": { + "_enum": { + "Absent": "", + "Pending": "u8", + "Frozen": "", + "Timelocked": "", + "Handled": "" + } + }, + "HandledTxStatus": { + "_enum": { + "Success": "", + "Error": "Text" + } + }, + "CappedFee": "u64", + "CanTransferResult": { + "_enum": { + "Ok": "u8", + "Err": "Vec" + } + }, + "AuthorizationType": { + "_enum": { + "AttestPrimaryKeyRotation": "", + "RotatePrimaryKey": "", + "TransferTicker": "", + "AddMultiSigSigner": "", + "TransferAssetOwnership": "", + "JoinIdentity": "", + "PortfolioCustody": "", + "BecomeAgent": "", + "AddRelayerPayingKey": "", + "RotatePrimaryKeyToSecondary": "" + } + }, + "ProposalDetails": { + "approvals": "u64", + "rejections": "u64", + "status": "ProposalStatus", + "expiry": "Option", + "auto_close": "bool" + }, + "ProposalStatus": { + "_enum": { + "Invalid": "", + "ActiveOrExpired": "", + "ExecutionSuccessful": "", + "ExecutionFailed": "", + "Rejected": "" + } + }, + "DidStatus": { + "_enum": { + "Unknown": "", + "Exists": "", + "CddVerified": "" + } + }, + "PortfolioName": "Text", + "PortfolioNumber": "u64", + "PortfolioKind": { + "_enum": { + "Default": "", + "User": "PortfolioNumber" + } + }, + "PortfolioId": { + "did": "IdentityId", + "kind": "PortfolioKind" + }, + "Moment": "u64", + "CalendarUnit": { + "_enum": [ + "Second", + "Minute", + "Hour", + "Day", + "Week", + "Month", + "Year" + ] + }, + "CalendarPeriod": { + "unit": "CalendarUnit", + "amount": "u64" + }, + "CheckpointSchedule": { + "start": "Moment", + "period": "CalendarPeriod" + }, + "CheckpointId": "u64", + "ScheduleId": "u64", + "StoredSchedule": { + "schedule": "CheckpointSchedule", + "id": "ScheduleId", + "at": "Moment", + "remaining": "u32" + }, + "ScheduleSpec": { + "start": "Option", + "period": "CalendarPeriod", + "remaining": "u32" + }, + "InstructionStatus": { + "_enum": { + "Unknown": "", + "Pending": "", + "Failed": "" + } + }, + "LegStatus": { + "_enum": { + "PendingTokenLock": "", + "ExecutionPending": "", + "ExecutionToBeSkipped": "(AccountId, u64)" + } + }, + "AffirmationStatus": { + "_enum": { + "Unknown": "", + "Pending": "", + "Affirmed": "" + } + }, + "SettlementType": { + "_enum": { + "SettleOnAffirmation": "", + "SettleOnBlock": "BlockNumber" + } + }, + "LegId": "u64", + "InstructionId": "u64", + "Instruction": { + "instruction_id": "InstructionId", + "venue_id": "VenueId", + "status": "InstructionStatus", + "settlement_type": "SettlementType", + "created_at": "Option", + "trade_date": "Option", + "value_date": "Option" + }, + "Leg": { + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "Ticker", + "amount": "Balance" + }, + "Venue": { + "creator": "IdentityId", + "venue_type": "VenueType" + }, + "Receipt": { + "receipt_uid": "u64", + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "Ticker", + "amount": "Balance" + }, + "ReceiptMetadata": "Text", + "ReceiptDetails": { + "receipt_uid": "u64", + "leg_id": "LegId", + "signer": "AccountId", + "signature": "OffChainSignature", + "metadata": "ReceiptMetadata" + }, + "UniqueCall": { + "nonce": "u64", + "call": "Call" + }, + "MovePortfolioItem": { + "ticker": "Ticker", + "amount": "Balance", + "memo": "Option" + }, + "WeightToFeeCoefficient": { + "coeffInteger": "Balance", + "coeffFrac": "Perbill", + "negative": "bool", + "degree": "u8" + }, + "TargetIdentity": { + "_enum": { + "ExternalAgent": "", + "Specific": "IdentityId" + } + }, + "FundraiserId": "u64", + "FundraiserName": "Text", + "FundraiserStatus": { + "_enum": [ + "Live", + "Frozen", + "Closed", + "ClosedEarly" + ] + }, + "FundraiserTier": { + "total": "Balance", + "price": "Balance", + "remaining": "Balance" + }, + "Fundraiser": { + "creator": "IdentityId", + "offering_portfolio": "PortfolioId", + "offering_asset": "Ticker", + "raising_portfolio": "PortfolioId", + "raising_asset": "Ticker", + "tiers": "Vec", + "venue_id": "VenueId", + "start": "Moment", + "end": "Option", + "status": "FundraiserStatus", + "minimum_investment": "Balance" + }, + "VenueId": "u64", + "VenueType": { + "_enum": [ + "Other", + "Distribution", + "Sto", + "Exchange" + ] + }, + "ExtensionAttributes": { + "usage_fee": "Balance", + "version": "MetaVersion" + }, + "Tax": "Permill", + "TargetIdentities": { + "identities": "Vec", + "treatment": "TargetTreatment" + }, + "TargetTreatment": { + "_enum": [ + "Include", + "Exclude" + ] + }, + "CAKind": { + "_enum": [ + "PredictableBenefit", + "UnpredictableBenefit", + "IssuerNotice", + "Reorganization", + "Other" + ] + }, + "CADetails": "Text", + "CACheckpoint": { + "_enum": { + "Scheduled": "(ScheduleId, u64)", + "Existing": "CheckpointId" + } + }, + "RecordDate": { + "date": "Moment", + "checkpoint": "CACheckpoint" + }, + "RecordDateSpec": { + "_enum": { + "Scheduled": "Moment", + "ExistingSchedule": "ScheduleId", + "Existing": "CheckpointId" + } + }, + "CorporateAction": { + "kind": "CAKind", + "decl_date": "Moment", + "record_date": "Option", + "targets": "TargetIdentities", + "default_withholding_tax": "Tax", + "withholding_tax": "Vec<(IdentityId, Tax)>" + }, + "LocalCAId": "u32", + "CAId": { + "ticker": "Ticker", + "local_id": "LocalCAId" + }, + "Distribution": { + "from": "PortfolioId", + "currency": "Ticker", + "per_share": "Balance", + "amount": "Balance", + "remaining": "Balance", + "reclaimed": "bool", + "payment_at": "Moment", + "expires_at": "Option" + }, + "SlashingSwitch": { + "_enum": [ + "Validator", + "ValidatorAndNominator", + "None" + ] + }, + "PriceTier": { + "total": "Balance", + "price": "Balance" + }, + "PermissionedIdentityPrefs": { + "intended_count": "u32", + "running_count": "u32" + }, + "GranularCanTransferResult": { + "invalid_granularity": "bool", + "self_transfer": "bool", + "invalid_receiver_cdd": "bool", + "invalid_sender_cdd": "bool", + "missing_scope_claim": "bool", + "receiver_custodian_error": "bool", + "sender_custodian_error": "bool", + "sender_insufficient_balance": "bool", + "portfolio_validity_result": "PortfolioValidityResult", + "asset_frozen": "bool", + "statistics_result": "Vec", + "compliance_result": "AssetComplianceResult", + "result": "bool" + }, + "PortfolioValidityResult": { + "receiver_is_same_portfolio": "bool", + "sender_portfolio_does_not_exist": "bool", + "receiver_portfolio_does_not_exist": "bool", + "sender_insufficient_balance": "bool", + "result": "bool" + }, + "TransferManagerResult": { + "tm": "TransferManager", + "result": "bool" + }, + "AGId": "u32", + "AgentGroup": { + "_enum": { + "Full": "", + "Custom": "AGId", + "ExceptMeta": "", + "PolymeshV1CAA": "", + "PolymeshV1PIA": "" + } + }, + "ItnRewardStatus": { + "_enum": { + "Unclaimed": "Balance", + "Claimed": "" + } + } + } + }, + { + "minmax": [ + 3002, + 3002 + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "AccountInfo": "AccountInfoWithDualRefCount", + "IdentityId": "[u8; 32]", + "EventDid": "IdentityId", + "EventCounts": "Vec", + "ErrorAt": "(u32, DispatchError)", + "InvestorUid": "[u8; 16]", + "Ticker": "[u8; 12]", + "CddId": "[u8; 32]", + "ScopeId": "[u8; 32]", + "PosRatio": "(u32, u32)", + "DocumentId": "u32", + "DocumentName": "Text", + "DocumentUri": "Text", + "DocumentHash": { + "_enum": { + "None": "", + "H512": "[u8; 64]", + "H384": "[u8; 48]", + "H320": "[u8; 40]", + "H256": "[u8; 32]", + "H224": "[u8; 28]", + "H192": "[u8; 24]", + "H160": "[u8; 20]", + "H128": "[u8; 16]" + } + }, + "DocumentType": "Text", + "Document": { + "uri": "DocumentUri", + "content_hash": "DocumentHash", + "name": "DocumentName", + "doc_type": "Option", + "filing_date": "Option" + }, + "Version": "u8", + "CustomAssetTypeId": "u32", + "AssetType": { + "_enum": { + "EquityCommon": "", + "EquityPreferred": "", + "Commodity": "", + "FixedIncome": "", + "REIT": "", + "Fund": "", + "RevenueShareAgreement": "", + "StructuredProduct": "", + "Derivative": "", + "Custom": "CustomAssetTypeId", + "StableCoin": "" + } + }, + "AssetIdentifier": { + "_enum": { + "CUSIP": "[u8; 9]", + "CINS": "[u8; 9]", + "ISIN": "[u8; 12]", + "LEI": "[u8; 20]" + } + }, + "AssetOwnershipRelation": { + "_enum": { + "NotOwned": "", + "TickerOwned": "", + "AssetOwned": "" + } + }, + "AssetName": "Text", + "FundingRoundName": "Text", + "VenueDetails": "Text", + "SecurityToken": { + "total_supply": "Balance", + "owner_did": "IdentityId", + "divisible": "bool", + "asset_type": "AssetType" + }, + "PalletName": "Text", + "DispatchableName": "Text", + "AssetPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "PortfolioPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "DispatchableNames": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "PalletPermissions": { + "pallet_name": "PalletName", + "dispatchable_names": "DispatchableNames" + }, + "ExtrinsicPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "Permissions": { + "asset": "AssetPermissions", + "extrinsic": "ExtrinsicPermissions", + "portfolio": "PortfolioPermissions" + }, + "LegacyPalletPermissions": { + "pallet_name": "PalletName", + "total": "bool", + "dispatchable_names": "Vec" + }, + "LegacyPermissions": { + "asset": "Option>", + "extrinsic": "Option>", + "portfolio": "Option>" + }, + "Signatory": { + "_enum": { + "Identity": "IdentityId", + "Account": "AccountId" + } + }, + "SecondaryKey": { + "signer": "Signatory", + "permissions": "Permissions" + }, + "SecondaryKeyWithAuth": { + "secondary_key": "SecondaryKey", + "auth_signature": "Signature" + }, + "Subsidy": { + "paying_key": "AccountId", + "remaining": "Balance" + }, + "IdentityRole": { + "_enum": [ + "Issuer", + "SimpleTokenIssuer", + "Validator", + "ClaimIssuer", + "Investor", + "NodeRunner", + "PM", + "CDDAMLClaimIssuer", + "AccreditedInvestorClaimIssuer", + "VerifiedIdentityClaimIssuer" + ] + }, + "PreAuthorizedKeyInfo": { + "target_id": "IdentityId", + "secondary_key": "SecondaryKey" + }, + "DidRecord": { + "primary_key": "AccountId", + "secondary_keys": "Vec" + }, + "KeyIdentityData": { + "identity": "IdentityId", + "permissions": "Option" + }, + "CountryCode": { + "_enum": [ + "AF", + "AX", + "AL", + "DZ", + "AS", + "AD", + "AO", + "AI", + "AQ", + "AG", + "AR", + "AM", + "AW", + "AU", + "AT", + "AZ", + "BS", + "BH", + "BD", + "BB", + "BY", + "BE", + "BZ", + "BJ", + "BM", + "BT", + "BO", + "BA", + "BW", + "BV", + "BR", + "VG", + "IO", + "BN", + "BG", + "BF", + "BI", + "KH", + "CM", + "CA", + "CV", + "KY", + "CF", + "TD", + "CL", + "CN", + "HK", + "MO", + "CX", + "CC", + "CO", + "KM", + "CG", + "CD", + "CK", + "CR", + "CI", + "HR", + "CU", + "CY", + "CZ", + "DK", + "DJ", + "DM", + "DO", + "EC", + "EG", + "SV", + "GQ", + "ER", + "EE", + "ET", + "FK", + "FO", + "FJ", + "FI", + "FR", + "GF", + "PF", + "TF", + "GA", + "GM", + "GE", + "DE", + "GH", + "GI", + "GR", + "GL", + "GD", + "GP", + "GU", + "GT", + "GG", + "GN", + "GW", + "GY", + "HT", + "HM", + "VA", + "HN", + "HU", + "IS", + "IN", + "ID", + "IR", + "IQ", + "IE", + "IM", + "IL", + "IT", + "JM", + "JP", + "JE", + "JO", + "KZ", + "KE", + "KI", + "KP", + "KR", + "KW", + "KG", + "LA", + "LV", + "LB", + "LS", + "LR", + "LY", + "LI", + "LT", + "LU", + "MK", + "MG", + "MW", + "MY", + "MV", + "ML", + "MT", + "MH", + "MQ", + "MR", + "MU", + "YT", + "MX", + "FM", + "MD", + "MC", + "MN", + "ME", + "MS", + "MA", + "MZ", + "MM", + "NA", + "NR", + "NP", + "NL", + "AN", + "NC", + "NZ", + "NI", + "NE", + "NG", + "NU", + "NF", + "MP", + "NO", + "OM", + "PK", + "PW", + "PS", + "PA", + "PG", + "PY", + "PE", + "PH", + "PN", + "PL", + "PT", + "PR", + "QA", + "RE", + "RO", + "RU", + "RW", + "BL", + "SH", + "KN", + "LC", + "MF", + "PM", + "VC", + "WS", + "SM", + "ST", + "SA", + "SN", + "RS", + "SC", + "SL", + "SG", + "SK", + "SI", + "SB", + "SO", + "ZA", + "GS", + "SS", + "ES", + "LK", + "SD", + "SR", + "SJ", + "SZ", + "SE", + "CH", + "SY", + "TW", + "TJ", + "TZ", + "TH", + "TL", + "TG", + "TK", + "TO", + "TT", + "TN", + "TR", + "TM", + "TC", + "TV", + "UG", + "UA", + "AE", + "GB", + "US", + "UM", + "UY", + "UZ", + "VU", + "VE", + "VN", + "VI", + "WF", + "EH", + "YE", + "ZM", + "ZW", + "BQ", + "CW", + "SX" + ] + }, + "Scope": { + "_enum": { + "Identity": "IdentityId", + "Ticker": "Ticker", + "Custom": "Vec" + } + }, + "InvestorZKProofData": "Signature", + "Scalar": "[u8; 32]", + "RistrettoPoint": "[u8; 32]", + "ZkProofData": { + "challenge_responses": "[Scalar; 2]", + "subtract_expressions_res": "RistrettoPoint", + "blinded_scope_did_hash": "RistrettoPoint" + }, + "ScopeClaimProof": { + "proof_scope_id_wellformed": "Signature", + "proof_scope_id_cdd_id_match": "ZkProofData", + "scope_id": "RistrettoPoint" + }, + "Claim": { + "_enum": { + "Accredited": "Scope", + "Affiliate": "Scope", + "BuyLockup": "Scope", + "SellLockup": "Scope", + "CustomerDueDiligence": "CddId", + "KnowYourCustomer": "Scope", + "Jurisdiction": "(CountryCode, Scope)", + "Exempted": "Scope", + "Blocked": "Scope", + "InvestorUniqueness": "(Scope, ScopeId, CddId)", + "NoData": "", + "InvestorUniquenessV2": "(CddId)" + } + }, + "ClaimType": { + "_enum": { + "Accredited": "", + "Affiliate": "", + "BuyLockup": "", + "SellLockup": "", + "CustomerDueDiligence": "", + "KnowYourCustomer": "", + "Jurisdiction": "", + "Exempted": "", + "Blocked": "", + "InvestorUniqueness": "", + "NoData": "", + "InvestorUniquenessV2": "" + } + }, + "IdentityClaim": { + "claim_issuer": "IdentityId", + "issuance_date": "Moment", + "last_update_date": "Moment", + "expiry": "Option", + "claim": "Claim" + }, + "ComplianceRequirement": { + "sender_conditions": "Vec", + "receiver_conditions": "Vec", + "id": "u32" + }, + "ComplianceRequirementResult": { + "sender_conditions": "Vec", + "receiver_conditions": "Vec", + "id": "u32", + "result": "bool" + }, + "ConditionType": { + "_enum": { + "IsPresent": "Claim", + "IsAbsent": "Claim", + "IsAnyOf": "Vec", + "IsNoneOf": "Vec", + "IsIdentity": "TargetIdentity" + } + }, + "TrustedFor": { + "_enum": { + "Any": "", + "Specific": "Vec" + } + }, + "TrustedIssuer": { + "issuer": "IdentityId", + "trusted_for": "TrustedFor" + }, + "Condition": { + "condition_type": "ConditionType", + "issuers": "Vec" + }, + "ConditionResult": { + "condition": "Condition", + "result": "bool" + }, + "TargetIdAuthorization": { + "target_id": "IdentityId", + "nonce": "u64", + "expires_at": "Moment" + }, + "TickerRegistration": { + "owner": "IdentityId", + "expiry": "Option" + }, + "TickerRegistrationConfig": { + "max_ticker_length": "u8", + "registration_length": "Option" + }, + "ClassicTickerRegistration": { + "eth_owner": "EthereumAddress", + "is_created": "bool" + }, + "ClassicTickerImport": { + "eth_owner": "EthereumAddress", + "ticker": "Ticker", + "is_contract": "bool", + "is_created": "bool" + }, + "EthereumAddress": "[u8; 20]", + "EcdsaSignature": "[u8; 65]", + "MotionTitle": "Text", + "MotionInfoLink": "Text", + "ChoiceTitle": "Text", + "Motion": { + "title": "MotionTitle", + "info_link": "MotionInfoLink", + "choices": "Vec" + }, + "BallotTitle": "Text", + "BallotMeta": { + "title": "BallotTitle", + "motions": "Vec" + }, + "BallotTimeRange": { + "start": "Moment", + "end": "Moment" + }, + "BallotVote": { + "power": "Balance", + "fallback": "Option" + }, + "MaybeBlock": { + "_enum": { + "Some": "BlockNumber", + "None": "" + } + }, + "Url": "Text", + "PipDescription": "Text", + "PipsMetadata": { + "id": "PipId", + "url": "Option", + "description": "Option", + "created_at": "BlockNumber", + "transaction_version": "u32", + "expiry": "MaybeBlock" + }, + "Proposer": { + "_enum": { + "Community": "AccountId", + "Committee": "Committee" + } + }, + "Committee": { + "_enum": { + "Technical": "", + "Upgrade": "" + } + }, + "SkippedCount": "u8", + "SnapshottedPip": { + "id": "PipId", + "weight": "(bool, Balance)" + }, + "SnapshotId": "u32", + "SnapshotMetadata": { + "created_at": "BlockNumber", + "made_by": "AccountId", + "id": "SnapshotId" + }, + "SnapshotResult": { + "_enum": { + "Approve": "", + "Reject": "", + "Skip": "" + } + }, + "Beneficiary": { + "id": "IdentityId", + "amount": "Balance" + }, + "DepositInfo": { + "owner": "AccountId", + "amount": "Balance" + }, + "PolymeshVotes": { + "index": "u32", + "ayes": "Vec", + "nays": "Vec", + "expiry": "MaybeBlock" + }, + "PipId": "u32", + "ProposalState": { + "_enum": [ + "Pending", + "Rejected", + "Scheduled", + "Failed", + "Executed", + "Expired" + ] + }, + "Pip": { + "id": "PipId", + "proposal": "Call", + "state": "ProposalState", + "proposer": "Proposer" + }, + "ProposalData": { + "_enum": { + "Hash": "Hash", + "Proposal": "Vec" + } + }, + "OffChainSignature": { + "_enum": { + "Ed25519": "H512", + "Sr25519": "H512", + "Ecdsa": "H512" + } + }, + "Authorization": { + "authorization_data": "AuthorizationData", + "authorized_by": "IdentityId", + "expiry": "Option", + "auth_id": "u64" + }, + "AuthorizationData": { + "_enum": { + "AttestPrimaryKeyRotation": "IdentityId", + "RotatePrimaryKey": "", + "TransferTicker": "Ticker", + "AddMultiSigSigner": "AccountId", + "TransferAssetOwnership": "Ticker", + "JoinIdentity": "Permissions", + "PortfolioCustody": "PortfolioId", + "BecomeAgent": "(Ticker, AgentGroup)", + "AddRelayerPayingKey": "(AccountId, AccountId, Balance)", + "RotatePrimaryKeyToSecondary": "Permissions" + } + }, + "SmartExtensionType": { + "_enum": { + "TransferManager": "", + "Offerings": "", + "SmartWallet": "", + "Custom": "Vec" + } + }, + "SmartExtensionName": "Text", + "SmartExtension": { + "extension_type": "SmartExtensionType", + "extension_name": "SmartExtensionName", + "extension_id": "AccountId", + "is_archive": "bool" + }, + "MetaUrl": "Text", + "MetaDescription": "Text", + "MetaVersion": "u32", + "ExtVersion": "u32", + "TemplateMetadata": { + "url": "Option", + "se_type": "SmartExtensionType", + "usage_fee": "Balance", + "description": "MetaDescription", + "version": "MetaVersion" + }, + "TemplateDetails": { + "instantiation_fee": "Balance", + "owner": "IdentityId", + "frozen": "bool" + }, + "AuthorizationNonce": "u64", + "Counter": "u64", + "Percentage": "Permill", + "TransferManager": { + "_enum": { + "CountTransferManager": "Counter", + "PercentageTransferManager": "Percentage" + } + }, + "RestrictionResult": { + "_enum": [ + "Valid", + "Invalid", + "ForceValid" + ] + }, + "Memo": "[u8;32]", + "BridgeTx": { + "nonce": "u32", + "recipient": "AccountId", + "amount": "Balance", + "tx_hash": "H256" + }, + "AssetCompliance": { + "paused": "bool", + "requirements": "Vec" + }, + "AssetComplianceResult": { + "paused": "bool", + "requirements": "Vec", + "result": "bool" + }, + "Claim1stKey": { + "target": "IdentityId", + "claim_type": "ClaimType" + }, + "Claim2ndKey": { + "issuer": "IdentityId", + "scope": "Option" + }, + "InactiveMember": { + "id": "IdentityId", + "deactivated_at": "Moment", + "expiry": "Option" + }, + "VotingResult": { + "ayes_count": "u32", + "ayes_stake": "Balance", + "nays_count": "u32", + "nays_stake": "Balance" + }, + "ProtocolOp": { + "_enum": [ + "AssetRegisterTicker", + "AssetIssue", + "AssetAddDocuments", + "AssetCreateAsset", + "CheckpointCreateSchedule", + "ComplianceManagerAddComplianceRequirement", + "IdentityCddRegisterDid", + "IdentityAddClaim", + "IdentityAddSecondaryKeysWithAuthorization", + "PipsPropose", + "ContractsPutCode", + "CorporateBallotAttachBallot", + "CapitalDistributionDistribute" + ] + }, + "CddStatus": { + "_enum": { + "Ok": "IdentityId", + "Err": "Vec" + } + }, + "AssetDidResult": { + "_enum": { + "Ok": "IdentityId", + "Err": "Vec" + } + }, + "DidRecordsSuccess": { + "primary_key": "AccountId", + "secondary_keys": "Vec" + }, + "DidRecords": { + "_enum": { + "Success": "DidRecordsSuccess", + "IdNotFound": "Vec" + } + }, + "VoteCountProposalFound": { + "ayes": "u64", + "nays": "u64" + }, + "VoteCount": { + "_enum": { + "ProposalFound": "VoteCountProposalFound", + "ProposalNotFound": "" + } + }, + "Vote": "(bool, Balance)", + "VoteByPip": { + "pip": "PipId", + "vote": "Vote" + }, + "BridgeTxDetail": { + "amount": "Balance", + "status": "BridgeTxStatus", + "execution_block": "BlockNumber", + "tx_hash": "H256" + }, + "BridgeTxStatus": { + "_enum": { + "Absent": "", + "Pending": "u8", + "Frozen": "", + "Timelocked": "", + "Handled": "" + } + }, + "HandledTxStatus": { + "_enum": { + "Success": "", + "Error": "Text" + } + }, + "CappedFee": "u64", + "CanTransferResult": { + "_enum": { + "Ok": "u8", + "Err": "Vec" + } + }, + "AuthorizationType": { + "_enum": { + "AttestPrimaryKeyRotation": "", + "RotatePrimaryKey": "", + "TransferTicker": "", + "AddMultiSigSigner": "", + "TransferAssetOwnership": "", + "JoinIdentity": "", + "PortfolioCustody": "", + "BecomeAgent": "", + "AddRelayerPayingKey": "", + "RotatePrimaryKeyToSecondary": "" + } + }, + "ProposalDetails": { + "approvals": "u64", + "rejections": "u64", + "status": "ProposalStatus", + "expiry": "Option", + "auto_close": "bool" + }, + "ProposalStatus": { + "_enum": { + "Invalid": "", + "ActiveOrExpired": "", + "ExecutionSuccessful": "", + "ExecutionFailed": "", + "Rejected": "" + } + }, + "DidStatus": { + "_enum": { + "Unknown": "", + "Exists": "", + "CddVerified": "" + } + }, + "PortfolioName": "Text", + "PortfolioNumber": "u64", + "PortfolioKind": { + "_enum": { + "Default": "", + "User": "PortfolioNumber" + } + }, + "PortfolioId": { + "did": "IdentityId", + "kind": "PortfolioKind" + }, + "Moment": "u64", + "CalendarUnit": { + "_enum": [ + "Second", + "Minute", + "Hour", + "Day", + "Week", + "Month", + "Year" + ] + }, + "CalendarPeriod": { + "unit": "CalendarUnit", + "amount": "u64" + }, + "CheckpointSchedule": { + "start": "Moment", + "period": "CalendarPeriod" + }, + "CheckpointId": "u64", + "ScheduleId": "u64", + "StoredSchedule": { + "schedule": "CheckpointSchedule", + "id": "ScheduleId", + "at": "Moment", + "remaining": "u32" + }, + "ScheduleSpec": { + "start": "Option", + "period": "CalendarPeriod", + "remaining": "u32" + }, + "InstructionStatus": { + "_enum": { + "Unknown": "", + "Pending": "", + "Failed": "" + } + }, + "LegStatus": { + "_enum": { + "PendingTokenLock": "", + "ExecutionPending": "", + "ExecutionToBeSkipped": "(AccountId, u64)" + } + }, + "AffirmationStatus": { + "_enum": { + "Unknown": "", + "Pending": "", + "Affirmed": "" + } + }, + "SettlementType": { + "_enum": { + "SettleOnAffirmation": "", + "SettleOnBlock": "BlockNumber" + } + }, + "LegId": "u64", + "InstructionId": "u64", + "Instruction": { + "instruction_id": "InstructionId", + "venue_id": "VenueId", + "status": "InstructionStatus", + "settlement_type": "SettlementType", + "created_at": "Option", + "trade_date": "Option", + "value_date": "Option" + }, + "Leg": { + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "Ticker", + "amount": "Balance" + }, + "Venue": { + "creator": "IdentityId", + "venue_type": "VenueType" + }, + "Receipt": { + "receipt_uid": "u64", + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "Ticker", + "amount": "Balance" + }, + "ReceiptMetadata": "Text", + "ReceiptDetails": { + "receipt_uid": "u64", + "leg_id": "LegId", + "signer": "AccountId", + "signature": "OffChainSignature", + "metadata": "ReceiptMetadata" + }, + "UniqueCall": { + "nonce": "u64", + "call": "Call" + }, + "MovePortfolioItem": { + "ticker": "Ticker", + "amount": "Balance", + "memo": "Option" + }, + "WeightToFeeCoefficient": { + "coeffInteger": "Balance", + "coeffFrac": "Perbill", + "negative": "bool", + "degree": "u8" + }, + "TargetIdentity": { + "_enum": { + "ExternalAgent": "", + "Specific": "IdentityId" + } + }, + "FundraiserId": "u64", + "FundraiserName": "Text", + "FundraiserStatus": { + "_enum": [ + "Live", + "Frozen", + "Closed", + "ClosedEarly" + ] + }, + "FundraiserTier": { + "total": "Balance", + "price": "Balance", + "remaining": "Balance" + }, + "Fundraiser": { + "creator": "IdentityId", + "offering_portfolio": "PortfolioId", + "offering_asset": "Ticker", + "raising_portfolio": "PortfolioId", + "raising_asset": "Ticker", + "tiers": "Vec", + "venue_id": "VenueId", + "start": "Moment", + "end": "Option", + "status": "FundraiserStatus", + "minimum_investment": "Balance" + }, + "VenueId": "u64", + "VenueType": { + "_enum": [ + "Other", + "Distribution", + "Sto", + "Exchange" + ] + }, + "ExtensionAttributes": { + "usage_fee": "Balance", + "version": "MetaVersion" + }, + "Tax": "Permill", + "TargetIdentities": { + "identities": "Vec", + "treatment": "TargetTreatment" + }, + "TargetTreatment": { + "_enum": [ + "Include", + "Exclude" + ] + }, + "CAKind": { + "_enum": [ + "PredictableBenefit", + "UnpredictableBenefit", + "IssuerNotice", + "Reorganization", + "Other" + ] + }, + "CADetails": "Text", + "CACheckpoint": { + "_enum": { + "Scheduled": "(ScheduleId, u64)", + "Existing": "CheckpointId" + } + }, + "RecordDate": { + "date": "Moment", + "checkpoint": "CACheckpoint" + }, + "RecordDateSpec": { + "_enum": { + "Scheduled": "Moment", + "ExistingSchedule": "ScheduleId", + "Existing": "CheckpointId" + } + }, + "CorporateAction": { + "kind": "CAKind", + "decl_date": "Moment", + "record_date": "Option", + "targets": "TargetIdentities", + "default_withholding_tax": "Tax", + "withholding_tax": "Vec<(IdentityId, Tax)>" + }, + "LocalCAId": "u32", + "CAId": { + "ticker": "Ticker", + "local_id": "LocalCAId" + }, + "Distribution": { + "from": "PortfolioId", + "currency": "Ticker", + "per_share": "Balance", + "amount": "Balance", + "remaining": "Balance", + "reclaimed": "bool", + "payment_at": "Moment", + "expires_at": "Option" + }, + "SlashingSwitch": { + "_enum": [ + "Validator", + "ValidatorAndNominator", + "None" + ] + }, + "PriceTier": { + "total": "Balance", + "price": "Balance" + }, + "PermissionedIdentityPrefs": { + "intended_count": "u32", + "running_count": "u32" + }, + "GranularCanTransferResult": { + "invalid_granularity": "bool", + "self_transfer": "bool", + "invalid_receiver_cdd": "bool", + "invalid_sender_cdd": "bool", + "missing_scope_claim": "bool", + "receiver_custodian_error": "bool", + "sender_custodian_error": "bool", + "sender_insufficient_balance": "bool", + "portfolio_validity_result": "PortfolioValidityResult", + "asset_frozen": "bool", + "statistics_result": "Vec", + "compliance_result": "AssetComplianceResult", + "result": "bool" + }, + "PortfolioValidityResult": { + "receiver_is_same_portfolio": "bool", + "sender_portfolio_does_not_exist": "bool", + "receiver_portfolio_does_not_exist": "bool", + "sender_insufficient_balance": "bool", + "result": "bool" + }, + "TransferManagerResult": { + "tm": "TransferManager", + "result": "bool" + }, + "AGId": "u32", + "AgentGroup": { + "_enum": { + "Full": "", + "Custom": "AGId", + "ExceptMeta": "", + "PolymeshV1CAA": "", + "PolymeshV1PIA": "" + } + }, + "ItnRewardStatus": { + "_enum": { + "Unclaimed": "Balance", + "Claimed": "" + } + } + } + }, + { + "minmax": [ + 3003, + 3003 + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "AccountInfo": "AccountInfoWithDualRefCount", + "IdentityId": "[u8; 32]", + "EventDid": "IdentityId", + "EventCounts": "Vec", + "ErrorAt": "(u32, DispatchError)", + "InvestorUid": "[u8; 16]", + "Ticker": "[u8; 12]", + "CddId": "[u8; 32]", + "ScopeId": "[u8; 32]", + "PosRatio": "(u32, u32)", + "DocumentId": "u32", + "DocumentName": "Text", + "DocumentUri": "Text", + "DocumentHash": { + "_enum": { + "None": "", + "H512": "[u8; 64]", + "H384": "[u8; 48]", + "H320": "[u8; 40]", + "H256": "[u8; 32]", + "H224": "[u8; 28]", + "H192": "[u8; 24]", + "H160": "[u8; 20]", + "H128": "[u8; 16]" + } + }, + "DocumentType": "Text", + "Document": { + "uri": "DocumentUri", + "content_hash": "DocumentHash", + "name": "DocumentName", + "doc_type": "Option", + "filing_date": "Option" + }, + "Version": "u8", + "CustomAssetTypeId": "u32", + "AssetType": { + "_enum": { + "EquityCommon": "", + "EquityPreferred": "", + "Commodity": "", + "FixedIncome": "", + "REIT": "", + "Fund": "", + "RevenueShareAgreement": "", + "StructuredProduct": "", + "Derivative": "", + "Custom": "CustomAssetTypeId", + "StableCoin": "" + } + }, + "AssetIdentifier": { + "_enum": { + "CUSIP": "[u8; 9]", + "CINS": "[u8; 9]", + "ISIN": "[u8; 12]", + "LEI": "[u8; 20]" + } + }, + "AssetOwnershipRelation": { + "_enum": { + "NotOwned": "", + "TickerOwned": "", + "AssetOwned": "" + } + }, + "AssetName": "Text", + "FundingRoundName": "Text", + "VenueDetails": "Text", + "SecurityToken": { + "total_supply": "Balance", + "owner_did": "IdentityId", + "divisible": "bool", + "asset_type": "AssetType" + }, + "PalletName": "Text", + "DispatchableName": "Text", + "AssetPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "PortfolioPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "DispatchableNames": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "PalletPermissions": { + "pallet_name": "PalletName", + "dispatchable_names": "DispatchableNames" + }, + "ExtrinsicPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "Permissions": { + "asset": "AssetPermissions", + "extrinsic": "ExtrinsicPermissions", + "portfolio": "PortfolioPermissions" + }, + "LegacyPalletPermissions": { + "pallet_name": "PalletName", + "total": "bool", + "dispatchable_names": "Vec" + }, + "LegacyPermissions": { + "asset": "Option>", + "extrinsic": "Option>", + "portfolio": "Option>" + }, + "Signatory": { + "_enum": { + "Identity": "IdentityId", + "Account": "AccountId" + } + }, + "SecondaryKey": { + "signer": "Signatory", + "permissions": "Permissions" + }, + "SecondaryKeyWithAuth": { + "secondary_key": "SecondaryKey", + "auth_signature": "Signature" + }, + "Subsidy": { + "paying_key": "AccountId", + "remaining": "Balance" + }, + "IdentityRole": { + "_enum": [ + "Issuer", + "SimpleTokenIssuer", + "Validator", + "ClaimIssuer", + "Investor", + "NodeRunner", + "PM", + "CDDAMLClaimIssuer", + "AccreditedInvestorClaimIssuer", + "VerifiedIdentityClaimIssuer" + ] + }, + "PreAuthorizedKeyInfo": { + "target_id": "IdentityId", + "secondary_key": "SecondaryKey" + }, + "DidRecord": { + "primary_key": "AccountId", + "secondary_keys": "Vec" + }, + "KeyIdentityData": { + "identity": "IdentityId", + "permissions": "Option" + }, + "CountryCode": { + "_enum": [ + "AF", + "AX", + "AL", + "DZ", + "AS", + "AD", + "AO", + "AI", + "AQ", + "AG", + "AR", + "AM", + "AW", + "AU", + "AT", + "AZ", + "BS", + "BH", + "BD", + "BB", + "BY", + "BE", + "BZ", + "BJ", + "BM", + "BT", + "BO", + "BA", + "BW", + "BV", + "BR", + "VG", + "IO", + "BN", + "BG", + "BF", + "BI", + "KH", + "CM", + "CA", + "CV", + "KY", + "CF", + "TD", + "CL", + "CN", + "HK", + "MO", + "CX", + "CC", + "CO", + "KM", + "CG", + "CD", + "CK", + "CR", + "CI", + "HR", + "CU", + "CY", + "CZ", + "DK", + "DJ", + "DM", + "DO", + "EC", + "EG", + "SV", + "GQ", + "ER", + "EE", + "ET", + "FK", + "FO", + "FJ", + "FI", + "FR", + "GF", + "PF", + "TF", + "GA", + "GM", + "GE", + "DE", + "GH", + "GI", + "GR", + "GL", + "GD", + "GP", + "GU", + "GT", + "GG", + "GN", + "GW", + "GY", + "HT", + "HM", + "VA", + "HN", + "HU", + "IS", + "IN", + "ID", + "IR", + "IQ", + "IE", + "IM", + "IL", + "IT", + "JM", + "JP", + "JE", + "JO", + "KZ", + "KE", + "KI", + "KP", + "KR", + "KW", + "KG", + "LA", + "LV", + "LB", + "LS", + "LR", + "LY", + "LI", + "LT", + "LU", + "MK", + "MG", + "MW", + "MY", + "MV", + "ML", + "MT", + "MH", + "MQ", + "MR", + "MU", + "YT", + "MX", + "FM", + "MD", + "MC", + "MN", + "ME", + "MS", + "MA", + "MZ", + "MM", + "NA", + "NR", + "NP", + "NL", + "AN", + "NC", + "NZ", + "NI", + "NE", + "NG", + "NU", + "NF", + "MP", + "NO", + "OM", + "PK", + "PW", + "PS", + "PA", + "PG", + "PY", + "PE", + "PH", + "PN", + "PL", + "PT", + "PR", + "QA", + "RE", + "RO", + "RU", + "RW", + "BL", + "SH", + "KN", + "LC", + "MF", + "PM", + "VC", + "WS", + "SM", + "ST", + "SA", + "SN", + "RS", + "SC", + "SL", + "SG", + "SK", + "SI", + "SB", + "SO", + "ZA", + "GS", + "SS", + "ES", + "LK", + "SD", + "SR", + "SJ", + "SZ", + "SE", + "CH", + "SY", + "TW", + "TJ", + "TZ", + "TH", + "TL", + "TG", + "TK", + "TO", + "TT", + "TN", + "TR", + "TM", + "TC", + "TV", + "UG", + "UA", + "AE", + "GB", + "US", + "UM", + "UY", + "UZ", + "VU", + "VE", + "VN", + "VI", + "WF", + "EH", + "YE", + "ZM", + "ZW", + "BQ", + "CW", + "SX" + ] + }, + "Scope": { + "_enum": { + "Identity": "IdentityId", + "Ticker": "Ticker", + "Custom": "Vec" + } + }, + "InvestorZKProofData": "Signature", + "Scalar": "[u8; 32]", + "RistrettoPoint": "[u8; 32]", + "ZkProofData": { + "challenge_responses": "[Scalar; 2]", + "subtract_expressions_res": "RistrettoPoint", + "blinded_scope_did_hash": "RistrettoPoint" + }, + "ScopeClaimProof": { + "proof_scope_id_wellformed": "Signature", + "proof_scope_id_cdd_id_match": "ZkProofData", + "scope_id": "RistrettoPoint" + }, + "Claim": { + "_enum": { + "Accredited": "Scope", + "Affiliate": "Scope", + "BuyLockup": "Scope", + "SellLockup": "Scope", + "CustomerDueDiligence": "CddId", + "KnowYourCustomer": "Scope", + "Jurisdiction": "(CountryCode, Scope)", + "Exempted": "Scope", + "Blocked": "Scope", + "InvestorUniqueness": "(Scope, ScopeId, CddId)", + "NoData": "", + "InvestorUniquenessV2": "(CddId)" + } + }, + "ClaimType": { + "_enum": { + "Accredited": "", + "Affiliate": "", + "BuyLockup": "", + "SellLockup": "", + "CustomerDueDiligence": "", + "KnowYourCustomer": "", + "Jurisdiction": "", + "Exempted": "", + "Blocked": "", + "InvestorUniqueness": "", + "NoData": "", + "InvestorUniquenessV2": "" + } + }, + "IdentityClaim": { + "claim_issuer": "IdentityId", + "issuance_date": "Moment", + "last_update_date": "Moment", + "expiry": "Option", + "claim": "Claim" + }, + "ComplianceRequirement": { + "sender_conditions": "Vec", + "receiver_conditions": "Vec", + "id": "u32" + }, + "ComplianceRequirementResult": { + "sender_conditions": "Vec", + "receiver_conditions": "Vec", + "id": "u32", + "result": "bool" + }, + "ConditionType": { + "_enum": { + "IsPresent": "Claim", + "IsAbsent": "Claim", + "IsAnyOf": "Vec", + "IsNoneOf": "Vec", + "IsIdentity": "TargetIdentity" + } + }, + "TrustedFor": { + "_enum": { + "Any": "", + "Specific": "Vec" + } + }, + "TrustedIssuer": { + "issuer": "IdentityId", + "trusted_for": "TrustedFor" + }, + "Condition": { + "condition_type": "ConditionType", + "issuers": "Vec" + }, + "ConditionResult": { + "condition": "Condition", + "result": "bool" + }, + "TargetIdAuthorization": { + "target_id": "IdentityId", + "nonce": "u64", + "expires_at": "Moment" + }, + "TickerRegistration": { + "owner": "IdentityId", + "expiry": "Option" + }, + "TickerRegistrationConfig": { + "max_ticker_length": "u8", + "registration_length": "Option" + }, + "ClassicTickerRegistration": { + "eth_owner": "EthereumAddress", + "is_created": "bool" + }, + "ClassicTickerImport": { + "eth_owner": "EthereumAddress", + "ticker": "Ticker", + "is_contract": "bool", + "is_created": "bool" + }, + "EthereumAddress": "[u8; 20]", + "EcdsaSignature": "[u8; 65]", + "MotionTitle": "Text", + "MotionInfoLink": "Text", + "ChoiceTitle": "Text", + "Motion": { + "title": "MotionTitle", + "info_link": "MotionInfoLink", + "choices": "Vec" + }, + "BallotTitle": "Text", + "BallotMeta": { + "title": "BallotTitle", + "motions": "Vec" + }, + "BallotTimeRange": { + "start": "Moment", + "end": "Moment" + }, + "BallotVote": { + "power": "Balance", + "fallback": "Option" + }, + "MaybeBlock": { + "_enum": { + "Some": "BlockNumber", + "None": "" + } + }, + "Url": "Text", + "PipDescription": "Text", + "PipsMetadata": { + "id": "PipId", + "url": "Option", + "description": "Option", + "created_at": "BlockNumber", + "transaction_version": "u32", + "expiry": "MaybeBlock" + }, + "Proposer": { + "_enum": { + "Community": "AccountId", + "Committee": "Committee" + } + }, + "Committee": { + "_enum": { + "Technical": "", + "Upgrade": "" + } + }, + "SkippedCount": "u8", + "SnapshottedPip": { + "id": "PipId", + "weight": "(bool, Balance)" + }, + "SnapshotId": "u32", + "SnapshotMetadata": { + "created_at": "BlockNumber", + "made_by": "AccountId", + "id": "SnapshotId" + }, + "SnapshotResult": { + "_enum": { + "Approve": "", + "Reject": "", + "Skip": "" + } + }, + "Beneficiary": { + "id": "IdentityId", + "amount": "Balance" + }, + "DepositInfo": { + "owner": "AccountId", + "amount": "Balance" + }, + "PolymeshVotes": { + "index": "u32", + "ayes": "Vec<(IdentityId, Balance)>", + "nays": "Vec<(IdentityId, Balance)>", + "expiry": "MaybeBlock" + }, + "PipId": "u32", + "ProposalState": { + "_enum": [ + "Pending", + "Rejected", + "Scheduled", + "Failed", + "Executed", + "Expired" + ] + }, + "Pip": { + "id": "PipId", + "proposal": "Call", + "state": "ProposalState", + "proposer": "Proposer" + }, + "ProposalData": { + "_enum": { + "Hash": "Hash", + "Proposal": "Vec" + } + }, + "OffChainSignature": { + "_enum": { + "Ed25519": "H512", + "Sr25519": "H512", + "Ecdsa": "H512" + } + }, + "Authorization": { + "authorization_data": "AuthorizationData", + "authorized_by": "IdentityId", + "expiry": "Option", + "auth_id": "u64" + }, + "AuthorizationData": { + "_enum": { + "AttestPrimaryKeyRotation": "IdentityId", + "RotatePrimaryKey": "", + "TransferTicker": "Ticker", + "AddMultiSigSigner": "AccountId", + "TransferAssetOwnership": "Ticker", + "JoinIdentity": "Permissions", + "PortfolioCustody": "PortfolioId", + "BecomeAgent": "(Ticker, AgentGroup)", + "AddRelayerPayingKey": "(AccountId, AccountId, Balance)" + } + }, + "SmartExtensionType": { + "_enum": { + "TransferManager": "", + "Offerings": "", + "SmartWallet": "", + "Custom": "Vec" + } + }, + "SmartExtensionName": "Text", + "SmartExtension": { + "extension_type": "SmartExtensionType", + "extension_name": "SmartExtensionName", + "extension_id": "AccountId", + "is_archive": "bool" + }, + "MetaUrl": "Text", + "MetaDescription": "Text", + "MetaVersion": "u32", + "ExtVersion": "u32", + "TemplateMetadata": { + "url": "Option", + "se_type": "SmartExtensionType", + "usage_fee": "Balance", + "description": "MetaDescription", + "version": "MetaVersion" + }, + "TemplateDetails": { + "instantiation_fee": "Balance", + "owner": "IdentityId", + "frozen": "bool" + }, + "AuthorizationNonce": "u64", + "Counter": "u64", + "Percentage": "Permill", + "TransferManager": { + "_enum": { + "CountTransferManager": "Counter", + "PercentageTransferManager": "Percentage" + } + }, + "RestrictionResult": { + "_enum": [ + "Valid", + "Invalid", + "ForceValid" + ] + }, + "Memo": "[u8;32]", + "BridgeTx": { + "nonce": "u32", + "recipient": "AccountId", + "amount": "Balance", + "tx_hash": "H256" + }, + "AssetCompliance": { + "paused": "bool", + "requirements": "Vec" + }, + "AssetComplianceResult": { + "paused": "bool", + "requirements": "Vec", + "result": "bool" + }, + "Claim1stKey": { + "target": "IdentityId", + "claim_type": "ClaimType" + }, + "Claim2ndKey": { + "issuer": "IdentityId", + "scope": "Option" + }, + "InactiveMember": { + "id": "IdentityId", + "deactivated_at": "Moment", + "expiry": "Option" + }, + "VotingResult": { + "ayes_count": "u32", + "ayes_stake": "Balance", + "nays_count": "u32", + "nays_stake": "Balance" + }, + "ProtocolOp": { + "_enum": [ + "AssetRegisterTicker", + "AssetIssue", + "AssetAddDocuments", + "AssetCreateAsset", + "CheckpointCreateSchedule", + "ComplianceManagerAddComplianceRequirement", + "IdentityCddRegisterDid", + "IdentityAddClaim", + "IdentityAddSecondaryKeysWithAuthorization", + "PipsPropose", + "ContractsPutCode", + "CorporateBallotAttachBallot", + "CapitalDistributionDistribute" + ] + }, + "CddStatus": { + "_enum": { + "Ok": "IdentityId", + "Err": "Vec" + } + }, + "AssetDidResult": { + "_enum": { + "Ok": "IdentityId", + "Err": "Vec" + } + }, + "DidRecordsSuccess": { + "primary_key": "AccountId", + "secondary_keys": "Vec" + }, + "DidRecords": { + "_enum": { + "Success": "DidRecordsSuccess", + "IdNotFound": "Vec" + } + }, + "VoteCountProposalFound": { + "ayes": "u64", + "nays": "u64" + }, + "VoteCount": { + "_enum": { + "ProposalFound": "VoteCountProposalFound", + "ProposalNotFound": "" + } + }, + "Vote": "(bool, Balance)", + "VoteByPip": { + "pip": "PipId", + "vote": "Vote" + }, + "BridgeTxDetail": { + "amount": "Balance", + "status": "BridgeTxStatus", + "execution_block": "BlockNumber", + "tx_hash": "H256" + }, + "BridgeTxStatus": { + "_enum": { + "Absent": "", + "Pending": "u8", + "Frozen": "", + "Timelocked": "", + "Handled": "" + } + }, + "HandledTxStatus": { + "_enum": { + "Success": "", + "Error": "Text" + } + }, + "CappedFee": "u64", + "CanTransferResult": { + "_enum": { + "Ok": "u8", + "Err": "Vec" + } + }, + "AuthorizationType": { + "_enum": { + "AttestPrimaryKeyRotation": "", + "RotatePrimaryKey": "", + "TransferTicker": "", + "AddMultiSigSigner": "", + "TransferAssetOwnership": "", + "JoinIdentity": "", + "PortfolioCustody": "", + "BecomeAgent": "", + "AddRelayerPayingKey": "" + } + }, + "ProposalDetails": { + "approvals": "u64", + "rejections": "u64", + "status": "ProposalStatus", + "expiry": "Option", + "auto_close": "bool" + }, + "ProposalStatus": { + "_enum": { + "Invalid": "", + "ActiveOrExpired": "", + "ExecutionSuccessful": "", + "ExecutionFailed": "", + "Rejected": "" + } + }, + "DidStatus": { + "_enum": { + "Unknown": "", + "Exists": "", + "CddVerified": "" + } + }, + "PortfolioName": "Text", + "PortfolioNumber": "u64", + "PortfolioKind": { + "_enum": { + "Default": "", + "User": "PortfolioNumber" + } + }, + "PortfolioId": { + "did": "IdentityId", + "kind": "PortfolioKind" + }, + "Moment": "u64", + "CalendarUnit": { + "_enum": [ + "Second", + "Minute", + "Hour", + "Day", + "Week", + "Month", + "Year" + ] + }, + "CalendarPeriod": { + "unit": "CalendarUnit", + "amount": "u64" + }, + "CheckpointSchedule": { + "start": "Moment", + "period": "CalendarPeriod" + }, + "CheckpointId": "u64", + "ScheduleId": "u64", + "StoredSchedule": { + "schedule": "CheckpointSchedule", + "id": "ScheduleId", + "at": "Moment", + "remaining": "u32" + }, + "ScheduleSpec": { + "start": "Option", + "period": "CalendarPeriod", + "remaining": "u32" + }, + "InstructionStatus": { + "_enum": { + "Unknown": "", + "Pending": "", + "Failed": "" + } + }, + "LegStatus": { + "_enum": { + "PendingTokenLock": "", + "ExecutionPending": "", + "ExecutionToBeSkipped": "(AccountId, u64)" + } + }, + "AffirmationStatus": { + "_enum": { + "Unknown": "", + "Pending": "", + "Affirmed": "" + } + }, + "SettlementType": { + "_enum": { + "SettleOnAffirmation": "", + "SettleOnBlock": "BlockNumber" + } + }, + "Instruction": { + "instruction_id": "u64", + "venue_id": "u64", + "status": "InstructionStatus", + "settlement_type": "SettlementType", + "created_at": "Option", + "trade_date": "Option", + "value_date": "Option" + }, + "Leg": { + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "Ticker", + "amount": "Balance" + }, + "Venue": { + "creator": "IdentityId", + "venue_type": "VenueType" + }, + "Receipt": { + "receipt_uid": "u64", + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "Ticker", + "amount": "Balance" + }, + "ReceiptMetadata": "Text", + "ReceiptDetails": { + "receipt_uid": "u64", + "leg_id": "u64", + "signer": "AccountId", + "signature": "OffChainSignature", + "metadata": "ReceiptMetadata" + }, + "UniqueCall": { + "nonce": "u64", + "call": "Call" + }, + "MovePortfolioItem": { + "ticker": "Ticker", + "amount": "Balance", + "memo": "Option" + }, + "WeightToFeeCoefficient": { + "coeffInteger": "Balance", + "coeffFrac": "Perbill", + "negative": "bool", + "degree": "u8" + }, + "TargetIdentity": { + "_enum": { + "ExternalAgent": "", + "Specific": "IdentityId" + } + }, + "FundraiserName": "Text", + "FundraiserStatus": { + "_enum": [ + "Live", + "Frozen", + "Closed", + "ClosedEarly" + ] + }, + "FundraiserTier": { + "total": "Balance", + "price": "Balance", + "remaining": "Balance" + }, + "Fundraiser": { + "creator": "IdentityId", + "offering_portfolio": "PortfolioId", + "offering_asset": "Ticker", + "raising_portfolio": "PortfolioId", + "raising_asset": "Ticker", + "tiers": "Vec", + "venue_id": "u64", + "start": "Moment", + "end": "Option", + "status": "FundraiserStatus", + "minimum_investment": "Balance" + }, + "VenueType": { + "_enum": [ + "Other", + "Distribution", + "Sto", + "Exchange" + ] + }, + "ExtensionAttributes": { + "usage_fee": "Balance", + "version": "MetaVersion" + }, + "Tax": "Permill", + "TargetIdentities": { + "identities": "Vec", + "treatment": "TargetTreatment" + }, + "TargetTreatment": { + "_enum": [ + "Include", + "Exclude" + ] + }, + "CAKind": { + "_enum": [ + "PredictableBenefit", + "UnpredictableBenefit", + "IssuerNotice", + "Reorganization", + "Other" + ] + }, + "CADetails": "Text", + "CACheckpoint": { + "_enum": { + "Scheduled": "(ScheduleId, u64)", + "Existing": "CheckpointId" + } + }, + "RecordDate": { + "date": "Moment", + "checkpoint": "CACheckpoint" + }, + "RecordDateSpec": { + "_enum": { + "Scheduled": "Moment", + "ExistingSchedule": "ScheduleId", + "Existing": "CheckpointId" + } + }, + "CorporateAction": { + "kind": "CAKind", + "decl_date": "Moment", + "record_date": "Option", + "targets": "TargetIdentities", + "default_withholding_tax": "Tax", + "withholding_tax": "Vec<(IdentityId, Tax)>" + }, + "LocalCAId": "u32", + "CAId": { + "ticker": "Ticker", + "local_id": "LocalCAId" + }, + "Distribution": { + "from": "PortfolioId", + "currency": "Ticker", + "per_share": "Balance", + "amount": "Balance", + "remaining": "Balance", + "reclaimed": "bool", + "payment_at": "Moment", + "expires_at": "Option" + }, + "SlashingSwitch": { + "_enum": [ + "Validator", + "ValidatorAndNominator", + "None" + ] + }, + "PriceTier": { + "total": "Balance", + "price": "Balance" + }, + "PermissionedIdentityPrefs": { + "intended_count": "u32", + "running_count": "u32" + }, + "GranularCanTransferResult": { + "invalid_granularity": "bool", + "self_transfer": "bool", + "invalid_receiver_cdd": "bool", + "invalid_sender_cdd": "bool", + "missing_scope_claim": "bool", + "receiver_custodian_error": "bool", + "sender_custodian_error": "bool", + "sender_insufficient_balance": "bool", + "portfolio_validity_result": "PortfolioValidityResult", + "asset_frozen": "bool", + "statistics_result": "Vec", + "compliance_result": "AssetComplianceResult", + "result": "bool" + }, + "PortfolioValidityResult": { + "receiver_is_same_portfolio": "bool", + "sender_portfolio_does_not_exist": "bool", + "receiver_portfolio_does_not_exist": "bool", + "sender_insufficient_balance": "bool", + "result": "bool" + }, + "TransferManagerResult": { + "tm": "TransferManager", + "result": "bool" + }, + "AGId": "u32", + "AgentGroup": { + "_enum": { + "Full": "", + "Custom": "AGId", + "ExceptMeta": "", + "PolymeshV1CAA": "", + "PolymeshV1PIA": "" + } + }, + "ItnRewardStatus": { + "_enum": { + "Unclaimed": "Balance", + "Claimed": "" + } + } + } + }, + { + "minmax": [ + 3000, + 3001 + ], + "types": { + "Address": "MultiAddress", + "LookupSource": "MultiAddress", + "AccountInfo": "AccountInfoWithDualRefCount", + "IdentityId": "[u8; 32]", + "EventDid": "IdentityId", + "EventCounts": "Vec", + "ErrorAt": "(u32, DispatchError)", + "InvestorUid": "[u8; 16]", + "Ticker": "[u8; 12]", + "CddId": "[u8; 32]", + "ScopeId": "[u8; 32]", + "PosRatio": "(u32, u32)", + "DocumentId": "u32", + "DocumentName": "Text", + "DocumentUri": "Text", + "DocumentHash": { + "_enum": { + "None": "", + "H512": "[u8; 64]", + "H384": "[u8; 48]", + "H320": "[u8; 40]", + "H256": "[u8; 32]", + "H224": "[u8; 28]", + "H192": "[u8; 24]", + "H160": "[u8; 20]", + "H128": "[u8; 16]" + } + }, + "DocumentType": "Text", + "Document": { + "uri": "DocumentUri", + "content_hash": "DocumentHash", + "name": "DocumentName", + "doc_type": "Option", + "filing_date": "Option" + }, + "Version": "u8", + "CustomAssetTypeId": "u32", + "AssetType": { + "_enum": { + "EquityCommon": "", + "EquityPreferred": "", + "Commodity": "", + "FixedIncome": "", + "REIT": "", + "Fund": "", + "RevenueShareAgreement": "", + "StructuredProduct": "", + "Derivative": "", + "Custom": "CustomAssetTypeId", + "StableCoin": "" + } + }, + "AssetIdentifier": { + "_enum": { + "CUSIP": "[u8; 9]", + "CINS": "[u8; 9]", + "ISIN": "[u8; 12]", + "LEI": "[u8; 20]" + } + }, + "AssetOwnershipRelation": { + "_enum": { + "NotOwned": "", + "TickerOwned": "", + "AssetOwned": "" + } + }, + "AssetName": "Text", + "FundingRoundName": "Text", + "VenueDetails": "Text", + "SecurityToken": { + "total_supply": "Balance", + "owner_did": "IdentityId", + "divisible": "bool", + "asset_type": "AssetType" + }, + "PalletName": "Text", + "DispatchableName": "Text", + "AssetPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "PortfolioPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "DispatchableNames": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "PalletPermissions": { + "pallet_name": "PalletName", + "dispatchable_names": "DispatchableNames" + }, + "ExtrinsicPermissions": { + "_enum": { + "Whole": "", + "These": "Vec", + "Except": "Vec" + } + }, + "Permissions": { + "asset": "AssetPermissions", + "extrinsic": "ExtrinsicPermissions", + "portfolio": "PortfolioPermissions" + }, + "LegacyPalletPermissions": { + "pallet_name": "PalletName", + "total": "bool", + "dispatchable_names": "Vec" + }, + "LegacyPermissions": { + "asset": "Option>", + "extrinsic": "Option>", + "portfolio": "Option>" + }, + "Signatory": { + "_enum": { + "Identity": "IdentityId", + "Account": "AccountId" + } + }, + "SecondaryKey": { + "signer": "Signatory", + "permissions": "Permissions" + }, + "SecondaryKeyWithAuth": { + "secondary_key": "SecondaryKey", + "auth_signature": "Signature" + }, + "Subsidy": { + "paying_key": "AccountId", + "remaining": "Balance" + }, + "IdentityRole": { + "_enum": [ + "Issuer", + "SimpleTokenIssuer", + "Validator", + "ClaimIssuer", + "Investor", + "NodeRunner", + "PM", + "CDDAMLClaimIssuer", + "AccreditedInvestorClaimIssuer", + "VerifiedIdentityClaimIssuer" + ] + }, + "PreAuthorizedKeyInfo": { + "target_id": "IdentityId", + "secondary_key": "SecondaryKey" + }, + "DidRecord": { + "primary_key": "AccountId", + "secondary_keys": "Vec" + }, + "KeyIdentityData": { + "identity": "IdentityId", + "permissions": "Option" + }, + "CountryCode": { + "_enum": [ + "AF", + "AX", + "AL", + "DZ", + "AS", + "AD", + "AO", + "AI", + "AQ", + "AG", + "AR", + "AM", + "AW", + "AU", + "AT", + "AZ", + "BS", + "BH", + "BD", + "BB", + "BY", + "BE", + "BZ", + "BJ", + "BM", + "BT", + "BO", + "BA", + "BW", + "BV", + "BR", + "VG", + "IO", + "BN", + "BG", + "BF", + "BI", + "KH", + "CM", + "CA", + "CV", + "KY", + "CF", + "TD", + "CL", + "CN", + "HK", + "MO", + "CX", + "CC", + "CO", + "KM", + "CG", + "CD", + "CK", + "CR", + "CI", + "HR", + "CU", + "CY", + "CZ", + "DK", + "DJ", + "DM", + "DO", + "EC", + "EG", + "SV", + "GQ", + "ER", + "EE", + "ET", + "FK", + "FO", + "FJ", + "FI", + "FR", + "GF", + "PF", + "TF", + "GA", + "GM", + "GE", + "DE", + "GH", + "GI", + "GR", + "GL", + "GD", + "GP", + "GU", + "GT", + "GG", + "GN", + "GW", + "GY", + "HT", + "HM", + "VA", + "HN", + "HU", + "IS", + "IN", + "ID", + "IR", + "IQ", + "IE", + "IM", + "IL", + "IT", + "JM", + "JP", + "JE", + "JO", + "KZ", + "KE", + "KI", + "KP", + "KR", + "KW", + "KG", + "LA", + "LV", + "LB", + "LS", + "LR", + "LY", + "LI", + "LT", + "LU", + "MK", + "MG", + "MW", + "MY", + "MV", + "ML", + "MT", + "MH", + "MQ", + "MR", + "MU", + "YT", + "MX", + "FM", + "MD", + "MC", + "MN", + "ME", + "MS", + "MA", + "MZ", + "MM", + "NA", + "NR", + "NP", + "NL", + "AN", + "NC", + "NZ", + "NI", + "NE", + "NG", + "NU", + "NF", + "MP", + "NO", + "OM", + "PK", + "PW", + "PS", + "PA", + "PG", + "PY", + "PE", + "PH", + "PN", + "PL", + "PT", + "PR", + "QA", + "RE", + "RO", + "RU", + "RW", + "BL", + "SH", + "KN", + "LC", + "MF", + "PM", + "VC", + "WS", + "SM", + "ST", + "SA", + "SN", + "RS", + "SC", + "SL", + "SG", + "SK", + "SI", + "SB", + "SO", + "ZA", + "GS", + "SS", + "ES", + "LK", + "SD", + "SR", + "SJ", + "SZ", + "SE", + "CH", + "SY", + "TW", + "TJ", + "TZ", + "TH", + "TL", + "TG", + "TK", + "TO", + "TT", + "TN", + "TR", + "TM", + "TC", + "TV", + "UG", + "UA", + "AE", + "GB", + "US", + "UM", + "UY", + "UZ", + "VU", + "VE", + "VN", + "VI", + "WF", + "EH", + "YE", + "ZM", + "ZW", + "BQ", + "CW", + "SX" + ] + }, + "Scope": { + "_enum": { + "Identity": "IdentityId", + "Ticker": "Ticker", + "Custom": "Vec" + } + }, + "InvestorZKProofData": "Signature", + "Scalar": "[u8; 32]", + "RistrettoPoint": "[u8; 32]", + "ZkProofData": { + "challenge_responses": "[Scalar; 2]", + "subtract_expressions_res": "RistrettoPoint", + "blinded_scope_did_hash": "RistrettoPoint" + }, + "ScopeClaimProof": { + "proof_scope_id_wellformed": "Signature", + "proof_scope_id_cdd_id_match": "ZkProofData", + "scope_id": "RistrettoPoint" + }, + "Claim": { + "_enum": { + "Accredited": "Scope", + "Affiliate": "Scope", + "BuyLockup": "Scope", + "SellLockup": "Scope", + "CustomerDueDiligence": "CddId", + "KnowYourCustomer": "Scope", + "Jurisdiction": "(CountryCode, Scope)", + "Exempted": "Scope", + "Blocked": "Scope", + "InvestorUniqueness": "(Scope, ScopeId, CddId)", + "NoData": "", + "InvestorUniquenessV2": "(CddId)" + } + }, + "ClaimType": { + "_enum": { + "Accredited": "", + "Affiliate": "", + "BuyLockup": "", + "SellLockup": "", + "CustomerDueDiligence": "", + "KnowYourCustomer": "", + "Jurisdiction": "", + "Exempted": "", + "Blocked": "", + "InvestorUniqueness": "", + "NoData": "", + "InvestorUniquenessV2": "" + } + }, + "IdentityClaim": { + "claim_issuer": "IdentityId", + "issuance_date": "Moment", + "last_update_date": "Moment", + "expiry": "Option", + "claim": "Claim" + }, + "ComplianceRequirement": { + "sender_conditions": "Vec", + "receiver_conditions": "Vec", + "id": "u32" + }, + "ComplianceRequirementResult": { + "sender_conditions": "Vec", + "receiver_conditions": "Vec", + "id": "u32", + "result": "bool" + }, + "ConditionType": { + "_enum": { + "IsPresent": "Claim", + "IsAbsent": "Claim", + "IsAnyOf": "Vec", + "IsNoneOf": "Vec", + "IsIdentity": "TargetIdentity" + } + }, + "TrustedFor": { + "_enum": { + "Any": "", + "Specific": "Vec" + } + }, + "TrustedIssuer": { + "issuer": "IdentityId", + "trusted_for": "TrustedFor" + }, + "Condition": { + "condition_type": "ConditionType", + "issuers": "Vec" + }, + "ConditionResult": { + "condition": "Condition", + "result": "bool" + }, + "TargetIdAuthorization": { + "target_id": "IdentityId", + "nonce": "u64", + "expires_at": "Moment" + }, + "TickerRegistration": { + "owner": "IdentityId", + "expiry": "Option" + }, + "TickerRegistrationConfig": { + "max_ticker_length": "u8", + "registration_length": "Option" + }, + "ClassicTickerRegistration": { + "eth_owner": "EthereumAddress", + "is_created": "bool" + }, + "ClassicTickerImport": { + "eth_owner": "EthereumAddress", + "ticker": "Ticker", + "is_contract": "bool", + "is_created": "bool" + }, + "EthereumAddress": "[u8; 20]", + "EcdsaSignature": "[u8; 65]", + "MotionTitle": "Text", + "MotionInfoLink": "Text", + "ChoiceTitle": "Text", + "Motion": { + "title": "MotionTitle", + "info_link": "MotionInfoLink", + "choices": "Vec" + }, + "BallotTitle": "Text", + "BallotMeta": { + "title": "BallotTitle", + "motions": "Vec" + }, + "BallotTimeRange": { + "start": "Moment", + "end": "Moment" + }, + "BallotVote": { + "power": "Balance", + "fallback": "Option" + }, + "MaybeBlock": { + "_enum": { + "Some": "BlockNumber", + "None": "" + } + }, + "Url": "Text", + "PipDescription": "Text", + "PipsMetadata": { + "id": "PipId", + "url": "Option", + "description": "Option", + "created_at": "BlockNumber", + "transaction_version": "u32", + "expiry": "MaybeBlock" + }, + "Proposer": { + "_enum": { + "Community": "AccountId", + "Committee": "Committee" + } + }, + "Committee": { + "_enum": { + "Technical": "", + "Upgrade": "" + } + }, + "SkippedCount": "u8", + "SnapshottedPip": { + "id": "PipId", + "weight": "(bool, Balance)" + }, + "SnapshotId": "u32", + "SnapshotMetadata": { + "created_at": "BlockNumber", + "made_by": "AccountId", + "id": "SnapshotId" + }, + "SnapshotResult": { + "_enum": { + "Approve": "", + "Reject": "", + "Skip": "" + } + }, + "Beneficiary": { + "id": "IdentityId", + "amount": "Balance" + }, + "DepositInfo": { + "owner": "AccountId", + "amount": "Balance" + }, + "PolymeshVotes": { + "index": "u32", + "ayes": "Vec<(IdentityId, Balance)>", + "nays": "Vec<(IdentityId, Balance)>", + "expiry": "MaybeBlock" + }, + "PipId": "u32", + "ProposalState": { + "_enum": [ + "Pending", + "Rejected", + "Scheduled", + "Failed", + "Executed", + "Expired" + ] + }, + "Pip": { + "id": "PipId", + "proposal": "Call", + "state": "ProposalState", + "proposer": "Proposer" + }, + "ProposalData": { + "_enum": { + "Hash": "Hash", + "Proposal": "Vec" + } + }, + "OffChainSignature": { + "_enum": { + "Ed25519": "H512", + "Sr25519": "H512", + "Ecdsa": "H512" + } + }, + "Authorization": { + "authorization_data": "AuthorizationData", + "authorized_by": "IdentityId", + "expiry": "Option", + "auth_id": "u64" + }, + "AuthorizationData": { + "_enum": { + "AttestPrimaryKeyRotation": "IdentityId", + "RotatePrimaryKey": "", + "TransferTicker": "Ticker", + "AddMultiSigSigner": "AccountId", + "TransferAssetOwnership": "Ticker", + "JoinIdentity": "Permissions", + "PortfolioCustody": "PortfolioId", + "BecomeAgent": "(Ticker, AgentGroup)", + "AddRelayerPayingKey": "(AccountId, AccountId, Balance)" + } + }, + "SmartExtensionType": { + "_enum": { + "TransferManager": "", + "Offerings": "", + "SmartWallet": "", + "Custom": "Vec" + } + }, + "SmartExtensionName": "Text", + "SmartExtension": { + "extension_type": "SmartExtensionType", + "extension_name": "SmartExtensionName", + "extension_id": "AccountId", + "is_archive": "bool" + }, + "MetaUrl": "Text", + "MetaDescription": "Text", + "MetaVersion": "u32", + "ExtVersion": "u32", + "TemplateMetadata": { + "url": "Option", + "se_type": "SmartExtensionType", + "usage_fee": "Balance", + "description": "MetaDescription", + "version": "MetaVersion" + }, + "TemplateDetails": { + "instantiation_fee": "Balance", + "owner": "IdentityId", + "frozen": "bool" + }, + "AuthorizationNonce": "u64", + "Counter": "u64", + "Percentage": "Permill", + "TransferManager": { + "_enum": { + "CountTransferManager": "Counter", + "PercentageTransferManager": "Percentage" + } + }, + "RestrictionResult": { + "_enum": [ + "Valid", + "Invalid", + "ForceValid" + ] + }, + "Memo": "[u8;32]", + "BridgeTx": { + "nonce": "u32", + "recipient": "AccountId", + "amount": "Balance", + "tx_hash": "H256" + }, + "AssetCompliance": { + "paused": "bool", + "requirements": "Vec" + }, + "AssetComplianceResult": { + "paused": "bool", + "requirements": "Vec", + "result": "bool" + }, + "Claim1stKey": { + "target": "IdentityId", + "claim_type": "ClaimType" + }, + "Claim2ndKey": { + "issuer": "IdentityId", + "scope": "Option" + }, + "InactiveMember": { + "id": "IdentityId", + "deactivated_at": "Moment", + "expiry": "Option" + }, + "VotingResult": { + "ayes_count": "u32", + "ayes_stake": "Balance", + "nays_count": "u32", + "nays_stake": "Balance" + }, + "ProtocolOp": { + "_enum": [ + "AssetRegisterTicker", + "AssetIssue", + "AssetAddDocuments", + "AssetCreateAsset", + "CheckpointCreateSchedule", + "ComplianceManagerAddComplianceRequirement", + "IdentityCddRegisterDid", + "IdentityAddClaim", + "IdentityAddSecondaryKeysWithAuthorization", + "PipsPropose", + "ContractsPutCode", + "CorporateBallotAttachBallot", + "CapitalDistributionDistribute" + ] + }, + "CddStatus": { + "_enum": { + "Ok": "IdentityId", + "Err": "Vec" + } + }, + "AssetDidResult": { + "_enum": { + "Ok": "IdentityId", + "Err": "Vec" + } + }, + "DidRecordsSuccess": { + "primary_key": "AccountId", + "secondary_keys": "Vec" + }, + "DidRecords": { + "_enum": { + "Success": "DidRecordsSuccess", + "IdNotFound": "Vec" + } + }, + "VoteCountProposalFound": { + "ayes": "u64", + "nays": "u64" + }, + "VoteCount": { + "_enum": { + "ProposalFound": "VoteCountProposalFound", + "ProposalNotFound": "" + } + }, + "Vote": "(bool, Balance)", + "VoteByPip": { + "pip": "PipId", + "vote": "Vote" + }, + "BridgeTxDetail": { + "amount": "Balance", + "status": "BridgeTxStatus", + "execution_block": "BlockNumber", + "tx_hash": "H256" + }, + "BridgeTxStatus": { + "_enum": { + "Absent": "", + "Pending": "u8", + "Frozen": "", + "Timelocked": "", + "Handled": "" + } + }, + "HandledTxStatus": { + "_enum": { + "Success": "", + "Error": "Text" + } + }, + "CappedFee": "u64", + "CanTransferResult": { + "_enum": { + "Ok": "u8", + "Err": "Vec" + } + }, + "AuthorizationType": { + "_enum": { + "AttestPrimaryKeyRotation": "", + "RotatePrimaryKey": "", + "TransferTicker": "", + "AddMultiSigSigner": "", + "TransferAssetOwnership": "", + "JoinIdentity": "", + "PortfolioCustody": "", + "BecomeAgent": "", + "AddRelayerPayingKey": "" + } + }, + "ProposalDetails": { + "approvals": "u64", + "rejections": "u64", + "status": "ProposalStatus", + "expiry": "Option", + "auto_close": "bool" + }, + "ProposalStatus": { + "_enum": { + "Invalid": "", + "ActiveOrExpired": "", + "ExecutionSuccessful": "", + "ExecutionFailed": "", + "Rejected": "" + } + }, + "DidStatus": { + "_enum": { + "Unknown": "", + "Exists": "", + "CddVerified": "" + } + }, + "PortfolioName": "Text", + "PortfolioNumber": "u64", + "PortfolioKind": { + "_enum": { + "Default": "", + "User": "PortfolioNumber" + } + }, + "PortfolioId": { + "did": "IdentityId", + "kind": "PortfolioKind" + }, + "Moment": "u64", + "CalendarUnit": { + "_enum": [ + "Second", + "Minute", + "Hour", + "Day", + "Week", + "Month", + "Year" + ] + }, + "CalendarPeriod": { + "unit": "CalendarUnit", + "amount": "u64" + }, + "CheckpointSchedule": { + "start": "Moment", + "period": "CalendarPeriod" + }, + "CheckpointId": "u64", + "ScheduleId": "u64", + "StoredSchedule": { + "schedule": "CheckpointSchedule", + "id": "ScheduleId", + "at": "Moment", + "remaining": "u32" + }, + "ScheduleSpec": { + "start": "Option", + "period": "CalendarPeriod", + "remaining": "u32" + }, + "InstructionStatus": { + "_enum": { + "Unknown": "", + "Pending": "", + "Failed": "" + } + }, + "LegStatus": { + "_enum": { + "PendingTokenLock": "", + "ExecutionPending": "", + "ExecutionToBeSkipped": "(AccountId, u64)" + } + }, + "AffirmationStatus": { + "_enum": { + "Unknown": "", + "Pending": "", + "Affirmed": "" + } + }, + "SettlementType": { + "_enum": { + "SettleOnAffirmation": "", + "SettleOnBlock": "BlockNumber" + } + }, + "Instruction": { + "instruction_id": "u64", + "venue_id": "u64", + "status": "InstructionStatus", + "settlement_type": "SettlementType", + "created_at": "Option", + "trade_date": "Option", + "value_date": "Option" + }, + "Leg": { + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "Ticker", + "amount": "Balance" + }, + "Venue": { + "creator": "IdentityId", + "venue_type": "VenueType" + }, + "Receipt": { + "receipt_uid": "u64", + "from": "PortfolioId", + "to": "PortfolioId", + "asset": "Ticker", + "amount": "Balance" + }, + "ReceiptMetadata": "Text", + "ReceiptDetails": { + "receipt_uid": "u64", + "leg_id": "u64", + "signer": "AccountId", + "signature": "OffChainSignature", + "metadata": "ReceiptMetadata" + }, + "UniqueCall": { + "nonce": "u64", + "call": "Call" + }, + "MovePortfolioItem": { + "ticker": "Ticker", + "amount": "Balance", + "memo": "Option" + }, + "WeightToFeeCoefficient": { + "coeffInteger": "Balance", + "coeffFrac": "Perbill", + "negative": "bool", + "degree": "u8" + }, + "TargetIdentity": { + "_enum": { + "ExternalAgent": "", + "Specific": "IdentityId" + } + }, + "FundraiserName": "Text", + "FundraiserStatus": { + "_enum": [ + "Live", + "Frozen", + "Closed", + "ClosedEarly" + ] + }, + "FundraiserTier": { + "total": "Balance", + "price": "Balance", + "remaining": "Balance" + }, + "Fundraiser": { + "creator": "IdentityId", + "offering_portfolio": "PortfolioId", + "offering_asset": "Ticker", + "raising_portfolio": "PortfolioId", + "raising_asset": "Ticker", + "tiers": "Vec", + "venue_id": "u64", + "start": "Moment", + "end": "Option", + "status": "FundraiserStatus", + "minimum_investment": "Balance" + }, + "VenueType": { + "_enum": [ + "Other", + "Distribution", + "Sto", + "Exchange" + ] + }, + "ExtensionAttributes": { + "usage_fee": "Balance", + "version": "MetaVersion" + }, + "Tax": "Permill", + "TargetIdentities": { + "identities": "Vec", + "treatment": "TargetTreatment" + }, + "TargetTreatment": { + "_enum": [ + "Include", + "Exclude" + ] + }, + "CAKind": { + "_enum": [ + "PredictableBenefit", + "UnpredictableBenefit", + "IssuerNotice", + "Reorganization", + "Other" + ] + }, + "CADetails": "Text", + "CACheckpoint": { + "_enum": { + "Scheduled": "(ScheduleId, u64)", + "Existing": "CheckpointId" + } + }, + "RecordDate": { + "date": "Moment", + "checkpoint": "CACheckpoint" + }, + "RecordDateSpec": { + "_enum": { + "Scheduled": "Moment", + "ExistingSchedule": "ScheduleId", + "Existing": "CheckpointId" + } + }, + "CorporateAction": { + "kind": "CAKind", + "decl_date": "Moment", + "record_date": "Option", + "targets": "TargetIdentities", + "default_withholding_tax": "Tax", + "withholding_tax": "Vec<(IdentityId, Tax)>" + }, + "LocalCAId": "u32", + "CAId": { + "ticker": "Ticker", + "local_id": "LocalCAId" + }, + "Distribution": { + "from": "PortfolioId", + "currency": "Ticker", + "per_share": "Balance", + "amount": "Balance", + "remaining": "Balance", + "reclaimed": "bool", + "payment_at": "Moment", + "expires_at": "Option" + }, + "SlashingSwitch": { + "_enum": [ + "Validator", + "ValidatorAndNominator", + "None" + ] + }, + "PriceTier": { + "total": "Balance", + "price": "Balance" + }, + "PermissionedIdentityPrefs": { + "intended_count": "u32", + "running_count": "u32" + }, + "GranularCanTransferResult": { + "invalid_granularity": "bool", + "self_transfer": "bool", + "invalid_receiver_cdd": "bool", + "invalid_sender_cdd": "bool", + "missing_scope_claim": "bool", + "receiver_custodian_error": "bool", + "sender_custodian_error": "bool", + "sender_insufficient_balance": "bool", + "portfolio_validity_result": "PortfolioValidityResult", + "asset_frozen": "bool", + "statistics_result": "Vec", + "compliance_result": "AssetComplianceResult", + "result": "bool" + }, + "PortfolioValidityResult": { + "receiver_is_same_portfolio": "bool", + "sender_portfolio_does_not_exist": "bool", + "receiver_portfolio_does_not_exist": "bool", + "sender_insufficient_balance": "bool", + "result": "bool" + }, + "TransferManagerResult": { + "tm": "TransferManager", + "result": "bool" + }, + "AGId": "u32", + "AgentGroup": { + "_enum": { + "Full": "", + "Custom": "AGId", + "ExceptMeta": "", + "PolymeshV1CAA": "", + "PolymeshV1PIA": "" + } + }, + "ItnRewardStatus": { + "_enum": { + "Unclaimed": "Balance", + "Claimed": "" + } + } + } + }, + { + "minmax": [ + 2021, + 2023 + ], + "types": { + "AccountInfo": "AccountInfoWithRefCount", + "Address": "IndicesLookupSource", + "LookupSource": "IndicesLookupSource" + } } - ] + ], + "signedExtensions": { + "StoreCallMetadata": { + "extrinsic": {}, + "payload": {} + } + } }, "pontem-node": { "rpc": { diff --git a/packages/apps-electron/package.json b/packages/apps-electron/package.json index 0dcb91f206..957361519e 100644 --- a/packages/apps-electron/package.json +++ b/packages/apps-electron/package.json @@ -15,7 +15,7 @@ "sideEffects": false, "version": "0.124.2-153-x", "dependencies": { - "@polkadot/dev": "^0.71.9", + "@polkadot/dev": "^0.71.10", "@polkadot/react-components": "^0.124.2-153-x", "electron-log": "^5.0.0-beta.16", "electron-updater": "^5.3.0" diff --git a/packages/apps-electron/src/electron/index.ts b/packages/apps-electron/src/electron/index.ts index 887ada9476..df7671df8e 100644 --- a/packages/apps-electron/src/electron/index.ts +++ b/packages/apps-electron/src/electron/index.ts @@ -1,7 +1,7 @@ // Copyright 2017-2023 @polkadot/apps authors & contributors // SPDX-License-Identifier: Apache-2.0 -import { app, shell } from 'electron'; +import { app } from 'electron'; import { registerAccountStoreHandlers } from '../main/account-store.js'; import { setupAutoUpdater } from './autoUpdater.js'; @@ -11,11 +11,7 @@ import { createWindow } from './window.js'; const ENV = process.env.NODE_ENV || 'production'; app.on('web-contents-created', (_, webContents): void => { - // eslint-disable-next-line deprecation/deprecation - webContents.on('new-window', (e, url): void => { - e.preventDefault(); - shell.openExternal(url).catch(console.error); - }); + webContents.setWindowOpenHandler(() => ({ action: 'allow' })); }); app diff --git a/packages/apps/package.json b/packages/apps/package.json index 06ddfc62dd..c12bbe9fb0 100644 --- a/packages/apps/package.json +++ b/packages/apps/package.json @@ -18,7 +18,7 @@ "dependencies": { "@polkadot/apps-config": "^0.124.2-153-x", "@polkadot/apps-routing": "^0.124.2-153-x", - "@polkadot/dev": "^0.71.9", + "@polkadot/dev": "^0.71.10", "@polkadot/react-api": "^0.124.2-153-x", "@polkadot/react-components": "^0.124.2-153-x", "@polkadot/react-hooks": "^0.124.2-153-x", diff --git a/packages/react-components/package.json b/packages/react-components/package.json index a9f0b162c4..c520ac6cfc 100644 --- a/packages/react-components/package.json +++ b/packages/react-components/package.json @@ -30,7 +30,7 @@ "@polkadot/util-crypto": "^11.0.2", "@types/chartjs-plugin-crosshair": "^1.1.1", "chart.js": "^4.2.1", - "chartjs-plugin-annotation": "^2.1.2", + "chartjs-plugin-annotation": "^2.2.0", "chartjs-plugin-crosshair": "^1.2.0", "codeflask": "^1.4.1", "i18next": "^22.4.11", diff --git a/scripts/fixupModules.cjs b/scripts/fixupModules.cjs index 3f90cb2d2d..15d62ccc59 100644 --- a/scripts/fixupModules.cjs +++ b/scripts/fixupModules.cjs @@ -8,8 +8,6 @@ const process = require('process'); // incorrect packages without type specifier const PKG_FIX = [ '@frequency-chain/api-augment', - // we use the ESM path here - 'chartjs-plugin-annotation', // the default export here is ESM 'i18next-browser-languagedetector' ]; diff --git a/yarn.lock b/yarn.lock index 249d134f20..50176b5103 100644 --- a/yarn.lock +++ b/yarn.lock @@ -282,25 +282,22 @@ __metadata: languageName: node linkType: hard -"@electron/get@npm:^1.14.1": - version: 1.14.1 - resolution: "@electron/get@npm:1.14.1" +"@electron/get@npm:^2.0.0": + version: 2.0.2 + resolution: "@electron/get@npm:2.0.2" dependencies: debug: ^4.1.1 env-paths: ^2.2.0 fs-extra: ^8.1.0 global-agent: ^3.0.0 - global-tunnel-ng: ^2.7.1 - got: ^9.6.0 + got: ^11.8.5 progress: ^2.0.3 semver: ^6.2.0 sumchecker: ^3.0.1 dependenciesMeta: global-agent: optional: true - global-tunnel-ng: - optional: true - checksum: 21fec5e82bbee8f9fa183b46e05675b137c3130c7999d3b2b34a0047d1a06ec3c76347b9bbdb9911ba9b2123697804e360a15dda9db614c0226d5d4dcc4d6d15 + checksum: 900845cc0b31b54761fc9b0ada2dea1e999e59aacc48999d53903bcb7c9a0a7356b5fe736cf610b2a56c5a21f5a3c0e083b2ed2b7e52c36a4d0f420d4b5ec268 languageName: node linkType: hard @@ -996,12 +993,12 @@ __metadata: languageName: node linkType: hard -"@metaverse-network-sdk/type-definitions@npm:0.0.1-13": - version: 0.0.1-13 - resolution: "@metaverse-network-sdk/type-definitions@npm:0.0.1-13" +"@metaverse-network-sdk/type-definitions@npm:0.0.1-16": + version: 0.0.1-16 + resolution: "@metaverse-network-sdk/type-definitions@npm:0.0.1-16" dependencies: lodash.merge: ^4.6.2 - checksum: 8c4527c2e95eb11aa03207c694fd89d35361c110906c057b75976a308a65d72d0b145fdc0871a868a10db4bf3a7f6abbdf94100b7378addd88c0b3fc8a05dbee + checksum: 5699fb6c40a991401e206fb3b96671787af7997732dd1c778317130a2f1bece81f88068128f7e1f52e2e9bff47f3ad7b9bf3a30dd5e3e2a990434d234f8a77cf languageName: node linkType: hard @@ -1693,7 +1690,7 @@ __metadata: "@laminar/type-definitions": 0.3.1 "@logion/node-api": 0.9.0-3 "@mangata-finance/types": 0.18.0 - "@metaverse-network-sdk/type-definitions": 0.0.1-13 + "@metaverse-network-sdk/type-definitions": 0.0.1-16 "@parallel-finance/type-definitions": 1.7.16 "@phala/typedefs": 0.2.33 "@polkadot/api": ^10.1.2 @@ -1704,10 +1701,10 @@ __metadata: "@polkadot/wasm-util": ^7.0.3 "@polkadot/x-fetch": ^11.0.2 "@polkadot/x-ws": ^11.0.2 - "@polymathnetwork/polymesh-types": 0.0.2 + "@polymeshassociation/polymesh-types": 5.3.0 "@snowfork/snowbridge-types": 0.2.7 - "@sora-substrate/type-definitions": 1.15.6 - "@subsocial/definitions": 0.8.5 + "@sora-substrate/type-definitions": 1.15.8 + "@subsocial/definitions": 0.8.6 "@unique-nft/opal-testnet-types": 937.53.1 "@unique-nft/quartz-mainnet-types": 937.52.0 "@unique-nft/sapphire-mainnet-types": 937.52.0 @@ -1725,7 +1722,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/apps-electron@workspace:packages/apps-electron" dependencies: - "@polkadot/dev": ^0.71.9 + "@polkadot/dev": ^0.71.10 "@polkadot/react-components": ^0.124.2-153-x "@types/react-dom": ^18.0.11 "@types/tmp": ^0.2.3 @@ -1751,7 +1748,7 @@ __metadata: dependencies: "@polkadot/apps-config": ^0.124.2-153-x "@polkadot/apps-routing": ^0.124.2-153-x - "@polkadot/dev": ^0.71.9 + "@polkadot/dev": ^0.71.10 "@polkadot/react-api": ^0.124.2-153-x "@polkadot/react-components": ^0.124.2-153-x "@polkadot/react-hooks": ^0.124.2-153-x @@ -1779,9 +1776,9 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/dev@npm:^0.71.9": - version: 0.71.9 - resolution: "@polkadot/dev@npm:0.71.9" +"@polkadot/dev@npm:^0.71.10": + version: 0.71.10 + resolution: "@polkadot/dev@npm:0.71.10" dependencies: "@eslint/js": ^8.36.0 "@rollup/plugin-alias": ^4.0.3 @@ -1818,7 +1815,7 @@ __metadata: typescript: ^4.9.5 webpack: ^5.76.1 webpack-cli: ^5.0.1 - webpack-dev-server: ^4.11.1 + webpack-dev-server: ^4.12.0 webpack-merge: ^5.8.0 webpack-subresource-integrity: ^5.2.0-rc.1 yargs: ^17.7.1 @@ -1846,7 +1843,7 @@ __metadata: polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs - checksum: 59321ee3051dc070b03da2bc22c737e818eccd5551c7ca34cd3368a1ceff22c2f75651b3297c51622b3a2423f31e8bf7d9a987d89b1df9f35c86ada7c26a7699 + checksum: cab2dc350daf467093b662a9d66d89a36732a33508e763b515d76b1db7b918401c9edb0f2bce52f07b84b8863ff5d5421cb98a7f76271c5f3082b495e4f7b62b languageName: node linkType: hard @@ -1998,7 +1995,7 @@ __metadata: "@types/codeflask": ^1.4.3 "@types/owasp-password-strength-test": ^1.3.0 chart.js: ^4.2.1 - chartjs-plugin-annotation: ^2.1.2 + chartjs-plugin-annotation: ^2.2.0 chartjs-plugin-crosshair: ^1.2.0 codeflask: ^1.4.1 i18next: ^22.4.11 @@ -2490,10 +2487,10 @@ __metadata: languageName: node linkType: hard -"@polymathnetwork/polymesh-types@npm:0.0.2": - version: 0.0.2 - resolution: "@polymathnetwork/polymesh-types@npm:0.0.2" - checksum: 4a1168de7547ad25d770eaca806f683f1789a649b3045dbd84e0e8da0e03bfc1f556628b70947ec80894f9aa4307648f6c344323840e43f2e306f0edd3ae21b6 +"@polymeshassociation/polymesh-types@npm:5.3.0": + version: 5.3.0 + resolution: "@polymeshassociation/polymesh-types@npm:5.3.0" + checksum: f8eee7efb58bbf54f8961f6fd0a52e836428f5772ffe767e29576343a5a6b169a8b2b5863ad1a5d29d81d5b52eaa43a35c7be94c4008b0b295c154d4c6d3ff27 languageName: node linkType: hard @@ -2671,12 +2668,12 @@ __metadata: languageName: node linkType: hard -"@sora-substrate/type-definitions@npm:1.15.6": - version: 1.15.6 - resolution: "@sora-substrate/type-definitions@npm:1.15.6" +"@sora-substrate/type-definitions@npm:1.15.8": + version: 1.15.8 + resolution: "@sora-substrate/type-definitions@npm:1.15.8" dependencies: "@open-web3/orml-type-definitions": 0.9.4-26 - checksum: 6851e7245a65cec13af4081f0619cde382fce0af0d35670d8c85fe8b697d22056b3f56bc5ed07b7a8f236987dc9e2ef79ff5627bfab1f1a8c8fdddd97b0612f6 + checksum: 65c7647104ccd7ceb9e4eeef0d70b0d8eb5b5e9381ff78bd78953c1b9faafbf0f98fe617ca419dfe11babb7e12c95a386741598c149f3a80c37db96fd44f5f93 languageName: node linkType: hard @@ -2707,13 +2704,13 @@ __metadata: languageName: node linkType: hard -"@subsocial/definitions@npm:0.8.5": - version: 0.8.5 - resolution: "@subsocial/definitions@npm:0.8.5" +"@subsocial/definitions@npm:0.8.6": + version: 0.8.6 + resolution: "@subsocial/definitions@npm:0.8.6" dependencies: "@polkadot/api": latest lodash.camelcase: ^4.3.0 - checksum: e07f4602a7bf697be6e27ab902c2f02ab4f6d51f40ccef7ebba4bb51178c70017df7ea1890d3080856aaa6b610561cebeff59e476106f0ff3a282b90bbae1f24 + checksum: 7607d38be24725a8bb0dc04f23154ad2e16b6b110a938c34a1f381afb65161986002dd921bcb76df82f366fa2a8f18f964b49c4f05b118db32a5d2ee8932cb85 languageName: node linkType: hard @@ -5606,12 +5603,12 @@ __metadata: languageName: node linkType: hard -"chartjs-plugin-annotation@npm:^2.1.2": - version: 2.1.2 - resolution: "chartjs-plugin-annotation@npm:2.1.2" +"chartjs-plugin-annotation@npm:^2.2.0": + version: 2.2.0 + resolution: "chartjs-plugin-annotation@npm:2.2.0" peerDependencies: chart.js: ">=3.7.0" - checksum: 821cfae3d2e7f7c70e8d42ba6fa22f0b40afa9d0cc52938afc9ddc547fe97c7fa3a0b849026bdc9afba823736b21733cdb2c911f0500008f2deb8f83743bf672 + checksum: 355456597b8dc7ceb7198658f6f3045116b828e5e66c557823961863cb20cd7c7af67f3645832f3e27e008b728fe158761bc8116f2ee86c2043bf31be6774cbb languageName: node linkType: hard @@ -6126,16 +6123,6 @@ __metadata: languageName: node linkType: hard -"config-chain@npm:^1.1.11": - version: 1.1.13 - resolution: "config-chain@npm:1.1.13" - dependencies: - ini: ^1.3.4 - proto-list: ~1.2.1 - checksum: 828137a28e7c2fc4b7fb229bd0cd6c1397bcf83434de54347e608154008f411749041ee392cbe42fab6307e02de4c12480260bf769b7d44b778fdea3839eafab - languageName: node - linkType: hard - "configstore@npm:^5.0.1": version: 5.0.1 resolution: "configstore@npm:5.0.1" @@ -7503,16 +7490,16 @@ __metadata: languageName: node linkType: hard -"electron@npm:^21.4.2": - version: 21.4.2 - resolution: "electron@npm:21.4.2" +"electron@npm:^23.1.3": + version: 23.1.3 + resolution: "electron@npm:23.1.3" dependencies: - "@electron/get": ^1.14.1 + "@electron/get": ^2.0.0 "@types/node": ^16.11.26 extract-zip: ^2.0.1 bin: electron: cli.js - checksum: d073781ecfbb07f0850e7d3c9e7640a369e87e9cfbb01ec2e1b87bbc37e0210a2114491c081963533395cd8a9a5737cad124c2e1759122a363a4c494fc472433 + checksum: 091a7acd2379c8b8e9df76244ca2e0f5f2aa9e4a94da9c08f56fdc4762f27f5fd7f3505a027c00601f64c5beeb27e5c707a2061ff37654ded55e21cedeb0b926 languageName: node linkType: hard @@ -7561,7 +7548,7 @@ __metadata: languageName: node linkType: hard -"encodeurl@npm:^1.0.2, encodeurl@npm:~1.0.2": +"encodeurl@npm:~1.0.2": version: 1.0.2 resolution: "encodeurl@npm:1.0.2" checksum: e50e3d508cdd9c4565ba72d2012e65038e5d71bdc9198cb125beb6237b5b1ade6c0d343998da9e170fb2eae52c1bed37d4d6d98a46ea423a0cddbed5ac3f780c @@ -8829,17 +8816,7 @@ __metadata: languageName: node linkType: hard -"follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.10.0": - version: 1.13.3 - resolution: "follow-redirects@npm:1.13.3" - peerDependenciesMeta: - debug: - optional: true - checksum: 4b5aaa91a0f938547a083d001a572da4d6b7586b699f330da8794ae2cf8b0d8628bcde794f9b205fbe6c6dcab30272454e723aed8f5540bf47a41fa8c7e36441 - languageName: node - linkType: hard - -"follow-redirects@npm:^1.15.0": +"follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.10.0, follow-redirects@npm:^1.15.0": version: 1.15.2 resolution: "follow-redirects@npm:1.15.2" peerDependenciesMeta: @@ -9397,18 +9374,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"global-tunnel-ng@npm:^2.7.1": - version: 2.7.1 - resolution: "global-tunnel-ng@npm:2.7.1" - dependencies: - encodeurl: ^1.0.2 - lodash: ^4.17.10 - npm-conf: ^1.1.3 - tunnel: ^0.0.6 - checksum: b7e016093eab6058b5fdd8caea31c22dc1a607f0f0b41c001ade5e0227c5d74efe9ce9bae56316d794bc1cedd461a187b8b7e8f0a3eb4d194972cdfb9d860af2 - languageName: node - linkType: hard - "global@npm:~4.4.0": version: 4.4.0 resolution: "global@npm:4.4.0" @@ -9525,7 +9490,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"got@npm:^11.5.1": +"got@npm:^11.5.1, got@npm:^11.8.5": version: 11.8.6 resolution: "got@npm:11.8.6" dependencies: @@ -10359,7 +10324,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"ini@npm:^1.3.4, ini@npm:~1.3.0": +"ini@npm:~1.3.0": version: 1.3.8 resolution: "ini@npm:1.3.8" checksum: dfd98b0ca3a4fc1e323e38a6c8eb8936e31a97a918d3b377649ea15bdb15d481207a0dda1021efbd86b464cae29a0d33c1d7dcaf6c5672bee17fa849bc50a1b3 @@ -11510,6 +11475,16 @@ fsevents@~2.3.2: languageName: node linkType: hard +"launch-editor@npm:^2.6.0": + version: 2.6.0 + resolution: "launch-editor@npm:2.6.0" + dependencies: + picocolors: ^1.0.0 + shell-quote: ^1.7.3 + checksum: 48e4230643e8fdb5c14c11314706d58d9f3fbafe2606be3d6e37da1918ad8bfe39dd87875c726a1b59b9f4da99d87ec3e36d4c528464f0b820f9e91e5cb1c02d + languageName: node + linkType: hard + "lazy-val@npm:^1.0.4, lazy-val@npm:^1.0.5": version: 1.0.5 resolution: "lazy-val@npm:1.0.5" @@ -11669,7 +11644,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"lodash@npm:^4.0.0, lodash@npm:^4.17.10, lodash@npm:^4.17.11, lodash@npm:^4.17.15, lodash@npm:^4.17.20, lodash@npm:^4.17.21": +"lodash@npm:^4.0.0, lodash@npm:^4.17.11, lodash@npm:^4.17.15, lodash@npm:^4.17.20, lodash@npm:^4.17.21": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7 @@ -13010,16 +12985,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"npm-conf@npm:^1.1.3": - version: 1.1.3 - resolution: "npm-conf@npm:1.1.3" - dependencies: - config-chain: ^1.1.11 - pify: ^3.0.0 - checksum: 2d4e933b657623d98183ec408d17318547296b1cd17c4d3587e2920c554675f24f829d8f5f7f84db3a020516678fdcd01952ebaaf0e7fa8a17f6c39be4154bef - languageName: node - linkType: hard - "npm-run-path@npm:^4.0.1": version: 4.0.1 resolution: "npm-run-path@npm:4.0.1" @@ -13673,13 +13638,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"pify@npm:^3.0.0": - version: 3.0.0 - resolution: "pify@npm:3.0.0" - checksum: 6cdcbc3567d5c412450c53261a3f10991665d660961e06605decf4544a61a97a54fefe70a68d5c37080ff9d6f4cf51444c90198d1ba9f9309a6c0d6e9f5c4fde - languageName: node - linkType: hard - "pinkie-promise@npm:^2.0.0": version: 2.0.1 resolution: "pinkie-promise@npm:2.0.1" @@ -13735,7 +13693,7 @@ fsevents@~2.3.2: dependencies: "@crustio/crust-pin": ^1.0.0 "@pinata/sdk": ^2.1.0 - "@polkadot/dev": ^0.71.9 + "@polkadot/dev": ^0.71.10 "@types/chart.js": ^2.9.37 "@types/file-saver": ^2.0.5 "@types/react-beautiful-dnd": ^13.1.3 @@ -13748,7 +13706,7 @@ fsevents@~2.3.2: concurrently: ^7.6.0 devtron: ^1.4.0 dnslink-cloudflare: ^3.0.0 - electron: ^21.4.2 + electron: ^23.1.3 electron-builder: 23.6.0 electron-builder-notarize: ^1.5.1 i18next-scanner: ^4.1.1 @@ -14103,13 +14061,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"proto-list@npm:~1.2.1": - version: 1.2.4 - resolution: "proto-list@npm:1.2.4" - checksum: 4d4826e1713cbfa0f15124ab0ae494c91b597a3c458670c9714c36e8baddf5a6aad22842776f2f5b137f259c8533e741771445eb8df82e861eea37a6eaba03f7 - languageName: node - linkType: hard - "proxy-addr@npm:~2.0.7": version: 2.0.7 resolution: "proxy-addr@npm:2.0.7" @@ -16968,13 +16919,6 @@ fsevents@~2.3.2: languageName: node linkType: hard -"tunnel@npm:^0.0.6": - version: 0.0.6 - resolution: "tunnel@npm:0.0.6" - checksum: c362948df9ad34b649b5585e54ce2838fa583aa3037091aaed66793c65b423a264e5229f0d7e9a95513a795ac2bd4cb72cda7e89a74313f182c1e9ae0b0994fa - languageName: node - linkType: hard - "tweetnacl@npm:1.x.x, tweetnacl@npm:^1.0.3": version: 1.0.3 resolution: "tweetnacl@npm:1.0.3" @@ -18104,9 +18048,9 @@ fsevents@~2.3.2: languageName: node linkType: hard -"webpack-dev-server@npm:^4.11.1": - version: 4.11.1 - resolution: "webpack-dev-server@npm:4.11.1" +"webpack-dev-server@npm:^4.12.0": + version: 4.12.0 + resolution: "webpack-dev-server@npm:4.12.0" dependencies: "@types/bonjour": ^3.5.9 "@types/connect-history-api-fallback": ^1.3.5 @@ -18127,6 +18071,7 @@ fsevents@~2.3.2: html-entities: ^2.3.2 http-proxy-middleware: ^2.0.3 ipaddr.js: ^2.0.1 + launch-editor: ^2.6.0 open: ^8.0.9 p-retry: ^4.5.0 rimraf: ^3.0.2 @@ -18136,7 +18081,7 @@ fsevents@~2.3.2: sockjs: ^0.3.24 spdy: ^4.0.2 webpack-dev-middleware: ^5.3.1 - ws: ^8.4.2 + ws: ^8.13.0 peerDependencies: webpack: ^4.37.0 || ^5.0.0 peerDependenciesMeta: @@ -18144,7 +18089,7 @@ fsevents@~2.3.2: optional: true bin: webpack-dev-server: bin/webpack-dev-server.js - checksum: b7601a39ee0f413988259e29a36835b0a68522cfaa161de5b7ec99b3399acdd99d44189add4aaf4a5191258bb130f9cf3e68919324a1955c7557f5fe6ab0d96c + checksum: 3e33acb774457ee787038d66c12e04c3e4a9f91bbff7ca143083e4ac1937b1615a1b9e7387ec623df8ebc36f56b3c34742578c09f665fe811b6e38d2e8222a94 languageName: node linkType: hard @@ -18427,7 +18372,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"ws@npm:^8.13.0, ws@npm:^8.4.2, ws@npm:^8.8.1": +"ws@npm:^8.13.0, ws@npm:^8.8.1": version: 8.13.0 resolution: "ws@npm:8.13.0" peerDependencies: