Vana SDK - v4.4.0
    Preparing search index...

    Interface MergeWithLiveGrantInput

    interface MergeWithLiveGrantInput {
        gateway: GrantUnionGateway;
        owner: string;
        granteeId?: string;
        appAddress?: string;
        scopes: readonly string[];
        removeScopes?: readonly string[];
    }
    Index

    Properties

    Gateway to read the live grant from (only public reads are used).

    owner: string

    The data owner (grantor) whose live grant to extend.

    granteeId?: string

    The app's granteeId (its bytes32 builder id). Pass this or appAddress; when only appAddress is given the builder id is resolved with gateway.getBuilder(appAddress).

    appAddress?: string

    The app's on-chain address, used to resolve granteeId when absent.

    scopes: readonly string[]

    Scope entries the new request asks for, verbatim.

    removeScopes?: readonly string[]

    Scope entries the app gives up. Matched verbatim against the live grant (write:coach.weekly removes only the write entry; the bare coach.weekly removes only the read). An entry may not appear in both scopes and removeScopes.