def METHOD_NAME(schain: dict, generation: int) -> str:
    """
    Returns on-chain owner depending on sChain generation.
    """
    if generation >= Gen.ONE:
        return ETHERBASE_ADDRESS
    if generation == Gen.ZERO:
        return schain['mainnetOwner']