diff --git a/assets/navigation.js b/assets/navigation.js index edba196..ca71edb 100644 --- a/assets/navigation.js +++ b/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA52Vy27CMBBF/8XrqA/oQ82uAlViVUSqbhALgwcyqmNHzhhBK/69EuGROA4xbON77xmP7cn0jxFsiMXMWEWYAYtYzillMcu0sBKK+8PCXUqZZBH7QSVY3IvYIkUpDCgWT08hAvOx0WsUYAZcyuKctuYG+bya52rrgH5vN9tFp+AC5xLVqlndYSGouiHmSSkfG62XI5VbOifSNq/k+bQO5OHt9fG5VylyBQoMJxhi/m4p1QZ/QXxtPrRJ3PKXVi0ItToDO811+stTrT+WsNrtY3f2n0N7M9BZhpSBov2WP3Mq3O6UeX5tV3eargkEAyYQkj9EkeBKcbIGBloVNgNzcRtthitZwYwbso9vJJhRNVzJunQgji4geSRAEdK2+zY1lNemXyrcFXZlH/uXECeYaN31Gtr1t5Fa99Iq7+IIWHIr6ZtLC96RXObXZI1p7B1zziv1zbcyu93TGGteUPX2BVGqhjBE7Z4EMWqOAIj/ALtRfp/nfzD7Bx8Vl8XPBwAA" \ No newline at end of file +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAA42PyQ6CQBBE/6XPRJS4RI5GY7wZPBoPAzbQAXomTJNgjP9uPLkNy73qvarzHQRbgRC2ZE4Ul8TZRlk81lqnBzaNgAdGSQ4hyM2g9btyk1yqEjwoiK8QBtP1arYIHl4fP0I7gh6hHWLvkbFWgq92E1ckouISd63UxJYS548xnSFv9sH4Wf3WpQ0nQpqt3xP/Ni3nHRLH0CGRo/InuzwB8FpvlgcCAAA=" \ No newline at end of file diff --git a/assets/search.js b/assets/search.js index cdfdcad..f19c7fd 100644 --- a/assets/search.js +++ b/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAA71cS2/bSBL+L5wrV6N+8OVbNsFgfJkdOLOZg2AEtMjEhCVKoChPvIb/+4JkU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cwPhnZw1Wfmdw3ULiMKwk3le1gqUdc76Y5idP0rVr3HO+m0fg7YLDKC78JBulcEBAZx78QbuFl39VCYI7rzIHAo8CUy5+r7QYIJPlalgcs9t/9xqTOSxnRhtxNgEQTwmaOz4LFgkQHRPNF848mjAKJqCmMamEMSMRMYUwLc4FELmETZ+K7WpirhXlAIo8w1/HoTAvztDAfSOSbFvW1sABIFJjYAi1sCiSamtimWtgMSDQzhc20sDmQaG4Km+vpldmmRh/okRGNE2YrdC+ozDk1ukF1O6jVD6obQmXiqWuk1D2hMvfUM0bqtlCZfmr0j+rO0KnNQap7Q6UHNDBS6vbQuXXnukGsMch4LphuEGsMMh4NdlQsjUHG08F0g5i0gRmPB9MdYtaaYa1BTf94wbJGft/2kSjqLhFbeNg3F/fQArfgQrjdEaCHz7n83PWtRf4lF+oHc3Plwm4w96x02tOyiY1HjkoFM1Mw1IKRM4uLomhnlgKeK2BmAbdDpAexiQJyLSAu+KbUhHo9ymtTxTwruEi6G/ypaIWJ+naKU6CvAAM7sGqvujJpDYdor6lKBpQEXE9Tom62wkJtNIcHSgOdyqU4Yjs2KlM/RbF/HFWUKcLGsZ1kjAYK58xCun+E+INLtx3PCl7ZIbVtcYWvgms5Vgy3HZT2YSHuHhaUNdU82BLRWHG4aChgZb/BvjFM7RTNT+qjwlZ6wSXkM8b89LQrPYraKq15mjpaWGkoNqca2FK+aD3vX7R6uNJSjK1wQaAQBaYiQwijxW73P5XMsBBEGAAA"; \ No newline at end of file diff --git a/functions/generateDipSiblingBaseProof.html b/functions/generateDipSiblingBaseProof.html new file mode 100644 index 0000000..1281266 --- /dev/null +++ b/functions/generateDipSiblingBaseProof.html @@ -0,0 +1,7 @@ +generateDipSiblingBaseProof | API Documentation

