Type Alias Permission<uint256>

Permission<uint256>: OneOf<
    | NativeTokenTransferPermission
    | Erc20TokenTransferPermission
    | ContractCallPermission
    | CustomPermission> & {
    policies: readonly Policy<uint256>[];
    required?: boolean;
}

Type Parameters

  • uint256 = bigint

Type declaration

  • policies: readonly Policy<uint256>[]

    Set of policies for the permission.

  • Optionalrequired?: boolean

    Whether or not the wallet must grant the permission.