diff --git a/packages/apps-config/src/api/spec/index.ts b/packages/apps-config/src/api/spec/index.ts index effa8283d4..a3582daf9f 100644 --- a/packages/apps-config/src/api/spec/index.ts +++ b/packages/apps-config/src/api/spec/index.ts @@ -90,7 +90,8 @@ import phoenix from './phoenix.js'; import pichiu from './pichiu.js'; import polkadex from './polkadex.js'; import polkafoundry from './polkafoundry.js'; -import polymesh from './polymesh.js'; +import polymeshMainnet from './polymesh-mainnet.js'; +import polymeshTestnet from './polymesh-testnet.js'; import pontem from './pontem.js'; import prism from './prism.js'; import quartz from './quartz.js'; @@ -243,7 +244,8 @@ const spec: Record = { 'phoenix-parachain': phoenix, pichiu, 'pioneer-runtime': bitcountryPioneer, - polymesh, + polymesh_mainnet: polymeshMainnet, + polymesh_testnet: polymeshTestnet, 'pontem-node': pontem, prism, quartz, diff --git a/packages/apps-config/src/api/spec/polymesh.ts b/packages/apps-config/src/api/spec/polymesh-mainnet.ts similarity index 95% rename from packages/apps-config/src/api/spec/polymesh.ts rename to packages/apps-config/src/api/spec/polymesh-mainnet.ts index 5c711c13ae..7cfd50785e 100644 --- a/packages/apps-config/src/api/spec/polymesh.ts +++ b/packages/apps-config/src/api/spec/polymesh-mainnet.ts @@ -5,6 +5,6 @@ import type { OverrideBundleDefinition } from '@polkadot/types/types'; import { typesBundle } from '@polymeshassociation/polymesh-types'; -const definitions: OverrideBundleDefinition = typesBundle.spec.polymesh; +const definitions: OverrideBundleDefinition = typesBundle.spec.polymesh_mainnet; export default definitions; diff --git a/packages/apps-config/src/api/spec/polymesh-testnet.ts b/packages/apps-config/src/api/spec/polymesh-testnet.ts new file mode 100644 index 0000000000..6f67b9ca6a --- /dev/null +++ b/packages/apps-config/src/api/spec/polymesh-testnet.ts @@ -0,0 +1,10 @@ +// Copyright 2017-2023 @polkadot/apps-config authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +import type { OverrideBundleDefinition } from '@polkadot/types/types'; + +import { typesBundle } from '@polymeshassociation/polymesh-types'; + +const definitions: OverrideBundleDefinition = typesBundle.spec.polymesh_testnet; + +export default definitions; diff --git a/packages/apps-config/src/api/typesBundle.ts b/packages/apps-config/src/api/typesBundle.ts index 6c4ce6185c..11674e6ec7 100644 --- a/packages/apps-config/src/api/typesBundle.ts +++ b/packages/apps-config/src/api/typesBundle.ts @@ -71333,7 +71333,10021 @@ export const typesBundle = { "GeneratorNftId": "(ClassId, TokenId)", "DistributorNftId": "(ClassId, TokenId)" }, - "polymesh": { + "polymesh_mainnet": { + "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": [ + 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": {} + } + } + }, + "polymesh_testnet": { "rpc": { "compliance": { "canTransfer": { diff --git a/packages/apps-config/src/endpoints/production.ts b/packages/apps-config/src/endpoints/production.ts index 1f106c5111..330ebf4d04 100644 --- a/packages/apps-config/src/endpoints/production.ts +++ b/packages/apps-config/src/endpoints/production.ts @@ -364,11 +364,11 @@ export const prodChains: EndpointOption[] = [ { info: 'polymesh', providers: { - Polymath: 'wss://mainnet-rpc.polymesh.network' + Polymesh: 'wss://mainnet-rpc.polymesh.network' }, text: 'Polymesh Mainnet', ui: { - color: '#1348e4', + color: 'linear-gradient(197deg, #FF2E72, #4A125E)', logo: nodesPolymeshSVG } }, diff --git a/packages/apps-config/src/endpoints/testing.ts b/packages/apps-config/src/endpoints/testing.ts index fb9bd5ae78..dbc7a8576c 100644 --- a/packages/apps-config/src/endpoints/testing.ts +++ b/packages/apps-config/src/endpoints/testing.ts @@ -651,11 +651,11 @@ export const testChains: EndpointOption[] = [ { info: 'polymesh', providers: { - Polymath: 'wss://testnet-rpc.polymesh.live' + Polymesh: 'wss://testnet-rpc.polymesh.live' }, text: 'Polymesh Testnet', ui: { - color: '#1348e4', + color: '#43195B', logo: nodesPolymeshSVG } }, diff --git a/packages/apps-config/src/ui/logos/nodes/generated/polymeshSVG.ts b/packages/apps-config/src/ui/logos/nodes/generated/polymeshSVG.ts index 16d071cda8..e5c2c1eacb 100644 --- a/packages/apps-config/src/ui/logos/nodes/generated/polymeshSVG.ts +++ b/packages/apps-config/src/ui/logos/nodes/generated/polymeshSVG.ts @@ -3,4 +3,4 @@ // Do not edit. Auto-generated via node scripts/imgConvert.mjs -export const nodesPolymeshSVG = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDI0IiBoZWlnaHQ9IjEwMjQiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIG1lZXQiPjxjaXJjbGUgY3g9IjUxMiIgY3k9IjUxMiIgcj0iNDUwIiBmaWxsPSIjZmZmIi8+PHBhdGggZD0iTTQ3NyAuNkM0MDUuMyA2LjcgMzQ2LjIgMjIuNyAyODYuNSA1MmMtNTguMyAyOC42LTEwNC4zIDYyLjctMTQ5LjcgMTExLTUwLjQgNTMuNi04OS41IDEyMC40LTExMi43IDE5Mi40LTExIDM0LjEtMTggNjcuNy0yMi4zIDEwNy4xLTEuOCAxNi4zLTEuOCA4Mi44IDAgOTlDOSA2MjcgMjQuNyA2ODEuOCA1MiA3MzcuNWMxMS4yIDIyLjkgMTkuNSAzNy40IDMxLjcgNTYgMjIuNiAzNC4zIDQ3LjcgNjQgNzguOCA5My4yIDcxLjYgNjcuNCAxNjUuNCAxMTMuOSAyNjIuNSAxMzAuMiAzNC42IDUuOSA0NCA2LjYgODcgNi42IDQyLjMgMCA1Mi45LS44IDg0LjMtNiAxNjMuOC0yNy40IDMwMy45LTEzMiAzNzYuMy0yODEgMjYtNTMuNiA0MS42LTEwNy42IDQ5LjEtMTcwIDIuNi0yMS42IDIuNi04Ny40IDAtMTA5LTUuOS00OC45LTE2LjUtOTEuNi0zMy40LTEzNC41QzkzNi44IDE5Mi43IDgzMi45IDg4LjQgNzAyLjUgMzYuMiA2NjAuNyAxOS41IDYxNS4yIDguMSA1NjcgMi40IDU1NC4yLjkgNDg5LjEtLjQgNDc3IC42em0xNTIuOCAzMzkuOGw0MS43IDIwLjQgMjUgMS42IDI5LjUgMi4xYzQuNS41IDQuNS41IDM1LjktMjEuNGwzMS40LTIyIDcuMS0uNmMzLjktLjMgMTMuOC0uNSAyMi0uM2wxNC45LjMtMTguOSA1LjQtMjAuMSA2Yy0xLjQuOC0zOS4zIDUwLjgtMzkuMyA1MiAwIC41IDIuOSAzLjUgNi40IDYuNmw2LjQgNS42IDIyLjItMy4zIDIyLjItMy4yIDE5LjYtMTYuNiAxOS43LTE2LjUgNy0xOSAuNiA2Yy40IDMuMy43IDguNS44IDExLjdsLjEgNS42LTMzLjUgMzkuNy0yNCA1LjktMjQuNSA2LjNjLS4yLjIgMiA3LjcgNC45IDE2LjZsNS40IDE2LjEuOSAzMS44LjYgNDIuNC0uMyAxMC42LTE4LjQgOC40LTE4LjQgOC4zLTMyLjYtMTkuNWMtMzIuNS0xOS41LTMyLjYtMTkuNi00NC4zLTMxLjEtMTMuNS0xMy40LTEyLjEtMTQtMTMuNyA1LjVsLTEgMTIuNC0yMC44IDMxLjVjLTExLjQgMTcuNC0yMS43IDMyLjEtMjIuOCAzMi45LTEuMS43LTEzLjcgNi4yLTI4IDEyLjEtMjIuOSA5LjYtMjcuOSAxMi4xLTQxLjkgMjEuMWwtMTYuMiAxMGMtLjQtLjUgMTAuNC00NS45IDExLjEtNDYuNi4zLS40IDktMS40IDE5LjEtMi4zIDEwLjItLjkgMTguNi0xLjggMTguOC0yIC43LS45IDE0LjEtNTUuOSAxMy42LTU1LjktLjMgMC0xOS41IDgtNDIuNyAxNy44bC00Mi4yIDE3LjgtNDAuOC01LjgtNDMtNS44Yy0xLjIgMC0xMS42IDYuNi0yMy41IDE0LjlsLTIxLjMgMTUtMjUuNCA0MC42LTY1LjIgMjUtMTYuOSAzMy4yYy05LjQgMTguMi0xNyAzNC4yLTE3IDM1LjUgMCAxLjIuOSA3LjIgMi4xIDEzLjIgMS4xIDUuOSAxLjkgMTEgMS43IDExLjItLjcuNy0zOS4xIDguNC0zOS42IDgtLjItLjMgMi44LTUuMyA2LjYtMTEuMyAzLjktNS45IDcuNS0xMS45IDguMS0xMy4zczQuMi0xNS44IDgtMzJjNi43LTI4LjQgNy41LTMwLjggMjAtNjNsMTIuOS0zMy41LjQtMjIuOGMuMy0yMi4xLjItMjIuOC0xLjctMjMuMy01LjQtMS4yLTQ3LTkuNC00OC4xLTkuNC0uNyAwLTguOCA5LjctMTcuOSAyMS42LTE1LjQgMTkuOS0xNi45IDIxLjUtMTkuMyAyMS0xLjUtLjMtOC44LTEuMy0xNi4yLTIuMnMtMTQuMS0yLTE0LjgtMi4zYy0uNy0uNCA2LjctMi45IDE2LjUtNS41IDkuOC0yLjcgMTguMy01LjQgMTktNiAuNi0uNiA2LjYtMTEgMTMuNC0yMy4xbDEzLjMtMjMuMmMuOC0uOCA5LjYtMS40IDI4LjItMS45bDI3LS43IDE1LjUtMTQuNyAxNS40LTE0LjggMzYuOC0xMS4zIDM2LjgtMTEuNCA3Ni43LTYxLjQgNzcuNy02MS43YzEuNi0uNiA0NS44LTkuMiA0Ny44LTkuMyAxLS4xIDIwLjYgOS4xIDQzLjUgMjAuM3oiIGZpbGw9IiMxMzQ4ZTQiLz48L3N2Zz4K'; +export const nodesPolymeshSVG = 'data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMjAiIGN5PSIyMCIgcj0iMTguNSIgc3Ryb2tlPSJ1cmwoI3BhaW50MF9saW5lYXJfMTA1Nl8xMTYwNikiIHN0cm9rZS13aWR0aD0iMyIvPgo8cGF0aCBkPSJNMjQuOCAxOS41QzI0LjIgMjAuMCAyMy4yIDIwLjMgMjEuOCAyMC4zSDE1LjVWMjkuOEgxOC4xVjIyLjhIMjIuMUMyMy40IDIyLjggMjQuNSAyMi41IDI1LjQgMjIuMUwyNS40IDIyLjFDMjYuMyAyMS42IDI3LjEgMjAuOSAyNy42IDIwLjFDMjguMiAxOS4yIDI4LjQgMTguMiAyOC40IDE3LjBDMjguNCAxNS45IDI4LjIgMTQuNyAyNy42IDEzLjhDMjcuMSAxMy4wIDI2LjMgMTIuMyAyNS40IDExLjlDMjQuNSAxMS40IDIzLjQgMTEuMiAyMi4xIDExLjJIMTUuNVYxMy42SDIxLjhDMjMuMiAxMy42IDI0LjIgMTMuOSAyNC44IDE0LjVDMjUuNCAxNS4wIDI1LjcgMTUuOSAyNS43IDE3LjBDMjUuNyAxOC4xIDI1LjQgMTguOSAyNC44IDE5LjVaIiBmaWxsPSJ1cmwoI3BhaW50MF9saW5lYXJfMTA1Nl8xMTYwNikiLz4KPGRlZnM+CjxsaW5lYXJHcmFkaWVudCBpZD0icGFpbnQwX2xpbmVhcl8xMDU2XzExNjA2IiB4MT0iOTIuMzM3MyIgeTE9IjEwLjgwMzQiIHgyPSI5Mi4yNjY2IiB5Mj0iNDYuNzkzNCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSIjRkYyRTcyIi8+CjxzdG9wIG9mZnNldD0iMC45MzQ5MDgiIHN0b3AtY29sb3I9IiM0QTEyNUUiLz4KPC9saW5lYXJHcmFkaWVudD4KPC9kZWZzPgo8L3N2Zz4K'; diff --git a/packages/apps-config/src/ui/logos/nodes/polymesh.svg b/packages/apps-config/src/ui/logos/nodes/polymesh.svg index 27db547e42..5527742b42 100644 --- a/packages/apps-config/src/ui/logos/nodes/polymesh.svg +++ b/packages/apps-config/src/ui/logos/nodes/polymesh.svg @@ -1 +1,10 @@ - + + + + + + + + + +