Function generateDipSiblingBaseProof

  • Generate a base DIP proof according to the parameters provided, to be used on a consumer chain of which the provider chain is a sibling.

    +

    The generated proof only contains parts of the DID Document of the subject. +Any additional components that the consumer chain requires, e.g., a cross-chain DID signature, or the presentation of some claims about the subject, are not part of the generated proof. +This SDK contains an extensions section in which chain-specific proof formats could be added, if needed.

    +

    Parameters

    Returns Promise<DipSiblingBaseProofRes>

    The [[DipSiblingBaseProofRes]] containing the basic DIP proof components revealing parts of a DID Document anchored to a specific state root and block number on the provider chain, without any consumer-specific logic.

    +
\ No newline at end of file diff --git a/types/utils.ProviderStateRootProofRes.html b/functions/generateDipSubmittableExtrinsic.html similarity index 68% rename from types/utils.ProviderStateRootProofRes.html rename to functions/generateDipSubmittableExtrinsic.html index e09ca50..6727a91 100644 --- a/types/utils.ProviderStateRootProofRes.html +++ b/functions/generateDipSubmittableExtrinsic.html @@ -1,5 +1,4 @@ -ProviderStateRootProofRes | API Documentation

Type alias ProviderStateRootProofRes

ProviderStateRootProofRes: {
    proof: ReadProof;
    providerBlockHeight: BN;
    relayBlockHeight: BN;
}

The response object containing the provider state root proof.

-

Type declaration

  • proof: ReadProof

    The state proof for the provider header.

    -
  • providerBlockHeight: BN

    The block number of the provider which the proof is anchored to.

    -
  • relayBlockHeight: BN

    The block number of the relaychain which the proof is anchored to.

    -
\ No newline at end of file +generateDipSubmittableExtrinsic | API Documentation

Function generateDipSubmittableExtrinsic

  • Extend a [[DipSiblingBaseProofRes]] proof with consumer-specific components, and compiles the dispatchAs extrinsic following the consumer's type registry.

    +

    Parameters

    Returns SubmittableExtrinsic

    A [[SubmittableExtrinsic]] that refers to a [[Call]] on the consumer chain being dispatched by the specified [[DidUri]].

    +
\ No newline at end of file diff --git a/functions/sibling.generateDipAuthorizedTxForSibling.html b/functions/sibling.generateDipAuthorizedTxForSibling.html deleted file mode 100644 index 7abf6b4..0000000 --- a/functions/sibling.generateDipAuthorizedTxForSibling.html +++ /dev/null @@ -1,4 +0,0 @@ -generateDipAuthorizedTxForSibling | API Documentation

Function generateDipAuthorizedTxForSibling

  • Generate a submittable extrinsic for the provided call which includes a complete DIP proof according to the parameters provided, to be used on a consumer chain of which the provider chain is a sibling.

    -

    Parameters

    Returns Promise<SubmittableExtrinsic>

    The SubmittableExtrinsic containing the signed cross-chain operation, that must be submitted by the account specified as the submitterAddress parameter.

    -
\ No newline at end of file diff --git a/functions/utils.generateDipCommitmentProof.html b/functions/utils.generateDipCommitmentProof.html deleted file mode 100644 index 71a5455..0000000 --- a/functions/utils.generateDipCommitmentProof.html +++ /dev/null @@ -1,4 +0,0 @@ -generateDipCommitmentProof | API Documentation

Function generateDipCommitmentProof

\ No newline at end of file diff --git a/functions/utils.generateDipDidSignature.html b/functions/utils.generateDipDidSignature.html deleted file mode 100644 index 8a57fbb..0000000 --- a/functions/utils.generateDipDidSignature.html +++ /dev/null @@ -1,4 +0,0 @@ -generateDipDidSignature | API Documentation

