resdb_driver/transaction.py [343:365]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        }
        return output

    @classmethod
    def generate(cls, public_keys, amount):
        """! Generates a Output from a specifically formed tuple or list.
        Note:
            If a ThresholdCondition has to be generated where the threshold
            is always the number of subconditions it is split between, a
            list of the following structure is sufficient:
            [(address|condition)*, [(address|condition)*, ...], ...]

        @param public_keys (:obj:`list` of :obj:`str`): The public key of
            the users that should be able to fulfill the Condition
            that is being created.
        @param amount (:obj:`int`): The amount locked by the Output.
        @return An Output that can be used in a Transaction.

        @exception TypeError: If `public_keys` is not an instance of `list`.
        @exception ValueError: If `public_keys` is an empty list.
        """
        threshold = len(public_keys)
        if not isinstance(amount, int):
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



service/sdk_validator/resdb_validator/transaction.py [373:401]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        }
        return output

    @classmethod
    def generate(cls, public_keys, amount):
        """Generates a Output from a specifically formed tuple or list.

            Note:
                If a ThresholdCondition has to be generated where the threshold
                is always the number of subconditions it is split between, a
                list of the following structure is sufficient:

                [(address|condition)*, [(address|condition)*, ...], ...]

            Args:
                public_keys (:obj:`list` of :obj:`str`): The public key of
                    the users that should be able to fulfill the Condition
                    that is being created.
                amount (:obj:`int`): The amount locked by the Output.

            Returns:
                An Output that can be used in a Transaction.

            Raises:
                TypeError: If `public_keys` is not an instance of `list`.
                ValueError: If `public_keys` is an empty list.
        """
        threshold = len(public_keys)
        if not isinstance(amount, int):
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