Function generateDipDidSignature

\ No newline at end of file diff --git a/functions/utils.generateDipIdentityProof.html b/functions/utils.generateDipIdentityProof.html deleted file mode 100644 index 4c98c51..0000000 --- a/functions/utils.generateDipIdentityProof.html +++ /dev/null @@ -1,4 +0,0 @@ -generateDipIdentityProof | API Documentation

Function generateDipIdentityProof

\ No newline at end of file diff --git a/functions/utils.generateProviderStateRootProof.html b/functions/utils.generateProviderStateRootProof.html deleted file mode 100644 index 3cb191a..0000000 --- a/functions/utils.generateProviderStateRootProof.html +++ /dev/null @@ -1,4 +0,0 @@ -generateProviderStateRootProof | API Documentation

Function generateProviderStateRootProof

\ No newline at end of file diff --git a/index.html b/index.html index 3f51542..928c11d 100644 --- a/index.html +++ b/index.html @@ -30,4 +30,4 @@
  • In a new shell session, run the end-to-end tests with yarn test:e2e:peregrine-provider or yarn test:e2e:dip-template-provider.
  • [OPTIONAL] Tear down the network by killing the process started at step 4.
  • -
    \ No newline at end of file +
    \ No newline at end of file diff --git a/modules.html b/modules.html new file mode 100644 index 0000000..3d2563a --- /dev/null +++ b/modules.html @@ -0,0 +1,6 @@ +API Documentation

    API Documentation

    Index

    Type Aliases

    Functions

    \ No newline at end of file diff --git a/modules/runtime.html b/modules/runtime.html deleted file mode 100644 index 893def7..0000000 --- a/modules/runtime.html +++ /dev/null @@ -1,2 +0,0 @@ -runtime | API Documentation

    Index

    Variables

    \ No newline at end of file diff --git a/modules/sibling.html b/modules/sibling.html deleted file mode 100644 index af13197..0000000 --- a/modules/sibling.html +++ /dev/null @@ -1,3 +0,0 @@ -sibling | API Documentation

    Index

    Type Aliases

    Functions

    \ No newline at end of file diff --git a/modules/utils.html b/modules/utils.html deleted file mode 100644 index a721e72..0000000 --- a/modules/utils.html +++ /dev/null @@ -1,16 +0,0 @@ -utils | API Documentation

    Index

    Type Aliases

    Variables

    Functions

    \ No newline at end of file diff --git a/types/DipSiblingBaseProofInput.html b/types/DipSiblingBaseProofInput.html new file mode 100644 index 0000000..ae14ec5 --- /dev/null +++ b/types/DipSiblingBaseProofInput.html @@ -0,0 +1,10 @@ +DipSiblingBaseProofInput | API Documentation

    Type alias DipSiblingBaseProofInput

    DipSiblingBaseProofInput: {
        didUri: DidUri;
        includeWeb3Name?: boolean;
        keyIds: DidKey["id"][];
        linkedAccounts?: readonly PalletDidLookupLinkableAccountLinkableAccountId[];
        proofVersion: number;
        providerApi: ApiPromise;
        relayApi: ApiPromise;
        relayBlockHeight?: BN;
    }

    The DIP proof params.

    +

    Type declaration

    • didUri: DidUri

      The DID URI of the DIP subject that is performing the cross-chain operation.

      +
    • Optional includeWeb3Name?: boolean

      Flag indicating whether the generated DIP proof should include the web3name of the DID subject. If not provided, the web3name is not revealed.

      +
    • keyIds: DidKey["id"][]

      The verification method IDs of the DID to be revealed in the cross-chain operation.

      +
    • Optional linkedAccounts?: readonly PalletDidLookupLinkableAccountLinkableAccountId[]

      The list of linked accounts to reveal in the generated DIP proof. If not provided, no account is revealed.

      +
    • proofVersion: number

      The version of the DIP proof to generate.

      +
    • providerApi: ApiPromise

      The ApiPromise instance for the provider chain.

      +
    • relayApi: ApiPromise

      The ApiPromise instance for the parent relay chain.

      +
    • Optional relayBlockHeight?: BN

      The block number of the relay chain to use for the generation of the DIP proof. If not provided, the last finalized block is used.

      +
    \ No newline at end of file diff --git a/types/DipSiblingBaseProofRes.html b/types/DipSiblingBaseProofRes.html new file mode 100644 index 0000000..36f3df1 --- /dev/null +++ b/types/DipSiblingBaseProofRes.html @@ -0,0 +1,2 @@ +DipSiblingBaseProofRes | API Documentation

    Type alias DipSiblingBaseProofRes

    DipSiblingBaseProofRes: {
        dipCommitmentProof: DipCommitmentProofRes;
        dipProof: DipIdentityProofRes;
        proofVersion: number;
        providerHeadProof: ProviderStateRootProofRes;
    }

    The DIP proof result.

    +

    Type declaration

    • dipCommitmentProof: DipCommitmentProofRes
    • dipProof: DipIdentityProofRes
    • proofVersion: number
    • providerHeadProof: ProviderStateRootProofRes
    \ No newline at end of file diff --git a/types/GenerateDipSubmittableExtrinsicInput.html b/types/GenerateDipSubmittableExtrinsicInput.html new file mode 100644 index 0000000..d46d73d --- /dev/null +++ b/types/GenerateDipSubmittableExtrinsicInput.html @@ -0,0 +1,7 @@ +GenerateDipSubmittableExtrinsicInput | API Documentation

    Type alias GenerateDipSubmittableExtrinsicInput

    GenerateDipSubmittableExtrinsicInput: {
        additionalProofElements: Record<any, any>;
        api: ApiPromise;
        baseDipProof: DipSiblingBaseProofRes;
        call: Call;
        didUri: DidUri;
    }

    The params to create an extrinsic containing a cross-chain DIP proof and operation.

    +

    Type declaration

    • additionalProofElements: Record<any, any>

      Any consumer-specific pieces of information to be included in the DIP proof beyond proof-of-DID.

      +
    • api: ApiPromise

      The [[ApiPromise]] instance of the consumer chain.

      +
    • baseDipProof: DipSiblingBaseProofRes

      [[DipSiblingBaseProofRes]] as generated by [[generateDipSiblingBaseProof]].

      +
    • call: Call

      The [[Call]] on the consumer chain that requires a DIP origin to be authorized.

      +
    • didUri: DidUri

      The [[DidUri]] of the subject performing the cross-chain operation.

      +
    \ No newline at end of file diff --git a/types/sibling.DipSiblingProofInput.html b/types/sibling.DipSiblingProofInput.html deleted file mode 100644 index f02b6c7..0000000 --- a/types/sibling.DipSiblingProofInput.html +++ /dev/null @@ -1,20 +0,0 @@ -DipSiblingProofInput | API Documentation

    Type alias DipSiblingProofInput

    DipSiblingProofInput: {
        accountIdRuntimeType?: string;
        blockHeight?: BN;
        blockNumberRuntimeType?: string;
        call: Call;
        consumerApi: ApiPromise;
        didUri: DidUri;
        genesisHash?: Hash;
        identityDetailsRuntimeType?: string;
        includeWeb3Name?: boolean;
        keyIds: DidKey["id"][];
        keyRelationship: VerificationKeyRelationship;
        linkedAccounts?: readonly PalletDidLookupLinkableAccountLinkableAccountId[];
        proofVersion: number;
        providerApi: ApiPromise;
        providerBlockHeight?: BN;
        relayApi: ApiPromise;
        signer: SignExtrinsicCallback;
        submitterAddress: KeyringPair["address"];
    }

    The DIP proof params.

    -

    Type declaration

    • Optional accountIdRuntimeType?: string

      The runtime type definition for an AccountId on the consumer chain. If not provided, the AccountId type is used.

      -
    • Optional blockHeight?: BN

      The block number on the consumer chain to use for the DID signature. If not provided, the latest best block number is used.

      -
    • Optional blockNumberRuntimeType?: string

      The runtime type definition for a BlockNumber on the consumer chain. If not provided, the u64 type is used.

      -
    • call: Call

      The Call on the consumer chain that requires a DIP origin.

      -
    • consumerApi: ApiPromise

      The ApiPromise instance for the consumer chain.

      -
    • didUri: DidUri

      The DID URI of the DIP subject that is performing the cross-chain operation.

      -
    • Optional genesisHash?: Hash

      The genesis hash of the consumer chain to use for the DID signature. If not provided, it is retrieved at runtime from the consumer chain.

      -
    • Optional identityDetailsRuntimeType?: string

      The runtime type definition for the IdentityDetails on the consumer chain. If not provided, the Option<u128> type, representing a simple nonce, is used.

      -
    • Optional includeWeb3Name?: boolean

      Flag indicating whether the generated DIP proof should include the web3name of the DID subject. If not provided, the web3name is not revealed.

      -
    • keyIds: DidKey["id"][]

      The verification method IDs of the DID to be revealed in the cross-chain operation.

      -
    • keyRelationship: VerificationKeyRelationship

      The VerificationKeyRelationship required for the DIP operation to be authorized on the relay chain.

      -
    • Optional linkedAccounts?: readonly PalletDidLookupLinkableAccountLinkableAccountId[]

      The list of linked accounts to reveal in the generated DIP proof. If not provided, no account is revealed.

      -
    • proofVersion: number

      The version of the DIP proof to generate.

      -
    • providerApi: ApiPromise

      The ApiPromise instance for the provider chain.

      -
    • Optional providerBlockHeight?: BN

      The block number of the provider to use for the generation of the DIP proof. If not provided, the latest finalized block number is used.

      -
    • relayApi: ApiPromise

      The ApiPromise instance for the parent relay chain.

      -
    • signer: SignExtrinsicCallback

      The signing callback to sign the cross-chain transaction.

      -
    • submitterAddress: KeyringPair["address"]

      The address of the tx submitter on the consumer chain.

      -
    \ No newline at end of file diff --git a/types/utils.DipCommitmentProofOpts.html b/types/utils.DipCommitmentProofOpts.html deleted file mode 100644 index c5d3b86..0000000 --- a/types/utils.DipCommitmentProofOpts.html +++ /dev/null @@ -1,6 +0,0 @@ -DipCommitmentProofOpts | API Documentation

    Type alias DipCommitmentProofOpts

    DipCommitmentProofOpts: {
        didUri: DidUri;
        providerApi: ApiPromise;
        providerBlockHash: Hash;
        version: number;
    }

    The options object provided when generating a DIP commitment proof.

    -

    Type declaration

    • didUri: DidUri

      The DidUri of the subject.

      -
    • providerApi: ApiPromise

      The ApiPromise instance for the provider chain.

      -
    • providerBlockHash: Hash

      The block hash on the provider chain to use for the state proof.

      -
    • version: number

      The version of the identity commitment to generate the state proof for.

      -
    \ No newline at end of file diff --git a/types/utils.DipCommitmentProofRes.html b/types/utils.DipCommitmentProofRes.html deleted file mode 100644 index 61b7bca..0000000 --- a/types/utils.DipCommitmentProofRes.html +++ /dev/null @@ -1,3 +0,0 @@ -DipCommitmentProofRes | API Documentation

    Type alias DipCommitmentProofRes

    DipCommitmentProofRes: {
        proof: ReadProof;
    }

    The response object for a DIP commitment proof.

    -

    Type declaration

    • proof: ReadProof

      The storage proof for the DIP commitment value.

      -
    \ No newline at end of file diff --git a/types/utils.DipDidSignatureConsumerOpts.html b/types/utils.DipDidSignatureConsumerOpts.html deleted file mode 100644 index f36886b..0000000 --- a/types/utils.DipDidSignatureConsumerOpts.html +++ /dev/null @@ -1,10 +0,0 @@ -DipDidSignatureConsumerOpts | API Documentation

    Type alias DipDidSignatureConsumerOpts

    DipDidSignatureConsumerOpts: {
        accountIdRuntimeType: string;
        api: ApiPromise;
        blockHeight?: BN;
        blockNumberRuntimeType: string;
        call: Call;
        genesisHash?: Hash;
        identityDetailsRuntimeType: string;
        submitterAddress: KeyringPair["address"];
    }

    The Consumer options object provided when generating a DIP DID signature.

    -

    Type declaration

    • accountIdRuntimeType: string

      The runtime definition of an AccountId.

      -
    • api: ApiPromise

      The ApiPromise instance.

      -
    • Optional blockHeight?: BN

      The block number to use for the DID signature. If not provided, the latest best block number is used.

      -
    • blockNumberRuntimeType: string

      The runtime definition of a BlockNumber.

      -
    • call: Call

      The Call to DID-authorize.

      -
    • Optional genesisHash?: Hash

      The genesis hash to use for the DID signature. If not provided, it is retrieved at runtime.

      -
    • identityDetailsRuntimeType: string

      The runtime definition of the IdentityDetails.

      -
    • submitterAddress: KeyringPair["address"]

      The address of the submitter account on the consumer chain.

      -
    \ No newline at end of file diff --git a/types/utils.DipDidSignatureOpts.html b/types/utils.DipDidSignatureOpts.html deleted file mode 100644 index 34bfe77..0000000 --- a/types/utils.DipDidSignatureOpts.html +++ /dev/null @@ -1,2 +0,0 @@ -DipDidSignatureOpts | API Documentation

    Type alias DipDidSignatureOpts

    DipDidSignatureOpts: {
        consumer: DipDidSignatureConsumerOpts;
        provider: DipDidSignatureProviderOpts;
    }

    The options object provided when generating a DIP DID signature.

    -

    Type declaration

    \ No newline at end of file diff --git a/types/utils.DipDidSignatureProviderOpts.html b/types/utils.DipDidSignatureProviderOpts.html deleted file mode 100644 index 53b6467..0000000 --- a/types/utils.DipDidSignatureProviderOpts.html +++ /dev/null @@ -1,5 +0,0 @@ -DipDidSignatureProviderOpts | API Documentation

    Type alias DipDidSignatureProviderOpts

    DipDidSignatureProviderOpts: {
        didUri: DidUri;
        keyRelationship: VerificationKeyRelationship;
        signer: SignExtrinsicCallback;
    }

    The Provider options object provided when generating a DIP DID signature.

    -

    Type declaration

    • didUri: DidUri

      The DidUri of the DIP subject that is performing the cross-chain operation.

      -
    • keyRelationship: VerificationKeyRelationship

      The SignatureVerificationRelationship to use from the provided DID Document to sign the cross-chain payload.

      -
    • signer: SignExtrinsicCallback

      The list of Signers to use to sign the cross-chain payload.

      -
    \ No newline at end of file diff --git a/types/utils.DipDidSignatureRes.html b/types/utils.DipDidSignatureRes.html deleted file mode 100644 index 4bfbea2..0000000 --- a/types/utils.DipDidSignatureRes.html +++ /dev/null @@ -1,2 +0,0 @@ -DipDidSignatureRes | API Documentation

    Type alias DipDidSignatureRes

    DipDidSignatureRes: {
        blockNumber: BN;
        signature: Uint8Array;
        type: VerificationKeyType;
    }

    The response object for DIP DID signature.

    -

    Type declaration

    • blockNumber: BN
    • signature: Uint8Array
    • type: VerificationKeyType
    \ No newline at end of file diff --git a/types/utils.DipIdentityProofOpts.html b/types/utils.DipIdentityProofOpts.html deleted file mode 100644 index 1e40897..0000000 --- a/types/utils.DipIdentityProofOpts.html +++ /dev/null @@ -1,8 +0,0 @@ -DipIdentityProofOpts | API Documentation

    Type alias DipIdentityProofOpts

    DipIdentityProofOpts: {
        didUri: DidUri;
        includeWeb3Name: boolean;
        keyIds: DidKey["id"][];
        linkedAccounts: readonly PalletDidLookupLinkableAccountLinkableAccountId[];
        providerApi: ApiPromise;
        version: number;
    }

    The options object provided when generating a DIP identity proof.

    -

    Type declaration

    • didUri: DidUri

      The Did of the subject.

      -
    • includeWeb3Name: boolean

      A flag indicating whether the web3name should be included in the DIP proof.

      -
    • keyIds: DidKey["id"][]

      The list of DID verification methods to include in the DIP proof and to reveal to the consumer chain.

      -
    • linkedAccounts: readonly PalletDidLookupLinkableAccountLinkableAccountId[]

      The list of accounts linked to the DID ot include in the DIP proof and to reveal to the consumer chain.

      -
    • providerApi: ApiPromise

      The ApiPromise instance for the provider chain.

      -
    • version: number

      The version of the DIP proof to generate.

      -
    \ No newline at end of file diff --git a/types/utils.DipIdentityProofRes.html b/types/utils.DipIdentityProofRes.html deleted file mode 100644 index 036af53..0000000 --- a/types/utils.DipIdentityProofRes.html +++ /dev/null @@ -1,6 +0,0 @@ -DipIdentityProofRes | API Documentation

    Type alias DipIdentityProofRes

    DipIdentityProofRes: {
        proof: {
            blinded: Codec;
            revealed: Codec;
        };
        root: Hash;
    }

    The response object for a generated DIP proof.

    -

    Type declaration

    • proof: {
          blinded: Codec;
          revealed: Codec;
      }

      The generated storage proof.

      -
      • blinded: Codec

        The Merkle proof blinded (not revealed) leaves.

        -
      • revealed: Codec

        The Merkle proof revealed leaves.

        -
    • root: Hash

      The Merkle root hash which the proof is anchored to.

      -
    \ No newline at end of file diff --git a/types/utils.ProviderStateRootProofOpts.html b/types/utils.ProviderStateRootProofOpts.html deleted file mode 100644 index e7be5f5..0000000 --- a/types/utils.ProviderStateRootProofOpts.html +++ /dev/null @@ -1,5 +0,0 @@ -ProviderStateRootProofOpts | API Documentation

    Type alias ProviderStateRootProofOpts

    ProviderStateRootProofOpts: {
        providerApi: ApiPromise;
        providerBlockHeight?: BN;
        relayApi: ApiPromise;
    }

    The options object provided when generating a Provider state proof.

    -

    Type declaration

    • providerApi: ApiPromise

      The ApiPromise instance for the provider chain.

      -
    • Optional providerBlockHeight?: BN

      The block number on the provider chain to use for the state proof. If not provided, the latest finalized block number is used.

      -
    • relayApi: ApiPromise

      The ApiPromise instance for the relay chain.

      -
    \ No newline at end of file diff --git a/variables/runtime.dipProviderCalls.html b/variables/runtime.dipProviderCalls.html deleted file mode 100644 index d31693b..0000000 --- a/variables/runtime.dipProviderCalls.html +++ /dev/null @@ -1 +0,0 @@ -dipProviderCalls | API Documentation

    Variable dipProviderCallsConst

    dipProviderCalls: DefinitionsCall = ...
    \ No newline at end of file diff --git a/variables/utils.defaultValues.html b/variables/utils.defaultValues.html deleted file mode 100644 index b9fed84..0000000 --- a/variables/utils.defaultValues.html +++ /dev/null @@ -1 +0,0 @@ -defaultValues | API Documentation

    Variable defaultValuesConst

    defaultValues: {
        accountIdRuntimeType: string;
        blockNumberRuntimeType: string;
        identityDetailsRuntimeType: string;
        includeWeb3Name: boolean;
        linkedAccounts: never[];
    } = ...

    Type declaration

    • accountIdRuntimeType: string
    • blockNumberRuntimeType: string
    • identityDetailsRuntimeType: string
    • includeWeb3Name: boolean
    • linkedAccounts: never[]
    \ No newline at end of file